forked from MapComplete/MapComplete
Refactoring: split tagRenderingConfigJson into a version without and with questions
This commit is contained in:
parent
c89bb32c61
commit
9f81628f64
12 changed files with 544 additions and 2348 deletions
File diff suppressed because it is too large
Load diff
198
assets/questionabletagrenderingconfigmeta.json
Normal file
198
assets/questionabletagrenderingconfigmeta.json
Normal file
|
@ -0,0 +1,198 @@
|
|||
[
|
||||
{
|
||||
"path": [],
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"question"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"freeform"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"freeform",
|
||||
"type"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"freeform",
|
||||
"placeholder"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"freeform",
|
||||
"helperArgs"
|
||||
],
|
||||
"type": "array"
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"freeform",
|
||||
"addExtraTags"
|
||||
],
|
||||
"type": "array"
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"freeform",
|
||||
"inline"
|
||||
],
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"freeform",
|
||||
"default"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"multiAnswer"
|
||||
],
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"mappings"
|
||||
],
|
||||
"type": "array"
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"mappings",
|
||||
"then"
|
||||
],
|
||||
"typeHint": "rendered"
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"mappings",
|
||||
"icon"
|
||||
],
|
||||
"typeHint": "icon",
|
||||
"type": [
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"description": "The path to the icon\nType: icon",
|
||||
"type": "string"
|
||||
},
|
||||
"class": {
|
||||
"description": "Size of the image",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"class",
|
||||
"path"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"mappings",
|
||||
"icon",
|
||||
"path"
|
||||
],
|
||||
"typeHint": "icon",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"mappings",
|
||||
"icon",
|
||||
"class"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"mappings",
|
||||
"hideInAnswer"
|
||||
],
|
||||
"type": [
|
||||
{
|
||||
"$ref": "#/definitions/AndOrTagConfigJson"
|
||||
},
|
||||
{
|
||||
"type": [
|
||||
"string",
|
||||
"boolean"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"mappings",
|
||||
"ifnot"
|
||||
],
|
||||
"type": [
|
||||
{
|
||||
"$ref": "#/definitions/AndOrTagConfigJson"
|
||||
},
|
||||
{
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"mappings",
|
||||
"addExtraTags"
|
||||
],
|
||||
"type": "array"
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"id"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"group"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"labels"
|
||||
],
|
||||
"type": "array"
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"render"
|
||||
],
|
||||
"typeHint": "rendered"
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"condition"
|
||||
],
|
||||
"type": [
|
||||
{
|
||||
"$ref": "#/definitions/AndOrTagConfigJson"
|
||||
},
|
||||
{
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
|
@ -27,11 +27,6 @@
|
|||
],
|
||||
"typeHint": "rendered"
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"question"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"condition"
|
||||
|
@ -58,53 +53,6 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"freeform",
|
||||
"type"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"freeform",
|
||||
"placeholder"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"freeform",
|
||||
"helperArgs"
|
||||
],
|
||||
"type": "array"
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"freeform",
|
||||
"addExtraTags"
|
||||
],
|
||||
"type": "array"
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"freeform",
|
||||
"inline"
|
||||
],
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"freeform",
|
||||
"default"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"multiAnswer"
|
||||
],
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"mappings"
|
||||
|
@ -177,43 +125,5 @@
|
|||
"class"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"mappings",
|
||||
"hideInAnswer"
|
||||
],
|
||||
"type": [
|
||||
{
|
||||
"$ref": "#/definitions/AndOrTagConfigJson"
|
||||
},
|
||||
{
|
||||
"type": [
|
||||
"string",
|
||||
"boolean"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"mappings",
|
||||
"ifnot"
|
||||
],
|
||||
"type": [
|
||||
{
|
||||
"$ref": "#/definitions/AndOrTagConfigJson"
|
||||
},
|
||||
{
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": [
|
||||
"mappings",
|
||||
"addExtraTags"
|
||||
],
|
||||
"type": "array"
|
||||
}
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue