GenSON icon indicating copy to clipboard operation
GenSON copied to clipboard

support for draft-6 examples metadata

Open proppy opened this issue 5 years ago • 1 comments

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 avatar Jan 28 '20 05:01 proppy

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.

wolverdude avatar Apr 11 '20 20:04 wolverdude