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.
issuingPlace: The issuing place of the document.
issuingAuthority: The issuing authority of the document.
additionalDetails: Any additional details extracted from the document. This will be returned as an array of key/value pair objects.
documentDiscriminator: The document discriminator.
cardAccessNumber: The card access number.
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.
age: The age of the document holder. This will be a
birthPlace: The birthplace.
taxIdentificationNumber: The Tax Identification Number (TIN).
healthInsuranceNumber: The health insurance number.
gender: The gender. Values include:
allExtractedData: All the data extracted from the document, including data in native scripts, organized by source (e.g. Visual, MRZ, and barcode)
visual: All data extracted through the Visual Inspection Zone (VIZ).
mrz: All data extracted through the MRZ.
barcode: All data extracted through the barcode or QR code.
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.
BASE64encoded data of the expected security element's pattern.
BASE64encoded data of the actual extracted security element pattern.
similarity: The similarity score between the expected and actual image patterns. The higher the score, the more likely the document is authentic.
outcome: The outcome of the analysis. This can be
narrative: A description of the analysis performed.
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.