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

Corrected the draf6 schema id #376

Merged
merged 1 commit into from
Mar 8, 2017

Conversation

iainbeeston
Copy link
Contributor

Draft6 is a work in progress. The maintainers for now are using the
schema id "http://json-schema.org/draft/schema#". Previously I had
assumed it would follow the naming convention of the previous
drafts (and include the version number in the name). Unfortunately I
was wrong, so now I've updated it to use the correct schema id.

I've also updated the meta schema to the latest version.

Draft6 is a work in progress. The maintainers for now are using the
schema id "http://json-schema.org/draft/schema#". Previously I had
assumed it would follow the naming convention of the previous
drafts (and include the version number in the name). Unfortunately I
was wrong, so now I've updated it to use the correct schema id.

I've also updated the meta schema to the latest version.
@iainbeeston iainbeeston force-pushed the update-draft6-schema-id branch from d7f23cb to 87e7b0a Compare March 8, 2017 08:48
@iainbeeston iainbeeston merged commit ad53a19 into voxpupuli:master Mar 8, 2017
@iainbeeston iainbeeston deleted the update-draft6-schema-id branch March 8, 2017 09:59
smortex added a commit to smortex/pdk that referenced this pull request Oct 15, 2019
Version 2.8.0 of the json-schema gem assumed the WIP draft 6 URI would
be "http://json-schema.org/draft-06/schema#".  It happens that it is in
fact "http://json-schema.org/draft/schema#".

This was fixed in:
voxpupuli/json-schema#376

json-schema PATCH vesion was bumped, so that version 2.8.1 include this
fix.
smortex added a commit to smortex/pdk that referenced this pull request Oct 15, 2019
Version 2.8.0 of the json-schema gem assumed the WIP draft 6 URI would
be "http://json-schema.org/draft-06/schema#".  It happens that it is in
fact "http://json-schema.org/draft/schema#".

This was fixed in:
voxpupuli/json-schema#376

json-schema PATCH vesion was bumped, so that version 2.8.1 include this
fix.

Instead of depending on a buggy version of this gem and using the same
wrong URI, switch to the fixed version of the gem and use the expected
URI.
smortex added a commit to smortex/pdk that referenced this pull request Oct 23, 2019
Version 2.8.0 of the json-schema gem assumed the WIP draft 6 URI would
be "http://json-schema.org/draft-06/schema#".  It happens that it is in
fact "http://json-schema.org/draft/schema#".

This was fixed in:
voxpupuli/json-schema#376

json-schema PATCH vesion was bumped, so that version 2.8.1 include this
fix.

Instead of depending on a buggy version of this gem and using the same
wrong URI, switch to the fixed version of the gem and use the expected
URI.
smortex added a commit to smortex/pdk that referenced this pull request Oct 25, 2019
Version 2.8.0 of the json-schema gem assumed the WIP draft 6 URI would
be "http://json-schema.org/draft-06/schema#".  It happens that it is in
fact "http://json-schema.org/draft/schema#".  While this issue was fixe
in voxpupuli/json-schema#376 and json-schema 2.8.1 was released
with this fix, it does not fix our problem.

But since we do not depend on draft-06 features, downgrade to draft-04
(there is no draft-05).
@exterm
Copy link

exterm commented Oct 24, 2023

http://json-schema.org/draft/schema is a 404, while http://json-schema.org/draft-06/schema# returns a schema. Are you sure this change makes sense?

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

Successfully merging this pull request may close these issues.

2 participants