Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More ā†’
Socket
Sign inDemoInstall
Socket

blinkid-react-native

Package Overview
Dependencies
Maintainers
9
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blinkid-react-native - npm Package Compare versions

Comparing version 5.9.0 to 5.10.0

6

index.js

@@ -29,4 +29,4 @@ 'use strict';

* - optioanl parameter 'licensee' when license for multiple apps is used
* - optional flag 'showTimeLimitedLicenseKeyWarning' which indicates
* whether warning for time limited license key will be shown
* - optional flag 'showTrialLicenseKeyWarning' which indicates
* whether warning for trial license key will be shown
* in format

@@ -36,3 +36,3 @@ * {

* licensee: String,
* showTimeLimitedLicenseKeyWarning: Boolean
* showTrialLicenseKeyWarning: Boolean
* }

@@ -39,0 +39,0 @@ */

{
"name": "blinkid-react-native",
"version": "5.9.0",
"version": "5.10.0",
"description": "A small and powerful ID card scanning library. Powered by Microblink (www.microblink.com).",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -14,4 +14,11 @@ # BlinkID SDK wrapper for React Native

- Get information about pricing and licensing of [BlinkID](https://microblink.com/blinkid)
- For production licensing, please [contact sales](https://microblink.com/contact-us) to request a quote.
**Keep in mind:** Versions 5.8.0 and above require an internet connection to work under our new License Management Program.
Weā€™re only asking you to do this so we can validate your trial license key. Scanning or data extraction of identity documents still happens offline, on the device itself.
Once the validation is complete, you can continue using the SDK in offline mode (or over a private network) until the next check.
## React Native Version

@@ -18,0 +25,0 @@

@@ -367,2 +367,10 @@ import { Recognizer, RecognizerResult } from '../recognizer'

/**
* Configure the recognizer to only work on already cropped and dewarped images.
* This only works for still images - video feeds will ignore this setting.
*
*
*/
this.scanCroppedDocumentImage = false;
/**
* Whether or not recognition result should be signed.

@@ -369,0 +377,0 @@ *

@@ -328,2 +328,10 @@ import { Recognizer, RecognizerResult } from '../recognizer'

/**
* Configure the recognizer to only work on already cropped and dewarped images.
* This only works for still images - video feeds will ignore this setting.
*
*
*/
this.scanCroppedDocumentImage = false;
/**
* Property for setting DPI for signature images

@@ -330,0 +338,0 @@ * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception

@@ -111,2 +111,9 @@ import { Recognizer, RecognizerResult } from '../recognizer'

/**
* Document specific extended elements that contain all barcode fields in their original form.
*
* Currently this is only filled for AAMVACompliant documents.
*/
this.extendedElements = nativeResult.extendedElements;
/**
* The first name of the document owner.

@@ -113,0 +120,0 @@ */

@@ -189,3 +189,6 @@ /**

/** License for the detected document is missing. */
UnsupportedByLicense: 14
UnsupportedByLicense: 14,
/** Front side recognition has completed successfully, and recognizer is waiting for the other side to be scanned. */
AwaitingOtherSide: 15
}

@@ -324,3 +327,152 @@ );

SouthKorea: 105,
Venezuela: 106
Venezuela: 106,
Afghanistan: 107,
AlandIslands: 108,
AmericanSamoa: 109,
Andorra: 110,
Angola: 111,
Anguilla: 112,
Antarctica: 113,
AntiguaAndBarbuda: 114,
Armenia: 115,
Aruba: 116,
BailiwickOfGuernsey: 117,
BailiwickOfJersey: 118,
Barbados: 119,
Belarus: 120,
Belize: 121,
Benin: 122,
Bhutan: 123,
BonaireSaintEustatiusAndSaba: 124,
Botswana: 125,
BouvetIsland: 126,
BritishIndianOceanTerritory: 127,
BurkinaFaso: 128,
Burundi: 129,
Cameroon: 130,
CapeVerde: 131,
CaribbeanNetherlands: 132,
CaymanIslands: 133,
CentralAfricanRepublic: 134,
Chad: 135,
ChristmasIsland: 136,
CocosIslands: 137,
Comoros: 138,
Congo: 139,
CookIslands: 140,
Cuba: 141,
Curacao: 142,
DemocraticRepublicOfTheCongo: 143,
Djibouti: 144,
Dominica: 145,
EastTimor: 146,
EquatorialGuinea: 147,
Eritrea: 148,
Ethiopia: 149,
FalklandIslands: 150,
FaroeIslands: 151,
FederatedStatesOfMicronesia: 152,
Fiji: 153,
FrenchGuiana: 154,
FrenchPolynesia: 155,
FrenchSouthernTerritories: 156,
Gabon: 157,
Gambia: 158,
Gibraltar: 159,
Greenland: 160,
Grenada: 161,
Guadeloupe: 162,
Guam: 163,
Guinea: 164,
GuineaBissau: 165,
Guyana: 166,
HeardIslandAndMcdonaldIslands: 167,
Iran: 168,
Iraq: 169,
IsleOfMan: 170,
IvoryCoast: 171,
Jamaica: 172,
Kiribati: 173,
Kyrgyzstan: 174,
Laos: 175,
Lebanon: 176,
Lesotho: 177,
Liberia: 178,
Libya: 179,
Liechtenstein: 180,
Macau: 181,
Madagascar: 182,
Malawi: 183,
Mali: 184,
MarshallIslands: 185,
Martinique: 186,
Mauritania: 187,
Mayotte: 188,
Moldova: 189,
Monaco: 190,
Mongolia: 191,
Montserrat: 192,
Mozambique: 193,
Myanmar: 194,
Namibia: 195,
Nauru: 196,
Nepal: 197,
NewCaledonia: 198,
Niger: 199,
Niue: 200,
NorfolkIsland: 201,
NorthernCyprus: 202,
NorthernMarianaIslands: 203,
NorthKorea: 204,
NorthMacedonia: 205,
Palau: 206,
Palestine: 207,
PapuaNewGuinea: 208,
Pitcairn: 209,
Reunion: 210,
Rwanda: 211,
SaintBarthelemy: 212,
SaintHelenaAscensionAndTristianDaCunha: 213,
SaintKittsAndNevis: 214,
SaintLucia: 215,
SaintMartin: 216,
SaintPierreAndMiquelon: 217,
SaintVincentAndTheGrenadines: 218,
Samoa: 219,
SanMarino: 220,
SaoTomeAndPrincipe: 221,
Senegal: 222,
Seychelles: 223,
SierraLeone: 224,
SintMaarten: 225,
SolomonIslands: 226,
Somalia: 227,
SouthGeorgiaAndTheSouthSandwichIslands: 228,
SouthSudan: 229,
Sudan: 230,
Suriname: 231,
SvalbardAndJanMayen: 232,
Swaziland: 233,
Syria: 234,
Tajikistan: 235,
Tanzania: 236,
Togo: 237,
Tokelau: 238,
Tonga: 239,
TrinidadAndTobago: 240,
Turkmenistan: 241,
TurksAndCaicosIslands: 242,
Tuvalu: 243,
UnitedStatesMinorOutlyingIslands: 244,
Uzbekistan: 245,
Vanuatu: 246,
VaticanCity: 247,
VirginIslandsBritish: 248,
VirginIslandsUs: 249,
WallisAndFutuna: 250,
WesternSahara: 251,
Yemen: 252,
Yugoslavia: 253,
Zambia: 254,
Zimbabwe: 255
}

