UNPKG

aamvajs

Version:

Parse Pdf417 barcode data from US and Canada driver licenses. AAMVA Parser

75 lines (74 loc) 2.9 kB
export interface IDocumentData { readonly vehicleClass?: string; readonly restrictionCodes?: string; readonly endorsementCodes?: string; readonly expirationDate?: string; readonly familyName?: string; readonly firstName?: string; readonly middleName?: string; readonly issueDate?: string; readonly dateOfBirth?: string; readonly sex?: string; readonly eyeColor?: string; readonly height?: string; readonly address?: string; readonly city?: string; readonly state?: string; readonly zip?: string; readonly idNumber?: string; readonly discriminator?: string; readonly country?: string; readonly familyNameTruncation?: string; readonly firstNameTruncation?: string; readonly middleNameTruncation?: string; readonly address2?: string; readonly hairColor?: string; readonly placeOfBirth?: string; readonly auditInformation?: string; readonly inventoryControlNumber?: string; readonly otherFamilyName?: string; readonly otherGivenName?: string; readonly suffixName?: string; readonly nameSuffix?: string; readonly weightRange?: string; readonly race?: string; readonly federalCommercialVehicleCodes?: string; readonly standardVehicleClassification?: string; readonly standardClassificationCode?: string; readonly standardEndorsementCode?: string; readonly standardRestrictionCode?: string; readonly vehicleClassificationDescription?: string; readonly endorsementCodeDescription?: string; readonly restrictionCodeDescription?: string; readonly complianceType?: string; readonly cardRevisionDate?: string; readonly hazmatEndorsementExpirationDate?: string; readonly limitedDurationDocumentIndicator?: string; readonly weightInPounds?: string; readonly weightInKilograms?: string; readonly under18Until?: string; readonly under19Until?: string; readonly under21Until?: string; readonly organDonorIndicator?: string; readonly veteranIndicator?: string; readonly fullName?: string[]; readonly organDonor?: string; readonly localFields?: { readonly fullName?: string[]; readonly restriction?: string; readonly eyeColor?: string; readonly hairColor?: string; readonly replacedDate?: string; readonly specialRestrictions?: string; readonly safeDriverIndicator?: string; readonly sexualPredator?: string; readonly sexOffenderStatute?: string; readonly insulinDependent?: string; readonly developmentalDisability?: string; readonly hearingImpaired?: string; readonly fishAndWildlifeDesignations?: string; readonly customerNumber?: string; readonly idNumber?: string; readonly zca?: string; }; }