{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/StepExecutionStatus",
  "title": "StepExecutionStatus",
  "type": "object",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "number",
      "description": "Unique identifier of the step"
    },
    "startTime": {
      "type": "string",
      "description": "Step execution start time in UTC format."
    },
    "endTime": {
      "type": "string",
      "description": "Step execution end time in UTC format."
    },
    "lastUpdated": {
      "type": "string",
      "description": "Last time the step's execution status was updated in UTC format."
    },
    "statusMessage": {
      "$ref": "#/components/schemas/ExecutionStatus",
      "description": "Displays the most recent execution status of the step."
    },
    "exitCode": {
      "$ref": "#/components/schemas/ExecutionStatus",
      "description": "Final execution status of the step."
    },
    "name": {
      "type": "string",
      "description": "Step name."
    },
    "timeElapsed": {
      "type": "string",
      "description": "Time elapsed since the step execution started."
    }
  }
}