resultobject is only returned when the status of the check is
complete. It has two components -
attention: Indicates at least one of the analysis results requires attention.
not_processed: Indicates that ComplyCube was not able to process the images. Reasons include:
documentDetails: Data relating to the document.
documentType: The detected document type. Values include:
hasTwoSides: A boolean indicating if both sides of the document were used for the analysis.
documentNumber: The document number.
personalNumber: The personal number, if available..
additionalDetails: Any additional details extracted from the document. This will be returned as an array of key/value pair objects.
mrz: The Machine Readable Zone (MRZ), which is usually at the bottom of the identity page of a passport or the back of an identity card, can be up to 3 lines depending on the document type:
holderDetails: Data relating to the document holder.
firstName: The list of first/given names as an array.
lastName: The list of last names as an array.
birthPlace: The birthplace.
gender: The gender. Values include:
type: The extracted image type. Values include:
BASE64encoded data content.
clear: Indicates the analysis returned a successful result.
attention: Indicates a potential falsified or fraudulent document.
not_processed: Returned when the analysis does not apply to a document type, e.g. MRZ Analysis on a document without an MRZ. It will also be returned if ComplyCube does not support a given country's particular analysis for a document type.
mrzChecksum: Indicates whether the MRZ checksum test is valid.
mrzFormat: Indicates whether the MRZ format is valid.
firstName: Indicates whether the first name on the document and MRZ are consistent.
lastName: Indicates whether the last name on the document and MRZ are consistent.
dob: Indicates whether the birth date on the document and MRZ are consistent.
documentNumber: Indicates whether the document number on the document and MRZ are consistent.
personalNumber: Indicates whether the personal number on the document and MRZ are consistent.
issuingDate: Indicates whether issuing date on the document and MRZ are consistent.
expirationDate: Indicates whether the expiry date on the document and MRZ are consistent.
issuingCountry: Indicates whether the issuing country has valid content.
issuingDate: Indicates whether issuing date has valid content.
expirationDate: Indicates whether the expiration date has valid content.
nationality: Indicates whether nationality has valid content.
specimenCheck: Indicates whether the content has been copied from the internet.
blackListCheck: Indicates a competent authority blacklisted the ID document.
modelIdentification: Indicates whether the document model has been identified.
countryModelValidity: Indicates whether the document model adheres to the issuing country specifications.
documentModelValidity: Indicates whether the document model adheres to the document type specifications.
photocopyDetected: Indicates whether the document is a black and white photocopy.
daylightAnalysis: Indicates whether the document daylight colours are valid.
mrzVisualPlacement: Indicates whether the MRZ is in the right location and not tampered with.
securityElements: Indicates whether the document security elements are valid.
photoLocation: Indicates whether the photo is in the correct location for a given document type.
mrzClassification: Indicates whether the MRZ is consistent with the document type.
formatAnalysis: Indicates that both sides of the document are following the document type and country specifications.
dataConsistency: Indicates whether data on both sides of the document are consistent.
ageVerification: Indicates whether the extracted age is greater than or equal to a predefined minimum accepted age.
clientDataConsistency: Indicates whether the client data (e.g. first and last names) corresponds with data extracted from the ID.