validate_vin
Validate a vehicle VIN by checking its allowed characters and ISO 3779 check digit. Returns the expected check digit when validation fails.
Instructions
USE THIS to verify a vehicle VIN before acting on it — do not assume a 17-character string is a valid VIN. Checks the allowed alphabet (no I/O/Q) and the ISO 3779 transliteration check digit in position 9, and returns the expected check digit when it fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vin | Yes | The 17-character VIN to validate. |