Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/w3c/vc-json-schema
A mechanism to use JSON Schemas with Verifiable Credentials
https://github.com/w3c/vc-json-schema
json json-schema schema standard vc-wg w3c
Last synced: 29 days ago
JSON representation
A mechanism to use JSON Schemas with Verifiable Credentials
- Host: GitHub
- URL: https://github.com/w3c/vc-json-schema
- Owner: w3c
- License: other
- Created: 2019-11-02T17:59:33.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-09-12T21:13:57.000Z (about 2 months ago)
- Last Synced: 2024-09-30T04:22:01.153Z (about 1 month ago)
- Topics: json, json-schema, schema, standard, vc-wg, w3c
- Language: HTML
- Homepage: https://w3c.github.io/vc-json-schema
- Size: 521 KB
- Stars: 26
- Watchers: 32
- Forks: 8
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
## Verifiable Credential JSON Schema 2023
This specification provides a mechanism for the use of [JSON Schemas](https://json-schema.org/) with [Verifiable Credentials](https://w3c.github.io/vc-data-model/). 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](CONTRIBUTING.md). While we prefer the creation of issues
and Pull Requests in the GitHub repository, discussions may also occur on the [public-credentials](http://lists.w3.org/Archives/Public/public-credentials/) mailing list.### Test Suite
A [docker](https://www.docker.com/)-based test suite for the specification can [be found here](https://github.com/w3c/vc-json-schema-test-suite). All implementers are encouraged to add to the test suite.
### Building
To build, we use [`respec`](https://respec.org/).
After installing `respec`, you can build the spec locally using the following command:
```sh
respec --localhost index.html out.html --verbose -e
```Next open up `out.html` in a web browser and review the document.
### Other useful links
* [Public group email archive](https://lists.w3.org/Archives/Public/public-credentials/)
* [VC Data Model](https://www.w3.org/TR/vc-data-model/)
* [JSON Schema](https://json-schema.org/)
* [Test Suite](https://github.com/w3c/vc-json-schema-test-suite)