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
Key |
Type |
Description |
---|---|---|
country |
string |
The country that issued the document. Can be any ISO 3166-1 alpha-3 country code, and XKX for Kosovo. Examples: USA, AUT, GER, FRA |
state |
string |
Possible values:
|
type |
string |
Possible values include:
|
subType |
string |
Possible values if type = ID_Card include:
Possible values if type = DRIVING_LICENSE include:
|
printedDocumentName |
tbd |
Name as printed on the ID document |
firstIssueDate |
string |
Date when the ID was initially issued date in yyyy-MM-dd format |
lastIssueDate |
string |
The most recent date the ID was reissued date in yyyy-MM-dd format |
notValidAfterDate |
string |
The expiration date after which the ID is no longer valid date in yyyy-MM-dd format |
hasCryptoChip |
boolean |
If the document has a crypto chip avaiable |
isFoldable |
boolean |
If the document is foldable |
isHandwritten |
boolean |
If the document is handwritten |
layout |
string |
Layout of the ID document |
material |
string |
Material of the ID document |
Decision Details Labels
Decision Type |
Label |
Description |
---|---|---|
PASSED |
OK |
The document metadata for classification was successfully identified. |
NOT_EXECUTED |
PRECONDITION_NOT_FULFILLED |
Required data from another capability is not available. |