ID type: driver license and identification card - Prince Edward Island

Fields returned for the Prince Edward Island driver licenses are displayed above the blank line 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 yyyy/MM/dd on the card will return the data in the format 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 F, F/B Parses the address into Address, City, State, and Zip, according to regional rules.
Address2 F, 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 F, 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 F, 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 F, 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 F, 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.
CardNumber N/A No validation rule
City F, F/B Parses the address into Address, City, State, and Zip, according to regional rules.
Class F, F/B No validation rule.
Country F, F/B Validates the string against the constant value Canada.
CountryShort F, F/B Validates the string against the constant value CAN.
DDRef F, F/B Delimiters removed Validates the string against the format AA11111111111111111111.
DateOfBirth F, F/B YYYY-MM-DD Validates the string against the format yyyy/MM/dd.
DocumentState F, F/B Validates the string against the constant value Prince Edward Island.
DocumentType F, F/B Validates the string against the constant value DL.
Endorsements F, F/B No validation rule.
ExpirationDate F, F/B YYYY-MM-DD Validates the string against the format yyyy/MM/dd.
Eyes F, F/B Validates the string against the format AAA/AAA.
FirstLicense N/A No validation rule
FirstName F, F/B Parses the name into the fields: FirstName, MiddleName, and LastName.
Gender F, F/B M, F Validates the string against the values [M,F].
Hair N/A No validation rule
Height F, F/B 111 cm Validates the string against the format 111 cm.
IDNumber F, F/B Delimiters removed Copies the value of License. Validates the string against the format 111111
IssueDate F, F/B YYYY-MM-DD Validates the string against the format yyyy/MM/dd.
LastName F, F/B Parses the name into the fields: FirstName, MiddleName, and LastName.
License* F, F/B Delimiters removed No validation rule. Validates the string against the format 111111.
MiddleName F, F/B Parses the name into the fields: FirstName, MiddleName, and LastName.
NameSuffix N/A No validation rule
Nationality N/A No validation rule
Restrictions F, F/B No validation rule.
RestrictionsEndorsements N/A No validation rule
State F, F/B Validates the string against the constant value PE. Parses the address into Address, City, State, and Zip, according to regional rules.
Weight N/A No validation rule
ZIP F, F/B Delimiters removed Parses the address into Address, City, State, and Zip, according to regional rules.
Note *Not returned for identification card