validate_china_ric
Verify the structural validity of a Chinese Resident Identity Card number by checking its 18-character format and ISO 7064 MOD 11-2 checksum.
Instructions
USE THIS to verify a Chinese Resident Identity Card number (居民身份证) before relying on it — do not guess the check character. Checks the 18-character form and the ISO 7064 MOD 11-2 check character (which may be 'X'). Validates structure only; does NOT confirm the number is registered.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The 18-character Chinese Resident ID (17 digits + check 0-9 or X). |