{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/actionbox-cloud/json-schema/actionbox-cloud-run-complete-schema.json",
  "title": "RunComplete",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/actionbox-cloud-runs-api-openapi.yml#/components/schemas/RunComplete",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "succeeded",
        "failed",
        "cancelled"
      ],
      "title": "Status"
    },
    "progress_sequence": {
      "type": "integer",
      "minimum": 0.0,
      "title": "Progress Sequence"
    },
    "reason_code": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 80,
          "minLength": 1,
          "pattern": "^[A-Z][A-Z0-9_]*$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Reason Code"
    }
  },
  "type": "object",
  "required": [
    "status",
    "progress_sequence"
  ]
}