{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-systems-manager/json-schema/amazon-systems-manager-deployments-schema.json",
  "title": "Deployments",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-systems-manager-deployments-api-openapi.yml#/components/schemas/Deployments",
  "type": "object",
  "properties": {
    "Items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DeploymentSummary"
      },
      "description": "The elements from this collection."
    },
    "NextToken": {
      "type": "string",
      "description": "The token for the next set of items to return. Use this token to get the next set of results."
    }
  },
  "$defs": {
    "DeploymentSummary": {
      "type": "object",
      "properties": {
        "DeploymentNumber": {
          "type": "integer",
          "description": "The sequence number of the deployment."
        },
        "ConfigurationProfileId": {
          "type": "string",
          "description": "The ID of the configuration profile that was deployed."
        },
        "ConfigurationName": {
          "type": "string",
          "description": "The name of the configuration."
        },
        "ConfigurationVersion": {
          "type": "string",
          "description": "The version of the configuration."
        },
        "DeploymentDurationInMinutes": {
          "type": "integer",
          "description": "Total amount of time the deployment lasted."
        },
        "GrowthType": {
          "type": "string",
          "enum": [
            "LINEAR",
            "EXPONENTIAL"
          ],
          "description": "The algorithm used to define how percentage grows over time."
        },
        "GrowthFactor": {
          "type": "number",
          "description": "The percentage of targets to receive a deployed configuration during each interval."
        },
        "FinalBakeTimeInMinutes": {
          "type": "integer",
          "description": "The amount of time that AppConfig monitors for alarms before considering the deployment to be complete and no longer eligible for automatic rollback."
        },
        "State": {
          "type": "string",
          "enum": [
            "BAKING",
            "VALIDATING",
            "DEPLOYING",
            "COMPLETE",
            "ROLLING_BACK",
            "ROLLED_BACK",
            "REVERTED"
          ],
          "description": "The state of the deployment."
        },
        "PercentageComplete": {
          "type": "number",
          "description": "The percentage of targets for which the deployment is available."
        },
        "StartedAt": {
          "type": "string",
          "format": "date-time",
          "description": "Time the deployment started."
        },
        "CompletedAt": {
          "type": "string",
          "format": "date-time",
          "description": "Time the deployment completed."
        },
        "VersionLabel": {
          "type": "string",
          "description": "A user-defined label for an AppConfig hosted configuration version."
        },
        "Type": {
          "type": "string",
          "enum": [
            "USER",
            "MANAGED"
          ],
          "description": "The type of deployment."
        }
      }
    }
  }
}