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

Update JSON Schema to YAML and OAS3.0 #189

Closed
OR13 opened this issue Aug 3, 2021 · 6 comments
Closed

Update JSON Schema to YAML and OAS3.0 #189

OR13 opened this issue Aug 3, 2021 · 6 comments

Comments

@OR13
Copy link
Collaborator

OR13 commented Aug 3, 2021

RESOLVED: The trace vocab will use OAS3.0 Schemas represented in YAML, instead of JSON Schema represented in JSON.

@TallTed
Copy link
Contributor

TallTed commented Aug 3, 2021

per #186

@tobek
Copy link

tobek commented Nov 11, 2021

I'm sure I'm missing some context here, but does this proposal supercede #184 and #185, or will JSON Schemas still be maintained (and JSON-LD contexts still generated from them)?

For our (@SertoID) work we plan to keep using JSON Schema for validation and VC credentialSchema field purposes, and I'm curious what other projects are planning here.

@OR13
Copy link
Collaborator Author

OR13 commented Nov 11, 2021

@tobek I think for this repo, we would switch to yaml, but the underlying library would continue to support YAML or JSON.... I suspect we can even make the $comment vs $linkedData a backward compatible feature of the tool.

similar to how OAS3.0 works today, I think constraining data shape with YAML or JSON schemas will be part of the next vc data model, and hopefully better documented in the next version.

@OR13
Copy link
Collaborator Author

OR13 commented Nov 11, 2021

but to be clear, we are hoping to switch to yaml representation of JSON schema here, to make interactions with OAS3.0 easier.

@OR13
Copy link
Collaborator Author

OR13 commented Nov 15, 2021

Upstream implementation updated to support this: transmute-industries/verifiable-data#118

@OR13
Copy link
Collaborator Author

OR13 commented Jan 10, 2022

This is done, I am closing.

@OR13 OR13 closed this as completed Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants