validate_driving_license
Validate an Indian driving license number format and decode state, RTO, year of issue, and serial number for KYC workflows.
Instructions
Validate an Indian driving license number format and decode segments.
Use when verifying DL format, extracting state/RTO/year in KYC workflows.
Args: dl_number: Driving license number. Hyphens/spaces stripped automatically.
Returns: Standard envelope containing validity, state code, state name, RTO code, year of issue, and serial number.
Notes: Format validation only. Handles non-standard pre-Sarathi formats gracefully.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dl_number | Yes | Indian DL number, 15 chars (spaces/hyphens allowed). Ex: MH0220191234567 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||