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