decentralized-identity / decentralized-identity/web5-spec
Test Vectors - Verifiable Credentials - JSON Schema
- Dominant language
- JavaScript
- Stars
- 8
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
This issue outlines gaps in testing of JSON Schema independently along with with its usage in conjunction with the W3C VCDM v1.1. Tasks may have partial test coverage today (linked if true). If sufficient test coverage already exists, please close the task and link the relevant test.
Tasks may need discussion on the best way to approach them. The goal is to create a set of language agnostic test vectors that give us sufficient confidence in maintaining interoperability of features between implementations.
## JSON Schema
https://tbd54566975.github.io/web5-spec/#json-schema
- [ ] Create JSON Schemas against Draft 7, 2020-12
- [ ] Validate data against JSON Schemas Draft 7, 2020-12
_Note this is generic JSON Schema functionality_
## VC JSON Schema
https://tbd54566975.github.io/web5-spec/#credential-schema
- [ ] Create a VC JSON Schema of type `JsonSchema` in a VC
- [ ] Resolve a JSON Schema from a web resource given its id
- [ ] Validate a given VC against a VC JSON Schema of type `JsonSchema`
Contributor guide
Assessment
This issue has not been assessed yet.