The Emirates ID of United Arab Emirates. This page is generated from the registry metadata of the library.
| Property | Value |
|---|---|
| Country code | ARE, AE |
| ID type | Emirates ID |
| Official name | رقم الهوية (Emirates ID) |
| Also known as | Emirates ID; Resident ID; رقم الهوية |
| Display format | 784-YYYY-NNNNNNN-C |
| Input masks | ###-####-#######-# |
| Length | 15 |
| Example | 784198012345678 |
| Checksum | yes |
| Checksum algorithm | Luhn (mod 10) |
| Parsable | yes |
The root entry registers every country:
import { validateNationalId } from 'idnumbers';
validateNationalId('ARE', '784198012345678').isValid; // true
To bundle only this country, import its definition from idnumbers/countries/are and pass it to register():
import { register, validateNationalId } from 'idnumbers/core';
import { country } from 'idnumbers/countries/are';
register(country);
validateNationalId('ARE', '784198012345678').isValid; // true