{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-healthimaging/json-schema/amazon-healthimaging-list-dicomimport-jobs-response-schema.json",
  "title": "ListDICOMImportJobsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-healthimaging-list-dicom-import-jobs-api-openapi.yml#/components/schemas/ListDICOMImportJobsResponse",
  "type": "object",
  "properties": {
    "jobSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DICOMImportJobSummary"
      },
      "description": "A list of job summaries."
    },
    "nextToken": {
      "type": "string",
      "description": "The pagination token used to retrieve the list of import jobs on the next page."
    }
  },
  "required": [
    "jobSummaries"
  ],
  "$defs": {
    "DICOMImportJobSummary": {
      "type": "object",
      "properties": {
        "jobId": {
          "type": "string",
          "description": "The import job identifier."
        },
        "jobName": {
          "type": "string",
          "description": "The import job name."
        },
        "jobStatus": {
          "type": "string",
          "enum": [
            "SUBMITTED",
            "IN_PROGRESS",
            "COMPLETED",
            "FAILED"
          ],
          "description": "The filters for listing import jobs based on status."
        },
        "datastoreId": {
          "type": "string",
          "description": "The data store identifier."
        },
        "dataAccessRoleArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) that grants permissions to access medical imaging resources."
        },
        "endedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when an import job ended."
        },
        "submittedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when an import job was submitted."
        },
        "message": {
          "type": "string",
          "description": "The error message thrown if an import job fails."
        }
      },
      "required": [
        "jobId",
        "jobName",
        "jobStatus",
        "datastoreId"
      ]
    }
  }
}