{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-healthlake/json-schema/aws-healthlake-list-fhirexport-jobs-response-schema.json",
  "title": "ListFHIRExportJobsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-healthlake-export-api-openapi.yml#/components/schemas/ListFHIRExportJobsResponse",
  "type": "object",
  "properties": {
    "ExportJobPropertiesList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ExportJobProperties"
      },
      "description": "The properties of listed FHIR export jobs."
    },
    "NextToken": {
      "type": "string",
      "description": "The pagination token used to identify the next page of results to return."
    }
  },
  "required": [
    "ExportJobPropertiesList"
  ],
  "$defs": {
    "ExportJobProperties": {
      "type": "object",
      "properties": {
        "JobId": {
          "type": "string",
          "description": "The export job identifier."
        },
        "JobName": {
          "type": "string",
          "description": "The export job name."
        },
        "JobStatus": {
          "type": "string",
          "enum": [
            "SUBMITTED",
            "QUEUED",
            "IN_PROGRESS",
            "COMPLETED_WITH_ERRORS",
            "COMPLETED",
            "FAILED",
            "CANCEL_SUBMITTED",
            "CANCEL_IN_PROGRESS",
            "CANCEL_COMPLETED",
            "CANCEL_FAILED"
          ],
          "description": "The export job status."
        },
        "SubmitTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time the export job was initiated."
        },
        "EndTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time the export job completed."
        },
        "DatastoreId": {
          "type": "string",
          "description": "The data store identifier from which files are being exported."
        },
        "OutputDataConfig": {
          "$ref": "#/$defs/OutputDataConfig"
        },
        "DataAccessRoleArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) used during the initiation of the export job."
        },
        "Message": {
          "type": "string",
          "description": "An explanation of any errors that might have occurred during the export job."
        }
      },
      "required": [
        "JobId",
        "JobStatus",
        "SubmitTime",
        "DatastoreId",
        "OutputDataConfig"
      ]
    },
    "OutputDataConfig": {
      "type": "object",
      "properties": {
        "S3Configuration": {
          "$ref": "#/$defs/S3Configuration"
        }
      },
      "description": "Exactly one member is set."
    },
    "S3Configuration": {
      "type": "object",
      "properties": {
        "S3Uri": {
          "type": "string",
          "description": "The S3Uri is the user-specified Amazon S3 location of the FHIR data to be imported into HealthLake."
        },
        "KmsKeyId": {
          "type": "string",
          "description": "The Key Management Service (KMS) key ID used to access the Amazon S3 bucket."
        }
      },
      "required": [
        "S3Uri",
        "KmsKeyId"
      ]
    }
  }
}