Skip to content

Commit

Permalink
Split open question
Browse files Browse the repository at this point in the history
  • Loading branch information
wielandb committed Jul 9, 2024
1 parent a3056e0 commit 64f0431
Showing 1 changed file with 39 additions and 9 deletions.
48 changes: 39 additions & 9 deletions assets/question_catalog/definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -1708,24 +1708,20 @@
"description": "@doorOpenDescription"
},
"answer": {
"type": "List",
"type": "Bool",
"input": [
{
"name": "@doorOpenNoOption",
"image": "assets/question_catalog/images/door_open_no.jpg",
"osm_tags": {
"open": "no"
}
},
{
"name": "@doorOpenFullOption",
"name": "@doorOpenYesOption",
"image": "assets/question_catalog/images/door_open_yes.jpg",
"osm_tags": {
"open": "full"
}
},
{
"name": "@doorOpenPartialOption",
"osm_tags": {
"open": "partial"
"open": "yes"
}
}
]
Expand Down Expand Up @@ -1803,6 +1799,40 @@
}
]
},
{
"question": {
"name": "@doorOpeningDegreeName",
"text": "@doorOpeningDegreeText",
"description": "@doorOpeningDegreeDescription"
},
"answer": {
"type": "List",
"input": [
{
"name": "@doorOpeningDegreeFullOption",
"image": "assets/question_catalog/images/door_opening_full.jpg",
"osm_tags": {
"open": "full"
}
},
{
"name": "@doorOpeningDegreePartialOption",
"image": "assets/question_catalog/images/door_opening_partial.jpg",
"osm_tags": {
"open": "partial"
}
}
]
},
"conditions": [
{
"osm_tags": {
"open": "yes"
},
"osm_element": "Node"
}
]
},
{
"question": {
"name": "@doorOpeningName",
Expand Down

0 comments on commit 64f0431

Please sign in to comment.