Skip to content

Should validators recognize schema meta-schema URIs using https on older drafts? #176

Answered by Relequestual
jimmylewis asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @jimmylewis, great question. Let's unpack it and answer it for you.

In JSON Schema, the value of $schema is a URI which identifies the "JSON Schema Dialect" with which the JSON Schema resource should be processed.

A "JSON Schema Dialect" is sort of like a version of JSON Schema, but it may use the same version of JSON Schema with some extensions also.

The URI which identifies draft-07 and previous uses http while 2019-09 and newer use https.
Note, I said the URI. For our purposes here, the URI is an exact specific string identifer.

Simply, in answer to your exact question, no. Meta-schema URIs, which are the same as "dialect" URIs, are fixed, exactly as is. The protocol doesn't matter.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jimmylewis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #175 on May 19, 2022 08:28.