Named Entity Recognition Grammars Package 26.3
Named Entity Recognition Grammars User Guide

# passport grammar

The passport grammar is found in the set PII.

entity | description | examples | components | checksum
--- | --- | --- | --- | ---
passport/context/CC | A passport number with context. | Passport Number: P4366918 Passport number: 533324428 italian passaporti AA5275702 | ✔️ | ✓
passport/landmark/CC | A passport landmark. For information about cases where the landmark and passport number do not match or have an ambiguous match, see Ambiguous Entities. | "Passport" Pasaporte | ❌ | ❌
passport/mrp | A machine readable passport. | 0740254727GBS6001010M2002020<<<<<<<<<<<<<<04 P<GBROTHER<<ADAM<NORMAN<<<<<<<<<<<<<<<<<<<<< | ✔️ | ❌
passport/nocontext/CC | A passport number without context. | 14CV28142 533324428 C015918 | ✔️ | ✓

The following components are produced by the above entities.

components | description | examples | context
--- | --- | --- | ---
BIRTH_DATE | date of birth, encoded as YYMMDD | 640812 | 6408125<2010315D<<<<<<<<<<<<<4
BIRTH_DATE_CD | date of birth, check digit | 5 | 6408125<2010315D<<<<<<<<<<<<<4
EXPIRATION_DATE | expiration date | 201031 | 6408125<2010315D<<<<<<<<<<<<<4
EXPIRATION_DATE_CD | expiration date, check digit | 5 | 6408125<2010315D<<<<<<<<<<<<<4
FINAL_CD | final check digit | 4 | 0740254727GBS6001010M2002020<<<<<<<<<<<<<<04
HOLDER_NAME | name of the document holder |  | MUSTERMANN<<ERIKA<<<<<<<<<<<<<
ISSUING_COUNTRY | ISO-3166-3 country code of the issuing country | D<< | IDD<<T220001293<<<<<<<<<<<<<<<
LANDMARK | landmark indicating the entity type | رخصة قيادة | رخصة قيادة: 1234567
NATIONALITY | nationality of an individual | D<< | 6408125<2010315D<<<<<<<<<<<<<4
NUMBER | number of the match (eg house, site or building number as part of a street address; or id number etc) | 123 | Sheikh Zayed Road 123, Al Ain, United Arab Emirates
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 | < | 6408125<2010315D<<<<<<<<<<<<<4

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 2026 Open Text
Version 26.3 | Last updated July 2026

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 26.3

Topic Title: passport grammar