ExIcaoVds.Profiles.MRTD.V1
(ex_icao_vds v0.3.2)
Copy Markdown
MRTD (Machine Readable Travel Document) VDS profile v1.
Encodes the MRZ data elements for ICAO Doc 9303 machine-readable travel documents (passport TD3, official travel document TD1/TD2), per Part 13 (VDS-NC). Check digits are omitted — the VDS digital signature provides integrity in their place.
Field ordering and tag assignment follow the MRZ field sequence defined in ICAO Doc 9303 Parts 4–6.
Fields
| Tag | Name | Encoding | Required | Max | Notes |
|---|---|---|---|---|---|
| 1 | document_type | C40 | yes | 2 | MRZ pos 1–2 (e.g. "P", "IP", "AC") |
| 2 | issuing_state | C40 | yes | 3 | ICAO alpha-3 (e.g. "DEU", "KEN") |
| 3 | holder_name | UTF-8 | yes | 39 | PRIMARY<<SECONDARY; TD3 max = 39 |
| 4 | document_number | C40 | yes | 9 | Alphanumeric; pad with < if shorter |
| 5 | nationality | C40 | yes | 3 | ICAO alpha-3 (e.g. "DEU", "KEN") |
| 6 | date_of_birth | date | yes | — | |
| 7 | sex | C40 | yes | 1 | F, M, or < (unspecified) |
| 8 | date_of_expiry | date | yes | — | |
| 9 | optional_data | C40 | no | 14 | Personal number; TD3 max = 14 |