validate_voter_id
Validate Indian Voter ID (EPIC) number format for KYC, identity, and electoral workflows. Checks 3-letter + 7-digit structure, detects legacy formats, and returns validity details.
Instructions
Validate an Indian Voter ID (EPIC) number format.
Use when verifying voter ID format in KYC, identity, or electoral workflows.
Args: voter_id: EPIC number (3 letters + 7 digits). Spaces/hyphens stripped.
Returns: Standard envelope containing validity, prefix, serial, and format type.
Notes: Format validation only. Detects possible legacy EPIC formats.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| voter_id | Yes | 10-character EPIC number (spaces/hyphens allowed). Example: ABC1234567 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||