{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-datazone/json-schema/amazon-datazone-list-job-runs-output-schema.json",
  "title": "ListJobRunsOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-datazone-runs-api-openapi.yml#/components/schemas/ListJobRunsOutput",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/JobRunSummary"
      },
      "description": "The results of the ListJobRuns action."
    },
    "nextToken": {
      "type": "string",
      "description": "When the number of job runs is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of job runs, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListJobRuns to list the next set of job runs."
    }
  },
  "$defs": {
    "JobRunError": {
      "type": "object",
      "properties": {
        "message": {
          "type": "string",
          "description": "The job run error message."
        }
      },
      "required": [
        "message"
      ]
    },
    "JobRunSummary": {
      "type": "object",
      "properties": {
        "domainId": {
          "type": "string",
          "description": "The domain ID of the job run."
        },
        "jobId": {
          "type": "string",
          "description": "The job ID of a job run."
        },
        "jobType": {
          "type": "string",
          "enum": [
            "LINEAGE"
          ],
          "description": "The job type of a job run."
        },
        "runId": {
          "type": "string",
          "description": "The run ID of a job run."
        },
        "runMode": {
          "type": "string",
          "enum": [
            "SCHEDULED",
            "ON_DEMAND"
          ],
          "description": "The run mode of a job run."
        },
        "status": {
          "type": "string",
          "enum": [
            "SCHEDULED",
            "IN_PROGRESS",
            "SUCCESS",
            "PARTIALLY_SUCCEEDED",
            "FAILED",
            "ABORTED",
            "TIMED_OUT",
            "CANCELED"
          ],
          "description": "The status of a job run."
        },
        "error": {
          "$ref": "#/$defs/JobRunError"
        },
        "createdBy": {
          "type": "string",
          "description": "The user who created the job run."
        },
        "createdAt": {
          "type": "string",
          "description": "The timestamp at which job run was created."
        },
        "startTime": {
          "type": "string",
          "description": "The start time of a job run."
        },
        "endTime": {
          "type": "string",
          "description": "The end time of a job run."
        }
      }
    }
  }
}