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

Changed draft-06 url back from /draft/schema# to /draft-06/schema# #388

Merged
merged 2 commits into from
Apr 24, 2023

Conversation

iainbeeston
Copy link
Contributor

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
87e7b0a, 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.

@Samze
Copy link

Samze commented Aug 25, 2017

We are interested in seeing this merged!

@utako
Copy link

utako commented Aug 31, 2017

I'm also very interested in seeing this merged.

@Albertoimpl
Copy link

Yes, I am also very interested!

@handrews
Copy link

@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
87e7b0a, 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.
CHANGELOG.md Outdated Show resolved Hide resolved
@chelnak chelnak force-pushed the update-draft06-meta-schema branch from 8629afe to cd3ac64 Compare April 24, 2023 09:12
@bastelfreak bastelfreak merged commit c8e6b5d into voxpupuli:master Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants