API Response
API Response
Review Required: This additional list will be sent with the API response. It contains a list of fields that have caused either the front data validity or back data validity to be classified as false. These are the fields that may be required to go through manual review due to OCR-related issues.
Advanced confidence breakdown
"fraud_detection_zone" acts as a parent for "face_fraud_zone" and "front_image_manipulation_zone". if either of them is yellow/red, the result is of this flag will be yellow/red.
"fraud_detection_zone": values "0" for green zone, "1" for yellow zone (needs review) and "2" for red zone. This value defines an overall fraud zone for the NID.
"face_fraud_zone": Same values as "fraud_detection_zone" but for face manipulation specifically.
"'face_fraud_confidence": float values from 0 to 1 indicating to what degree the face might be manipulated.
"front_image_manipulation_zone": Same values as "fraud_detection_zone" but generic for any manipulation in the NID.
"'front_image_confidence": float values from 0 to 1 indicating to what degree the NID might be manipulated.
Profession Analysis breakdown
This section breaks down the profession field as follows
"workplace": This is the extraction of the workplace from the profession field. If the workplace does not exist, then this field is returned as empty
"profession_categorization": The returns the category that this specific occupation pertains to. Please check the list below
Salaried
Unemployed
Self-employed
Student
Retired
Housewife
Freelancer
Public Official
Document Verification Plus breakdown
The following are possible values that could come in the review required list along with their triggers
date_of_birth
triggered by an invalid date or incorrect formatstreet
when the field value is missing from the responsepolice_station
when the field value is missing from the responsegovernorate
when the field value is missing from the responsebirth_governorate
triggered by an invalid field formatback_nid
triggered by an invalid field formatfront_nid
triggered by an invalid field formatserial_number
triggered by an invalid field formatfull_name
triggered when the field value is missing from the responsefirst_name
triggered when the field value is missing from the responseexpiry_date
triggered by an invalid date or incorrect formatrelease_date
triggered by an invalid date or incorrect formatfront_img
triggered whenis_front_greyscale
is trueback_img
triggered whenis_back_greyscale
is true
Last updated