-
-
Notifications
You must be signed in to change notification settings - Fork 69
Description
Draft 2020-12 was the first version of JSON Schema which uses https:// as the protocol in the meta-schema URI (section 5). However, I have encountered several Visual Studio users who have tried using the https protocol for older drafts (e.g. "$schema": "https://json-schema.org/draft-07/schema#"). The https URIs are also suggested from the SchemaStore.org catalog (example).
Strictly speaking, these are invalid as they do not match the schema. However, at https://json-schema.org/specification-links.html#draft-2019-09-formerly-known-as-draft-8 it says:
NOTE: All meta-schema URIs now use https://. While currently also available over plain HTTP due to the limitations of GitHub pages and the need to keep prior drafts available over HTTP, only the HTTPS URIs should be used.
Is this note a supplementary change to the schemas, or simply a note on the URI for serving the validation schema? Should validators accept $schema values using https for older draft specifications?