validate_aadhaar
Verify the format and checksum of an Indian Aadhaar number using Verhoeff check digit and leading-digit rule. Validates structure only, 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). |