decode_cnr_number
Decode a 16-character CNR to validate format and extract state, district, establishment, case type, year, and serial for court case identification.
Instructions
Decode and validate a 16-character CNR.
Use when extracting state, district, establishment, case type, year, and serial from a CNR number.
Args: cnr: 16-character CNR string.
Returns: Standard envelope containing decoded fields.
Notes: Format validation with field decoding. Not legal advice. Consult a qualified advocate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cnr | Yes | 16-character CNR string. Spaces and hyphens are stripped automatically. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||