{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-codecatalyst/json-schema/amazon-codecatalyst-get-workflow-run-response-schema.json",
  "title": "GetWorkflowRunResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-codecatalyst-workflowruns-api-openapi.yml#/components/schemas/GetWorkflowRunResponse",
  "type": "object",
  "properties": {
    "spaceName": {
      "type": "string",
      "description": "The name of the space."
    },
    "projectName": {
      "type": "string",
      "description": "The name of the project in the space."
    },
    "id": {
      "type": "string",
      "description": "The ID of the workflow run."
    },
    "workflowId": {
      "type": "string",
      "description": "The ID of the workflow."
    },
    "status": {
      "type": "string",
      "description": "The status of the workflow run."
    },
    "statusReasons": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/WorkflowRunStatusReason"
      },
      "description": "Information about the reasons for the status of the workflow run."
    },
    "startTime": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the workflow run began, in coordinated universal time (UTC) timestamp format as specified in RFC 3339"
    },
    "endTime": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the workflow run ended, in coordinated universal time (UTC) timestamp format as specified in RFC 3339."
    },
    "lastUpdatedTime": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the workflow run status was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339"
    }
  },
  "required": [
    "spaceName",
    "projectName",
    "id",
    "workflowId",
    "status",
    "startTime",
    "lastUpdatedTime"
  ],
  "$defs": {
    "WorkflowRunStatusReason": {
      "type": "object",
      "properties": {}
    }
  }
}