Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
andresuribe87 opened this issue Aug 7, 2023 · 2 comments
Closed

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

andresuribe87 opened this issue Aug 7, 2023 · 2 comments
Assignees
Labels

Comments

@andresuribe87
Copy link
Collaborator

Currently, we define JsonSchema2023 term in https://www.w3.org/ns/credentials/v2 (which will be renamed to JsonSchema). That term defines [email protected] == "@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 decentralgabe self-assigned this Aug 7, 2023
@decentralgabe
Copy link
Collaborator

@andresuribe87 can this be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants