Skip to content

Test Vectors - Verifiable Credentials - JSON Schema #170

@thereisnogabe

Description

@thereisnogabe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    testingrelated to new or existing testsvcrelated to verifiable credentials

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions