@goldstack/infra
Version:
Utilities for defining infrastructure for npm packages.
35 lines (34 loc) • 1.09 kB
JSON
{
"$ref": "#/definitions/Deployment",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"Deployment": {
"description": "Configures a deployment.",
"properties": {
"configuration": {
"$ref": "#/definitions/DeploymentConfiguration"
},
"name": {
"$ref": "#/definitions/DeploymentName"
}
},
"required": [
"name",
"configuration"
],
"title": "Deployment",
"type": "object"
},
"DeploymentConfiguration": {
"description": "Specifies configuration for a specific deployment.",
"title": "Deployment Configuration",
"type": "object"
},
"DeploymentName": {
"description": "Identifier for this deployment. No spaces allowed in name.",
"pattern": "^[^\\s]*$",
"title": "Deployment Name",
"type": "string"
}
}
}