{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "#Deployment",
    "description": "A deployment of code, application, infrastructure or service. For example, a Kubernetes deployment. An auto scaling group is also considered a deployment.",
    "type": "object",
    "allOf": [
        {
            "$ref": "#Entity"
        },
        {
            "properties": {
                "desiredSize": {
                    "description": "Desired size (i.e. number of instances) associated with this deployment.",
                    "type": "number"
                },
                "currentSize": {
                    "description": "Current size (i.e. number of instances) active with this deployment.",
                    "type": "number"
                },
                "maxSize": {
                    "description": "Maximum size (i.e. number of instances) limited by this deployment.",
                    "type": "number"
                }
            },
            "required": []
        }
    ]
}
