2021-04-04 13:52:35 +02:00
|
|
|
{
|
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
|
|
|
"definitions": {
|
|
|
|
|
"object_check": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"dependencies": {
|
2021-05-16 13:43:40 +02:00
|
|
|
"type": ["title"],
|
|
|
|
|
"properties": ["type"],
|
|
|
|
|
"items": ["type"]
|
2021-04-04 13:52:35 +02:00
|
|
|
},
|
|
|
|
|
"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" }
|
|
|
|
|
]
|
|
|
|
|
}
|