{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/StartJobExecutionStatusObject",
  "title": "StartJobExecutionStatusObject",
  "type": "object",
  "required": [
    "id",
    "startTime",
    "statusMessage",
    "createdTime"
  ],
  "properties": {
    "id": {
      "type": "number",
      "example": 332387,
      "description": "Unique identifier for each instance of the job."
    },
    "startTime": {
      "type": "string",
      "example": "2023-05-30T13:04:00.469Z",
      "description": "Start date and time of the job in UTC format."
    },
    "lastUpdated": {
      "type": "string",
      "example": "2023-05-30T13:04:03.574Z",
      "description": "Last update date and time of the job in UTC format after a step execution completion."
    },
    "statusMessage": {
      "type": "string",
      "enum": [
        "STARTING",
        "STARTED",
        "COMPLETED",
        "FAILED",
        "UNKNOWN",
        "ABANDONED"
      ],
      "description": "Status for the overall steps that are part of the job.\n * `STARTING` - Job has started.\n * `STARTED` - Job is in progress.\n * `COMPLETED` - Job has completed.\n * `FAILED` - Job has failed.\n * `UNKNOWN` - Job status is unknown.\n * `ABANDONED` - Job has been abandoned (manually stopped).\n"
    },
    "exitCode": {
      "type": "string",
      "enum": [
        "UNKNOWN",
        "COMPLETED",
        "FAILED",
        "COMPLETED_WITH_ERRORS",
        "COMPLETED_WITH_PENDING_ORDERS"
      ],
      "description": "Overall result of the job.\n * `UNKNOWN` - Job is in progress.\n * `COMPLETED` - Job has completed.\n * `FAILED` - Job has failed.\n * `COMPLETED_WITH_ERRORS` - Job has completed with errors.\n * `COMPLETED_WITH_PENDING_ORDERS` - Job has completed with pending number orders.\n"
    },
    "createdTime": {
      "type": "string",
      "example": "2023-05-30T13:04:00.457Z",
      "description": "Creation date and time of the job in UTC format."
    },
    "timeElapsed": {
      "type": "string",
      "example": "PT2.752S",
      "description": "Time elapsed in seconds since the job execution started."
    }
  }
}