adiwg / mdJson-schemas

JSON schemas, examples, and templates for ADIwg metadata standards
http://www.adiwg.org/projects/
GNU Lesser General Public License v3.0
18 stars 15 forks source link

Update schemas to be draft-07 compatible #209

Open jlblcc opened 5 years ago

jlblcc commented 5 years ago

This mainly means updating to draft-06, since -07 is backwards compatible with -06. It appears the only thing that needs to happen is changing id to $id. See https://json-schema.org/draft-06/json-schema-release-notes.html

jlblcc commented 5 years ago

Well the json-schema gem is still stuck on draft-04. We'll either need to wait for at least https://github.com/ruby-json-schema/json-schema/pull/388 to be merged, fork it, or switch to another gem like https://github.com/davishmcclurg/json_schemer