ID type: identification card 2005
Fields returned for the Singapore identification card are displayed in the following table. Fields that will return no
information are displayed below the blank line. An
F
denotes that the field will be returned if the front of the card is sent, a
B
denotes that the field will be returned if the back of the card is sent, and
F/B
denotes that the field will be returned if the front and back of the card are sent.
The
Returned as
column shows the normalized format the data will be returned as. A
DateOfBirth
that is formatted as dd-mm-yyyy on the card will return the data in the YYYY-MM-DD for the
DateOfBirth
field according to the rules in the following table, for example.
Some fields are validated against certain rules. Not
all fields have validation rules. For fields that have a validation rule, a
description of the rule will be included in the
Validation Rules
column. In the
Returned as
and
Validation Rules
columns, a capital
A
denotes any letter, a
1
denotes any number, a
?
can either be a letter or a number, and any other symbol, such
as a hyphen, used is literal.
Field | Side | Returned As | Validation Rule |
---|---|---|---|
Address | B, F/B | Parses the address into Address, City, State, and Zip, according to regional rules | |
Address2 | B, F/B | Parses the address into Address, City, State, and Zip, according to regional rules. Where applicable, each line of the Address field is also parsed into a separate field. This field will contain the first line from the Address field. | |
Address3 | B, F/B | Parses the address into Address, City, State, and Zip, according to regional rules. Where applicable, each line of the Address field is also parsed into a separate field. This field will contain the second line from the Address field. | |
Address4 | B, F/B | Parses the address into Address, City, State, and Zip, according to regional rules. Where applicable, each line of the Address field is also parsed into a separate field. This field will contain the third line from the Address field. | |
Address5 | B, F/B | Parses the address into Address, City, State, and Zip, according to regional rules. Where applicable, each line of the Address field is also parsed into a separate field. This field will contain the fourth line from the Address field. | |
Address6 | B, F/B | Parses the address into Address, City, State, and Zip, according to regional rules. Where applicable, each line of the Address field is also parsed into a separate field. This field will contain the fifth line from the Address field. | |
AliasName | F, F/B | Parses the name into the fields: AliasName | |
BloodType | N/A | No validation rule | |
City | B, F/B | Parses the address into Address, City, State, and Zip, according to regional rules | |
Class | N/A | No validation rule | |
Country | F, B, F/B | Validates the string against the constant value "Singapore" | |
CountryShort | F, B, F/B | Validates the string against the constant value "SGP" | |
DDRef | N/A | No validation rule | |
DateOfBirth | F, F/B | YYYY-MM-DD | Validates the string against the format "dd-mm-yyyy" |
District | N/A | No validation rule | |
DocumentState | F, B, F/B | Validates the string against the constant value "Singapore" | |
DocumentSubtype | N/A | No validation rule | |
DocumentType | F, B, F/B | Validates the string against the constant value "ID" | |
Employer | N/A | No validation rule | |
ExpirationDate | N/A | No validation rule | |
Eyes | N/A | No validation rule | |
FirstName | F, F/B | Parses the name into the fields: Name Prefix, FirstName, MiddleName, and LastName | |
FullName | F, F/B | Parses the name into the fields: FullName | |
Gender | F, F/B | M, F | Validates the string against the values [M, F] against [M,F] |
Hair | N/A | No validation rule | |
Height | N/A | No validation rule | |
IDNumber | F, B, F/B | Validates the string against the format "A1111111A" | |
IssueDate | B, F/B | YYYY-MM-DD | Validates the string against the format "dd-mm-yyyy" |
IssuingAuthority | N/A | No validation rule | |
LastName | F, F/B | Parses the name into the fields: Name Prefix, FirstName, MiddleName, and LastName | |
License | B, F/B | Validates the string against the format [1111111, A111111] | |
MiddleName | F, F/B | Parses the name into the fields: Name Prefix, FirstName, MiddleName, and LastName | |
NameSuffix | N/A | No validation rule | |
Nationality | N/A | No validation rule | |
NationalityShort | N/A | No validation rule | |
Occupation | N/A | No validation rule | |
PlaceOfBirth | F, F/B | No validation rule | |
PlaceOfIssue | N/A | No validation rule | |
Race | F, F/B | No validation rule | |
SDWOf | N/A | No validation rule | |
State | B, F/B | Parses the address into Address, City, State, and Zip, according to regional rules | |
SubDistrict | N/A | No validation rule | |
ValidFrom | N/A | No validation rule | |
VillageTownCity | N/A | No validation rule | |
Weight | N/A | No validation rule | |
ZIP | B, F/B | Parses the address into Address, City, State, and Zip, according to regional rules |