mirror of
https://github.com/chenasraf/schemastore.git
synced 2026-05-18 01:58:58 +00:00
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:
@@ -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"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user