{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eurobase-dev/json-schema/eurobase-dev-deployment-action-response-schema.json",
  "title": "DeploymentActionResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eurobase-dev-deployments-api-openapi.yml#/components/schemas/DeploymentActionResponse",
  "type": "object",
  "required": [
    "deployment",
    "job"
  ],
  "properties": {
    "deployment": {
      "type": "object",
      "required": [
        "id",
        "projectId",
        "status",
        "terminal",
        "statusView"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "projectId": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "terminal": {
          "type": "boolean"
        },
        "statusReason": {
          "type": [
            "string",
            "null"
          ]
        },
        "statusView": {
          "type": "object",
          "required": [
            "primaryLabel",
            "tone"
          ],
          "properties": {
            "primaryLabel": {
              "type": "string"
            },
            "secondaryLabel": {
              "type": [
                "string",
                "null"
              ]
            },
            "tone": {
              "type": "string"
            }
          }
        }
      }
    },
    "job": {
      "type": "object",
      "required": [
        "id",
        "status"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "type": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    }
  }
}