{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ses/json-schema/amazon-ses-get-address-list-import-job-response-schema.json",
  "title": "GetAddressListImportJobResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ses-address-list-import-job-api-openapi.yml#/components/schemas/GetAddressListImportJobResponse",
  "type": "object",
  "properties": {
    "JobId": {
      "type": "string",
      "description": "The identifier of the import job."
    },
    "Name": {
      "type": "string",
      "description": "A user-friendly name for the import job."
    },
    "Status": {
      "type": "string",
      "enum": [
        "CREATED",
        "PROCESSING",
        "COMPLETED",
        "FAILED",
        "STOPPED"
      ],
      "description": "The status of the import job."
    },
    "PreSignedUrl": {
      "type": "string",
      "description": "The pre-signed URL target for uploading the input file."
    },
    "ImportedItemsCount": {
      "type": "integer",
      "description": "The number of input addresses successfully imported into the address list."
    },
    "FailedItemsCount": {
      "type": "integer",
      "description": "The number of input addresses that failed to be imported into the address list."
    },
    "ImportDataFormat": {
      "$ref": "#/$defs/ImportDataFormat"
    },
    "AddressListId": {
      "type": "string",
      "description": "The unique identifier of the address list the import job was created for."
    },
    "CreatedTimestamp": {
      "type": "string",
      "description": "The timestamp of when the import job was created."
    },
    "StartTimestamp": {
      "type": "string",
      "description": "The timestamp of when the import job was started."
    },
    "CompletedTimestamp": {
      "type": "string",
      "description": "The timestamp of when the import job was completed."
    },
    "Error": {
      "type": "string",
      "description": "The reason for failure of an import job."
    }
  },
  "required": [
    "JobId",
    "Name",
    "Status",
    "PreSignedUrl",
    "ImportDataFormat",
    "AddressListId",
    "CreatedTimestamp"
  ],
  "$defs": {
    "ImportDataFormat": {
      "type": "object",
      "properties": {
        "ImportDataType": {
          "type": "string",
          "enum": [
            "CSV",
            "JSON"
          ],
          "description": "The type of file that would be passed as an input for the address list import job."
        }
      },
      "required": [
        "ImportDataType"
      ]
    }
  }
}