[community-group] Reserve top-level `$schema` property? (#107)

natemoo-re has just created a new issue for https://github.com/design-tokens/community-group:

== Reserve top-level `$schema` property? ==
Visual Studio Code [supports](https://code.visualstudio.com/docs/languages/json#_mapping-in-the-json) a top-level `$schema` property which provides their JSON Language Server with automatic completions, hovers, etc. While it is not part of the [JSON Schema specification](https://json-schema.org/draft/2020-12/json-schema-core.html), it is a feature that I see being used with increasing frequency. See [schemastore.org](https://www.schemastore.org/json) for examples of tools which have public schemas.

IMO calling this property out in the specification would be wise, even just as something that tools should accept but ignore. I've definitely encountered tools that have trouble validating or parsing a JSON file when `$schema` is used and it can be a pain.

Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/107 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 21 January 2022 04:05:08 UTC