---
id: "in_vid"
kind: "datatype"
status: "draft"
is_pii: true
categories: ["pii", "persons"]
country: ["IN"]
langs: ["common"]
quality: 78
url: "https://registry.apicrafter.io/datatype/in_vid"
---

# Indian Aadhaar Virtual ID (VID) (`in_vid`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Virtual ID, a temporary and revocable 16-digit number that UIDAI maps to an Aadhaar number. A resident can use it instead of the Aadhaar number for authentication and e-KYC. VIDs are random, never start with 0 or 1, and end with a Verhoeff check digit. They are often written in four groups of four digits; the regexp describes the compact form.

- Personal data (PII): yes
- Categories: Personally identifiable information (pii), Person related (persons)
- Countries: India (IN)
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[2-9]\d{15}$
```

## Examples

- `2341234123412341` — Example from the python-stdnum documentation
- `1341234123412341` (invalid example) — A VID never starts with 0 or 1

## Mappings

- stdnum: `in_.vid`

## Sources

- doc: <https://uidai.gov.in/en/contact-support/have-any-question/284-faqs/aadhaar-online-services/virtual-id-vid.html>
- doc: <https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.in_.vid.html>

## Quality

Score 78/100. Missing: second example, translation, detector coverage.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/in_vid.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/IN/persons/in_vid.yaml>
