{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DeploymentProperties",
  "title": "DeploymentProperties",
  "type": "object",
  "description": "Properties of Cognitive Services account deployment.",
  "properties": {
    "provisioningState": {
      "type": "string",
      "readOnly": true,
      "enum": [
        "Accepted",
        "Creating",
        "Deleting",
        "Moving",
        "Failed",
        "Succeeded",
        "Disabled",
        "Canceled"
      ],
      "description": "The provisioning state of the deployment.",
      "example": "Accepted"
    },
    "model": {
      "$ref": "#/components/schemas/DeploymentModel"
    },
    "scaleSettings": {
      "type": "object",
      "description": "The deployment scale settings.",
      "properties": {
        "scaleType": {
          "type": "string",
          "enum": [
            "Standard",
            "Manual"
          ],
          "description": "Deployment scale type."
        },
        "capacity": {
          "type": "integer",
          "description": "Deployment capacity."
        },
        "activeCapacity": {
          "type": "integer",
          "readOnly": true,
          "description": "Deployment active capacity."
        }
      },
      "example": "example_value"
    },
    "rateLimits": {
      "type": "array",
      "readOnly": true,
      "items": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "renewalPeriod": {
            "type": "number"
          },
          "count": {
            "type": "number"
          }
        }
      },
      "description": "The rate limits for the deployment.",
      "example": []
    },
    "capabilities": {
      "type": "object",
      "readOnly": true,
      "additionalProperties": {
        "type": "string"
      },
      "description": "The capabilities of the deployment.",
      "example": "example_value"
    },
    "versionUpgradeOption": {
      "type": "string",
      "enum": [
        "OnceNewDefaultVersionAvailable",
        "OnceCurrentVersionExpired",
        "NoAutoUpgrade"
      ],
      "description": "Deployment model version upgrade option.",
      "example": "OnceNewDefaultVersionAvailable"
    }
  }
}