add toilets=*

This commit is contained in:
Osmwithspace 2025-02-18 13:36:13 +01:00
parent 5754c09c93
commit e2cbb98a0b

View file

@ -188,6 +188,34 @@
}, },
"id": "capacity_persons" "id": "capacity_persons"
}, },
{
"question": {
"en": "Are toilets available?"
},
"mappings": [
{
"if": {
"and": [
"toilets=yes"
]
},
"then": {
"en": "Toilets are available."
}
},
{
"if": {
"and": [
"toilets=no"
]
},
"then": {
"en": "There are no toilets."
}
}
],
"id": "toilets"
},
"questions", "questions",
"mastodon" "mastodon"
], ],
@ -197,7 +225,7 @@
"options": [ "options": [
{ {
"question": { "question": {
"en": "fee" "en": "Fee"
} }
}, },
{ {
@ -304,6 +332,36 @@
"osmTags": "capacity:persons=" "osmTags": "capacity:persons="
} }
] ]
},
{
"id": "toilets_filter",
"options": [
{
"question": {
"en": "Toilets"
}
},
{
"question": {
"en": "Toilets are available."
},
"osmTags": {
"and": [
"toilets=yes"
]
}
},
{
"question": {
"en": "There are no toilets."
},
"osmTags": {
"and": [
"toilets=no"
]
}
}
]
} }
], ],
"allowMove": false, "allowMove": false,