{
  "$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-output-schema.json",
  "title": "StartIdMappingJobOutput",
  "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/StartIdMappingJobOutput",
  "type": "object",
  "properties": {
    "jobId": {
      "type": "string",
      "description": "The ID of the job."
    },
    "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 started ID mapping job. A value of INCREMENTAL indicates that only new or changed data was processed since the last job run. This is the default job type if the workflow was created with an incrementalRunConfig. A value of BATCH indicates that all data was processed from the input source, regardless of previous job runs. This is the default job type if the workflow wasn't created with an incrementalRunConfig. A value of DELETE_ONLY indicates that only deletion requests from BatchDeleteUniqueIds were processed."
    }
  },
  "required": [
    "jobId"
  ],
  "$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"
      ]
    }
  }
}