{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-entity-resolution/json-schema/amazon-entity-resolution-get-provider-service-output-schema.json",
  "title": "GetProviderServiceOutput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-entity-resolution-operations-api-openapi.yml#/components/schemas/GetProviderServiceOutput",
  "type": "object",
  "properties": {
    "providerName": {
      "type": "string",
      "description": "The name of the provider. This name is typically the company name."
    },
    "providerServiceName": {
      "type": "string",
      "description": "The name of the product that the provider service provides."
    },
    "providerServiceDisplayName": {
      "type": "string",
      "description": "The display name of the provider service."
    },
    "providerServiceType": {
      "type": "string",
      "enum": [
        "ASSIGNMENT",
        "ID_MAPPING"
      ],
      "description": "The type of provider service."
    },
    "providerServiceArn": {
      "type": "string",
      "description": "The ARN (Amazon Resource Name) that Entity Resolution generated for the provider service."
    },
    "providerConfigurationDefinition": {
      "type": "object",
      "description": "The definition of the provider configuration."
    },
    "providerIdNameSpaceConfiguration": {
      "$ref": "#/$defs/ProviderIdNameSpaceConfiguration"
    },
    "providerJobConfiguration": {
      "type": "object",
      "description": "Provider service job configurations."
    },
    "providerEndpointConfiguration": {
      "$ref": "#/$defs/ProviderEndpointConfiguration"
    },
    "anonymizedOutput": {
      "type": "boolean",
      "description": "Specifies whether output data from the provider is anonymized. A value of TRUE means the output will be anonymized and you can't relate the data that comes back from the provider to the identifying input. A value of FALSE means the output won't be anonymized and you can relate the data that comes back from the provider to your source data."
    },
    "providerEntityOutputDefinition": {
      "type": "object",
      "description": "The definition of the provider entity output."
    },
    "providerIntermediateDataAccessConfiguration": {
      "$ref": "#/$defs/ProviderIntermediateDataAccessConfiguration"
    },
    "providerComponentSchema": {
      "$ref": "#/$defs/ProviderComponentSchema"
    }
  },
  "required": [
    "providerName",
    "providerServiceName",
    "providerServiceDisplayName",
    "providerServiceType",
    "providerServiceArn",
    "providerEndpointConfiguration",
    "anonymizedOutput",
    "providerEntityOutputDefinition"
  ],
  "$defs": {
    "ProviderComponentSchema": {
      "type": "object",
      "properties": {
        "schemas": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "description": "Input schema for the provider service."
        },
        "providerSchemaAttributes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ProviderSchemaAttribute"
          },
          "description": "The provider schema attributes."
        }
      }
    },
    "ProviderEndpointConfiguration": {
      "type": "object",
      "properties": {
        "marketplaceConfiguration": {
          "$ref": "#/$defs/ProviderMarketplaceConfiguration"
        }
      },
      "description": "Exactly one member is set."
    },
    "ProviderIdNameSpaceConfiguration": {
      "type": "object",
      "properties": {
        "description": {
          "type": "string",
          "description": "The description of the ID namespace."
        },
        "providerTargetConfigurationDefinition": {
          "type": "object",
          "description": "Configurations required for the target ID namespace."
        },
        "providerSourceConfigurationDefinition": {
          "type": "object",
          "description": "Configurations required for the source ID namespace."
        }
      }
    },
    "ProviderIntermediateDataAccessConfiguration": {
      "type": "object",
      "properties": {
        "awsAccountIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The Amazon Web Services account that provider can use to read or write data into the customer's intermediate S3 bucket."
        },
        "requiredBucketActions": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The S3 bucket actions that the provider requires permission for."
        }
      }
    },
    "ProviderMarketplaceConfiguration": {
      "type": "object",
      "properties": {
        "dataSetId": {
          "type": "string",
          "description": "The dataset ID on Data Exchange."
        },
        "revisionId": {
          "type": "string",
          "description": "The revision ID on Data Exchange."
        },
        "assetId": {
          "type": "string",
          "description": "The asset ID on Data Exchange."
        },
        "listingId": {
          "type": "string",
          "description": "The listing ID on Data Exchange."
        }
      },
      "required": [
        "dataSetId",
        "revisionId",
        "assetId",
        "listingId"
      ]
    },
    "ProviderSchemaAttribute": {
      "type": "object",
      "properties": {
        "fieldName": {
          "type": "string",
          "description": "The field name."
        },
        "type": {
          "type": "string",
          "enum": [
            "NAME",
            "NAME_FIRST",
            "NAME_MIDDLE",
            "NAME_LAST",
            "ADDRESS",
            "ADDRESS_STREET1",
            "ADDRESS_STREET2",
            "ADDRESS_STREET3",
            "ADDRESS_CITY",
            "ADDRESS_STATE",
            "ADDRESS_COUNTRY",
            "ADDRESS_POSTALCODE",
            "PHONE",
            "PHONE_NUMBER",
            "PHONE_COUNTRYCODE",
            "EMAIL_ADDRESS",
            "UNIQUE_ID",
            "DATE",
            "STRING",
            "PROVIDER_ID",
            "IPV4",
            "IPV6",
            "MAID"
          ],
          "description": "The type of the provider schema attribute. LiveRamp supports: NAME | NAME_FIRST | NAME_MIDDLE | NAME_LAST | ADDRESS | ADDRESS_STREET1 | ADDRESS_STREET2 | ADDRESS_STREET3 | ADDRESS_CITY | ADDRESS_STATE | ADDRESS_COUNTRY | ADDRESS_POSTALCODE | PHONE | PHONE_NUMBER | EMAIL_ADDRESS | UNIQUE_ID | PROVIDER_ID TransUnion supports: NAME | NAME_FIRST | NAME_LAST | ADDRESS | ADDRESS_CITY | ADDRESS_STATE | ADDRESS_COUNTRY | ADDRESS_POSTALCODE | PHONE_NUMBER | EMAIL_ADDRESS | UNIQUE_ID | DATE | IPV4 | IPV6 | MAID Unified ID 2.0 supports: PHONE_NUMBER | EMAIL_ADDRESS | UNIQUE_ID"
        },
        "subType": {
          "type": "string",
          "description": "The sub type of the provider schema attribute."
        },
        "hashing": {
          "type": "boolean",
          "description": "The hashing attribute of the provider schema."
        }
      },
      "required": [
        "fieldName",
        "type"
      ]
    }
  }
}