jsschema icon indicating copy to clipboard operation
jsschema copied to clipboard

Support for draft-07?

Open handrews opened this issue 8 years ago • 1 comments

Hello! If this is still an active project, you may be interested to know that there have been new drafts published adding more features to JSON Schema and cleaning up some oddities.

  • draft-05 was a bugfix with no new features or meta-schema
  • draft-06 is not entirely backwards-compatible with draft-04 (id became $id, and exclusiveMaximum/exclusiveMinimum became numbers instead of boolean modifiers to maximum/minimums; also added contains, propertyNames, const, examples, and a few more formats)
  • draft-07 is backwards-compatible with draft-06 (added if/then/else, contentMediaType/contentEncoding, readOnly, writeOnly and numerous formats; some keywords like readOnly were moved over from hyper-schema b/c they had nothing to do with generating hyperlinks)
  • draft-08 will likely be published within the next six months

handrews avatar Dec 24 '17 20:12 handrews

@handrews thanks!

for my own reference: http://json-schema.org/draft-07/json-schema-release-notes.html http://json-schema.org/draft-06/json-schema-migration-faq.html

lestrrat avatar Jan 03 '18 10:01 lestrrat