Skip to main content

Classification

The classification capability provides details about the document type identified during the classification process. Additional information stored about the document, such as the first issue date, material type, or whether the document is handwritten, can be accessed via the Retrieval API.

This allows businesses to streamline their operations, for example, by filtering out specific types of documents from their workflows, resulting in more efficient document processing.

Data

KeyTypeDescription
countrystringThe country that issued the document. Can be any ISO 3166-1 alpha-3 country code, and XKX for Kosovo. Examples: USA, AUT, DEU, FRA
statestringPossible values: Last two characters of ISO 3166-2:US state code, Last 2-3 characters of ISO 3166-2:AU state code, Last two characters of ISO 3166-2:CA state code, ISO 3166-1 country name, XKX (Kosovo), Free text if it can't be mapped to a state/country code
typestringPossible values include: PASSPORT, DRIVING_LICENSE, ID_CARD, VISA, UNSUPPORTED
subTypestringPossible values if type = ID_Card: NATIONAL_ID, CONSULAR_ID, ELECTORAL_ID, RESIDENT_PERMIT_ID, TAX_ID, STUDENT_ID, PASSPORT_CARD_ID, MILITARY_ID, PUBLIC_SAFETY_ID, HEALTH_ID, OTHER_ID, VISA, UNKNOWN, MULTI_PURPOSE_ID, PROFESSIONAL_ID, PUBLIC_SAFETY_ID, CITIZENSHIP_ID, SERVICES_ID, SOCIAL_SECURITY_ID
printedDocumentNamestringName as printed on the ID document
firstIssueDatestringDate when the ID was initially issued in YYYY-MM-DD format
lastIssueDatestringThe most recent date the ID was reissued in YYYY-MM-DD format
notValidAfterDatestringThe expiration date after which the ID is no longer valid in YYYY-MM-DD format
hasCryptoChipbooleanIf the document has a crypto chip available
isFoldablebooleanIf the document is foldable
isHandwrittenbooleanIf the document is handwritten
layoutstringLayout of the ID document
materialstringMaterial of the ID document

Decision Details Labels

Decision TypeLabelDescription
PASSEDOKThe document metadata for classification was successfully identified.
NOT_EXECUTEDPRECONDITION_NOT_FULFILLEDRequired data from another capability is not available.
tip

For an overview of how Jumio handles PASSED, WARNING, and REJECTED across all capabilities, see How Jumio Handles Results.