{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sagemaker/json-schema/amazon-sagemaker-list-jobs-response-schema.json",
  "title": "ListJobsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-sagemaker-job-api-openapi.yml#/components/schemas/ListJobsResponse",
  "type": "object",
  "properties": {
    "NextToken": {
      "type": "string",
      "description": "If the response is truncated, this token retrieves the next set of results."
    },
    "JobSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/JobSummary"
      },
      "description": "An array of JobSummary objects that provide summary information about the jobs."
    }
  },
  "required": [
    "JobSummaries"
  ],
  "$defs": {
    "JobSummary": {
      "type": "object",
      "properties": {
        "JobArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the job."
        },
        "JobName": {
          "type": "string",
          "description": "The name of the job."
        },
        "JobCategory": {
          "type": "string",
          "enum": [
            "AgentRFT",
            "AgentRFTEvaluation"
          ],
          "description": "The category of the job."
        },
        "JobStatus": {
          "type": "string",
          "enum": [
            "InProgress",
            "Completed",
            "Failed",
            "Stopping",
            "Stopped",
            "Deleting",
            "DeleteFailed"
          ],
          "description": "The current status of the job."
        },
        "JobSecondaryStatus": {
          "type": "string",
          "enum": [
            "Starting",
            "Downloading",
            "Training",
            "Uploading",
            "Stopping",
            "Stopped",
            "MaxRuntimeExceeded",
            "Interrupted",
            "Failed",
            "Completed",
            "Restarting",
            "Pending",
            "Evaluating",
            "Deleting",
            "DeleteFailed"
          ],
          "description": "The secondary status of the job, providing more granular information about the job's progress. Secondary statuses may change between releases."
        },
        "CreationTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time that the job was created."
        },
        "LastModifiedTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time that the job was last modified."
        },
        "EndTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time that the job ended."
        }
      },
      "required": [
        "JobArn",
        "JobName",
        "JobCategory",
        "JobStatus",
        "JobSecondaryStatus",
        "CreationTime",
        "LastModifiedTime"
      ]
    }
  }
}