{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-connect/json-schema/amazon-connect-start-fraudster-registration-job-request-schema.json",
  "title": "StartFraudsterRegistrationJobRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-connect-fraudster-registration-job-api-openapi.yml#/components/schemas/StartFraudsterRegistrationJobRequest",
  "type": "object",
  "properties": {
    "ClientToken": {
      "type": "string",
      "description": "A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs."
    },
    "JobName": {
      "type": "string",
      "description": "The name of the new fraudster registration job."
    },
    "DomainId": {
      "type": "string",
      "description": "The identifier of the domain that contains the fraudster registration job and in which the fraudsters are registered."
    },
    "DataAccessRoleArn": {
      "type": "string",
      "description": "The IAM role Amazon Resource Name (ARN) that grants Voice ID permissions to access customer's buckets to read the input manifest file and write the Job output file. Refer to the Create and edit a fraudster watchlist documentation for the permissions needed in this role."
    },
    "RegistrationConfig": {
      "$ref": "#/$defs/RegistrationConfig"
    },
    "InputDataConfig": {
      "$ref": "#/$defs/InputDataConfig"
    },
    "OutputDataConfig": {
      "$ref": "#/$defs/OutputDataConfig"
    }
  },
  "required": [
    "DomainId",
    "DataAccessRoleArn",
    "InputDataConfig",
    "OutputDataConfig"
  ],
  "$defs": {
    "InputDataConfig": {
      "type": "object",
      "properties": {
        "S3Uri": {
          "type": "string",
          "description": "The S3 location for the input manifest file that contains the list of individual enrollment or registration job requests."
        }
      },
      "required": [
        "S3Uri"
      ]
    },
    "OutputDataConfig": {
      "type": "object",
      "properties": {
        "S3Uri": {
          "type": "string",
          "description": "The S3 path of the folder where Voice ID writes the job output file. It has a *.out extension. For example, if the input file name is input-file.json and the output folder path is s3://output-bucket/output-folder, the full output file path is s3://output-bucket/output-folder/job-Id/input-file.json.out."
        },
        "KmsKeyId": {
          "type": "string",
          "description": "The identifier of the KMS key you want Voice ID to use to encrypt the output file of a speaker enrollment job/fraudster registration job."
        }
      },
      "required": [
        "S3Uri"
      ]
    },
    "RegistrationConfig": {
      "type": "object",
      "properties": {
        "DuplicateRegistrationAction": {
          "type": "string",
          "description": "The action to take when a fraudster is identified as a duplicate. The default action is SKIP, which skips registering the duplicate fraudster. Setting the value to REGISTER_AS_NEW always registers a new fraudster into the specified domain."
        },
        "FraudsterSimilarityThreshold": {
          "type": "integer",
          "description": "The minimum similarity score between the new and old fraudsters in order to consider the new fraudster a duplicate."
        },
        "WatchlistIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The identifiers of watchlists that a fraudster is registered to. If a watchlist isn't provided, the fraudsters are registered to the default watchlist."
        }
      }
    }
  }
}