@@ -459,3 +611,4 @@ );

TaxId: 35,
WeaponPermit: 36
WeaponPermit: 36,
Visa: 37
}

@@ -563,6 +716,924 @@ );

this.empty = nativeBarcodeResult.empty;
/** Document specific extended elements that contain all barcode fields in their original form. */
this.extendedElements = nativeBarcodeResult.extendedElements != null ? new BarcodeElements(nativeBarcodeResult.extendedElements) : null;
}
}
/**
* Enumeration of possible barcode element keys
*/
export const BarcodeElementKey = Object.freeze(
{
//==============================================================/
//============== 1. DETERMINING BARCODE VERSION ================/
//==============================================================/
/**
Mandatory on all driver's licenses. All barcodes which are using 3-track magnetic
stripe encoding used in the interest of smoothing a transition from legacy documents
shall be designated as "Magnetic". All barcodes which are using compact encoding
compliant with ISO/IEC 18013-2 shall be designated as "Compact". All barcodes (majority
compliant with Mandatory PDF417 Bar Code of the American Association of Motor Vehicle
Administrators (AAMVA Card Design Standard from AAMVA DL/ID-2000 standard to DL/ID-2013
shall be designated as "AAMVA".
*/
DocumentType: 0,
/**
Mandatory on all driver's licenses.
AAMVA Version Number: This is a decimal value between 0 and 99 that
specifies the version level of the PDF417 bar code format. Version "0" and "00"
is reserved for bar codes printed to the specification of the American Association
of Motor Vehicle Administrators (AAMVA prior to the adoption of the AAMVA DL/ID-2000
standard.
- All barcodes compliant with AAMVA DL/ID-2000 standard shall be designated Version "01."
- All barcodes compliant with AAMVA Card Design Specification version 1.0, dated 09-2003
shall be designated Version "02."
- All barcodes compliant with AAMVA Card Design Specification version 2.0, dated 03-2005
shall be designated Version "03."
- All barcodes compliant with AAMVA Card Design Standard version 1.0, dated 07-2009
shall be designated Version "04."
- All barcodes compliant with AAMVA Card Design Standard version 1.0, dated 07-2010
shall be designated Version "05."
- All barcodes compliant with AAMVA Card Design Standard version 1.0, dated 07-2011
shall be designated Version "06".
- All barcodes compliant with AAMVA Card Design Standard version 1.0, dated 06-2012
shall be designated Version "07".
- All barcodes compliant with this current AAMVA standard shall be designated "08".
Should a need arise requiring major revision to the format, this field provides the
means to accommodate additional revision.
If the document type is not "AAMVA", this field defines the version number of the
given document type's standard.
*/
StandardVersionNumber: 1,
//==============================================================/
//========== 2. PERSONAL DATA KEYS ===========/
//==============================================================/
/**
Mandatory on all AAMVA, Magnetic and Compact barcodes.
Family name of the cardholder. (Family name is sometimes also called "last name" or "surname."
Collect full name for record, print as many characters as possible on portrait side of DL/ID.
*/
CustomerFamilyName: 2,
/**
Mandatory on all AAMVA, Magnetic and Compact barcodes.
First name of the cardholder.
*/
CustomerFirstName: 3,
/**
Mandatory on all AAMVA, Magnetic and Compact barcodes.
Full name of the individual holding the Driver's License or ID.
The Name field contains up to four portions, separated with the "," delimiter:
Last Name (required
, (required
First Name (required
, (required if other name portions follow, otherwise optional
Middle Name(s (optional
, (required if other name portions follow, otherwise optional
Suffix (optional
, (optional
If the individual has more than one middle name they are separated with space.
*/
CustomerFullName: 4,
/**
Mandatory on all AAMVA, Magnetic and Compact barcodes.
Date on which the cardholder was born. (MMDDCCYY format
*/
DateOfBirth: 5,
/**
Mandatory on all AAMVA, Magnetic barcodes.
Optional on Compact barcodes.
Gender of the cardholder. 1 = male, 2 = female.
*/
Sex: 6,
/**
Mandatory on AAMVA 02, 03, 04, 05, 06, 07, 08 barcodes.
Optional on AAMVA 01, Magnetic and Compact barcodes.
Color of cardholder's eyes. (ANSI D-20 codes
Code Description
BLK Black
BLU Blue
BRO Brown
GRY Gray
GRN Green
HAZ Hazel
MAR Maroon
PNK Pink
DIC Dichromatic
UNK Unknown
*/
EyeColor: 7,
/**
Mandatory on all AAMVA and Magnetic barcodes.
On compact barcodes, use kFullAddress.
Street portion of the cardholder address.
The place where the registered driver of a vehicle (individual or corporation
may be contacted such as a house number, street address, etc.
*/
AddressStreet: 8,
/**
Mandatory on all AAMVA and Magnetic barcodes.
On compact barcodes, use kFullAddress.
City portion of the cardholder address.
*/
AddressCity: 9,
/**
Mandatory on all AAMVA and Magnetic barcodes.
On compact barcodes, use kFullAddress.
State portion of the cardholder address.
*/
AddressJurisdictionCode: 10,
/**
Mandatory on all AAMVA and Magnetic barcodes.
On compact barcodes, use kFullAddress.
Postal code portion of the cardholder address in the U.S. and Canada. If the
trailing portion of the postal code in the U.S. is not known, zeros can be used
to fill the trailing set of numbers up to nine (9 digits.
*/
AddressPostalCode: 11,
/**
Mandatory on all AAMVA and Magnetic barcodes.
Optional on Compact barcodes.
Full address of the individual holding the Driver's License or ID.
The full address field contains up to four portions, separated with the "," delimiter:
Street Address (required
, (required if other address portions follow, otherwise optional
City (optional
, (required if other address portions follow, otherwise optional
Jurisdiction Code (optional
, (required if other address portions follow, otherwise optional
ZIP - Postal Code (optional
*/
FullAddress: 12,
/**
Mandatory on AAMVA 02, 03, 04, 05, 06, 07, 08 and Compact barcodes.
Optional on AAMVA 01 and Magnetic barcodes.
Height of cardholder, either in Inches or in Centimeters.
Inches (in: number of inches followed by " in"
example: 6'1'' = "73 in"
Centimeters (cm: number of centimeters followed by " cm"
example: 181 centimeters = "181 cm"
*/
Height: 13,
/**
Mandatory on AAMVA 02, 03, 04, 05, 06, 07, 08 and Compact barcodes.
Optional on AAMVA 01 and Magnetic barcodes.
Height of cardholder in Inches.
Example: 5'9'' = "69".
*/
HeightIn: 14,
/**
Mandatory on AAMVA 02, 03, 04, 05, 06, 07, 08 Compact barcodes.
Optional on AAMVA 01 and Magnetic barcodes.
Height of cardholder in Centimeters.
Example: 180 Centimeters = "180".
*/
HeightCm: 15,
/**
Mandatory on AAMVA 04, 05, 06, 07, 08 barcodes.
Optional on AAMVA 01, 02, 03, Magnetic and Compcat barcodes.
Middle name(s of the cardholder. In the case of multiple middle names they
shall be separated by space " ".
*/
CustomerMiddleName: 16,
/**
Optional on all AAMVA, Magnetic and Compact barcodes.
Bald, black, blonde, brown, gray, red/auburn, sandy, white, unknown. If the issuing
jurisdiction wishes to abbreviate colors, the three-character codes provided in ANSI D20 must be
used.
Code Description
BAL Bald
BLK Black
BLN Blond
BRO Brown
GRY Grey
RED Red/Auburn
SDY Sandy
WHI White
UNK Unknown
*/
HairColor: 17,
/**
Mandatory on AAMVA 02 barcodes.
Optional on AAMVA 01, 03, 04, 05, 06, 07, 08, Magnetic and Compact barcodes.
Name Suffix (If jurisdiction participates in systems requiring name suffix (PDPS, CDLIS, etc.,
the suffix must be collected and displayed on the DL/ID and in the MRT.
- JR (Junior
- SR (Senior
- 1ST or I (First
- 2ND or II (Second
- 3RD or III (Third
- 4TH or IV (Fourth
- 5TH or V (Fifth
- 6TH or VI (Sixth
- 7TH or VII (Seventh
- 8TH or VIII (Eighth
- 9TH or IX (Ninth
*/
NameSuffix: 18,
/**
Optional on all AAMVA and Compact barcodes.
Other name by which the cardholder is known. ALTERNATIVE NAME(S of the individual
holding the Driver License or ID.
The Name field contains up to four portions, separated with the "," delimiter:
AKA Last Name (required
, (required
AKA First Name (required
, (required if other name portions follow, otherwise optional
AKA Middle Name(s (optional
, (required if other name portions follow, otherwise optional
AKA Suffix (optional
, (optional
If the individual has more than one AKA middle name they are separated with space.
*/
AKAFullName: 19,
/**
Optional on all AAMVA and Compact barcodes.
Other family name by which the cardholder is known.
*/
AKAFamilyName: 20,
/**
Optional on all AAMVA and Compact barcodes.
Other given name by which the cardholder is known
*/
AKAGivenName: 21,
/**
Optional on all AAMVA and Compact barcodes.
Other suffix by which the cardholder is known.
The Suffix Code Portion, if submitted, can contain only the Suffix Codes shown in the following table (e.g., Andrew Johnson, III = JOHNSON@ANDREW@@3RD:
Suffix Meaning or Synonym
JR Junior
SR Senior or Esquire 1ST First
2ND Second
3RD Third
4TH Fourth
5TH Fifth
6TH Sixth
7TH Seventh
8TH Eighth
9TH Ninth
*/
AKASuffixName: 22,
/**
Mandatory on AAMVA 02 barcodes.
Optional on AAMVA 01, 03, 04, 05, 06, 07, 08, Magnetic and Compact barcodes.
Indicates the approximate weight range of the cardholder:
0 = up to 31 kg (up to 70 lbs
1 = 32 ā€“ 45 kg (71 ā€“ 100 lbs
2 = 46 - 59 kg (101 ā€“ 130 lbs
3 = 60 - 70 kg (131 ā€“ 160 lbs
4 = 71 - 86 kg (161 ā€“ 190 lbs
5 = 87 - 100 kg (191 ā€“ 220 lbs
6 = 101 - 113 kg (221 ā€“ 250 lbs
7 = 114 - 127 kg (251 ā€“ 280 lbs
8 = 128 ā€“ 145 kg (281 ā€“ 320 lbs
9 = 146+ kg (321+ lbs
*/
WeightRange: 23,
/**
Mandatory on AAMVA 02 barcodes.
Optional on AAMVA 01, 03, 04, 05, 06, 07, 08, Magnetic and Compact barcodes.
Cardholder weight in pounds Example: 185 lb = "185"
*/
WeightPounds: 24,
/**
Mandatory on AAMVA 02 barcodes.
Optional on AAMVA 01, 03, 04, 05, 06, 07, 08, Magnetic and Compact barcodes.
Cardholder weight in kilograms Example: 84 kg = "084"
*/
WeightKilograms: 25,
/**
Mandatory on all AAMVA and Compact barcodes.
The number assigned or calculated by the issuing authority.
*/
CustomerIdNumber: 26,
/**
Mandatory on AAMVA 04, 05, 06, 07, 08 barcodes.
Optional on Compact barcodes.
A code that indicates whether a field has been truncated (T, has not been
truncated (N, or ā€“ unknown whether truncated (U.
*/
FamilyNameTruncation: 27,
/**
Mandatory on AAMVA 04, 05, 06, 07, 08 barcodes.
Optional on Compact barcodes.
A code that indicates whether a field has been truncated (T, has not been
truncated (N, or ā€“ unknown whether truncated (U.
*/
FirstNameTruncation: 28,
/**
Mandatory on AAMVA 04, 05, 06, 07, 08 barcodes.
A code that indicates whether a field has been truncated (T, has not been
truncated (N, or ā€“ unknown whether truncated (U.
*/
MiddleNameTruncation: 29,
/**
Optional on AAMVA 02, 03, 04, 05, 06, 07, 08 and Compact barcodes.
Country and municipality and/or state/province.
*/
PlaceOfBirth: 30,
/**
Optional on all AAMVA barcodes.
On Compact barcodes, use kFullAddress.
Second line of street portion of the cardholder address.
*/
AddressStreet2: 31,
/**
Optional on AAMVA 02, 03, 04, 05, 06, 07, 08 and Compact barcodes.
Codes for race or ethnicity of the cardholder, as defined in ANSI D20.
Race:
Code Description
AI Alaskan or American Indian (Having Origins in Any of The Original Peoples of
North America, and Maintaining Cultural Identification Through Tribal
Affiliation of Community Recognition
AP Asian or Pacific Islander (Having Origins in Any of the Original Peoples of
the Far East, Southeast Asia, or Pacific Islands. This Includes China, India,
Japan, Korea, the Philippines Islands, and Samoa
BK Black (Having Origins in Any of the Black Racial Groups of Africa
W White (Having Origins in Any of The Original Peoples of Europe, North Africa,
or the Middle East
Ethnicity:
Code Description
H Hispanic Origin (A Person of Mexican, Puerto Rican, Cuban, Central or South
American or Other Spanish Culture or Origin, Regardless of Race
O Not of Hispanic Origin (Any Person Other Than Hispanic
U Unknown
*/
RaceEthnicity: 32,
/**
Optional on AAMVA 01 barcodes.
PREFIX to Driver Name. Freeform as defined by issuing jurisdiction.
*/
NamePrefix: 33,
/**
Mandatory on AAMVA 02, 03, 04, 05, 06, 07, 08 and Compact barcodes.
Country in which DL/ID is issued. U.S. = USA, Canada = CAN.
*/
CountryIdentification: 34,
/**
Optional on AAMVA version 01.
Driver Residence Street Address 1.
*/
ResidenceStreetAddress: 35,
/**
Optional on AAMVA version 01.
Driver Residence Street Address 2.
*/
ResidenceStreetAddress2: 36,
/**
Optional on AAMVA version 01.
Driver Residence City
*/
ResidenceCity: 37,
/**
Optional on AAMVA version 01.
Driver Residence Jurisdiction Code.
*/
ResidenceJurisdictionCode: 38,
/**
Optional on AAMVA 01 barcodes.
Driver Residence Postal Code.
*/
ResidencePostalCode: 39,
/**
Optional on AAMVA 01 barcodes.
Full residence address of the individual holding the Driver's License or ID.
The full address field contains up to four portions, separated with the "," delimiter:
Residence Street Address (required
, (required if other address portions follow, otherwise optional
Residence City (optional
, (required if other address portions follow, otherwise optional
Residence Jurisdiction Code (optional
, (required if other address portions follow, otherwise optional
Residence ZIP - Residence Postal Code (optional
*/
ResidenceFullAddress: 40,
/**
Optional on AAMVA 05, 06, 07, 08 barcodes.
Date on which the cardholder turns 18 years old. (MMDDCCYY format
*/
Under18: 41,
/**
Optional on AAMVA 05, 06, 07, 08 barcodes.
Date on which the cardholder turns 19 years old. (MMDDCCYY format
*/
Under19: 42,
/**
Optional on AAMVA 05, 06, 07, 08 barcodes.
Date on which the cardholder turns 21 years old. (MMDDCCYY format
*/
Under21: 43,
/**
Optional on AAMVA version 01.
The number assigned to the individual by the Social Security Administration.
*/
SocialSecurityNumber: 44,
/**
Optional on AAMVA version 01.
Driver "AKA" Social Security Number. FORMAT SAME AS DRIVER SOC SEC NUM. ALTERNATIVE NUMBERS(S used as SS NUM.
*/
AKASocialSecurityNumber: 45,
/**
Optional on AAMVA 01 barcodes.
ALTERNATIVE MIDDLE NAME(s or INITIALS of the individual holding the Driver License or ID.
Hyphenated names acceptable, spaces between names acceptable, but no other
use of special symbols.
*/
AKAMiddleName: 46,
/**
Optional on AAMVA 01 barcodes.
ALTERNATIVE PREFIX to Driver Name. Freeform as defined by issuing jurisdiction.
*/
AKAPrefixName: 47,
/**
Optional on AAMVA 01, 06, 07, 08 barcodes.
Field that indicates that the cardholder is an organ donor = "1".
*/
OrganDonor: 48,
/**
Optional on AAMVA 07, 08 barcodes.
Field that indicates that the cardholder is a veteran = "1"
*/
Veteran: 49,
/**
Optional on AAMVA 01. (MMDDCCYY format
ALTERNATIVE DATES(S given as date of birth.
*/
AKADateOfBirth: 50,
//==============================================================/
//========== 3. LICENSE DATA KEYS ============/
//==============================================================/
/**
Mandatory on all AAMVA, Magnetic and Compact barcodes.
This number uniquely identifies the issuing jurisdiction and can
be obtained by contacting the ISO Issuing Authority (AAMVA
*/
IssuerIdentificationNumber: 51,
/**
Mandatory on all AAMVA, Magnetic and Compact barcodes.
If the document is non expiring then "Non expiring" is written in this field.
Date on which the driving and identification privileges granted by the document are
no longer valid. (MMDDCCYY format
*/
DocumentExpirationDate: 52,
/**
Mandatory on all AAMVA and Compact barcodes.
Optional on Magnetic barcodes.
Jurisdiction Version Number: This is a decimal value between 0 and 99 that
specifies the jurisdiction version level of the PDF417 barcode format.
Notwithstanding iterations of this standard, jurisdictions implement incremental
changes to their barcodes, including new jurisdiction-specific data, compression
algorithms for digitized images, digital signatures, or new truncation
conventions used for names and addresses. Each change to the barcode format
within each AAMVA version (above must be noted, beginning with Jurisdiction
Version 00.
*/
JurisdictionVersionNumber: 53,
/**
Mandatory on all AAMVA and Magnetic barcodes.
Jurisdiction-specific vehicle class / group code, designating the type
of vehicle the cardholder has privilege to drive.
*/
JurisdictionVehicleClass: 54,
/**
Mandatory on all AAMVA barcodes.
Optional on Magnetic barcodes.
Jurisdiction-specific codes that represent restrictions to driving
privileges (such as airbrakes, automatic transmission, daylight only, etc..
*/
JurisdictionRestrictionCodes: 55,
/**
Mandatory on all AAMVA barcodes.
Optional on Magnetic barcodes.
Jurisdiction-specific codes that represent additional privileges
granted to the cardholder beyond the vehicle class (such as transportation of
passengers, hazardous materials, operation of motorcycles, etc..
*/
JurisdictionEndorsementCodes: 56,
/**
Mandatory on all AAMVA and Compact barcodes.
Date on which the document was issued. (MMDDCCYY format
*/
DocumentIssueDate: 57,
/**
Mandatory on AAMVA versions 02 and 03.
Federally established codes for vehicle categories, endorsements, and restrictions
that are generally applicable to commercial motor vehicles. If the vehicle is not a
commercial vehicle, "NONE" is to be entered.
*/
FederalCommercialVehicleCodes: 58,
/**
Optional on all AAMVA barcodes.
Mandatory on Compact barcodes.
Jurisdictions may define a subfile to contain jurisdiction-specific information.
These subfiles are designated with the first character of ā€œZā€ and the second
character is the first letter of the jurisdiction's name. For example, "ZC" would
be the designator for a California or Colorado jurisdiction-defined subfile, "ZQ"
would be the designator for a Quebec jurisdiction-defined subfile. In the case of
a jurisdiction-defined subfile that has a first letter that could be more than
one jurisdiction (e.g. California, Colorado, Connecticut then other data, like
the IIN or address, must be examined to determine the jurisdiction.
*/
IssuingJurisdiction: 59,
/**
Optional on all AAMVA barcodes.
Mandatory on Compact barcodes.
Standard vehicle classification code(s for cardholder. This data element is a
placeholder for future efforts to standardize vehicle classifications.
*/
StandardVehicleClassification: 60,
/**
Optional on all AAMVA and Magnetic barcodes.
Name of issuing jurisdiction, for example: Alabama, Alaska ...
*/
IssuingJurisdictionName: 61,
/**
Optional on all AAMVA barcodes.
Standard endorsement code(s for cardholder. See codes in D20. This data element is a
placeholder for future efforts to standardize endorsement codes.
Code Description
H Hazardous Material - This endorsement is required for the operation of any vehicle
transporting hazardous materials requiring placarding, as defined by U.S.
Department of Transportation regulations.
L Motorcycles ā€“ Including Mopeds/Motorized Bicycles.
N Tank - This endorsement is required for the operation of any vehicle transporting,
as its primary cargo, any liquid or gaseous material within a tank attached to the vehicle.
O Other Jurisdiction Specific Endorsement(s - This code indicates one or more
additional jurisdiction assigned endorsements.
P Passenger - This endorsement is required for the operation of any vehicle used for
transportation of sixteen or more occupants, including the driver.
S School Bus - This endorsement is required for the operation of a school bus. School bus means a
CMV used to transport pre-primary, primary, or secondary school students from home to school,
from school to home, or to and from school sponsored events. School bus does not include a
bus used as common carrier (49 CRF 383.5.
T Doubles/Triples - This endorsement is required for the operation of any vehicle that would be
referred to as a double or triple.
X Combined Tank/HAZ-MAT - This endorsement may be issued to any driver who qualifies for
both the N and H endorsements.
*/
StandardEndorsementCode: 62,
/**
Optional on all AAMVA barcodes.
Standard restriction code(s for cardholder. See codes in D20. This data element is a placeholder
for future efforts to standardize restriction codes.
Code Description
B Corrective Lenses
C Mechanical Devices (Special Brakes, Hand Controls, or Other Adaptive Devices
D Prosthetic Aid
E Automatic Transmission
F Outside Mirror
G Limit to Daylight Only
H Limit to Employment
I Limited Other
J Other
K CDL Intrastate Only
L Vehicles without air brakes
M Except Class A bus
N Except Class A and Class B bus
O Except Tractor-Trailer
V Medical Variance Documentation Required
W Farm Waiver
*/
StandardRestrictionCode: 63,
/**
Optional on AAMVA 02, 03, 04, 05, 06, 07, 08 and Compact barcodes.
Text that explains the jurisdiction-specific code(s for classifications
of vehicles cardholder is authorized to drive.
*/
JurisdictionVehicleClassificationDescription: 64,
/**
Optional on AAMVA 02, 03, 04, 05, 06, 07, 08 and Compact barcodes.
Text that explains the jurisdiction-specific code(s that indicates additional
driving privileges granted to the cardholder beyond the vehicle class.
*/
JurisdictionEndorsmentCodeDescription: 65,
/**
Optional on AAMVA 02, 03, 04, 05, 06, 07, 08 and Compact barcodes.
Text describing the jurisdiction-specific restriction code(s that curtail driving privileges.
*/
JurisdictionRestrictionCodeDescription: 66,
/**
Optional on AAMVA 02, 03, 04, 05, 06, 07, 08 barcodes.
A string of letters and/or numbers that is affixed to the raw materials (card stock,
laminate, etc. used in producing driver's licenses and ID cards. (DHS recommended field
*/
InventoryControlNumber: 67,
/**
Optional on AAMVA 04, 05, 06, 07, 08 and Compact barcodes.
DHS required field that indicates date of the most recent version change or
modification to the visible format of the DL/ID. (MMDDCCYY format
*/
CardRevisionDate: 68,
/**
Mandatory on AAMVA 02, 03, 04, 05, 06, 07, 08 and Magnetic barcodes.
Optional and Compact barcodes.
Number must uniquely identify a particular document issued to that customer
from others that may have been issued in the past. This number may serve multiple
purposes of document discrimination, audit information number, and/or inventory control.
*/
DocumentDiscriminator: 69,
/**
Optional on AAMVA 04, 05, 06, 07, 08 and Compact barcodes.
DHS required field that indicates that the cardholder has temporary lawful status = "1".
*/
LimitedDurationDocument: 70,
/**
Optional on AAMVA 02, 03, 04, 05, 06, 07, 08 and Compact barcodes.
A string of letters and/or numbers that identifies when, where, and by whom a driver's
license/ID card was made. If audit information is not used on the card or the MRT, it
must be included in the driver record.
*/
AuditInformation: 71,
/**
Optional on AAMVA 04, 05, 06, 07, 08 and Compact barcodes.
DHS required field that indicates compliance: "M" = materially compliant,
"F" = fully compliant, and, "N" = non-compliant.
*/
ComplianceType: 72,
/**
Optional on AAMVA version 01 barcodes.
Issue Timestamp. A string used by some jurisdictions to validate the document against their data base.
*/
IssueTimestamp: 73,
/**
Optional on AAMVA version 01 barcodes.
Driver Permit Expiration Date. MMDDCCYY format. Date permit expires.
*/
PermitExpirationDate: 74,
/**
Optional on AAMVA version 01 barcodes..
Type of permit.
*/
PermitIdentifier: 75,
/**
Optional on AAMVA version 01 barcodes..
Driver Permit Issue Date. MMDDCCYY format. Date permit was issued.
*/
PermitIssueDate: 76,
/**
Optional on AAMVA version 01.
Number of duplicate cards issued for a license or ID if any.
*/
NumberOfDuplicates: 77,
/**
Optional on AAMVA 04, 05, 06, 07, 08 and Compact barcodes.
Date on which the hazardous material endorsement granted by the document is
no longer valid. (MMDDCCYY format
*/
HAZMATExpirationDate: 78,
/**
Optional on AAMVA version 01.
Medical Indicator/Codes.
STATE SPECIFIC. Freeform, Standard "TBD"
*/
MedicalIndicator: 79,
/**
Optional on AAMVA version 01.
Non-Resident Indicator. "Y". Used by some jurisdictions to indicate holder of the document is a non-resident.
*/
NonResident: 80,
/**
Optional on AAMVA version 01.
A number or alphanumeric string used by some jurisdictions to identify a "customer" across multiple data bases.
*/
UniqueCustomerId: 81,
/**
Optional on compact barcodes.
Document discriminator.
*/
DataDiscriminator: 82,
/**
Optional on Magnetic barcodes.
Month on which the driving and identification privileges granted by the document are
no longer valid. (MMYY format
*/
DocumentExpirationMonth: 83,
/**
Optional on Magnetic barcodes.
Field that indicates that the driving and identification privileges granted by the
document are nonexpiring = "1".
*/
DocumentNonexpiring: 84,
/**
Optional on Magnetic barcodes.
Security version beeing used.
*/
SecurityVersion: 85
}
)
/** Defines the data extracted from the visual inspection zone */
export class BarcodeElements {
constructor(nativeBarcodeElements) {
/** Flag that indicates if barcode elements is empty */
this.empty = nativeBarcodeElements.empty;
/** All strings for scanned barcode element key value*/
this.values = nativeBarcodeElements.values;
}
}
/** Defines the data extracted from the visual inspection zone */
export class VizResult {

@@ -649,3 +1720,3 @@ constructor(nativeVizResult) {

/** The one more additional number of the document. */
/** The one more additional number of the document. */
this.documentOptionalAdditionalNumber = nativeVizResult.documentOptionalAdditionalNumber;

@@ -652,0 +1723,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with āš”ļø by Socket Inc