w3c / vc-json-schema

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

JSON schema's `type` and VC.context.JsonSchema.type #194

Closed andresuribe87 closed 1 year ago

andresuribe87 commented 1 year ago

Currently, we define JsonSchema2023 term in https://www.w3.org/ns/credentials/v2 (which will be renamed to JsonSchema). That term defines JsonSchema2023.@context.type == "@type".

Separately, JSON Schema defines type in it's meta-schema (downloadable from https://json-schema.org/draft/2020-12/schema).

I believe this will mean that things break in JSON-LD world when you try to include the full JSON Schema document within the original VC.

decentralgabe commented 1 year ago

this is being addressed:

decentralgabe commented 1 year ago

@andresuribe87 can this be closed?