Document fields

DocumentFields JSON properties

Field nameTypeDescriptionExample
full_nameStringFullName contains given names and family name.“Jon Jim Fred Foo”
date_of_birthStringDateOfBirth is the date of birth in the form yyyy-mm-dd, or yyyy-mm or yyyy. A small percentage of documents do not provide the full DoB, if available in the visual zone or barcode data Yoti will always return the full DoB."2000-12-01"
nationalityString

Nationality is the nationality expressed as an ISO/ICAO alpha-3 country code.

Not all documents provide this.

"GBR"
given_namesStringGivenNames contains first and middle names. Not all documents provide split given names and family name, in those cases only the full name field will be returned."Jon Jim Fred"
first_nameStringFirstName is the first name only. Only for those documents that provide first name and middle name split"Jon"
middle_nameStringMiddleName contains the middle names only. Only for those documents that provide first name and middle names split."Jim Fred"
family_nameStringFamilyName is the family name. Not all documents provide split given names and family name, in those cases only the full name field will be returned."Foo"
place_of_birthStringPlaceOfBirth is the place of birth, it may contain a country name or a city name or both. Not all documents provide this."London"
country_of_birthString

CountryOfBirth is the country of birth, as an ISO/ICAO alpha-3 country code.

Not all documents provide this.

"GBR"
genderStringGender is the gender and can be any of the following values: "MALE", "FEMALE", "TRANSGENDER" or "OTHER"."MALE"
name_prefixStringNamePrefix is the name prefix, for example a title. Only certain documents provide this.“Dr”
name_suffixStringNameSuffix is the name suffix. Only certain documents provide this."Jr"
first_name_aliasStringFirstNameAlias is the alias for the first name. Only certain documents provide this.
middle_name_aliasStringMiddleNameAlias is the alias for the middle name. Only certain documents provide this.
family_name_aliasStringFamilyNameAlias is the alias for the family name. Only certain documents provide this.
weightStringWeight is the weight as displayed on the document. Should contain weight and the unit. Only certain documents provide this.
heightStringHeight is the height as displayed on the document. Should contain height and the unit. Only certain documents provide this.
eye_colorStringEyeColor is the eye color as displayed on the document. Only certain documents provide this.
structured_postal_addressObjectStructuredPostalAddress is the postal address with the breakdown in address lines, post code and so on as well as the formatted address all in one line. See details for structured_postal_address JSON properties below.
document_typeStringDocumentType specifies the type of document.“DRIVING_LICENCE”
issuing_countryStringIssuingCountry is the country the document was issued in. Defined as an ISO/ICAO alpha-3 country code."GBR"
document_numberStringDocumentNumber is the document number."EF1523467"
expiration_dateStringExpirationDate defines the date of expiry of the document in the form yyyy-mm-dd."2030-12-01"
date_of_issueStringDateOfIssue is the date of issue of the document in the form yyyy-mm-dd."2001-12-01"
issuing_authorityStringIssuingAuthority is the authority that issued the document."DVLA"
mrzObjectMRZ provides the content of the machine readable zone, as displayed on the document.
mrz.typeNumberType is type of MRZ, 2 lines or 3 lines. 1=TD1 2=TD3
mrz.line1StringMRZ line 1.
mrz.line2StringMRZ line 2.
mrz.line3StringMRZ line 3.
organisationStringOrganisation is the company that issued the document. This will apply more to non-government backed documents such as utility bills
personal_identification_numberStringPersonalIdentificationNumber the identification number of the document holder.
parent_nameStringParentName is the full parent's name (either mother or father).

IdentityDetails JSON properties

Field nameTypeDescriptionExample
full_nameStringFullName contains given names and family name.“Jon Jim Fred Foo”
date_of_birthStringDateOfBirth is the date of birth in the form yyyy-mm-dd, or yyyy-mm or yyyy. A small percentage of documents do not provide the full DoB, if available in the visual zone or barcode data Yoti will always return the full DoB."2000-12-01"
given_namesStringGivenNames contains first and middle names. Not all documents provide split given names and family name, in those cases only the full name field will be returned."Jon Jim Fred"
first_nameStringFirstName is the first name only. Only for those documents that provide first name and middle name split"Jon"
middle_nameStringMiddleName contains the middle names only. Only for those documents that provide first name and middle names split."Jim Fred"
family_nameStringFamilyName is the family name. Not all documents provide split given names and family name, in those cases only the full name field will be returned."Foo"
current_addressObjectCurrentAddress is the postal address with the breakdown in address lines, post code and so on as well as the formatted address all in one line. See details for the Structured Postal Address JSON properties below.

StructuredPostalAddress JSON properties

NameExpected content typeExplanation
address_formatNumberAddressFormat is used to identify which fields may be present in the JSON object. See table below that defines what format is used for each country.
udprnStringUdprn is the Unique Delivery Point Reference Number that identifies a property throughout its lifecycle.
care_ofStringCareOf identifies the owner of the premises.
building_numberStringThe number of the building.
buildingStringThe name of the building.
streetStringStreet is the name/number of the street the building is on.
landmarkStringLandmark is a description used to describe the location of the building.
address_line_1StringThe first line of the address.
address_line_2StringThe second line of the address.
address_line_3StringThe third line of the address.
address_line_4StringThe fourth line of the address.
address_line_5StringThe fifth line of the address.
address_line_6StringThe sixth line of the address.
localityStringLocality is the area the building is in.
town_cityStringTownCity is the town/city/village/hamlet/community/etc. that the building is in.
subdistrictStringSubdistrict is the sub-district the building is in.
districtStringDistrict is the district the building is in.
stateStringState is the state/county the building is in.
countryStringThe country of the address.
country_isoStringCountryIso is the country the building is in. In ISO-3166-1 alpha-3 format.
post_officeStringPostOffice is the post office that serves the area the building is in.
postal_codeStringPostalCode is a code used by the country's postal service to aid in sorting and delivering mail (e.g. postcode, zipcode, pincode).
formatted_addressStringFormattedAddress is the full address in a single human readable string in a format that is suitable for printing onto an envelope.

The below defines the fields of a JSON structure that can be used to define any address. A subset of fields will be present in each case and address_format can be used to ascertain which ones for any given address. The country iso should not be used for this purpose..

We have four formats shown below:

FieldFormat 1 (UK)Format 2 (INDIA)Format 3 (USA)Format 4 (ROW)
Countries that use these formatsGBR, JEY, IMNINDUSA, AUSAll other countries
address_format1234
udprnOptional
care_ofOptional
sub_buildingOptional
building_numberOptional
buildingOptionalOptional
streetOptional
landmarkOptional
address_line_1PresentPresentPresent
address_line_2OptionalOptionalOptional
address_line_3OptionalOptional
address_line_4Optional
address_line_n*Optional
localityPresentOptionalPresent
town_cityOptional
subdistrictOptional
districtOptional
stateOptionalOptionalPresentOptional
postal_codePresentPresentPresent
post_officeOptional
country_isoPresentPresentPresentPresent
countryPresentPresentPresentPresent
formatted_addressPresentPresentPresentPresent
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard