w3c / vc-json-schema

A mechanism to use JSON Schemas with Verifiable Credentials
https://w3c.github.io/vc-json-schema
Other
26 stars 8 forks source link

Require all implementers to support at least one common JSON Schema version #180

Closed decentralgabe closed 1 year ago

decentralgabe commented 1 year ago

@msporny has suggested requiring implementers to support at least one common JSON Schema version. I like the idea as it makes testability easier, and ensures broader success in adoption.

To achieve this text in the processing section should be updated from...

It is RECOMMENDED that implementers choose validators which possess this capability and are able to limit validation to the JSON schema specifications supported by this document.

to something like

It is REQUIRED that implementers choose validators which possess this capability and are able to limit validation to the JSON schema specifications supported by this document.

with the addition of language specifying which version all implementers must support.


As a separate, but related concern when the JSON Schema organization updates to a stable version identifier for long term support, we should require that version.