{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-entity-resolution/json-schema/amazon-entity-resolution-start-id-mapping-job-input-schema.json",
  "title": "StartIdMappingJobInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-entity-resolution-jobs-api-openapi.yml#/components/schemas/StartIdMappingJobInput",
  "type": "object",
  "properties": {
    "workflowName": {
      "type": "string",
      "description": "The name of the ID mapping job to be retrieved."
    },
    "outputSourceConfig": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/IdMappingJobOutputSource"
      },
      "description": "A list of OutputSource objects."
    },
    "jobType": {
      "type": "string",
      "enum": [
        "BATCH",
        "INCREMENTAL",
        "DELETE_ONLY"
      ],
      "description": "The job type for the ID mapping job. If the jobType value is set to INCREMENTAL, only new or changed data is processed since the last job run. This is the default value if the CreateIdMappingWorkflow API is configured with an incrementalRunConfig. If the jobType value is set to BATCH, all data is processed from the input source, regardless of previous job runs. This is the default value if the CreateIdMappingWorkflow API isn't configured with an incrementalRunConfig. If the jobType value is set to DELETE_ONLY, only deletion requests from BatchDeleteUniqueIds are processed."
    }
  },
  "required": [
    "workflowName"
  ],
  "$defs": {
    "IdMappingJobOutputSource": {
      "type": "object",
      "properties": {
        "roleArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access Amazon Web Services resources on your behalf as part of workflow execution."
        },
        "outputS3Path": {
          "type": "string",
          "description": "The S3 path to which Entity Resolution will write the output table."
        },
        "KMSArn": {
          "type": "string",
          "description": "Customer KMS ARN for encryption at rest. If not provided, system will use an Entity Resolution managed KMS key."
        }
      },
      "required": [
        "roleArn",
        "outputS3Path"
      ]
    }
  }
}