{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-forecast/json-schema/amazon-forecast-describe-dataset-import-job-response-schema.json",
  "title": "DescribeDatasetImportJobResponse",
  "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/DescribeDatasetImportJobResponse",
  "type": "object",
  "properties": {
    "DatasetImportJobName": {
      "type": "string",
      "description": "The name of the dataset import job."
    },
    "DatasetImportJobArn": {
      "type": "string",
      "description": "The ARN of the dataset import job."
    },
    "DatasetArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the dataset that the training data was imported to."
    },
    "TimestampFormat": {
      "type": "string",
      "description": "The format of timestamps in the dataset. The format that you specify depends on the DataFrequency specified when the dataset was created. The following formats are supported \"yyyy-MM-dd\" For the following data frequencies: Y, M, W, and D \"yyyy-MM-dd HH:mm:ss\" For the following data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D"
    },
    "TimeZone": {
      "type": "string",
      "description": "The single time zone applied to every item in the dataset"
    },
    "UseGeolocationForTimeZone": {
      "type": "boolean",
      "description": "Whether TimeZone is automatically derived from the geolocation attribute."
    },
    "GeolocationFormat": {
      "type": "string",
      "description": "The format of the geolocation attribute. Valid Values:\"LAT_LONG\" and \"CC_POSTALCODE\"."
    },
    "DataSource": {
      "$ref": "#/$defs/DataSource"
    },
    "EstimatedTimeRemainingInMinutes": {
      "type": "integer",
      "description": "The estimated time remaining in minutes for the dataset import job to complete."
    },
    "FieldStatistics": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/Statistics"
      },
      "description": "Statistical information about each field in the input data."
    },
    "DataSize": {
      "type": "number",
      "description": "The size of the dataset in gigabytes (GB) after the import job has finished."
    },
    "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."
    },
    "Format": {
      "type": "string",
      "description": "The format of the imported data, CSV or PARQUET."
    },
    "ImportMode": {
      "type": "string",
      "enum": [
        "FULL",
        "INCREMENTAL"
      ],
      "description": "The import mode of the dataset import job, FULL or INCREMENTAL."
    }
  },
  "$defs": {
    "DataSource": {
      "type": "object",
      "properties": {
        "S3Config": {
          "$ref": "#/$defs/S3Config"
        }
      },
      "required": [
        "S3Config"
      ]
    },
    "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"
      ]
    },
    "Statistics": {
      "type": "object",
      "properties": {
        "Count": {
          "type": "integer",
          "description": "The number of values in the field. If the response value is -1, refer to CountLong."
        },
        "CountDistinct": {
          "type": "integer",
          "description": "The number of distinct values in the field. If the response value is -1, refer to CountDistinctLong."
        },
        "CountNull": {
          "type": "integer",
          "description": "The number of null values in the field. If the response value is -1, refer to CountNullLong."
        },
        "CountNan": {
          "type": "integer",
          "description": "The number of NAN (not a number) values in the field. If the response value is -1, refer to CountNanLong."
        },
        "Min": {
          "type": "string",
          "description": "For a numeric field, the minimum value in the field."
        },
        "Max": {
          "type": "string",
          "description": "For a numeric field, the maximum value in the field."
        },
        "Avg": {
          "type": "number",
          "description": "For a numeric field, the average value in the field."
        },
        "Stddev": {
          "type": "number",
          "description": "For a numeric field, the standard deviation."
        },
        "CountLong": {
          "type": "integer",
          "description": "The number of values in the field. CountLong is used instead of Count if the value is greater than 2,147,483,647."
        },
        "CountDistinctLong": {
          "type": "integer",
          "description": "The number of distinct values in the field. CountDistinctLong is used instead of CountDistinct if the value is greater than 2,147,483,647."
        },
        "CountNullLong": {
          "type": "integer",
          "description": "The number of null values in the field. CountNullLong is used instead of CountNull if the value is greater than 2,147,483,647."
        },
        "CountNanLong": {
          "type": "integer",
          "description": "The number of NAN (not a number) values in the field. CountNanLong is used instead of CountNan if the value is greater than 2,147,483,647."
        }
      }
    }
  }
}