Mark *.schema.json as JSON schema draft 7 file (#2396)

It was registered as JSON-API, but the spec doesn’t appear to define
this file pattern.

https://github.com/json-api/json-api/search?q=schema.json

VSCode defines `*.schema.json` as a file match for JSON schema draft 7
files. It’s probably a good idea to match this.

https://github.com/microsoft/vscode/blob/1.70.0/extensions/json-language-features/package.json#L143
This commit is contained in:
Remco Haszing
2022-08-08 19:02:49 +02:00
committed by GitHub
parent c71793b349
commit 06882015c7

View File

@@ -1637,7 +1637,6 @@
{
"name": "JSON-API",
"description": "JSON API document",
"fileMatch": ["*.schema.json"],
"url": "https://jsonapi.org/schema"
},
{
@@ -3045,6 +3044,7 @@
{
"name": "JSON Schema Draft 7",
"description": "Meta-validation schema for JSON Schema Draft 7",
"fileMatch": ["*.schema.json"],
"url": "https://json-schema.org/draft-07/schema"
},
{