-
format
MrzFormat format
Detected MRZ format.
-
recordName
String recordName
Name used for record type.
-
code
MrzDocumentCode code
The document code.
-
code1
char code1
-
code2
char code2
For MRTD: Type, at discretion of states, but 1-2 should be IP for passport card, AC for crew member and IV is not allowed. For MRP: Type (for
countries that distinguish between different types of passports).
-
issuingCountry
String issuingCountry
Issuing country.
An
ISO 3166-1 alpha-3 country code of issuing country, with additional allowed
values (according to
article on Wikipedia):
- D: Germany
- GBD: British dependent territories citizen(note: the country code of the overseas territory is presently used to indicate issuing authority
and nationality of BOTC)
- GBN: British National (Overseas)
- GBO: British Overseas citizen
- GBP: British protected person
- GBS: British subject
- UNA: specialized agency of the United Nations
- UNK: resident of Kosovo to whom a travel document has been issued by the United Nations Interim Administration Mission in Kosovo
(UNMIK)
- UNO: United Nations Organization
- XOM: Sovereign Military Order of Malta
- XXA: stateless person, as per the 1954 Convention Relating to the Status of Stateless Persons
- XXB: refugee, as per the 1951 Convention Relating to the Status of Refugees
- XXC: refugee, other than defined above
- XXX: unspecified nationality
-
documentNumber
String documentNumber
Document number, e.g. passport number.
-
surname
String surname
The surname in uppercase.
-
givenNames
String givenNames
The given names in uppercase, separated by spaces.
-
dateOfBirth
MrzDate dateOfBirth
Date of birth.
-
sex
MrzSex sex
Sex.
-
expirationDate
MrzDate expirationDate
Expiration date of passport.
-
nationality
String nationality
-
validDocumentNumber
boolean validDocumentNumber
Check digits, usually common in every document.
-
validDateOfBirth
boolean validDateOfBirth
-
validExpirationDate
boolean validExpirationDate
-
validComposite
boolean validComposite