Closed iainbeeston closed 1 year ago
We are interested in seeing this merged!
I'm also very interested in seeing this merged.
Yes, I am also very interested!
@iainbeeston the official draft-06 meta-schema URI is http://json-schema.org/draft-06/schema#
I'm not sure why it wasn't available at the time, I did not do the deployment of that draft, but it has been there for some time now. If you use http://json-schema.org/draft/schema# that's now draft-07 (I'd love to get rid of the unnumbered URI but too many people depend on it apparently).
Originally, when I added draft6 support there were draft06 tests in the common test suite, but no meta schema was available, so I assumed the url would match the format of older drafts (ie. http://json-schema.org/draft-06/schema#)
Then when the first version of the draft6 meta schema was released, it's official url was http://json-schema.org/draft/schema# (although it wasn't available on json-schema.org, it was only available on github.com).
Now the draft6 metaschema is being hosted on json-schema.org, and the url matches what I'd originally predicted: http://json-schema.org/draft-06/schema#, so I've changed it back again.
Because of that, this is largely a revert for 87e7b0aecd89ce3ff2c1dcd7dd524251cff0a464, but I've also updated the meta schema to the latest version and updated the
update_meta_schemas
rake task to remove the redirect to github.com to download the meta schema.