{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-launch-wizard/refs/heads/main/json-schema/amazon-launch-wizard-deployment-schema.json",
  "title": "Deployment",
  "description": "An Amazon Launch Wizard deployment of an enterprise application.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The ID of the deployment.",
      "example": "deployment-abc12345"
    },
    "name": {
      "type": "string",
      "description": "The name of the deployment.",
      "example": "sap-hana-production"
    },
    "workloadName": {
      "type": "string",
      "description": "The name of the workload.",
      "example": "SAP HANA"
    },
    "status": {
      "type": "string",
      "description": "The current status of the deployment.",
      "example": "COMPLETED",
      "enum": [
        "COMPLETED",
        "CREATING",
        "FAILED",
        "IN_PROGRESS",
        "VALIDATING"
      ]
    },
    "createdAt": {
      "type": "string",
      "description": "The time the deployment was created.",
      "format": "date-time"
    },
    "deletedAt": {
      "type": "string",
      "description": "The time the deployment was deleted.",
      "format": "date-time"
    }
  }
}