{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-fraud-detector/json-schema/amazon-fraud-detector-get-batch-import-jobs-result-schema.json",
  "title": "GetBatchImportJobsResult",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-fraud-detector-batch-import-job-api-openapi.yml#/components/schemas/GetBatchImportJobsResult",
  "type": "object",
  "properties": {
    "batchImports": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BatchImport"
      },
      "description": "An array containing the details of each batch import job."
    },
    "nextToken": {
      "type": "string",
      "description": "The next token for the subsequent resquest."
    }
  },
  "$defs": {
    "BatchImport": {
      "type": "object",
      "properties": {
        "jobId": {
          "type": "string",
          "description": "The ID of the batch import job."
        },
        "status": {
          "type": "string",
          "enum": [
            "IN_PROGRESS_INITIALIZING",
            "IN_PROGRESS",
            "CANCEL_IN_PROGRESS",
            "CANCELED",
            "COMPLETE",
            "FAILED"
          ],
          "description": "The status of the batch import job."
        },
        "failureReason": {
          "type": "string",
          "description": "The reason batch import job failed."
        },
        "startTime": {
          "type": "string",
          "description": "Timestamp of when the batch import job started."
        },
        "completionTime": {
          "type": "string",
          "description": "Timestamp of when batch import job completed."
        },
        "inputPath": {
          "type": "string",
          "description": "The Amazon S3 location of your data file for batch import."
        },
        "outputPath": {
          "type": "string",
          "description": "The Amazon S3 location of your output file."
        },
        "eventTypeName": {
          "type": "string",
          "description": "The name of the event type."
        },
        "iamRoleArn": {
          "type": "string",
          "description": "The ARN of the IAM role to use for this job request."
        },
        "arn": {
          "type": "string",
          "description": "The ARN of the batch import job."
        },
        "processedRecordsCount": {
          "type": "integer",
          "description": "The number of records processed by batch import job."
        },
        "failedRecordsCount": {
          "type": "integer",
          "description": "The number of records that failed to import."
        },
        "totalRecordsCount": {
          "type": "integer",
          "description": "The total number of records in the batch import job."
        }
      }
    }
  }
}