This commit is contained in:
DaanV2
2021-04-04 13:52:35 +02:00
parent f23e8aae6b
commit 75bd662053
952 changed files with 1050 additions and 1026 deletions

29
.vscode/schema-validation.json vendored Normal file
View File

@@ -0,0 +1,29 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"definitions": {
"object_check": {
"type": "object",
"dependencies": {
"type": ["title", "description"]
},
"additionalProperties": {
"anyOf": [
{ "type": "object", "$ref": "#/definitions/object_check" },
{ "type": "array", "$ref": "#/definitions/array_check" }
]
}
},
"array_check": {
"items": {
"anyOf": [
{ "type": "object", "$ref": "#/definitions/object_check" },
{ "type": "array", "$ref": "#/definitions/array_check" }
]
}
}
},
"anyOf": [
{ "type": "object", "$ref": "#/definitions/object_check" },
{ "type": "array", "$ref": "#/definitions/array_check" }
]
}

3
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"json.schemas": [{ "fileMatch": ["source/**/*.json", "source/*.json"], "url": ".vscode/schema-validation.json" }]
}