{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-supply-chain/json-schema/amazon-supply-chain-get-bill-of-materials-import-job-response-schema.json",
  "title": "GetBillOfMaterialsImportJobResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-supply-chain-bill-of-materials-api-openapi.yml#/components/schemas/GetBillOfMaterialsImportJobResponse",
  "type": "object",
  "properties": {
    "job": {
      "$ref": "#/$defs/BillOfMaterialsImportJob"
    }
  },
  "required": [
    "job"
  ],
  "$defs": {
    "BillOfMaterialsImportJob": {
      "type": "object",
      "properties": {
        "instanceId": {
          "type": "string",
          "description": "The BillOfMaterialsImportJob instanceId."
        },
        "jobId": {
          "type": "string",
          "description": "The BillOfMaterialsImportJob jobId."
        },
        "status": {
          "type": "string",
          "enum": [
            "NEW",
            "FAILED",
            "IN_PROGRESS",
            "QUEUED",
            "SUCCESS"
          ],
          "description": "The BillOfMaterialsImportJob ConfigurationJobStatus."
        },
        "s3uri": {
          "type": "string",
          "description": "The S3 URI from which the CSV is read."
        },
        "message": {
          "type": "string",
          "description": "When the BillOfMaterialsImportJob has reached a terminal state, there will be a message."
        }
      },
      "required": [
        "instanceId",
        "jobId",
        "status",
        "s3uri"
      ]
    }
  }
}