Check an Aadhaar number's format
validate_aadhaar_formatChecks whether an Aadhaar number has a valid 12-digit format and Verhoeff checksum without storing, logging, or looking it up; returns only the last 4 digits. A pass confirms format, not issuance.
Instructions
Checks only the FORMAT of an Aadhaar number: 12 digits, not starting with 0 or 1, and the Verhoeff checksum. Nothing is stored, logged or looked up, and only the last 4 digits are returned. A pass does not mean the number was issued to anyone. Do not use this to identify people.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aadhaar | Yes | The 12-digit number, spaces allowed |