Td1FormatSpec
Field positions of the TD1 format: three lines of 30 characters.
Since
0.1.0
Properties
Composite check digit: line 2, character 30.
Input of the composite check digit: line 1 characters 6-30, then line 2 characters 1-7, 9-15, and 19-29.
Date of birth: line 2, characters 1-6.
Date of birth check digit: line 2, character 7.
Date of expiry: line 2, characters 9-14.
Date of expiry check digit: line 2, character 15.
Document number: line 1, characters 6-14.
Document number check digit: line 1, character 15.
Document type: line 1, characters 1-2.
Issuing state: line 1, characters 3-5.
Characters per line: 30.
Nationality: line 2, characters 16-18.
First optional-data field: line 1, characters 16-30.
Second optional-data field: line 2, characters 19-29.
Name field: line 3, characters 1-30.