{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/appian/main/json-schema/appian-deployment-response-schema.json",
  "title": "DeploymentResponse",
  "description": "Response returned when a deployment operation is successfully initiated. Contains the UUID for tracking the deployment and its current status.",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/appian-export-api-openapi.yml#/components/schemas/DeploymentResponse",
  "type": "object",
  "properties": {
    "uuid": {
      "type": "string",
      "format": "uuid",
      "description": "Unique identifier for the deployment operation. Use this UUID to retrieve deployment results and logs."
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "URL endpoint for retrieving the deployment details and results."
    },
    "status": {
      "$ref": "#/$defs/DeploymentStatus"
    }
  },
  "required": [
    "uuid",
    "url",
    "status"
  ],
  "$defs": {
    "DeploymentStatus": {
      "type": "string",
      "description": "The current status of a deployment operation. IN_PROGRESS indicates the operation is still running. COMPLETED indicates success. Other statuses indicate various error or review states.",
      "enum": [
        "IN_PROGRESS",
        "COMPLETED",
        "COMPLETED_WITH_ERRORS",
        "COMPLETED_WITH_IMPORT_ERRORS",
        "COMPLETED_WITH_PUBLISH_ERRORS",
        "FAILED",
        "PENDING_REVIEW",
        "REJECTED"
      ]
    }
  }
}