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

support for draft-6 examples metadata #42

Open
proppy opened this issue Jan 28, 2020 · 1 comment
Open

support for draft-6 examples metadata #42

proppy opened this issue Jan 28, 2020 · 1 comment

Comments

@proppy
Copy link

proppy commented Jan 28, 2020

https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-7.4 added support for examples metadata.

It would be nice if GenSON provided a way to include the leaf scalar values passed to add_object as examples of the corresponding properties.

proppy added a commit to proppy/GenSON that referenced this issue Jan 28, 2020
@wolverdude
Copy link
Owner

This pending version (1.2) will open up the schema builder for extension, so this should be easy to implement as an add-on, and it could be activated through a seed schema.

I'm interested in implementing some more common keywords in the next version after this. I'm not sure this is common enough to make the cut, but I'll consider it. Please make the case for why it should be included.

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

Successfully merging a pull request may close this issue.

2 participants