{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/JobExecutionStatusObject",
  "title": "JobExecutionStatusObject",
  "type": "object",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "number",
      "example": 436272,
      "description": "Unique identifier that identifies each instance of the job."
    },
    "startTime": {
      "type": "string",
      "example": "2025-05-13T10:59:44.106Z",
      "description": "Step execution start time in UTC format."
    },
    "endTime": {
      "type": "string",
      "example": "2025-05-13T10:59:44.692Z",
      "description": "Step execution end time in UTC format."
    },
    "lastUpdated": {
      "type": "string",
      "example": "2025-05-13T10:59:44.854Z",
      "description": "Last updated time (in UTC format) post one of the step execution completion."
    },
    "statusMessage": {
      "type": "string",
      "example": "STARTING",
      "description": "Displays status for overall steps that are part of the job."
    },
    "exitCode": {
      "type": "string",
      "example": "UNKNOWN",
      "description": "Exit Code for a job."
    },
    "createdTime": {
      "type": "string",
      "example": "2024-03-13T14:57:04.678Z",
      "description": "Job creation time in UTC format."
    },
    "timeElapsed": {
      "type": "string",
      "example": "PT0S",
      "description": "Time lapsed since the job execution started."
    },
    "stepExecutionStatuses": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/stepExecutionStatusesObject"
      },
      "description": "Status of each step within a job."
    }
  }
}