forked from MapComplete/MapComplete
Add json schema files for the layout-config.json
This commit is contained in:
parent
bb283b59a4
commit
e15ec387a2
25 changed files with 7340 additions and 0 deletions
37
Docs/Schemas/AndOrTagConfigJsonJSC.ts
Normal file
37
Docs/Schemas/AndOrTagConfigJsonJSC.ts
Normal file
|
@ -0,0 +1,37 @@
|
|||
export default {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$ref": "#/definitions/AndOrTagConfigJson",
|
||||
"definitions": {
|
||||
"AndOrTagConfigJson": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"and": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/AndOrTagConfigJson"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"or": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/AndOrTagConfigJson"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue