Skip to content

A mechanism to use JSON Schemas with Verifiable Credentials

License

Notifications You must be signed in to change notification settings

w3c/vc-json-schema

Repository files navigation

Verifiable Credential JSON Schema 2023

This specification provides a mechanism for the use of JSON Schemas with Verifiable Credentials. A significant part of the integrity of a Verifiable Credential comes from the ability to structure its contents so that all three parties — issuer, holder, verifier — may have a consistent mechanism of trust in interpreting the data that they are provided with. We introducing a new data model for an object to facilitate backing Credentials with JSON Schemas that we call a Credential Schema.

https://w3c.github.io/vc-json-schema/

We encourage contributions meeting the Contribution Guidelines. While we prefer the creation of issues and Pull Requests in the GitHub repository, discussions may also occur on the public-credentials mailing list.

Test Suite

A docker-based test suite for the specification can be found here. All implementers are encouraged to add to the test suite.

Building

To build, we use respec.

After installing respec, you can build the spec locally using the following command:

respec --localhost index.html out.html --verbose -e

Next open up out.html in a web browser and review the document.

Other useful links