Identity Document
This data model extracts key information from various government-issued identity documents like driver's licenses, passports, state ID cards, and residency permits. It identifies essential details about the document holder, such as their name, date of birth, and address, as well as crucial document identifiers like the document number, type, issuing authority, and validity dates (issue and expiry). This allows for automated capture and verification of identity information presented in these standard document formats.
Field name | Type | Description |
---|---|---|
document_type | string | The specific type of identity document. Possible values include: drivers_license , non_driver_id_card , passport , passport_card , permanent_resident_card , temporary_resident_permit , national_id_card , military_id , tribal_id , voter_id , other_government_issued_id . |
document_number | string | The primary unique identifier number of the identity document. |
issuing_country | string | The country that issued the identity document, preferably as a 3-letter ISO 3166-1 alpha-3 code (e.g., USA, CAN, MEX). |
issuing_authority | string | The specific agency or authority that issued the document (e.g., California DMV, U.S. Department of State, USCIS). |
last_name | string | The surname or family name of the document holder. |
first_name | string | The given name or first name of the document holder. |
middle_name | string | The middle name(s) or initial(s) of the document holder. |
date_of_birth | string | The date of birth of the document holder in YYYY-MM-DD format. |
sex | string | The sex or gender of the document holder as indicated on the document (e.g., M, F, X). |
address | string | The full residential address listed on the document. |
date_of_issue | string | The date the document was issued in YYYY-MM-DD format. |
date_of_expiry | string | The date the document expires in YYYY-MM-DD format. |
Field Notes
- Dates: All dates (
date_of_birth
,date_of_issue
,date_of_expiry
) are extracted in the standard ISO 8601 format: YYYY-MM-DD. - Country Code: For
issuing_country
, the 3-letter ISO 3166-1 alpha-3 country code is used whenever possible (e.g.,USA
,CAN
,GBR
,MEX
). - Document Type: The
document_type
field has one of the allowed values:drivers_license
,non_driver_id_card
,passport
,passport_card
,permanent_resident_card
,temporary_resident_permit
,national_id_card
,military_id
,tribal_id
,voter_id
,other_government_issued_id
. - Address: The full address found on the document is combined into a single string for the
address
field. - Names:
first_name
,middle_name
, andlast_name
are distinguished based on the document's labels or common formatting conventions. If a middle name or initial is not present, themiddle_name
field should be null or omitted.
Updated 18 days ago