Named Entity Recognition Grammars Package 25.2
Named Entity Recognition Grammars User Guide

# mrtd grammar

The mrtd grammar is found in the set PII.

entity | description | examples | components | checksum
--- | --- | --- | --- | ---
mrtd/mrotd/td1 | A machine readable TD1-size travel document. | 6408125<2010315D<<<<<<<<<<<<<4 IDD<<T220001293<<<<<<<<<<<<<<< MUSTERMANN<<ERIKA<<<<<<<<<<<<< | ✔️ | ❌
mrtd/mrp | A machine readable passport. | 0740254727GBS6001010M2002020<<<<<<<<<<<<<<04 P<GBROTHER<<ADAM<NORMAN<<<<<<<<<<<<<<<<<<<<< | ✔️ | ❌

The following components are produced by the above entities.

components | description | examples | context
--- | --- | --- | ---
BIRTH_DATE | date of birth, encoded as YYMMDD | 600101 | 0740254727GBS6001010M2002020<<<<<<<<<<<<<<<04
BIRTH_DATE_CD | date of birth, check digit | 5 | 6408125<2010315D<<<<<<<<<<<<<4
DOCUMENT_CODE | document code (type of document) | IP | IPJPNZZ10000012<<<<<<<<<<<<<<<
DOCUMENT_NUMBER | document number | ZZ1000001 | IPJPNZZ10000012<<<<<<<<<<<<<<<
DOCUMENT_NUMBER_CD | document number, check digit | 2 | IPJPNZZ10000012<<<<<<<<<<<<<<<
EXPIRATION_DATE | expiration date | 200202 | 0740254727GBS6001010M2002020<<<<<<<<<<<<<<04
EXPIRATION_DATE_CD | expiration date, check digit | 7 | 0002200F3503247JPN<<<<<<<<<<<7
FINAL_CD | final check digit | 4 | 0740254727GBS6001010M2002020<<<<<<<<<<<<<<04
HOLDER_NAME | name of the document holder | OTHER<<ADAM<NORMAN<<<<<<<<<<<<<<<<<<<<< | P<GBROTHER<<ADAM<NORMAN<<<<<<<<<<<<<<<<<<<<<
ISSUING_COUNTRY | ISO-3166-3 country code of the issuing country | GBR | P<GBROTHER<<ADAM<NORMAN<<<<<<<<<<<<<<<<<<<<<
NATIONALITY | nationality of an individual | GBS | 0740254727GBS6001010M2002020<<<<<<<<<<<<<<04
OPTIONAL_DATA | optional additional data | <<<<<<<<<<<<<<< | IPJPNZZ10000012<<<<<<<<<<<<<<<
PASSPORT_NUMBER | passport number | 074025472 | 0740254727GBS6001010M2002020<<<<<<<<<<<<<<04
PASSPORT_NUMBER_CD | passport number, check digit | 7 | 0740254727GBS6001010M2002020<<<<<<<<<<<<<<04
PERSONAL_NUMBER | personal number | <<<<<<<<<<<<<< | 0740254727GBS6001010M2002020<<<<<<<<<<<<<<04
PERSONAL_NUMBER_CD | personal number, check digit | 0 | ZZ10000012JPN0002200F3503247<<<<<<<<<<<<<<08
SEX | sex of the individual, as indicated by the document | M | 0740254727GBS6001010M2002020<<<<<<<<<<<<<<04

In the tables, ✔️ indicates that the item is always used, and ❌ that the item is never used. The ✓ symbol indicates that the item is only used for some entities (that is, for some but not all countries or languages). For details, refer to the relevant entity page.

Copyright 2025 Open Text
Version 25.2 | Last updated April 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Named Entity Recognition Grammars Package 25.2

Topic Title: mrtd grammar