Validation criteria
Overview
MobbScan allows you to set validation criteria that perform extra checks related to the quality or data of the scanned document.
NOTE: Contact the support team to customize your onboarding process.
Validation criteria
The following table shows the validation criteria than can be configured:
Code | Meaning |
---|---|
validationDocumentNotExpired | Document not expired |
validationDocumentNotSpecimen | Document not specimen |
validationFrontAppearence | Correct appearance of the front side |
validationBackAppearence | Correct appearance of the back side |
validationFrontPhotocopy | Front side is not photocopy |
validationBackPhotocopy | Back side is not photocopy |
validationLegalAge | Older than 18 years old |
validationMRZ | Correct MRZ |
validationPersonalNumberBothSidesMatch | Same personal number on both sides |
validationFacialMatching | Match between the face of the document and the selfie |
validationLiveness | Proof of life |
validationIdentityVerification | Identity verification |
Validations handling
Example of a process with unsuccessful validation criteria:
{
// ...
"scanProcessValidationResult": {
"enabledProcess": true,
"scanProcessFailedValidations": [
"validationDocumentNotExpired"
],
"scanProcessValidationResult": "NOT_VALID"
}
// ...
}
This result object is returned in the callback of the setScanDocumentDataCallback
method, as well as in the successCallback of the validateFace
method.