Quick Start for Creating Custom Schema
Last updated
Last updated
Feel free to contact us if you have any ideas
Login in zkPass dev center, create a project and add a schema.
Click on "Add Custom Schema". If you haven't installed the zkPass Schema Validator, please click "install" to install the extension first.
Enter the schema name, select the category, paste your custom schema into the JSON schema field, and then click "Check Schema." The website specified in your schema JSON will be opened.
If the schema validation is successful, you will observe the 'Check Pass' button at the bottom.
Upon clicking the 'Check Pass' button, you will be redirected back to the zkPass dev center and presented with a success modal. Then, you can submit your schema.
Congratulations, you have successfully generated the schema. You can now seamlessly integrate it into your project.
If the schema validation is failed, you will observe the 'Check Error Message' button at the bottom.
Upon clicking the 'Check Error Message' button, you will be redirected back to the zkPass dev center and presented with a error modal. Then, you can correct your schema based on error messages.
Open the website you are targeting, navigate to the page containing the desired information, right-click on the page, and choose "inspect."
Select the "Network" tab, then refresh the page to capture all the HTTP requests. You can use the "Fetch/XHR" tag to filter the RESTful APIs.
Locate the APIs that provide the desired information. Click on each of them, then click "Headers" tabs to review the request details to identify the host and intercept for the schema.
Click "Preview" tag to review the response details to identify the assert and nullifier for the schema.