Pakistani national identity card number (CNIC)
ID pk_cnic
DatatypePersonal data (PII)identifierDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Number of the Computerised National Identity Card (CNIC), or Smart National Identity Card, that NADRA issues to citizens of Pakistan aged 18 or older. It has 13 digits, written as 5, 7 and 1 digits separated by hyphens: a five-digit locality code whose first digit is the province, a seven-digit serial number, and a last digit that is odd for men and even for women.
- Categories
- Personally identifiable information, Person related
- Countries
- Pakistan
- Languages
- Urdu, English
- python-stdnum
stdnum.pk.cnic- Quality
- 85/100 · missing: translation, detector coverage
- Metacrafter rules
- no detection rule yet
- Supported by tools
- no tool record lists this type yet
Regular expression
^[1-7]\d{4}-?\d{7}-?[1-9]$
Python re syntax.
Examples
| Value | Description |
|---|---|
| 34201-0891231-8 | Example from the python-stdnum documentation |
| 42201-0397640-8 | Example from the python-stdnum documentation |
| 3420108912318 | The first example without hyphens |
| 34201-0891231-0 invalid | Last digit 0 does not encode a gender |
| 84201-0891231-8 invalid | Unknown province digit 8 |
Sources
- wikipedia: https://en.wikipedia.org/wiki/CNIC_(Pakistan)
- doc: https://www.nadra.gov.pk/identity/identity-cnic/
- doc: https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.pk.cnic.html
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/pk_cnic - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/PK/persons/pk_cnic.yamlon GitHub