Following the zkPass SDK guideline, BCA Finance which takes the client role of the Proof Verifier, defines the “Loan Screening” DVR for users who are applying for the car loan. The requirements for the car loan are encapsulated in a query, which is detailed in the Data Verification Request (DVR). This query is formulated using the zkPass Query language, which is JSON-based.
The DVR Query for Ramana Maharshi looks like the following.
All these conditions must be met for the overall criteria to be satisfied:
The Document ID (bcaDocID
) should exactly match "DOC897923CP", which is the document id for BCA Customer Profile.
The first name under personalInfo
should match "Ramana" (case insensitive).
The last name under personalInfo
should match "Maharshi" (case insensitive).
The driver's license number under personalInfo
should match "DL77108108" (case insensitive).
The credit rating from Pefindo, found under financialInfo
, should be equal to or greater than 650.
The balance in the savings account, under financialInfo
, should be equal to or greater than 55,000,000.