interface MRZData {
    age?: number;
    dateOfBirth?: string;
    dateOfExpire?: string;
    documentNumber?: string;
    documentType?: string;
    firstName?: string;
    issuingState?: string;
    lastName?: string;
    mrzText?: string;
    nationality?: string;
    sex?: string;
}

Properties

age?: number

The age of the user of the MRZ document.

dateOfBirth?: string

The date of birth of the user of the MRZ document.

dateOfExpire?: string

The expiry date of the MRZ document.

documentNumber?: string

The MRZ document number.

documentType?: string

The type of document, such as ID cards or passports.

firstName?: string

The first name and last name of the user of the MRZ document.

issuingState?: string

The issuing state of the MRZ document.

lastName?: string

The last name of the user of the MRZ document.

mrzText?: string

The raw text of the MRZ.

nationality?: string

The nationality of the user of the MRZ document.

sex?: string

The sex of the user of the MRZ document.