{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-forecast/json-schema/amazon-forecast-list-dataset-import-jobs-response-schema.json",
  "title": "ListDatasetImportJobsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-forecast-dataset-import-job-api-openapi.yml#/components/schemas/ListDatasetImportJobsResponse",
  "type": "object",
  "properties": {
    "DatasetImportJobs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DatasetImportJobSummary"
      },
      "description": "An array of objects that summarize each dataset import job's properties."
    },
    "NextToken": {
      "type": "string",
      "description": "If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use the token in the next request."
    }
  },
  "$defs": {
    "DataSource": {
      "type": "object",
      "properties": {
        "S3Config": {
          "$ref": "#/$defs/S3Config"
        }
      },
      "required": [
        "S3Config"
      ]
    },
    "DatasetImportJobSummary": {
      "type": "object",
      "properties": {
        "DatasetImportJobArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the dataset import job."
        },
        "DatasetImportJobName": {
          "type": "string",
          "description": "The name of the dataset import job."
        },
        "DataSource": {
          "$ref": "#/$defs/DataSource"
        },
        "Status": {
          "type": "string",
          "description": "The status of the dataset import job. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED CREATE_STOPPING, CREATE_STOPPED"
        },
        "Message": {
          "type": "string",
          "description": "If an error occurred, an informational message about the error."
        },
        "CreationTime": {
          "type": "string",
          "format": "date-time",
          "description": "When the dataset import job was created."
        },
        "LastModificationTime": {
          "type": "string",
          "format": "date-time",
          "description": "The last time the resource was modified. The timestamp depends on the status of the job: CREATE_PENDING - The CreationTime. CREATE_IN_PROGRESS - The current timestamp. CREATE_STOPPING - The current timestamp. CREATE_STOPPED - When the job stopped. ACTIVE or CREATE_FAILED - When the job finished or failed."
        },
        "ImportMode": {
          "type": "string",
          "enum": [
            "FULL",
            "INCREMENTAL"
          ],
          "description": "The import mode of the dataset import job, FULL or INCREMENTAL."
        }
      }
    },
    "S3Config": {
      "type": "object",
      "properties": {
        "Path": {
          "type": "string",
          "description": "The path to an Amazon Simple Storage Service (Amazon S3) bucket or file(s) in an Amazon S3 bucket."
        },
        "RoleArn": {
          "type": "string",
          "description": "The ARN of the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket or files. If you provide a value for the KMSKeyArn key, the role must allow access to the key. Passing a role across Amazon Web Services accounts is not allowed. If you pass a role that isn't in your account, you get an InvalidInputException error."
        },
        "KMSKeyArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of an Key Management Service (KMS) key."
        }
      },
      "required": [
        "Path",
        "RoleArn"
      ]
    }
  }
}