This object represents the information extracted from a document that has been submitted and the authenticity. This object also returns a result for the recommendation of the document for further investigation if required.
| Field | Type | Values | Notes |
|---|---|---|---|
| type | String | "DRIVING_LICENSE" "PASSPORT" "IDENTITY_CARD" "UNKNOWN" | Identified document type. |
| documentNumber | String | The unique document number extracted from the document. | |
| expiryDate | DOB Object | { "day": 19, "month": 11, "year": 1982 } | A JSON object to represent the expiry date of the document. Each field is an int |
| issuingCountry | String | The ISO alpha-2 code representing the country that issued the document. | |
| result | String | "PASSED" "REFER" "ERROR" | LEM Verify recommendation for supplied document. |
Example JSON for the Document Object:
{
"type": "DRIVING_LICENSE",
"documentNumber": "TEST90000123456",
"expiryDate": {
"day": 1,
"month": 11,
"year": 2019
},
"issuingCountry": "GB",
"result": "REFER"
}