{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-connect/json-schema/amazon-connect-get-identity-resolution-job-response-schema.json",
  "title": "GetIdentityResolutionJobResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-connect-identity-resolution-jobs-api-openapi.yml#/components/schemas/GetIdentityResolutionJobResponse",
  "type": "object",
  "properties": {
    "DomainName": {
      "type": "string",
      "description": "The unique name of the domain."
    },
    "JobId": {
      "type": "string",
      "description": "The unique identifier of the Identity Resolution Job."
    },
    "Status": {
      "type": "string",
      "enum": [
        "PENDING",
        "PREPROCESSING",
        "FIND_MATCHING",
        "MERGING",
        "COMPLETED",
        "PARTIAL_SUCCESS",
        "FAILED"
      ],
      "description": "The status of the Identity Resolution Job. PENDING: The Identity Resolution Job is scheduled but has not started yet. If you turn off the Identity Resolution feature in your domain, jobs in the PENDING state are deleted. PREPROCESSING: The Identity Resolution Job is loading your data. FIND_MATCHING: The Identity Resolution Job is using the machine learning model to identify profiles that belong to the same matching group. MERGING: The Identity Resolution Job is merging duplicate profiles. COMPLETED: The Identity Resolution Job completed successfully. PARTIAL_SUCCESS: There's a system error and"
    },
    "Message": {
      "type": "string",
      "description": "The error messages that are generated when the Identity Resolution Job runs."
    },
    "JobStartTime": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp of when the Identity Resolution Job was started or will be started."
    },
    "JobEndTime": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp of when the Identity Resolution Job was completed."
    },
    "LastUpdatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp of when the Identity Resolution Job was most recently edited."
    },
    "JobExpirationTime": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp of when the Identity Resolution Job will expire."
    },
    "AutoMerging": {
      "$ref": "#/$defs/AutoMerging"
    },
    "ExportingLocation": {
      "$ref": "#/$defs/ExportingLocation"
    },
    "JobStats": {
      "$ref": "#/$defs/JobStats"
    }
  },
  "$defs": {
    "AutoMerging": {
      "type": "object",
      "properties": {
        "Enabled": {
          "type": "boolean",
          "description": "The flag that enables the auto-merging of duplicate profiles."
        },
        "Consolidation": {
          "$ref": "#/$defs/Consolidation"
        },
        "ConflictResolution": {
          "$ref": "#/$defs/ConflictResolution"
        },
        "MinAllowedConfidenceScoreForMerging": {
          "type": "number",
          "description": "A number between 0 and 1 that represents the minimum confidence score required for profiles within a matching group to be merged during the auto-merge process. A higher score means higher similarity required to merge profiles."
        }
      },
      "required": [
        "Enabled"
      ]
    },
    "ConflictResolution": {
      "type": "object",
      "properties": {
        "ConflictResolvingModel": {
          "type": "string",
          "enum": [
            "RECENCY",
            "SOURCE"
          ],
          "description": "How the auto-merging process should resolve conflicts between different profiles. RECENCY: Uses the data that was most recently updated. SOURCE: Uses the data from a specific source. For example, if a company has been aquired or two departments have merged, data from the specified source is used. If two duplicate profiles are from the same source, then RECENCY is used again."
        },
        "SourceName": {
          "type": "string",
          "description": "The ObjectType name that is used to resolve profile merging conflicts when choosing SOURCE as the ConflictResolvingModel."
        }
      },
      "required": [
        "ConflictResolvingModel"
      ]
    },
    "Consolidation": {
      "type": "object",
      "properties": {
        "MatchingAttributesList": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "description": "A list of matching criteria."
        }
      },
      "required": [
        "MatchingAttributesList"
      ]
    },
    "ExportingLocation": {
      "type": "object",
      "properties": {
        "S3Exporting": {
          "$ref": "#/$defs/S3ExportingLocation"
        }
      }
    },
    "JobStats": {
      "type": "object",
      "properties": {
        "NumberOfProfilesReviewed": {
          "type": "integer",
          "description": "The number of profiles reviewed."
        },
        "NumberOfMatchesFound": {
          "type": "integer",
          "description": "The number of matches found."
        },
        "NumberOfMergesDone": {
          "type": "integer",
          "description": "The number of merges completed."
        }
      }
    },
    "S3ExportingLocation": {
      "type": "object",
      "properties": {
        "S3BucketName": {
          "type": "string",
          "description": "The name of the S3 bucket name where Identity Resolution Jobs write result files."
        },
        "S3KeyName": {
          "type": "string",
          "description": "The S3 key name of the location where Identity Resolution Jobs write result files."
        }
      }
    }
  }
}