1. Home
  2. Docs
  3. Engineering
  4. ID Card Verification

ID Card Verification

MongoDB Schema

No.FieldTypeDescription
1kindString/EnumC = Citizen card
D = Driver’s license
P = Passport
F = KITAS
T = Tax card
2identifierStringNIK for KTP (Indonesian ID card), SIM card number, passport number, etc. depending on “kind”
3nameString
4birthPlaceString
5birthDateDate
6genderString/EnumM = Male
F = Female
7bloodTypeString/EnumA
B
O
AB
8addressString
9religionString
10marriageStatusString/EnumS = Single
M = Married
V = Divorced
W = Widowed
11occupationString
12nationalityCodeStringExample :
Japan = JP
13expiryDateString
14facePhotoMedia
15cardImageMedia
16personWithCardPhotoMedia
17issuerCountryCodeStringExample :
Japan = JP
18issuerProvinceString
19issuerCityString
20issuedDateDate
21faceTopInteger
22faceLeftInteger
23faceWidthInteger
24faceHeightInteger
25statusCodeString/EnumD = Draft (user hasn’t uploaded completely)
U = User has uploaded, need verification
P = Automatically filled by AI, not yet verified
V = Verified
T = Trusted
R = Rejected
26uploadedAtDateTimeStamp when uploaded to Strapi. This is set automatically by upload, cannot be changed.
27extractedAtDateTimeStamp when extracted to AI program. This is set automatically by AI extractor, cannot be changed
28verifiedAtDateTimeStamp after verified by the admin. An ID card reviewer can modify `statusCode`, and if statusCode becomes V/T, then verifiedAt is changed automatically to current time.

ID card extractor docs : https://id-card-extractor.lovia.life/redoc

Was this article helpful to you? Yes No

How can we help?

Leave a Reply

Your email address will not be published. Required fields are marked *