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
countryandtypeto Analyze a document image (v2), theparsedDataobject 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
customerDataobject 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_isoanddocument_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β
| Country | Document type | Schema |
|---|---|---|
| π§π§ Barbados (BB) | passport | CustomerDataBbPassport |
| π§πΈ Bahamas (BS) | driving-license | CustomerDataBsDrivingLicense |
| π§πΈ Bahamas (BS) | passport | CustomerDataBsPassport |
| π¨π¦ Canada (CA) | passport | CustomerDataCaPassport |
| π¨π© Democratic Republic of the Congo (CD) | driving-license | CustomerDataCdDrivingLicense |
| π¨π© Democratic Republic of the Congo (CD) | id-card | CustomerDataCdIdCard |
| π¨π© Democratic Republic of the Congo (CD) | passport | CustomerDataCdPassport |
| π¨π© Democratic Republic of the Congo (CD) | voting-card | CustomerDataCdVotingCard |
| π©π΄ Dominican Republic (DO) | passport | CustomerDataDoPassport |
| πͺπΊ European Union (EU) | passport | CustomerDataEuPassport |
| ππΉ Haiti (HT) | passport | CustomerDataHtPassport |
| π―π² Jamaica (JM) | passport | CustomerDataJmPassport |
| π°πͺ Kenya (KE) | alien-id | CustomerDataKeAlienId |
| π°πͺ Kenya (KE) | foreigner-certificate | CustomerDataKeForeignerCertificate |
| π°πͺ Kenya (KE) | id-card | CustomerDataKeIdCard |
| π°πͺ Kenya (KE) | ke-kra-pin | CustomerDataKeKeKraPin |
| π°πͺ Kenya (KE) | passport | CustomerDataKePassport |
| π°πͺ Kenya (KE) | refugee-id | CustomerDataKeRefugeeId |
| π³π¬ Nigeria (NG) | digital-id-card | CustomerDataNgDigitalIdCard |
| π³π¬ Nigeria (NG) | driving-license | CustomerDataNgDrivingLicense |
| π³π¬ Nigeria (NG) | id-card | CustomerDataNgIdCard |
| π³π¬ Nigeria (NG) | nin-card | CustomerDataNgNinCard |
| π³π¬ Nigeria (NG) | nin-digital-slip | CustomerDataNgNinDigitalSlip |
| π³π¬ Nigeria (NG) | nin-slip | CustomerDataNgNinSlip |
| π³π¬ Nigeria (NG) | passport | CustomerDataNgPassport |
| π³π¬ Nigeria (NG) | voting-card | CustomerDataNgVotingCard |
| π΅π Philippines (PH) | passport | CustomerDataPhPassport |
| π·π΄ Romania (RO) | electronic-id-card | CustomerDataRoElectronicIdCard |
| π·π΄ Romania (RO) | id-card | CustomerDataRoIdCard |
| π·π΄ Romania (RO) | passport | CustomerDataRoPassport |
| πΉπΉ Trinidad and Tobago (TT) | passport | CustomerDataTtPassport |
| πΊπ¬ Uganda (UG) | driving-license | CustomerDataUgDrivingLicense |
| πΊπ¬ Uganda (UG) | id-card | CustomerDataUgIdCard |
| πΊπ¬ Uganda (UG) | passport | CustomerDataUgPassport |
| πΊπ¬ Uganda (UG) | refugee-id | CustomerDataUgRefugeeId |
| πΊπΈ United States (US) | passport | CustomerDataUsPassport |
| πΏπ¦ South Africa (ZA) | driving-license | CustomerDataZaDrivingLicense |
| πΏπ¦ South Africa (ZA) | id-book | CustomerDataZaIdBook |
| πΏπ¦ South Africa (ZA) | id-card | CustomerDataZaIdCard |
| πΏπ¦ South Africa (ZA) | passport | CustomerDataZaPassport |
| πΏπ² Zambia (ZM) | driving-license | CustomerDataZmDrivingLicense |