validate_aadhaar
Validate an Indian Aadhaar number's format and checksum using the Verhoeff check digit algorithm. Confirms structural validity without database lookup.
Instructions
USE THIS to verify the format and checksum of an Indian Aadhaar number — never assume 12 digits are valid. Checks the Verhoeff check digit and the leading-digit rule. Validates structure only; does NOT look the number up.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aadhaar | Yes | The 12-digit Aadhaar number (spaces ignored). |