{
  "openapi": "3.0.1",
  "info": {
    "title": "NameScan API",
    "version": "3.1"
  },
  "paths": {
    "/v3.1/person-scans/emerald": {
      "post": {
        "tags": [
          "Emerald Scans"
        ],
        "summary": "Performs new Emerald person scan",
        "description": "Allows you to scan persons on Emerald lists by entering their information into the fields provided.",
        "operationId": "Scans_ScanPersonEmerald",
        "requestBody": {
          "description": "The person scan parameter includes several key components for finding information.\r\n            <br /><br />When both firstname/lastname and name are entered and name is Latin/Roman, the name is ignored and only firstname/lastname are scanned. However, when the name is original script (Non-Latin/Roman), the result includes profiles matched with firstname/lastname or original script.\r\n            <br /><br />Match rate is a percentage value between 1% and 100%, indicating how closely the name being checked matches the matching watchlist profile's name. A higher match rate means a closer match. When using an original script name for scanning, the match rate is calculated based on the number of matched parts. \r\n            <br /><br />When the entered name is in its original script (e.g., Cyrillic, Arabic, Chinese), the match rate is determined by counting the number of matching components.\r\n            <br /><br />If optional fields, such as \"dob,\" \"country,\" or \"gender,\" are filled in and don't match the information in the Emerald database, the matching accuracy will decrease by 40%, 50%, or 60%, respectively.\r\n            <br /><br />The `includeAdvancedMedia` parameter enables searching for adverse media news articles related to a matched scanned entity. \r\n            Set it to true to receive articles in the advancedMedia property, which will incur an additional credit of 0.5.\r\n            If set to false, no advancedMedia property will be returned, and no extra credit will be deducted.\r\n            In case of Advanced Media failure, the response will not include the advancedMedia property, and no extra credit will be deducted.\r\n            Note that this individual service may take up to 45 seconds to respond.\r\n            <br />Advanced Media is not supported with the Test Key.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/NameScan.Common.API.V31.PersonScanEmeraldParam"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NameScan.Common.API.V31.PersonScanEmeraldParam"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NameScan.Common.API.V31.PersonScanEmeraldParam"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Contains information of matched persons. <br /><br />amlRiskCheck: Contains the Individual Risk Check score and the associated risk level.This information will be included in the response of `GET /v3.1/person-scans/emerald/{scanId}` only after a Risk Assessment Check has been performed using the returned `scanId`. <br /><br /> In addition taxHavenCountries and sanctionedCountries indicate whether the matched person is connected to countries associated with tax haven practices or subject to international sanctions. <br /><br /> Note that due to variations in country name formats, aliases, abbreviations, and data quality in the original source lists, the sanctionedCountries and taxHavenCountries fields contain detectable countries based on system matching logic. These results are indicative and may not represent an exhaustive or definitive list of all applicable countries.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NameScan.Common.API.V31.PersonScanEmeraldResult"
                }
              }
            }
          },
          "400": {
            "description": "The request could not be understood or processed by the server."
          },
          "401": {
            "description": "The requested resource requires authentication."
          },
          "403": {
            "description": "The server is not able to fulfill the request."
          },
          "500": {
            "description": "An error has occurred on the server."
          },
          "503": {
            "description": "The server is currently unavailable due to maintenance or overload."
          }
        }
      }
    },
    "/v3.1/person-scans/emerald/{scanId}": {
      "get": {
        "tags": [
          "Emerald Scans"
        ],
        "summary": "Retrieves Emerald person scan",
        "description": "Allows you to retrieve person scan on Emerald lists by entering its scanId.",
        "operationId": "Scans_ScanPersonEmeraldHistory",
        "parameters": [
          {
            "name": "scanId",
            "in": "path",
            "description": "scanId, which includes the scan ID to retrieve. It is required.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Contains information of Emerald person scan. <br /><br />amlRiskCheck: Contains the Individual Risk Check score and the associated risk level.This information will be populated only after a Risk Assessment Check has been performed using the provided `scanId`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NameScan.Common.API.V31.PersonScanEmeraldHistoryResult"
                }
              }
            }
          },
          "400": {
            "description": "The request could not be understood or processed by the server."
          },
          "401": {
            "description": "The requested resource requires authentication."
          },
          "403": {
            "description": "The server is not able to fulfill the request."
          },
          "500": {
            "description": "An error has occurred on the server."
          }
        }
      }
    },
    "/v3.1/organisation-scans/emerald": {
      "post": {
        "tags": [
          "Emerald Scans"
        ],
        "summary": "Performs new Emerald organisation scan",
        "description": "Allows you to scan organisations on Emerald lists by entering their information into the fields provided.",
        "operationId": "Scans_ScanOrganisationEmerald",
        "requestBody": {
          "description": "The organisation scan parameter includes organisation information to be found.\r\n            <br /><br />The matchRate percentage represents how closely the entered name matches the names on matching watchlist profiles, with 1% indicating no close match and 100% signifying a very close match.\r\n            <br /><br />If the optional field, 'country', is provided, but does not correspond with the Emerald database, the match rate will be reduced by 50%.\r\n            <br /><br />The `includeAdvancedMedia` parameter enables searching for adverse media news articles related to a matched scanned entity. \r\n            Set it to true to receive articles in the advancedMedia property, which will incur an additional credit of 0.5.\r\n            If set to false, no advancedMedia property will be returned, and no extra credit will be deducted.\r\n            In case of Advanced Media failure, the response will not include the advancedMedia property, and no extra credit will be deducted.\r\n            Note that this individual service may take up to 45 seconds to respond.\r\n            <br />Advanced Media is not supported with the Test Key.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/NameScan.Common.API.V31.OrganisationScanEmeraldParam"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NameScan.Common.API.V31.OrganisationScanEmeraldParam"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NameScan.Common.API.V31.OrganisationScanEmeraldParam"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Contains information of matched organisations. <br /><br />amlRiskCheck: Contains the Organisation Risk Check score and the associated risk level.This information will be included in the response of `GET /v3.1/organisation-scans/emerald/{scanId}` only after a Risk Assessment Check has been performed using the returned `scanId`. <br /><br /> In addition taxHavenCountries and sanctionedCountries indicate whether the matched person is connected to countries associated with tax haven practices or subject to international sanctions. <br /><br /> Note that due to variations in country name formats, aliases, abbreviations, and data quality in the original source lists, the sanctionedCountries and taxHavenCountries fields contain detectable countries based on system matching logic. These results are indicative and may not represent an exhaustive or definitive list of all applicable countries.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NameScan.Common.API.V31.OrganisationScanEmeraldResult"
                }
              }
            }
          },
          "400": {
            "description": "The request could not be understood or processed by the server."
          },
          "401": {
            "description": "The requested resource requires authentication."
          },
          "403": {
            "description": "The server is not able to fulfill the request."
          },
          "500": {
            "description": "An error has occurred on the server."
          },
          "503": {
            "description": "The server is currently unavailable due to maintenance or overload."
          }
        }
      }
    },
    "/v3.1/organisation-scans/emerald/{scanId}": {
      "get": {
        "tags": [
          "Emerald Scans"
        ],
        "summary": "Retrieves Emerald organisation scan",
        "description": "Allows you to retrieve organisation scan on Emerald lists by entering its scanId.",
        "operationId": "Scans_ScanOrganisationEmeraldHistory",
        "parameters": [
          {
            "name": "scanId",
            "in": "path",
            "description": "scanId, which includes the scan ID to retrieve. It is required.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Contains information of Emerald organisation scan. <br /><br />amlRiskCheck: Contains the Organisation Risk Check score and the associated risk level.This information will be populated only after a Risk Assessment Check has been performed using the provided `scanId`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NameScan.Common.API.V31.OrganisationScanEmeraldHistoryResult"
                }
              }
            }
          },
          "400": {
            "description": "The request could not be understood or processed by the server."
          },
          "401": {
            "description": "The requested resource requires authentication."
          },
          "403": {
            "description": "The server is not able to fulfill the request."
          },
          "500": {
            "description": "An error has occurred on the server."
          }
        }
      }
    },
    "/v3.1/lists/emerald/sanctions": {
      "get": {
        "tags": [
          "Emerald Scans"
        ],
        "summary": "Retrieves Emerald sanctions lists information",
        "description": "Allows you to retrieve information of Emerald sanctions lists.",
        "operationId": "Scans_GetEmeraldSanctionsLists",
        "responses": {
          "200": {
            "description": "Contains ID, name and status of sanctions lists.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NameScan.Common.API.V31.SanctionListInfo"
                  }
                }
              }
            }
          },
          "400": {
            "description": "The request could not be understood or processed by the server."
          },
          "401": {
            "description": "The requested resource requires authentication."
          },
          "403": {
            "description": "The server is not able to fulfill the request."
          },
          "500": {
            "description": "An error has occurred on the server."
          },
          "503": {
            "description": "The server is currently unavailable due to maintenance or overload."
          }
        }
      }
    },
    "/v3.1/person-scans/sapphire": {
      "post": {
        "tags": [
          "Sapphire Scans"
        ],
        "summary": "Performs new Sapphire person scan",
        "description": "Allows you to scan persons on Sapphire lists by entering their information into the fields provided.",
        "operationId": "Scans_ScanPersonSapphire",
        "requestBody": {
          "description": "The person scan parameter includes several key components for finding information.\r\n            <br /><br />firstName/lastName or originalName is required. middleName is optional.\r\n            <br /><br />For each record, you can choose to check firstName and lastName or originalName or both firstName and lastName and originalName. originalName can either be the person's full name in a Non-Latin/Roman-based language (e.g. Cyrillic, Arabic, Chinese etc), or the full Latin-based name, if you are unable to separate it based on First, Middle and Last Name.\r\n            <br /><br />MatchRate is a percentage value ranging from 1-100 that indicates how closely the name being checked matches the name on the matching watchlist profile, with 1% signifying not close and 100% indicating very close.\r\n            <br /><br />If you fill in the optional fields such as \"dob,\" \"country,\" or \"gender,\" and they don't match the information in the Sapphire database, the identified entity will be removed from the search results.\r\n            <br /><br />The `includeAdvancedMedia` parameter enables searching for adverse media news articles related to a matched scanned entity. \r\n            Set it to true to receive articles in the advancedMedia property, which will incur an additional credit of 0.25.\r\n            If set to false, no advancedMedia property will be returned, and no extra credit will be deducted.\r\n            In case of Advanced Media failure, the response will not include the advancedMedia property, and no extra credit will be deducted.\r\n            Note that this individual service may take up to 45 seconds to respond.\r\n            <br />Advanced Media is not supported with the Test Key.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/NameScan.Common.API.V31.PersonScanSapphireParam"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NameScan.Common.API.V31.PersonScanSapphireParam"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NameScan.Common.API.V31.PersonScanSapphireParam"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Contains information of matched persons. <br /><br />amlRiskCheck: Contains the Individual Risk Check score and the associated risk level. This information will be included in the response of `GET /v3.1/person-scans/sapphire/{scanId}` only after a Risk Assessment Check has been performed using the returned `scanId`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NameScan.Common.API.V31.PersonScanSapphireResult"
                }
              }
            }
          },
          "400": {
            "description": "The request could not be understood or processed by the server."
          },
          "401": {
            "description": "The requested resource requires authentication."
          },
          "403": {
            "description": "The server is not able to fulfill the request."
          },
          "500": {
            "description": "An error has occurred on the server."
          },
          "503": {
            "description": "The server is currently unavailable due to maintenance or overload."
          }
        }
      }
    },
    "/v3.1/person-scans/sapphire/{scanId}": {
      "get": {
        "tags": [
          "Sapphire Scans"
        ],
        "summary": "Retrieves Sapphire person scan",
        "description": "Allows you to retrieve person scan on Sapphire lists by entering its scanId.",
        "operationId": "Scans_ScanPersonSapphireHistory",
        "parameters": [
          {
            "name": "scanId",
            "in": "path",
            "description": "scanId, which includes the scan ID to retrieve. It is required.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Contains information of Sapphire person scan. <br /><br />amlRiskCheck: Contains the Individual Risk Check score and the associated risk level. This information will be populated only after a Risk Assessment Check has been performed using the provided `scanId`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NameScan.Common.API.V31.PersonScanSapphireHistoryResult"
                }
              }
            }
          },
          "400": {
            "description": "The request could not be understood or processed by the server."
          },
          "401": {
            "description": "The requested resource requires authentication."
          },
          "403": {
            "description": "The server is not able to fulfill the request."
          },
          "500": {
            "description": "An error has occurred on the server."
          }
        }
      }
    },
    "/v3.1/organisation-scans/sapphire": {
      "post": {
        "tags": [
          "Sapphire Scans"
        ],
        "summary": "Performs new Sapphire organisation scan",
        "description": "Allows you to scan organisations on Sapphire lists by entering their information into the fields provided.",
        "operationId": "Scans_ScanOrganisationSapphire",
        "requestBody": {
          "description": "The `includeAdvancedMedia` parameter enables searching for adverse media news articles related to a matched scanned entity. \r\n            Set it to true to receive articles in the advancedMedia property, which will incur an additional credit of 0.25.\r\n            If set to false, no advancedMedia property will be returned, and no extra credit will be deducted.\r\n            In case of Advanced Media failure, the response will not include the advancedMedia property, and no extra credit will be deducted.\r\n            Note that this individual service may take up to 45 seconds to respond.\r\n            <br />Advanced Media is not supported with the Test Key.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/NameScan.Common.API.V31.OrganisationScanSapphireParam"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NameScan.Common.API.V31.OrganisationScanSapphireParam"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NameScan.Common.API.V31.OrganisationScanSapphireParam"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Contains information of matched organisations. <br /><br />amlRiskCheck: Contains the Organisation Risk Check score and the associated risk level. This information will be included in the response of `GET /v3.1/organisation-scans/sapphire/{scanId}` only after a Risk Assessment Check has been performed using the returned `scanId`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NameScan.Common.API.V31.OrganisationScanSapphireResult"
                }
              }
            }
          },
          "400": {
            "description": "The request could not be understood or processed by the server."
          },
          "401": {
            "description": "The requested resource requires authentication."
          },
          "403": {
            "description": "The server is not able to fulfill the request."
          },
          "500": {
            "description": "An error has occurred on the server."
          },
          "503": {
            "description": "The server is currently unavailable due to maintenance or overload."
          }
        }
      }
    },
    "/v3.1/organisation-scans/sapphire/{scanId}": {
      "get": {
        "tags": [
          "Sapphire Scans"
        ],
        "summary": "Retrieves Sapphire organisation scan",
        "description": "Allows you to retrieve organisation scan on Sapphire lists by entering its scanId.",
        "operationId": "Scans_ScanOrganisationSapphireHistory",
        "parameters": [
          {
            "name": "scanId",
            "in": "path",
            "description": "scanId, which includes the scan ID to retrieve. It is required.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "organisationScanSapphireHistoryResult: contains information of organisation Sapphire scan. <br /><br />amlRiskCheck: Contains the Organisation Risk Check score and the associated risk level. This information will be populated only after a Risk Assessment Check has been performed using the provided `scanId`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NameScan.Common.API.V31.OrganisationScanSapphireHistoryResult"
                }
              }
            }
          },
          "400": {
            "description": "The request could not be understood or processed by the server."
          },
          "401": {
            "description": "The requested resource requires authentication."
          },
          "403": {
            "description": "The server is not able to fulfill the request."
          },
          "500": {
            "description": "An error has occurred on the server."
          }
        }
      }
    },
    "/v3.1/risk-check/questionnaire/person": {
      "get": {
        "tags": [
          "Risk Assessment Check"
        ],
        "summary": "Retrieves the list of questions and possible answer options for a Person Risk Assessment Check.",
        "description": "Allows you to retrieve a list of questions with their available options/answers and associated categories, used to perform an Person Risk Assessment Check.",
        "operationId": "Scans_GetPersonRiskCheckDetails",
        "responses": {
          "200": {
            "description": "Array of RiskCheckDetail: returns a list of risk assessment questions and answers.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NameScan.Common.API.V31.RiskCheckDetail"
                  }
                }
              }
            }
          },
          "400": {
            "description": "The request could not be understood or processed by the server."
          },
          "401": {
            "description": "The requested resource requires authentication."
          },
          "403": {
            "description": "The server is not able to fulfill the request."
          },
          "500": {
            "description": "An error has occurred on the server."
          }
        }
      }
    },
    "/v3.1/risk-check/person": {
      "post": {
        "tags": [
          "Risk Assessment Check"
        ],
        "summary": "Performs new Individual Risk Assessment Check.",
        "description": "Allows you to perform an Individual Risk Assessment Check by entering their information into the provided fields.",
        "operationId": "Scans_PersonRiskCheckScan",
        "requestBody": {
          "description": "The Individual Risk Assessment Check helps evaluate the potential level of risk posed to the screened entity.\r\n            <br /><br />scanId is a unique identifier of a PEP scan and is an optional field.\r\n            entityName represents the name of the individual.\r\n            <br /><br />Mandatory fields include residentStatusId for residency classification, clientVisitId for tracking visits, professionId and subProfessionId for categorising profession, and nationalityCode and domicileCountryCode for country details. productId and deliveryChannelId specify the product being used and the method of access.\r\n            <br /><br />Optional field include sourceofFundsId for categorising Funds.\r\n            <br /><br />isPEP, isSanctioned, and hasAdverseMedia are risk indicators for political exposure, individual sanctions screening, and reputational risk, respectively.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/NameScan.Common.API.V31.PersonRiskCheckScanParam"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NameScan.Common.API.V31.PersonRiskCheckScanParam"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NameScan.Common.API.V31.PersonRiskCheckScanParam"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NameScan.Common.API.V31.PersonRiskCheckScanResult"
                }
              }
            }
          },
          "200": {
            "description": "Contains information of Individual Risk Assessment Check result."
          },
          "400": {
            "description": "The request could not be understood or processed by the server."
          },
          "401": {
            "description": "The requested resource requires authentication."
          },
          "403": {
            "description": "The server is not able to fulfill the request."
          },
          "500": {
            "description": "An error has occurred on the server."
          },
          "503": {
            "description": "The server is currently unavailable due to maintenance or overload."
          }
        }
      }
    },
    "/v3.1/risk-check/person/{riskCheckId}": {
      "get": {
        "tags": [
          "Risk Assessment Check"
        ],
        "summary": "Retrieves Individual Risk Assessment Check result.",
        "description": "Allows you to retrieve the details of a Individual Risk Assessment Check by providing the riskCheckId.",
        "operationId": "Scans_GetPersonRiskCheckScanResult",
        "parameters": [
          {
            "name": "riskCheckId",
            "in": "path",
            "description": "riskCheckId, which includes the Risk Assessment Check ID to retrieve. It is required.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "APIRiskAssessmentResult: contains information of Risk Assessment Check result.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NameScan.Common.API.V31.PersonRiskCheckScanResult"
                }
              }
            }
          },
          "400": {
            "description": "The request could not be understood or processed by the server."
          },
          "401": {
            "description": "The requested resource requires authentication."
          },
          "403": {
            "description": "The server is not able to fulfill the request."
          },
          "500": {
            "description": "An error has occurred on the server."
          }
        }
      }
    },
    "/v3.1/risk-check/questionnaire/organisation": {
      "get": {
        "tags": [
          "Risk Assessment Check"
        ],
        "summary": "Retrieves the list of questions and possible answer options for an Organisation Risk Assessment Check.",
        "description": "Allows you to retrieve a list of questions with their available options/answers and associated categories, used to perform an Organisation Risk Assessment Check.",
        "operationId": "Scans_GetOrganisationRiskCheckDetails",
        "responses": {
          "200": {
            "description": "Array of RiskCheckDetail: returns a list of risk assessment questions and answers.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NameScan.Common.API.V31.RiskCheckDetail"
                  }
                }
              }
            }
          },
          "400": {
            "description": "The request could not be understood or processed by the server."
          },
          "401": {
            "description": "The requested resource requires authentication."
          },
          "403": {
            "description": "The server is not able to fulfill the request."
          },
          "500": {
            "description": "An error has occurred on the server."
          }
        }
      }
    },
    "/v3.1/risk-check/organisation": {
      "post": {
        "tags": [
          "Risk Assessment Check"
        ],
        "summary": "Performs new Organisation Risk Assessment Check.",
        "description": "Allows you to perform an Organisation Risk Assessment Check by entering their information into the provided fields.",
        "operationId": "Scans_OrganisationRiskCheckScan",
        "requestBody": {
          "description": "The Organisation Risk Assessment Check helps evaluate the potential level of risk posed to the screened entity.\r\n            <br /><br />scanId is a unique identifier of an organisation scan and is an optional field.\r\n            entityName represents the name of the organisation.\r\n            <br /><br />Mandatory fields include legalStatusId for legal classification, clientVisitId for visit tracking, industryTypeId for sector identification, and incorporationCountryCode for the country of registration. shareholderCountryCode specifies shareholder-related countries, while productId and deliveryChannelId specify the product being used and the method of access.\r\n            <br /><br />Additional fields such as otherLegalStatus, highRiskCountriesCode, and fatfCountriesCode offer deeper insights into potential risks.\r\n            <br /><br />Risk indicators include hasPEP for political exposure, isSanctioned for organisation sanctions screening, hasSanctions for stakeholder sanctions screening, and hasAdverseMedia for reputational risks.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/NameScan.Common.API.V31.OrganisationRiskCheckScanParam"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NameScan.Common.API.V31.OrganisationRiskCheckScanParam"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NameScan.Common.API.V31.OrganisationRiskCheckScanParam"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NameScan.Common.API.V31.OrganisationRiskCheckScanResult"
                }
              }
            }
          },
          "200": {
            "description": "Contains information of Organisation Risk Assessment Check result."
          },
          "400": {
            "description": "The request could not be understood or processed by the server."
          },
          "401": {
            "description": "The requested resource requires authentication."
          },
          "403": {
            "description": "The server is not able to fulfill the request."
          },
          "500": {
            "description": "An error has occurred on the server."
          },
          "503": {
            "description": "The server is currently unavailable due to maintenance or overload."
          }
        }
      }
    },
    "/v3.1/risk-check/organisation/{riskCheckId}": {
      "get": {
        "tags": [
          "Risk Assessment Check"
        ],
        "summary": "Retrieves Organisation Risk Assessment Check result.",
        "description": "Allows you to retrieve the details of a Organisation Risk Assessment Check by providing the riskCheckId.",
        "operationId": "Scans_GetOrganisationRiskCheckScanResult",
        "parameters": [
          {
            "name": "riskCheckId",
            "in": "path",
            "description": "riskCheckId, which includes the Risk Assessment Check ID to retrieve. It is required.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "APIRiskAssessmentResult: contains information of Risk Assessment Check result.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NameScan.Common.API.V31.OrganisationRiskCheckScanResult"
                }
              }
            }
          },
          "400": {
            "description": "The request could not be understood or processed by the server."
          },
          "401": {
            "description": "The requested resource requires authentication."
          },
          "403": {
            "description": "The server is not able to fulfill the request."
          },
          "500": {
            "description": "An error has occurred on the server."
          }
        }
      }
    },
    "/v3.1/credits/emerald": {
      "get": {
        "tags": [
          "Credits"
        ],
        "summary": "Retrieves user's Emerald credits",
        "description": "Allows you to retrieve information about Emerald credits.",
        "operationId": "Scans_GetEmeraldCredits",
        "responses": {
          "200": {
            "description": "Contains information about user's Emerald credits.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NameScan.Common.API.V31.CreditsResult"
                }
              }
            }
          },
          "400": {
            "description": "The request could not be understood or processed by the server."
          },
          "401": {
            "description": "The requested resource requires authentication."
          },
          "403": {
            "description": "The server is not able to fulfill the request."
          },
          "500": {
            "description": "An error has occurred on the server."
          }
        }
      }
    },
    "/v3.1/credits/sapphire": {
      "get": {
        "tags": [
          "Credits"
        ],
        "summary": "Retrieves user's Sapphire credits",
        "description": "Allows you to retrieve information about Sapphire credits.",
        "operationId": "Scans_GetSapphireCredits",
        "responses": {
          "200": {
            "description": "Contains information about user's Sapphire credits.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NameScan.Common.API.V31.CreditsResult"
                }
              }
            }
          },
          "400": {
            "description": "The request could not be understood or processed by the server."
          },
          "401": {
            "description": "The requested resource requires authentication."
          },
          "403": {
            "description": "The server is not able to fulfill the request."
          },
          "500": {
            "description": "An error has occurred on the server."
          }
        }
      }
    },
    "/v3.1/reports/scans/{scanId}": {
      "get": {
        "tags": [
          "Reports"
        ],
        "summary": "Retrieves PDF reports for Emerald and Sapphire scans",
        "description": "Get PDF reports of your Emerald/Sapphire scans using the Scan ID.",
        "operationId": "Scans_GetScanReport",
        "parameters": [
          {
            "name": "scanId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "PDF Report for Emerald/Sapphire Scans."
          },
          "400": {
            "description": "The request could not be understood or processed by the server."
          },
          "401": {
            "description": "The requested resource requires authentication."
          },
          "403": {
            "description": "The server is not able to fulfill the request."
          },
          "500": {
            "description": "An error has occurred on the server."
          }
        }
      }
    },
    "/v3.1/reports/risk-check/{riskCheckId}": {
      "get": {
        "tags": [
          "Reports"
        ],
        "summary": "Retrieves PDF reports for existing Risk Check",
        "description": "Get PDF reports of your Risk Checks using the Risk Check ID.",
        "operationId": "Scans_GetAMLRiskCheckScanReport",
        "parameters": [
          {
            "name": "riskCheckId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "PDF Report for Risk Check."
          },
          "400": {
            "description": "The request could not be understood or processed by the server."
          },
          "401": {
            "description": "The requested resource requires authentication."
          },
          "403": {
            "description": "The server is not able to fulfill the request."
          },
          "500": {
            "description": "An error has occurred on the server."
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "NameScan.Common.API.V31.CreditInfo": {
        "type": "object",
        "properties": {
          "credits": {
            "type": "number",
            "description": "Total credits of a user for a particular pack.",
            "format": "double"
          },
          "remainingCredits": {
            "type": "number",
            "description": "Remaining credits of the user for a particular pack.",
            "format": "double"
          },
          "expiryDate": {
            "type": "string",
            "description": "Date of expiry for a particular credit pack.",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents the information of a credits pack purchased by the user."
      },
      "NameScan.Common.API.V31.CreditsResult": {
        "type": "object",
        "properties": {
          "balance": {
            "type": "number",
            "description": "Number of remaining balance/scans for the user in a particular pack.",
            "format": "double"
          },
          "keyExpiryDate": {
            "type": "string",
            "description": "Expiry date for the user's remaining credits in a particular pack.",
            "format": "date-time",
            "nullable": true
          },
          "credits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.API.V31.CreditInfo"
            },
            "description": "List of the user's remaining credit packs.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents information about the user's remaining credits."
      },
      "NameScan.Common.API.V31.OrganisationRiskCheckResult": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "description": "Risk assessment question category.",
            "nullable": true
          },
          "question": {
            "type": "string",
            "description": "Risk assessment question.",
            "nullable": true
          },
          "answer": {
            "type": "string",
            "description": "The answer provided for the corresponding risk assessment question.",
            "nullable": true
          },
          "score": {
            "type": "integer",
            "description": "The score associated with the answer, if applicable.",
            "format": "int32",
            "nullable": true
          },
          "countries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.API.V31.OrganisationRiskCountryResult"
            },
            "description": "List of country-specific details.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Contains the organisation's risk check result details"
      },
      "NameScan.Common.API.V31.OrganisationRiskCheckScanParam": {
        "required": [
          "clientVisitId",
          "deliveryChannelId",
          "hasAdverseMedia",
          "hasPEP",
          "hasSanctions",
          "incorporationCountryCode",
          "industryTypeId",
          "isSanctioned",
          "legalStatusId",
          "productId",
          "shareholderCountryCode"
        ],
        "type": "object",
        "properties": {
          "scanId": {
            "type": "string",
            "description": "ScanId is a unique identifier of an organisation scan and is an optional field.",
            "nullable": true
          },
          "entityName": {
            "maxLength": 250,
            "minLength": 0,
            "type": "string",
            "description": "Entity name represents the name of the organisation and is an optional field.",
            "nullable": true
          },
          "legalStatusId": {
            "type": "integer",
            "description": "The legal status ID for legal classification.",
            "format": "int32"
          },
          "otherLegalStatus": {
            "type": "string",
            "description": "Other legal status of the organisation to define risk. It is an optional field.",
            "nullable": true
          },
          "clientVisitId": {
            "type": "integer",
            "description": "The client visit ID for visit tracking.",
            "format": "int32"
          },
          "industryTypeId": {
            "type": "integer",
            "description": "The industry type ID for sector identification.",
            "format": "int32"
          },
          "incorporationCountryCode": {
            "maxLength": 2,
            "minLength": 0,
            "type": "string",
            "description": "The country code of incorporation for the country of registration.",
            "example": "string"
          },
          "highRiskCountriesCode": {
            "type": "string",
            "description": "The list of high-risk country codes associated with the organisation",
            "nullable": true
          },
          "fatfCountriesCode": {
            "type": "string",
            "description": "fatf country code of organisation to define risk. It is an optional field.\r\nThe list of FATF country codes associated with the organisation",
            "nullable": true
          },
          "shareholderCountryCode": {
            "type": "string",
            "description": "The list of shareholder country codes associated with the organisation"
          },
          "productId": {
            "type": "integer",
            "description": "The product ID to specify the product being used.",
            "format": "int32"
          },
          "deliveryChannelId": {
            "type": "integer",
            "description": "The delivery channel ID used by the organisation.",
            "format": "int32"
          },
          "hasPEP": {
            "type": "boolean",
            "description": "Indicates whether the organisation has any Politically Exposed Persons (PEPs)."
          },
          "isSanctioned": {
            "type": "boolean",
            "description": "Indicates whether the organisation is listed on any sanctions lists."
          },
          "hasSanctions": {
            "type": "boolean",
            "description": "Indicates whether the organisation is associated with any sanctions."
          },
          "hasAdverseMedia": {
            "type": "boolean",
            "description": "Indicates whether the organisation is associated with any adverse media coverage."
          }
        },
        "additionalProperties": false,
        "description": "Contains information of Organisation Risk Assessment Check scan parameters."
      },
      "NameScan.Common.API.V31.OrganisationRiskCheckScanResult": {
        "type": "object",
        "properties": {
          "riskCheckId": {
            "type": "string",
            "description": "The identifier to be utilised for retrieving details of the organisation's risk check.",
            "nullable": true
          },
          "scanId": {
            "type": "string",
            "description": "The identifier of the Emerald/Sapphire organisation scan. It should be used to link organisation risk check to the corresponding scan.",
            "nullable": true
          },
          "createDate": {
            "type": "string",
            "description": "Date of risk check.",
            "format": "date-time"
          },
          "entityName": {
            "type": "string",
            "description": "The organisation's name used for risk check.",
            "nullable": true
          },
          "totalScore": {
            "type": "integer",
            "description": "Represents the total score calculated based on all risk assessment responses.",
            "format": "int32"
          },
          "amlRiskLevel": {
            "enum": [
              "None",
              "Low",
              "Medium",
              "High",
              "Sanctions"
            ],
            "type": "string",
            "description": "Represents the risk level based on risk assessment analysis."
          },
          "amlRiskCheckResult": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.API.V31.OrganisationRiskCheckResult"
            },
            "description": "List of organisation risk assessment result.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Provides information about the Organisation Risk Check score and the risk level details."
      },
      "NameScan.Common.API.V31.OrganisationRiskCountryResult": {
        "type": "object",
        "properties": {
          "answer": {
            "type": "string",
            "description": "Represents country name used in assessment.",
            "nullable": true
          },
          "score": {
            "type": "integer",
            "description": "Provides the score assigned to the country based on its associated risk level.",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents the country-specific details used in a corporate risk assessment, including the country name and its associated risk score."
      },
      "NameScan.Common.API.V31.OrganisationScanEmeraldHistoryResult": {
        "type": "object",
        "properties": {
          "scanParam": {
            "$ref": "#/components/schemas/NameScan.Common.API.V31.OrganisationScanEmeraldParam"
          },
          "scanResult": {
            "$ref": "#/components/schemas/NameScan.Common.API.V31.OrganisationScanEmeraldResult"
          }
        },
        "additionalProperties": false
      },
      "NameScan.Common.API.V31.OrganisationScanEmeraldParam": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "maxLength": 250,
            "minLength": 0,
            "type": "string",
            "description": "Name of organisation to be scanned."
          },
          "country": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "description": "Country of organisation to be scanned.",
            "nullable": true
          },
          "includedLists": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "Use the 'includedLists' field if you want to scan over specified Sanctions lists.(e.g., UN, SDN).",
            "nullable": true
          },
          "excludedLists": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "Use the 'excludedLists' field if you want to exclude specific Sanctions lists from your scan.(e.g., UN, SDN).",
            "nullable": true
          },
          "matchRate": {
            "maximum": 100,
            "minimum": 1,
            "type": "integer",
            "description": "The Match Rate is specified for each matched entity. Values range from 1 (indicating not close) to 100 (representing exact or very close matches).",
            "format": "int32",
            "default": 50,
            "nullable": true
          },
          "includeAdvancedMedia": {
            "type": "boolean",
            "description": "includeAdvancedMedia can be set to true or false. If its value is true, it means that articles will be returned based on the matched scanned entity, and an additional credit will be deducted for this operation. Conversely, if the value is false, no results will be returned, and no extra credit will be deducted.",
            "default": false,
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Contains information of organisation to be scanned."
      },
      "NameScan.Common.API.V31.OrganisationScanEmeraldResult": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "description": "Date of Scan.",
            "format": "date-time"
          },
          "scanId": {
            "type": "string",
            "description": "The identifier to be utilised for retrieving details of the organisation's scan.",
            "nullable": true
          },
          "numberOfMatches": {
            "type": "integer",
            "description": "The number of matched entities found indicates whether there are any matches or not; 0 signifies that no matches were found.",
            "format": "int32",
            "nullable": true
          },
          "organisations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.Emerald.API.Organisation"
            },
            "description": "Lists of the Emerald Scan Match Results for an organisation's Details.",
            "nullable": true
          },
          "advancedMedia": {
            "$ref": "#/components/schemas/NameScan.Common.Dashboard.API.V10.AdvanceMediaResult"
          },
          "amlRiskCheck": {
            "$ref": "#/components/schemas/NameScan.Common.API.V31.OrganisationRiskCheckScanResult"
          },
          "taxHavenCountries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.API.V31.TaxHavenCountryResult"
            },
            "nullable": true
          },
          "sanctionedCountries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.API.V31.SanctionCountryResult"
            },
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents information about the Emrald organisation scan and list of scan matched entities.\r\nThe lists present the scan match results for the organisation."
      },
      "NameScan.Common.API.V31.OrganisationScanSapphireHistoryResult": {
        "type": "object",
        "properties": {
          "scanParam": {
            "$ref": "#/components/schemas/NameScan.Common.API.V31.OrganisationScanSapphireParam"
          },
          "scanResult": {
            "$ref": "#/components/schemas/NameScan.Common.API.V31.OrganisationScanSapphireResult"
          }
        },
        "additionalProperties": false
      },
      "NameScan.Common.API.V31.OrganisationScanSapphireParam": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "maxLength": 250,
            "minLength": 0,
            "type": "string",
            "description": "Name of organisation to be scanned."
          },
          "country": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "description": "Country of organisation to be scanned.",
            "nullable": true
          },
          "registrationNumber": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "description": "Company Registration Number could be an ABN, ACN or its equivalent. When you provide a Registration Number, it will be utilized in the matching process, and Company Name matches will be returned if that Registration Number is 'contained' within the watchlist record.",
            "nullable": true
          },
          "exact": {
            "type": "boolean",
            "description": "The exact match is specified for each matched entity. If the value is true, this indicates an exact match with the scanned entity. Conversely, if the value is false, it signifies that there is no exact match with the scanned entity.",
            "default": false,
            "nullable": true
          },
          "matchRate": {
            "maximum": 100,
            "minimum": 1,
            "type": "integer",
            "description": "The Match Rate is specified for each matched entity. Values range from 1 (indicating not close) to 100 (representing exact or very close matches).",
            "format": "int32",
            "default": 75,
            "nullable": true
          },
          "maxResultCount": {
            "maximum": 200,
            "minimum": 1,
            "type": "integer",
            "description": "Max result count of matched entity. Values are from 1 (Min) to 200 (Max).",
            "format": "int32",
            "default": 100,
            "nullable": true
          },
          "includeAdvancedMedia": {
            "type": "boolean",
            "description": "includeAdvancedMedia can be set to true or false. If its value is true, it means that articles will be returned based on the matched scanned entity, and an additional credit will be deducted for this operation. Conversely, if the value is false, no results will be returned, and no extra credit will be deducted.",
            "default": false,
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Contains information of organisation to be scanned."
      },
      "NameScan.Common.API.V31.OrganisationScanSapphireResult": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "description": "Date of scan.",
            "format": "date-time"
          },
          "scanId": {
            "type": "string",
            "description": "The identifier to be utilised for retrieving details of the organisation's scan.",
            "nullable": true
          },
          "numberOfMatches": {
            "type": "integer",
            "description": "The number of matched entities found indicates whether there are any matches or not; 0 signifies that no matches were found.",
            "format": "int32",
            "nullable": true
          },
          "corporates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.SingleScanCorpResultDetail"
            },
            "description": "Lists of the Sapphire Scan Match Results for an organisation's Details.",
            "nullable": true
          },
          "advancedMedia": {
            "$ref": "#/components/schemas/NameScan.Common.Dashboard.API.V10.AdvanceMediaResult"
          },
          "amlRiskCheck": {
            "$ref": "#/components/schemas/NameScan.Common.API.V31.OrganisationRiskCheckScanResult"
          }
        },
        "additionalProperties": false,
        "description": "Represents information about the Sapphire organisation scan and list of scan matched entities.\r\nThe lists present the scan match results for the organisation."
      },
      "NameScan.Common.API.V31.PersonRiskCheckResult": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "description": "Risk assessment question category.",
            "nullable": true
          },
          "question": {
            "type": "string",
            "description": "Risk assessment question.",
            "nullable": true
          },
          "answer": {
            "type": "string",
            "description": "The answer provided for the corresponding risk assessment question.",
            "nullable": true
          },
          "score": {
            "type": "integer",
            "description": "The score associated with the answer, if applicable.",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Contains the person's risk check result details"
      },
      "NameScan.Common.API.V31.PersonRiskCheckScanParam": {
        "required": [
          "clientVisitId",
          "deliveryChannelId",
          "domicileCountryCode",
          "hasAdverseMedia",
          "isPEP",
          "isSanctioned",
          "nationalityCode",
          "productId",
          "professionId",
          "residentStatusId",
          "subProfessionId"
        ],
        "type": "object",
        "properties": {
          "scanId": {
            "type": "string",
            "description": "ScanId is a unique identifier of a PEP scan and is an optional field.",
            "nullable": true
          },
          "entityName": {
            "maxLength": 250,
            "minLength": 0,
            "type": "string",
            "description": "Entity name represents the name of the individual and is an optional field.",
            "nullable": true
          },
          "residentStatusId": {
            "type": "integer",
            "description": "The resident status ID for residency classification.",
            "format": "int32"
          },
          "clientVisitId": {
            "type": "integer",
            "description": "The client visit ID for tracking visits.",
            "format": "int32"
          },
          "professionId": {
            "type": "integer",
            "description": "The profession ID for categorising profession.",
            "format": "int32"
          },
          "subProfessionId": {
            "type": "integer",
            "description": "The sub-profession ID for categorising profession.",
            "format": "int32"
          },
          "nationalityCode": {
            "maxLength": 2,
            "minLength": 0,
            "type": "string",
            "description": "The nationality code for indivudual country details.",
            "example": "string"
          },
          "domicileCountryCode": {
            "maxLength": 2,
            "minLength": 0,
            "type": "string",
            "description": "The domicile country code for individual country details.",
            "example": "string"
          },
          "productId": {
            "type": "integer",
            "description": "The product ID to specify the product being used.",
            "format": "int32"
          },
          "deliveryChannelId": {
            "type": "integer",
            "description": "The delivery channel ID for the method of access.",
            "format": "int32"
          },
          "sourceofFundsId": {
            "type": "integer",
            "description": "The source of funds ID for categorising Funds.",
            "format": "int32",
            "nullable": true
          },
          "isPEP": {
            "type": "boolean",
            "description": "Indicates whether the individual is a Politically Exposed Person (PEP)."
          },
          "isSanctioned": {
            "type": "boolean",
            "description": "Indicates whether the individual is listed on any sanctions lists."
          },
          "hasAdverseMedia": {
            "type": "boolean",
            "description": "Indicates whether the individual is associated with adverse media coverage."
          }
        },
        "additionalProperties": false,
        "description": "Contains information of Individual Risk Assessment Check scan parameters."
      },
      "NameScan.Common.API.V31.PersonRiskCheckScanResult": {
        "type": "object",
        "properties": {
          "riskCheckId": {
            "type": "string",
            "description": "The identifier to be utilised for retrieving details of the individual's risk check.",
            "nullable": true
          },
          "scanId": {
            "type": "string",
            "description": "The identifier of the Emerald/Sapphire person scan. It should be used to link individual risk check to the corresponding scan.",
            "nullable": true
          },
          "createDate": {
            "type": "string",
            "description": "Date of risk check.",
            "format": "date-time",
            "nullable": true
          },
          "entityName": {
            "type": "string",
            "description": "The individual's name used for risk check.",
            "nullable": true
          },
          "totalScore": {
            "type": "integer",
            "description": "Represents the total score calculated based on all risk assessment responses.",
            "format": "int32"
          },
          "amlRiskLevel": {
            "enum": [
              "None",
              "Low",
              "Medium",
              "High",
              "Sanctions"
            ],
            "type": "string",
            "description": "Represents the risk level based on risk assessment analysis."
          },
          "amlRiskCheckResult": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.API.V31.PersonRiskCheckResult"
            },
            "description": "List of individual risk assessment result.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Provides information about the Individual Risk Check score and the risk level details."
      },
      "NameScan.Common.API.V31.PersonScanEmeraldHistoryResult": {
        "type": "object",
        "properties": {
          "scanParam": {
            "$ref": "#/components/schemas/NameScan.Common.API.V31.PersonScanEmeraldParam"
          },
          "scanResult": {
            "$ref": "#/components/schemas/NameScan.Common.API.V31.PersonScanEmeraldResult"
          }
        },
        "additionalProperties": false
      },
      "NameScan.Common.API.V31.PersonScanEmeraldParam": {
        "type": "object",
        "properties": {
          "name": {
            "maxLength": 250,
            "minLength": 0,
            "type": "string",
            "description": "Name of person to be scanned.",
            "nullable": true
          },
          "firstName": {
            "maxLength": 150,
            "minLength": 0,
            "type": "string",
            "description": "First name of person to be scanned.",
            "nullable": true
          },
          "middleName": {
            "maxLength": 150,
            "minLength": 0,
            "type": "string",
            "description": "Middle name of person to be scanned.",
            "nullable": true
          },
          "lastName": {
            "maxLength": 150,
            "minLength": 0,
            "type": "string",
            "description": "Last name of person to be scanned.",
            "nullable": true
          },
          "gender": {
            "maxLength": 10,
            "minLength": 0,
            "type": "string",
            "description": "Gender of person to be scanned.",
            "nullable": true
          },
          "dob": {
            "maxLength": 10,
            "minLength": 0,
            "pattern": "^((0?[1-9]|[1-2][0-9]|3[0-1])/(0?[1-9]|1[0-2])/[0-9]{4})|[0-9]{4}$",
            "type": "string",
            "description": "Birth date of person to be scanned.",
            "default": "",
            "nullable": true,
            "example": "DD/MM/YYYY or YYYY"
          },
          "country": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "description": "Country of person to be scanned.",
            "nullable": true
          },
          "listType": {
            "maxLength": 20,
            "minLength": 0,
            "type": "string",
            "description": "Select the list type to be scan. This can be set to PEP or Sanction, and if left empty, the scan will cover all lists.",
            "nullable": true
          },
          "includedLists": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "Use the 'includedLists' field if you want to scan over specified Sanctions lists.(e.g., UN, SDN).",
            "nullable": true
          },
          "excludedLists": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "description": "Use the 'excludedLists' field if you want to exclude specific Sanctions lists from your scan.(e.g., UN, SDN).",
            "nullable": true
          },
          "matchRate": {
            "maximum": 100,
            "minimum": 1,
            "type": "integer",
            "description": "The Match Rate is specified for each matched entity. Values range from 1 (indicating not close) to 100 (representing exact or very close matches).",
            "format": "int32",
            "default": 50,
            "nullable": true
          },
          "includeAdvancedMedia": {
            "type": "boolean",
            "description": "includeAdvancedMedia can be set to true or false. If its value is true, it means that articles will be returned based on the matched scanned entity, and an additional credit will be deducted for this operation. Conversely, if the value is false, no results will be returned, and no extra credit will be deducted.",
            "default": false,
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Contains information of person to be scanned."
      },
      "NameScan.Common.API.V31.PersonScanEmeraldResult": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "description": "Date of Scan.",
            "format": "date-time"
          },
          "scanId": {
            "type": "string",
            "description": "The identifier of this scan should be utilised to obtain the details related to this person's scan.",
            "nullable": true
          },
          "numberOfMatches": {
            "type": "integer",
            "description": "Number of matched entities found. 0 indicates that no matches were found.",
            "format": "int32",
            "nullable": true
          },
          "numberOfPepMatches": {
            "type": "integer",
            "description": "Number of matched PEP (Politically Exposed Persons) entities found. 0 indicates that no matches were found.",
            "format": "int32",
            "nullable": true
          },
          "numberOfSipMatches": {
            "type": "integer",
            "description": "Number of matched SIP (Special Interest Persons) entities found. 0 indicates that no matches were found.",
            "format": "int32",
            "nullable": true
          },
          "persons": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.Emerald.API.Person"
            },
            "description": "Lists of the Emerald Scan Match Results for an Individual's Details.",
            "nullable": true
          },
          "advancedMedia": {
            "$ref": "#/components/schemas/NameScan.Common.Dashboard.API.V10.AdvanceMediaResult"
          },
          "amlRiskCheck": {
            "$ref": "#/components/schemas/NameScan.Common.API.V31.PersonRiskCheckScanResult"
          },
          "taxHavenCountries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.API.V31.TaxHavenCountryResult"
            },
            "nullable": true
          },
          "sanctionedCountries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.API.V31.SanctionCountryResult"
            },
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "It should be utilised for emerald scan match results related to an individual's details."
      },
      "NameScan.Common.API.V31.PersonScanSapphireHistoryResult": {
        "type": "object",
        "properties": {
          "scanParam": {
            "$ref": "#/components/schemas/NameScan.Common.API.V31.PersonScanSapphireParam"
          },
          "scanResult": {
            "$ref": "#/components/schemas/NameScan.Common.API.V31.PersonScanSapphireResult"
          }
        },
        "additionalProperties": false
      },
      "NameScan.Common.API.V31.PersonScanSapphireParam": {
        "type": "object",
        "properties": {
          "firstName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "description": "First name of person to be scanned.",
            "nullable": true
          },
          "middleName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "description": "Middle name of person to be scanned.",
            "nullable": true
          },
          "lastName": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "description": "Last name of person to be scanned.",
            "nullable": true
          },
          "originalName": {
            "maxLength": 250,
            "minLength": 0,
            "type": "string",
            "description": "Original name of person to be scanned.",
            "nullable": true
          },
          "gender": {
            "maxLength": 10,
            "minLength": 0,
            "type": "string",
            "description": "Gender of person to be scanned.",
            "nullable": true
          },
          "dob": {
            "maxLength": 10,
            "minLength": 0,
            "pattern": "^((0?[1-9]|[1-2][0-9]|3[0-1])/(0?[1-9]|1[0-2])/[0-9]{4})|[0-9]{4}$",
            "type": "string",
            "description": "Birth date of person to be scanned.",
            "default": "",
            "nullable": true,
            "example": " DD/MM/YYYY or YYYY "
          },
          "country": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "description": "Country of person to be scanned.",
            "nullable": true
          },
          "idNumber": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "description": "Person ID Number, such as a Passport number or VAT/Tax number. When you enter an ID Number, it is utilized in the matching process, is compared against the watchlist records. If the ID number is found within a watchlist record, the corresponding person name and details are returned.",
            "nullable": true
          },
          "exact": {
            "type": "boolean",
            "description": "The exact match is specified for each matched entity. If the value is true, this indicates an exact match with the scanned entity. Conversely, if the value is false, it signifies that there is no exact match with the scanned entity.",
            "default": false,
            "nullable": true
          },
          "matchRate": {
            "maximum": 100,
            "minimum": 1,
            "type": "integer",
            "description": "The Match Rate is specified for each matched entity. Values range from 1 (indicating not close) to 100 (representing exact or very close matches).",
            "format": "int32",
            "default": 75,
            "nullable": true
          },
          "maxResultCount": {
            "maximum": 200,
            "minimum": 1,
            "type": "integer",
            "description": "Max result count indicates the maximum number of matches that should be returned.",
            "format": "int32",
            "default": 100,
            "nullable": true
          },
          "includeAdvancedMedia": {
            "type": "boolean",
            "description": "includeAdvancedMedia can be set to true or false. If its value is true, it means that articles will be returned based on the matched scanned entity, and an additional credit will be deducted for this operation. Conversely, if the value is false, no results will be returned, and no extra credit will be deducted.",
            "default": false,
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Contains information of person to be scanned."
      },
      "NameScan.Common.API.V31.PersonScanSapphireResult": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "description": "Date of scan.",
            "format": "date-time"
          },
          "scanId": {
            "type": "string",
            "description": "The identifier to be utilised for retrieving details of the person's scan.",
            "nullable": true
          },
          "numberOfMatches": {
            "type": "integer",
            "description": "Number of matched entities found. 0 indicates that no matches were found.",
            "format": "int32",
            "nullable": true
          },
          "persons": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.SingleScanResultDetail"
            },
            "description": "Lists of the Sapphire Scan Match Results for an Individual's Details.",
            "nullable": true
          },
          "advancedMedia": {
            "$ref": "#/components/schemas/NameScan.Common.Dashboard.API.V10.AdvanceMediaResult"
          },
          "amlRiskCheck": {
            "$ref": "#/components/schemas/NameScan.Common.API.V31.PersonRiskCheckScanResult"
          }
        },
        "additionalProperties": false,
        "description": "It should be utilised for Sapphire scan match results related to an individual's details."
      },
      "NameScan.Common.API.V31.RiskCheckDetail": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier of the risk assessment question.",
            "nullable": true
          },
          "category": {
            "type": "string",
            "description": "Specifies the category of the risk assessment question.",
            "nullable": true
          },
          "question": {
            "type": "string",
            "description": "Provides risk assessment question.",
            "nullable": true
          },
          "options": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.API.V31.RiskCheckOption"
            },
            "description": "List of options associated with the risk assessment question.",
            "nullable": true
          },
          "inputType": {
            "type": "string",
            "description": "Specifies the input type for the question.",
            "nullable": true
          },
          "isNullable": {
            "type": "boolean",
            "description": "Indicates whether answering the question is optional. If true, the question is optional; otherwise, it is mandatory."
          }
        },
        "additionalProperties": false,
        "description": "Represents a risk check detail, including its category, available options, input type, and required status."
      },
      "NameScan.Common.API.V31.RiskCheckOption": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string",
            "description": "The label associated with risk assessment option.",
            "nullable": true
          },
          "value": {
            "type": "string",
            "description": "The value associated with risk assessment option.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents an individual option for a risk assessment question, including its value and label."
      },
      "NameScan.Common.API.V31.SanctionCountryResult": {
        "type": "object",
        "properties": {
          "country": {
            "type": "string",
            "description": "Indicates country name.",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "description": "Indicates 2-letter country code.",
            "nullable": true
          },
          "comment": {
            "type": "string",
            "description": "Description of sanctioned country.",
            "nullable": true
          },
          "url": {
            "type": "string",
            "description": "The reference link for sanctioned country.",
            "nullable": true
          },
          "isBlackList": {
            "type": "boolean",
            "description": "Identifies whether the country is in BlackList or not."
          },
          "isGreyList": {
            "type": "boolean",
            "description": "Identifies whether the country is in GreyList or not."
          },
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.API.V31.SanctionTaxHavenDetail"
            },
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Details of the Sanctioned country."
      },
      "NameScan.Common.API.V31.SanctionListInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "enabled": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "NameScan.Common.API.V31.SanctionTaxHavenDetail": {
        "type": "object",
        "properties": {
          "index": {
            "type": "integer",
            "description": "Indicates index of the person result in persons list.",
            "format": "int32"
          },
          "field": {
            "type": "string",
            "description": "Indicates field that contains this country.",
            "nullable": true
          },
          "rawValue": {
            "type": "string",
            "description": "Indicates detectated name of the country.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Relation of the Sanctioned/Tax Haven country."
      },
      "NameScan.Common.API.V31.ScanHistoryItem": {
        "type": "object",
        "properties": {
          "scanId": {
            "type": "string",
            "nullable": true
          },
          "scanDate": {
            "type": "string",
            "format": "date-time"
          },
          "source": {
            "enum": [
              "Emerald",
              "Sapphire"
            ],
            "type": "string"
          },
          "entityType": {
            "enum": [
              "Person",
              "Organisation"
            ],
            "type": "string"
          },
          "apiVersion": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NameScan.Common.API.V31.ScanHistoryList": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "scans": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.API.V31.ScanHistoryItem"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NameScan.Common.API.V31.TaxHavenCountryResult": {
        "type": "object",
        "properties": {
          "country": {
            "type": "string",
            "description": "Indicates country name.",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "description": "Indicates 2-letter country code.",
            "nullable": true
          },
          "comment": {
            "type": "string",
            "description": "Description of tax haven country.",
            "nullable": true
          },
          "url": {
            "type": "string",
            "description": "The reference link for tax haven country.",
            "nullable": true
          },
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.API.V31.SanctionTaxHavenDetail"
            },
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Details of the TaxHaven country."
      },
      "NameScan.Common.Dashboard.API.V10.AdvanceMediaArticle": {
        "type": "object",
        "properties": {
          "articleId": {
            "type": "string",
            "nullable": true
          },
          "siteId": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "countryName": {
            "type": "string",
            "nullable": true
          },
          "readCount": {
            "type": "string",
            "nullable": true
          },
          "publishedDate": {
            "type": "string",
            "nullable": true
          },
          "wordCount": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "articleImages": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "author": {
            "type": "string",
            "nullable": true
          },
          "link": {
            "type": "string",
            "nullable": true
          },
          "sourceName": {
            "type": "string",
            "nullable": true
          },
          "sourceUrl": {
            "type": "string",
            "nullable": true
          },
          "summary": {
            "type": "string",
            "nullable": true
          },
          "body": {
            "type": "string",
            "nullable": true
          },
          "caption": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NameScan.Common.Dashboard.API.V10.AdvanceMediaResult": {
        "type": "object",
        "properties": {
          "context": {
            "type": "string",
            "nullable": true
          },
          "articles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.Dashboard.API.V10.AdvanceMediaArticle"
            },
            "nullable": true
          },
          "scanStatus": {
            "$ref": "#/components/schemas/NameScan.Common.Dashboard.API.V10.ScanStatus"
          }
        },
        "additionalProperties": false
      },
      "NameScan.Common.Dashboard.API.V10.ScanStatus": {
        "type": "object",
        "properties": {
          "status": {
            "type": "integer",
            "description": "Returns the status code\r\n<br />200 - Success\r\n<br />204 - No result found\r\n<br />408 - Timeout\r\n<br />500 - Internal server error",
            "format": "int32"
          },
          "statusDescription": {
            "type": "string",
            "description": "Returns the status description\r\n<br />200 - Success\r\n<br />204 - No result found\r\n<br />408 - Timeout\r\n<br />500 - Internal server error",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NameScan.Common.Emerald.API.Address": {
        "type": "object",
        "properties": {
          "address1": {
            "type": "string",
            "description": "Contains the major address, if available.",
            "nullable": true
          },
          "address2": {
            "type": "string",
            "description": "Contains the minor address, if available.",
            "nullable": true
          },
          "address3": {
            "type": "string",
            "description": "Contains other additional address, if available.",
            "nullable": true
          },
          "city": {
            "type": "string",
            "description": "City of the matched entity.",
            "nullable": true
          },
          "region": {
            "type": "string",
            "description": "Region of matched entity.",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "description": "Postal code of matched entity.",
            "nullable": true
          },
          "country": {
            "type": "string",
            "description": "Country of the matched entity.",
            "nullable": true
          },
          "text": {
            "type": "string",
            "description": "Additional address details, if available.",
            "nullable": true
          },
          "note": {
            "type": "string",
            "description": "Note regarding the address details, if available.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents country, Region (State/Province), City, and address where information is available."
      },
      "NameScan.Common.Emerald.API.Contact": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "description": "Value of the entity.",
            "nullable": true
          },
          "type": {
            "type": "string",
            "description": "Type of the contact.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents contact details of the entity."
      },
      "NameScan.Common.Emerald.API.DateOfBirth": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "description": "Date of birth.",
            "nullable": true
          },
          "note": {
            "type": "string",
            "description": "Note of birth, if any.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents date and note of birth where information is available."
      },
      "NameScan.Common.Emerald.API.Identity": {
        "type": "object",
        "properties": {
          "number": {
            "type": "string",
            "description": "Id number of the matched entity.",
            "nullable": true
          },
          "country": {
            "type": "string",
            "description": "Country of identity.",
            "nullable": true
          },
          "note": {
            "type": "string",
            "description": "Note of the identity, if available.",
            "nullable": true
          },
          "type": {
            "type": "string",
            "description": "Type of identity including registration number, registration date and status etc.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents the identity of the matched entity."
      },
      "NameScan.Common.Emerald.API.Link": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "Link to original source or website.",
            "nullable": true
          },
          "type": {
            "type": "string",
            "description": "Type of the source detail.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents the source link information."
      },
      "NameScan.Common.Emerald.API.NameDetail": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name of the person, if available.",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "description": "First name of the person, if available.",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "description": "Middle name of the person, if available.",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "description": "Last name of the person, if available.",
            "nullable": true
          },
          "type": {
            "type": "string",
            "description": "Type of name, if available.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents other name details of person where information is available."
      },
      "NameScan.Common.Emerald.API.OrgNameDetail": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name of the organisation.",
            "nullable": true
          },
          "type": {
            "type": "string",
            "description": "Type of the organisation.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents name details of organisation where information is available."
      },
      "NameScan.Common.Emerald.API.Organisation": {
        "type": "object",
        "properties": {
          "uid": {
            "type": "string",
            "description": "The unique identifier of the orgaisation.",
            "nullable": true
          },
          "updateAt": {
            "type": "string",
            "description": "Date the organisation profile was updated in data source.",
            "nullable": true
          },
          "updateInfo": {
            "type": "string",
            "description": "Information updated in the data source.",
            "nullable": true
          },
          "category": {
            "type": "string",
            "description": "Category of the organisation.",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Name of the organisation.",
            "nullable": true
          },
          "originalScriptName": {
            "type": "string",
            "description": "Original script name of the organisation.",
            "nullable": true
          },
          "referenceType": {
            "type": "string",
            "description": "Reference type of the organisation.",
            "nullable": true
          },
          "references": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.Emerald.API.Reference"
            },
            "description": "List of references of the organisation, if available.",
            "nullable": true
          },
          "program": {
            "type": "string",
            "description": "Program associated with the matched entity.",
            "nullable": true
          },
          "addresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.Emerald.API.Address"
            },
            "description": "List of addresses which includes country, city, region etc., of the organisation.",
            "nullable": true
          },
          "otherNames": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.Emerald.API.OrgNameDetail"
            },
            "description": "List of other names of matched organisation, if available.",
            "nullable": true
          },
          "identities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.Emerald.API.Identity"
            },
            "description": "List of registration/ID number of the organisation.",
            "nullable": true
          },
          "contacts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.Emerald.API.Contact"
            },
            "description": "Contact details of the organisation, if available.",
            "nullable": true
          },
          "images": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of URL links to the pictures of the organisation, if available.",
            "nullable": true
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.Emerald.API.Link"
            },
            "description": "List of links to the source or website of the organisation.",
            "nullable": true
          },
          "sources": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of all public sources, including both government and media sources, used to build the full profile of the organisation.",
            "nullable": true
          },
          "basis": {
            "type": "string",
            "description": "Basis for referencing legal regulations and sanctions related to entities, e.g., regulation numbers, dates, references, etc.",
            "nullable": true
          },
          "summary": {
            "type": "string",
            "description": "Summary of the organisation.",
            "nullable": true
          },
          "matchRate": {
            "type": "number",
            "description": "For Close match scans only. Indicates the Close Match Rate for each matched entity. Values are from 1 (not close) to 100 (exact or very close).",
            "format": "double"
          }
        },
        "additionalProperties": false,
        "description": "Represents the information of the organisation scan."
      },
      "NameScan.Common.Emerald.API.Party": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "description": "Title/Name of the party.",
            "nullable": true
          },
          "since": {
            "type": "string",
            "description": "Start date of association with the person.",
            "nullable": true
          },
          "to": {
            "type": "string",
            "description": "End date of association with the person.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents details about the person's relation with political/other party."
      },
      "NameScan.Common.Emerald.API.Person": {
        "type": "object",
        "properties": {
          "uid": {
            "type": "string",
            "description": "Unique identifier of the person.",
            "nullable": true
          },
          "updateAt": {
            "type": "string",
            "description": "Date the person profile was updated in data source.",
            "nullable": true
          },
          "updateInfo": {
            "type": "string",
            "description": "Information updated in the data source.",
            "nullable": true
          },
          "category": {
            "type": "string",
            "description": "The categories the matched record belongs to, which can be one or a combination of the following: ```PEP, SIP, SIE``` etc.",
            "nullable": true
          },
          "deceased": {
            "type": "boolean",
            "description": "Deceased status of the person, if applicable.",
            "nullable": true
          },
          "deceasedDate": {
            "type": "string",
            "description": "Deceased date of the person, if applicable.",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Name of the person.",
            "nullable": true
          },
          "title": {
            "type": "string",
            "description": "Title of the person, if available.",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "description": "First name of the person.",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "description": "Middle name of the person.",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "description": "Last name of the person.",
            "nullable": true
          },
          "gender": {
            "type": "string",
            "description": "Gender of the person.",
            "nullable": true
          },
          "originalScriptName": {
            "type": "string",
            "description": "Original script names of the person.",
            "nullable": true
          },
          "datesOfBirth": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.Emerald.API.DateOfBirth"
            },
            "description": "List of date of birth of the person.",
            "nullable": true
          },
          "placesOfBirth": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.Emerald.API.PlaceOfBirth"
            },
            "description": "List of birth place of the person.",
            "nullable": true
          },
          "referenceType": {
            "type": "string",
            "description": "Reference type of matched entity. Possible values are: ```PEP, Sanctions, Emerald, Other```.",
            "nullable": true
          },
          "references": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.Emerald.API.Reference"
            },
            "description": "List of references for the matched entity, if available.",
            "nullable": true
          },
          "program": {
            "type": "string",
            "description": "Program associated with the matched entity.",
            "nullable": true
          },
          "nationality": {
            "type": "string",
            "description": "Nationality of the person.",
            "nullable": true
          },
          "citizenship": {
            "type": "string",
            "description": "Citizenship of the person.",
            "nullable": true
          },
          "addresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.Emerald.API.Address"
            },
            "description": "List of addresses which includes country, city, region etc., of the person.",
            "nullable": true
          },
          "places": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.Emerald.API.Place"
            },
            "description": "List of places which include the person's location, country, and place type, if available.",
            "nullable": true
          },
          "otherNames": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.Emerald.API.NameDetail"
            },
            "description": "List of other names of matched person, if available.",
            "nullable": true
          },
          "roles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.Emerald.API.Role"
            },
            "description": "List of roles of the person profile.",
            "nullable": true
          },
          "occupations": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of occupations of the person.",
            "nullable": true
          },
          "father": {
            "type": "string",
            "description": "Father's name of the person.",
            "nullable": true
          },
          "mother": {
            "type": "string",
            "description": "Mother's name of the person.",
            "nullable": true
          },
          "spouse": {
            "type": "string",
            "description": "Spouse's name of the person.",
            "nullable": true
          },
          "children": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of the person's children.",
            "nullable": true
          },
          "siblings": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of the person's siblings.",
            "nullable": true
          },
          "identities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.Emerald.API.Identity"
            },
            "description": "List of registration/ID number of the person.",
            "nullable": true
          },
          "politicalParties": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.Emerald.API.Party"
            },
            "description": "List of political party details with which the person is associated.",
            "nullable": true
          },
          "contacts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.Emerald.API.Contact"
            },
            "description": "Contact details of the person, if available.",
            "nullable": true
          },
          "images": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of URL links to the pictures of the person, if available.",
            "nullable": true
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.Emerald.API.Link"
            },
            "description": "List of links to the source or website of the person.",
            "nullable": true
          },
          "sources": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of all public sources, including both government and media sources, used to build the full profile of the person.",
            "nullable": true
          },
          "basis": {
            "type": "string",
            "description": "Basis for referencing legal regulations and sanctions related to entities, e.g., regulation numbers, dates, references, etc.",
            "nullable": true
          },
          "summary": {
            "type": "string",
            "description": "Summary of the person.",
            "nullable": true
          },
          "matchRate": {
            "type": "number",
            "description": "For Close match scans only. Indicates the Close Match Rate for each matched entity. Values are from 1 (not close) to 100 (exact or very close).",
            "format": "double"
          }
        },
        "additionalProperties": false,
        "description": "Represents the information of the person scan."
      },
      "NameScan.Common.Emerald.API.Place": {
        "type": "object",
        "properties": {
          "country": {
            "type": "string",
            "description": "Country of the matched entity.",
            "nullable": true
          },
          "location": {
            "type": "string",
            "description": "Location of the place.",
            "nullable": true
          },
          "type": {
            "type": "string",
            "description": "Type of place.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents country, location, and place type where information is available."
      },
      "NameScan.Common.Emerald.API.PlaceOfBirth": {
        "type": "object",
        "properties": {
          "city": {
            "type": "string",
            "description": "City of birth place.",
            "nullable": true
          },
          "region": {
            "type": "string",
            "description": "Region of birth place.",
            "nullable": true
          },
          "location": {
            "type": "string",
            "description": "Location of birth place, if available.",
            "nullable": true
          },
          "country": {
            "type": "string",
            "description": "Country of birth place.",
            "nullable": true
          },
          "text": {
            "type": "string",
            "description": "Details of birth place, if available.",
            "nullable": true
          },
          "note": {
            "type": "string",
            "description": "Note for place of birth, if any.",
            "nullable": true
          },
          "type": {
            "type": "string",
            "description": "The type of birth place, if available.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents birth place details where information is available."
      },
      "NameScan.Common.Emerald.API.Reference": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name of the reference.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents reference details where information is available."
      },
      "NameScan.Common.Emerald.API.Role": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "description": "Represents the Job/Role of the person.",
            "nullable": true
          },
          "since": {
            "type": "string",
            "description": "The start date of the term of office for the particular role.",
            "nullable": true
          },
          "to": {
            "type": "string",
            "description": "The end date of the term of office in the particular role.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents the details of the person's roles where information is available."
      },
      "NameScan.Common.MC.API.AssociateCorp": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name of associated company.",
            "nullable": true
          },
          "category": {
            "type": "string",
            "description": "Category of the associated company.",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Description of the associate.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Profile of the associated or related company, organisation, or other entity."
      },
      "NameScan.Common.MC.API.AssociatePerson": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string",
            "description": "Associate's first name.",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "description": "Associate's middle name.",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "description": "Associate's last name.",
            "nullable": true
          },
          "category": {
            "type": "string",
            "description": "Category of the associated person.",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Description of the associate.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Profile of the associate or related individual."
      },
      "NameScan.Common.MC.API.CorpNameDetail": {
        "type": "object",
        "properties": {
          "nameType": {
            "type": "string",
            "description": "Type of name.",
            "nullable": true
          },
          "entityName": {
            "type": "string",
            "description": "The organisation name.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents other aliases and also known as names of the company."
      },
      "NameScan.Common.MC.API.Country": {
        "type": "object",
        "properties": {
          "countryType": {
            "type": "string",
            "nullable": true
          },
          "countryValue": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NameScan.Common.MC.API.Date": {
        "type": "object",
        "properties": {
          "dateType": {
            "type": "string",
            "description": "Type of date.",
            "nullable": true
          },
          "dateValue": {
            "type": "string",
            "description": "Value of date.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents different type of important date."
      },
      "NameScan.Common.MC.API.Description": {
        "type": "object",
        "properties": {
          "description1": {
            "type": "string",
            "description": "Contains the major watchlist category description.",
            "nullable": true
          },
          "description2": {
            "type": "string",
            "description": "Contains the minor watchlist category description.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents the list of descriptions for the matched entity."
      },
      "NameScan.Common.MC.API.DisqualifiedDirector": {
        "type": "object",
        "properties": {
          "caseReference": {
            "type": "string",
            "description": "The unique Companies House identification number of the disqualification.",
            "nullable": true
          },
          "company": {
            "type": "string",
            "description": "The name of the company that the person was acting for.",
            "nullable": true
          },
          "reason": {
            "type": "string",
            "description": "The reason for the disqualification.",
            "nullable": true
          },
          "from": {
            "type": "string",
            "description": "Start date of the disqualification.",
            "nullable": true
          },
          "to": {
            "type": "string",
            "description": "End date of the disqualificaiton.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents details of the disqualifications. This is applicable to UK only."
      },
      "NameScan.Common.MC.API.Entity": {
        "type": "object",
        "properties": {
          "uniqueId": {
            "type": "string",
            "description": "Unique identifier of the person.",
            "nullable": true
          },
          "category": {
            "type": "string",
            "description": "Category of the person.",
            "nullable": true
          },
          "categories": {
            "type": "string",
            "description": "Full descriptive categories of the person.",
            "nullable": true
          },
          "gender": {
            "type": "string",
            "description": "Gender of the person.",
            "nullable": true
          },
          "deceased": {
            "type": "string",
            "description": "Deceased status of the person, if applicable.",
            "nullable": true
          },
          "primaryFirstName": {
            "type": "string",
            "description": "Primary first name of the person.",
            "nullable": true
          },
          "primaryMiddleName": {
            "type": "string",
            "description": "Primary middle name of the person.",
            "nullable": true
          },
          "primaryLastName": {
            "type": "string",
            "description": "Primary last name of the person.",
            "nullable": true
          },
          "images": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of URL links to the pictures of the person, if available.",
            "nullable": true
          },
          "dateOfBirth": {
            "type": "string",
            "description": "Date of birth of the person.",
            "nullable": true
          },
          "deceasedDate": {
            "type": "string",
            "description": "Deceased date of the person, if applicable.",
            "nullable": true
          },
          "placeOfBirth": {
            "type": "string",
            "description": "Birth place of the person.",
            "nullable": true
          },
          "primaryLocation": {
            "type": "string",
            "description": "Person's primary location.",
            "nullable": true
          },
          "furtherInformation": {
            "type": "string",
            "description": "Further information of the person.",
            "nullable": true
          },
          "lastReviewed": {
            "type": "string",
            "description": "Last reviewed date of the record.",
            "nullable": true
          },
          "descriptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.Description"
            },
            "description": "Person's description list.",
            "nullable": true
          },
          "nameDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.NameDetail"
            },
            "description": "Person's name detail list.",
            "nullable": true
          },
          "roles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.Role"
            },
            "description": "List of roles of the PEP profile.",
            "nullable": true
          },
          "importantDates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.Date"
            },
            "description": "List of important dates for the person.",
            "nullable": true
          },
          "nationalities": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of nationalities for the person.",
            "nullable": true
          },
          "nationalitiesCodes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of nationalities country codes for the person.",
            "nullable": true
          },
          "locations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.Location"
            },
            "description": "List of locations for the person.",
            "nullable": true
          },
          "officialLists": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.OfficialList"
            },
            "description": "List of official lists where the person is found.",
            "nullable": true
          },
          "identifiers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.Identifier"
            },
            "description": "List of registration/ID number of the person.",
            "nullable": true
          },
          "disqualifiedDirectors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.DisqualifiedDirector"
            },
            "description": "List of disqualifications for the person.",
            "nullable": true
          },
          "profileOfInterests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.ProfileOfInterest"
            },
            "description": "List of Profile of Interest (POI) related details for the person.",
            "nullable": true
          },
          "linkedIndividuals": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.AssociatePerson"
            },
            "description": "List of individuals associated with the person.",
            "nullable": true
          },
          "linkedCompanies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.AssociateCorp"
            },
            "description": "List of companies associated with the person.",
            "nullable": true
          },
          "sources": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.Source"
            },
            "description": "List of all public sources, including both government and media sources, used to build the full profile.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents detail profile of matched entity."
      },
      "NameScan.Common.MC.API.EntityCorp": {
        "type": "object",
        "properties": {
          "uniqueId": {
            "type": "string",
            "description": "Unique identifier of the organisation.",
            "nullable": true
          },
          "category": {
            "type": "string",
            "description": "Category of the organisation.",
            "nullable": true
          },
          "categories": {
            "type": "string",
            "description": "Full descriptive categories of the organisation.",
            "nullable": true
          },
          "primaryName": {
            "type": "string",
            "description": "organisation's primary name.",
            "nullable": true
          },
          "primaryLocation": {
            "type": "string",
            "description": "Organisation's primary location.",
            "nullable": true
          },
          "images": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of URL links to the pictures of the organisation, if available.",
            "nullable": true
          },
          "furtherInformation": {
            "type": "string",
            "description": "Additional information of the organisation.",
            "nullable": true
          },
          "lastReviewed": {
            "type": "string",
            "description": "Last reviewed date of the profile record.",
            "nullable": true
          },
          "generalInfo": {
            "$ref": "#/components/schemas/NameScan.Common.MC.API.InfoCorp"
          },
          "descriptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.Description"
            },
            "description": "Organisation's description list.",
            "nullable": true
          },
          "nameDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.CorpNameDetail"
            },
            "description": "Detailed list of organisation name.",
            "nullable": true
          },
          "locations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.Location"
            },
            "description": "List of locations associated with the organisation.",
            "nullable": true
          },
          "officialLists": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.OfficialList"
            },
            "description": "List of official lists where the organisation is found.",
            "nullable": true
          },
          "identifiers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.Identifier"
            },
            "description": "List of registration/ID number of the organisation.",
            "nullable": true
          },
          "profileOfInterests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.ProfileOfInterest"
            },
            "description": "List of Profile of Interest (POI) related details for the organisation.",
            "nullable": true
          },
          "linkedIndividuals": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.AssociatePerson"
            },
            "description": "List of individuals associated with the organisation.",
            "nullable": true
          },
          "linkedCompanies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.AssociateCorp"
            },
            "description": "List of companies associated with the organisation.",
            "nullable": true
          },
          "sources": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.Source"
            },
            "description": "List of all public sources, including both government and media sources, used to build the full profile.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents detail profile of matched entity."
      },
      "NameScan.Common.MC.API.IDNumber": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "idNotes": {
            "type": "string",
            "nullable": true
          },
          "number": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NameScan.Common.MC.API.Identifier": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "Type of identity including registration number, registration date and status e.g. ```Business Registration Number```, ```Business Registration Date```, ```Business Registration Status```, ```OFAC Unique ID```, ```SIC Number```, ```DUNS number```, ```Corporate Identification Number```, ```VAT/Tax Number``` etc.",
            "nullable": true
          },
          "value": {
            "type": "string",
            "description": "Value of the associated identity.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Identification or registration numbers from national and international authorities."
      },
      "NameScan.Common.MC.API.Info": {
        "type": "object",
        "properties": {
          "nationality": {
            "type": "string",
            "description": "Nationality of the person.",
            "nullable": true
          },
          "alternateTitle": {
            "type": "string",
            "description": "Alternative title of the person, if available.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Contains some general information about person."
      },
      "NameScan.Common.MC.API.InfoCorp": {
        "type": "object",
        "properties": {
          "businessDescription": {
            "type": "string",
            "description": "The description about business of organisation.",
            "nullable": true
          },
          "website": {
            "type": "string",
            "description": "The website of the organisation.",
            "nullable": true
          },
          "businessTypes": {
            "type": "string",
            "description": "The type of business organisation involved.",
            "nullable": true
          },
          "activities": {
            "type": "string",
            "description": "Activities that are performed by organisation.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Contains some general information about Organisation."
      },
      "NameScan.Common.MC.API.Location": {
        "type": "object",
        "properties": {
          "country": {
            "type": "string",
            "description": "Location country.",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "description": "The ISO 3166-2 country code (alpha-2 code) of the location.",
            "nullable": true
          },
          "city": {
            "type": "string",
            "description": "Location city.",
            "nullable": true
          },
          "address": {
            "type": "string",
            "description": "Location address.",
            "nullable": true
          },
          "type": {
            "type": "string",
            "description": "Location type.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents Country, Region (State/Province), City, and address where information is available."
      },
      "NameScan.Common.MC.API.NameDetail": {
        "type": "object",
        "properties": {
          "nameType": {
            "type": "string",
            "description": "Type of name e.g. Original Script Name, Name Spelling Variation, Nickname etc.",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "description": "First name of the person.",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "description": "Middle name of the person.",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "description": "Last name of the person.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents details of the person's name including original script name, spelling variations and aliases."
      },
      "NameScan.Common.MC.API.OfficialList": {
        "type": "object",
        "properties": {
          "keyword": {
            "type": "string",
            "description": "Name of the official list.",
            "nullable": true
          },
          "category": {
            "type": "string",
            "description": "Watchlist category of the official list.",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Name of the official list.",
            "nullable": true
          },
          "origin": {
            "type": "string",
            "description": "The country or region of the official list.",
            "nullable": true
          },
          "measures": {
            "type": "string",
            "description": "List of measures enforced by the official sanctioning body, if available.",
            "nullable": true
          },
          "types": {
            "type": "string",
            "description": "Types of sanctions classified by the official list, if available. Examples include: ```Counter Narcotics```, ```Human Rights```, ```Non-Proliferation```, ```Territorial Violation```, ```Terrorism```.",
            "nullable": true
          },
          "isCurrent": {
            "type": "boolean",
            "description": "Indicates if the Official List is still current (true) or outdated (false)."
          }
        },
        "additionalProperties": false,
        "description": "Represents detailed information about the official list."
      },
      "NameScan.Common.MC.API.ProfileOfInterest": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "description": "The category of the POI.",
            "nullable": true
          },
          "positions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.ProfileOfInterestPosition"
            },
            "description": "The positions held by the POI, if available.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents details of the Profile of Interest (POI)."
      },
      "NameScan.Common.MC.API.ProfileOfInterestPosition": {
        "type": "object",
        "properties": {
          "position": {
            "type": "string",
            "description": "The job or role of the POI.",
            "nullable": true
          },
          "segment": {
            "type": "string",
            "description": "The category of in scope positions of the POI.",
            "nullable": true
          },
          "country": {
            "type": "string",
            "description": "Country of the term of office for the particular position.",
            "nullable": true
          },
          "from": {
            "type": "string",
            "description": "The Start date of the term of office for the particular position.",
            "nullable": true
          },
          "to": {
            "type": "string",
            "description": "The End date of the term of office in the particular position.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents the position details of the Profile of Interest(POI)."
      },
      "NameScan.Common.MC.API.Role": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "description": "Represents the Job/Role of the PEP in the particular PEP Position.",
            "nullable": true
          },
          "segment": {
            "type": "string",
            "description": "The category of in scope positions of the PEP for a particular country.",
            "nullable": true
          },
          "from": {
            "type": "string",
            "description": "The Start date of the term of office for the particular role.",
            "nullable": true
          },
          "to": {
            "type": "string",
            "description": "The End date of the term of office in the particular role.",
            "nullable": true
          },
          "status": {
            "type": "string",
            "description": "Represent whether the particular role is ```Current``` or ```Former```. There can be more than one Current and Former roles held by the PEP.",
            "nullable": true
          },
          "country": {
            "type": "string",
            "description": "Country of the term of office for the particular role.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents the details of the PEP roles."
      },
      "NameScan.Common.MC.API.SanctionedCountryResult": {
        "type": "object",
        "properties": {
          "isPrimaryLocation": {
            "type": "boolean",
            "description": "Indicates whether the sanctioned country is primary location of the entity.",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "description": "Indicates 2-letter country code.",
            "nullable": true
          },
          "comment": {
            "type": "string",
            "description": "Description of sanctioned country.",
            "nullable": true
          },
          "url": {
            "type": "string",
            "description": "The reference link for sanctioned country.",
            "nullable": true
          },
          "isBlackList": {
            "type": "boolean",
            "description": "Identifies whether the country is in BlackList or not."
          },
          "isGreyList": {
            "type": "boolean",
            "description": "Identifies whether the country is in GreyList or not."
          }
        },
        "additionalProperties": false,
        "description": "Details of the Sanctioned country."
      },
      "NameScan.Common.MC.API.SingleScanCorpResultDetail": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "description": "The categories the matched record belongs to, which can be one or a combination of the following: TER, SIE, POI.",
            "nullable": true
          },
          "matchedFields": {
            "type": "string",
            "description": "Indicates matched fields. Contains combination of AKA, PrimaryName, FullPrimaryName, ScriptName, Gender, DOB, YOB and Country values.",
            "nullable": true
          },
          "matchRate": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "entity": {
            "$ref": "#/components/schemas/NameScan.Common.MC.API.EntityCorp"
          },
          "taxHavenCountryResults": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.TaxHavenCountryResult"
            },
            "description": "Provides tax haven information if country is identified as tax haven based on primary location and locations.",
            "nullable": true
          },
          "sanctionedCountryResults": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.SanctionedCountryResult"
            },
            "description": "Provides sanctioned information if country is identified as sanctioned based on primary location and locations.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Contains details about a organisation's single scan match result."
      },
      "NameScan.Common.MC.API.SingleScanResultDetail": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "description": "The categories the matched record belongs to, which can be one or a combination of the following: TER, PEP, POI, SIP, RCA.",
            "nullable": true
          },
          "matchRate": {
            "type": "integer",
            "description": "Indicates the Match Rate for each matched entity. Values are from 1 to 100.",
            "format": "int32",
            "nullable": true
          },
          "matchedFields": {
            "type": "string",
            "description": "Indicates matched fields. Contains combination of ```AKA```, ```PrimaryName```, ```FullPrimaryName```, ```ScriptName```, ```Gender```, ```DOB```, ```YOB``` and ```Country``` values.",
            "nullable": true
          },
          "person": {
            "$ref": "#/components/schemas/NameScan.Common.MC.API.Entity"
          },
          "taxHavenCountryResults": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.TaxHavenCountryResult"
            },
            "description": "Provides tax haven information if country is identified as tax haven based on primary location and nationalities.",
            "nullable": true
          },
          "sanctionedCountryResults": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.SanctionedCountryResult"
            },
            "description": "Provides sanctioned information if country is identified as sanctioned based on primary location and nationalities.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Contains details about a person's single scan match result."
      },
      "NameScan.Common.MC.API.Source": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "Link to original source or website.",
            "nullable": true
          },
          "categories": {
            "type": "string",
            "description": "List of source categories. Possible values are: ```PEP```, ```PEP by Association```, ```Profile Of Interest```, ```Sanctions```, ```Regulatory Enforcement List```, ```Disqualified Director```, ```Insolvency```, ```Reputational Risk Exposure```, ```Identity```, ```Gambling Risk Intelligence```, ```Corporate/Business```, ```State-Owned Enterprise```.",
            "nullable": true
          },
          "details": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NameScan.Common.MC.API.SourceDetails"
            },
            "description": "List of details for the dates when the source was recorded or captured.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Details of public sources used to build the full profile."
      },
      "NameScan.Common.MC.API.SourceDetails": {
        "type": "object",
        "properties": {
          "categories": {
            "type": "string",
            "description": "List of source categories. Possible values are: ```PEP```, ```PEP by Association```, ```Profile Of Interest```, ```Sanctions```, ```Regulatory Enforcement List```, ```Disqualified Director```, ```Insolvency```, ```Reputational Risk Exposure```, ```Identity```, ```Gambling Risk Intelligence```, ```Corporate/Business```, ```State-Owned Enterprise```.",
            "nullable": true
          },
          "originalUrl": {
            "type": "string",
            "description": "Link to original source or website.",
            "nullable": true
          },
          "title": {
            "type": "string",
            "description": "The title captured from the source.",
            "nullable": true
          },
          "credibility": {
            "type": "string",
            "description": "The credibility of the source.",
            "nullable": true
          },
          "language": {
            "type": "string",
            "description": "The ISO 639-3 code for the language of the source.",
            "nullable": true
          },
          "summary": {
            "type": "string",
            "description": "A text snippet from the source, if available.",
            "nullable": true
          },
          "keywords": {
            "type": "string",
            "description": "The keywords associated with the source.",
            "nullable": true
          },
          "captureDate": {
            "type": "string",
            "description": "The date that the source was recorded or captured.",
            "nullable": true
          },
          "publicationDate": {
            "type": "string",
            "description": "The date that the source was originally published.",
            "nullable": true
          },
          "assetUrl": {
            "type": "string",
            "description": "The URL link to the PDF version of the source, if available.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Details of each date the source was recorded or captured."
      },
      "NameScan.Common.MC.API.TaxHavenCountryResult": {
        "type": "object",
        "properties": {
          "isPrimaryLocation": {
            "type": "boolean",
            "description": "Indicates whether the tax haven country is primary location of the entity.",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "description": "Indicates 2-letter country code.",
            "nullable": true
          },
          "comment": {
            "type": "string",
            "description": "Description of tax haven country.",
            "nullable": true
          },
          "url": {
            "type": "string",
            "description": "The reference link for tax haven country.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Details of the TaxHaven country."
      }
    },
    "securitySchemes": {
      "ApiKey": {
        "type": "apiKey",
        "description": "API Key Authentication",
        "name": "api-key",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "ApiKey": [ ]
    }
  ]
}