Skip to main content

Countries specific schemas

For the country and document type combinations we handle specifically, we define a country specific schema: the exact set of fields that document carries, on top of the base fields every document shares.

These schemas tell you which fields to send and which fields you get back:

  • What you get back from Document Analysis: when you send country and type to Analyze a document image (v2), the parsedData object of the response contains exactly the fields of that combination's schema. Combinations without a country specific schema fall back to a generic extraction, with free-form keys.
  • What you send for enhanced verification: the customerData object of Process session data accepts the fields documented for that country and document combination. Verification behavior depends on the document type.
  • Programmatic access: Get Customer Data Schema returns the same schema for a given country_iso and document_type.

Base fields​

Every schema also includes the base fields of CustomerDataDto: country, documentType, firstName and lastName.

EU passports​

Passports issued by European Union member states share a single schema, CustomerDataEuPassport, listed under EU below. A member state with a dedicated passport schema (listed under its own country code) uses that one instead.

For the exact list of countries and document types handled specifically, see Get Available Countries & Documents. For every combination the API accepts, including the generic ones, see the Document Support Matrix.

Available schemas​

CountryDocument typeSchema
πŸ‡§πŸ‡§ Barbados (BB)passportCustomerDataBbPassport
πŸ‡§πŸ‡Έ Bahamas (BS)driving-licenseCustomerDataBsDrivingLicense
πŸ‡§πŸ‡Έ Bahamas (BS)passportCustomerDataBsPassport
πŸ‡¨πŸ‡¦ Canada (CA)passportCustomerDataCaPassport
πŸ‡¨πŸ‡© Democratic Republic of the Congo (CD)driving-licenseCustomerDataCdDrivingLicense
πŸ‡¨πŸ‡© Democratic Republic of the Congo (CD)id-cardCustomerDataCdIdCard
πŸ‡¨πŸ‡© Democratic Republic of the Congo (CD)passportCustomerDataCdPassport
πŸ‡¨πŸ‡© Democratic Republic of the Congo (CD)voting-cardCustomerDataCdVotingCard
πŸ‡©πŸ‡΄ Dominican Republic (DO)passportCustomerDataDoPassport
πŸ‡ͺπŸ‡Ί European Union (EU)passportCustomerDataEuPassport
πŸ‡­πŸ‡Ή Haiti (HT)passportCustomerDataHtPassport
πŸ‡―πŸ‡² Jamaica (JM)passportCustomerDataJmPassport
πŸ‡°πŸ‡ͺ Kenya (KE)alien-idCustomerDataKeAlienId
πŸ‡°πŸ‡ͺ Kenya (KE)foreigner-certificateCustomerDataKeForeignerCertificate
πŸ‡°πŸ‡ͺ Kenya (KE)id-cardCustomerDataKeIdCard
πŸ‡°πŸ‡ͺ Kenya (KE)ke-kra-pinCustomerDataKeKeKraPin
πŸ‡°πŸ‡ͺ Kenya (KE)passportCustomerDataKePassport
πŸ‡°πŸ‡ͺ Kenya (KE)refugee-idCustomerDataKeRefugeeId
πŸ‡³πŸ‡¬ Nigeria (NG)digital-id-cardCustomerDataNgDigitalIdCard
πŸ‡³πŸ‡¬ Nigeria (NG)driving-licenseCustomerDataNgDrivingLicense
πŸ‡³πŸ‡¬ Nigeria (NG)id-cardCustomerDataNgIdCard
πŸ‡³πŸ‡¬ Nigeria (NG)nin-cardCustomerDataNgNinCard
πŸ‡³πŸ‡¬ Nigeria (NG)nin-digital-slipCustomerDataNgNinDigitalSlip
πŸ‡³πŸ‡¬ Nigeria (NG)nin-slipCustomerDataNgNinSlip
πŸ‡³πŸ‡¬ Nigeria (NG)passportCustomerDataNgPassport
πŸ‡³πŸ‡¬ Nigeria (NG)voting-cardCustomerDataNgVotingCard
πŸ‡΅πŸ‡­ Philippines (PH)passportCustomerDataPhPassport
πŸ‡·πŸ‡΄ Romania (RO)electronic-id-cardCustomerDataRoElectronicIdCard
πŸ‡·πŸ‡΄ Romania (RO)id-cardCustomerDataRoIdCard
πŸ‡·πŸ‡΄ Romania (RO)passportCustomerDataRoPassport
πŸ‡ΉπŸ‡Ή Trinidad and Tobago (TT)passportCustomerDataTtPassport
πŸ‡ΊπŸ‡¬ Uganda (UG)driving-licenseCustomerDataUgDrivingLicense
πŸ‡ΊπŸ‡¬ Uganda (UG)id-cardCustomerDataUgIdCard
πŸ‡ΊπŸ‡¬ Uganda (UG)passportCustomerDataUgPassport
πŸ‡ΊπŸ‡¬ Uganda (UG)refugee-idCustomerDataUgRefugeeId
πŸ‡ΊπŸ‡Έ United States (US)passportCustomerDataUsPassport
πŸ‡ΏπŸ‡¦ South Africa (ZA)driving-licenseCustomerDataZaDrivingLicense
πŸ‡ΏπŸ‡¦ South Africa (ZA)id-bookCustomerDataZaIdBook
πŸ‡ΏπŸ‡¦ South Africa (ZA)id-cardCustomerDataZaIdCard
πŸ‡ΏπŸ‡¦ South Africa (ZA)passportCustomerDataZaPassport
πŸ‡ΏπŸ‡² Zambia (ZM)driving-licenseCustomerDataZmDrivingLicense