{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-device-defender/json-schema/amazon-iot-device-defender-list-job-executions-for-job-response-schema.json",
  "title": "ListJobExecutionsForJobResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-device-defender-jobs-api-openapi.yml#/components/schemas/ListJobExecutionsForJobResponse",
  "type": "object",
  "properties": {
    "executionSummaries": {
      "allOf": [
        {
          "$ref": "#/$defs/JobExecutionSummaryForJobList"
        },
        {
          "description": "A list of job execution summaries."
        }
      ]
    },
    "nextToken": {
      "allOf": [
        {
          "$ref": "#/$defs/NextToken"
        },
        {
          "description": "The token for the next set of results, or <b>null</b> if there are no additional results."
        }
      ]
    }
  },
  "$defs": {
    "DateType": {
      "type": "string",
      "format": "date-time"
    },
    "ExecutionNumber": {
      "type": "integer"
    },
    "JobExecutionStatus": {
      "type": "string",
      "enum": [
        "QUEUED",
        "IN_PROGRESS",
        "SUCCEEDED",
        "FAILED",
        "TIMED_OUT",
        "REJECTED",
        "REMOVED",
        "CANCELED"
      ]
    },
    "JobExecutionSummary": {
      "type": "object",
      "properties": {
        "status": {
          "allOf": [
            {
              "$ref": "#/$defs/JobExecutionStatus"
            },
            {
              "description": "The status of the job execution."
            }
          ]
        },
        "queuedAt": {
          "allOf": [
            {
              "$ref": "#/$defs/DateType"
            },
            {
              "description": "The time, in seconds since the epoch, when the job execution was queued."
            }
          ]
        },
        "startedAt": {
          "allOf": [
            {
              "$ref": "#/$defs/DateType"
            },
            {
              "description": "The time, in seconds since the epoch, when the job execution started."
            }
          ]
        },
        "lastUpdatedAt": {
          "allOf": [
            {
              "$ref": "#/$defs/DateType"
            },
            {
              "description": "The time, in seconds since the epoch, when the job execution was last updated."
            }
          ]
        },
        "executionNumber": {
          "allOf": [
            {
              "$ref": "#/$defs/ExecutionNumber"
            },
            {
              "description": "A string (consisting of the digits \"0\" through \"9\") which identifies this particular job execution on this particular device. It can be used later in commands which return or update job execution information."
            }
          ]
        },
        "retryAttempt": {
          "allOf": [
            {
              "$ref": "#/$defs/RetryAttempt"
            },
            {
              "description": "The number that indicates how many retry attempts have been completed for this job on this device."
            }
          ]
        }
      },
      "description": "The job execution summary."
    },
    "JobExecutionSummaryForJob": {
      "type": "object",
      "properties": {
        "thingArn": {
          "allOf": [
            {
              "$ref": "#/$defs/ThingArn"
            },
            {
              "description": "The ARN of the thing on which the job execution is running."
            }
          ]
        },
        "jobExecutionSummary": {
          "allOf": [
            {
              "$ref": "#/$defs/JobExecutionSummary"
            },
            {
              "description": "Contains a subset of information about a job execution."
            }
          ]
        }
      },
      "description": "Contains a summary of information about job executions for a specific job."
    },
    "JobExecutionSummaryForJobList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/JobExecutionSummaryForJob"
      }
    },
    "NextToken": {
      "type": "string"
    },
    "RetryAttempt": {
      "type": "integer"
    },
    "ThingArn": {
      "type": "string"
    }
  }
}