Add extra questions to ATM
This commit is contained in:
parent
b540fa4c8b
commit
a8c9de81f9
1 changed files with 108 additions and 1 deletions
|
@ -73,7 +73,100 @@
|
|||
"en": "The ATM is operated by {operator}"
|
||||
}
|
||||
},
|
||||
"opening_hours"
|
||||
"opening_hours",
|
||||
{
|
||||
"id": "cash_out",
|
||||
"question": {
|
||||
"en": "Can you withdraw cash from this ATM?"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "cash_out=",
|
||||
"then": {
|
||||
"en": "You can withdraw cash from this ATM"
|
||||
},
|
||||
"hideInAnswer": true
|
||||
},
|
||||
{
|
||||
"if": "cash_out=yes",
|
||||
"then": {
|
||||
"en": "You can withdraw cash from this ATM"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "cash_out=no",
|
||||
"then": {
|
||||
"en": "You cannot withdraw cash from this ATM"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "cash_in",
|
||||
"question": {
|
||||
"en": "Can you deposit cash into this ATM?"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "cash_in=",
|
||||
"then": {
|
||||
"en": "You probably cannot deposit cash into this ATM"
|
||||
},
|
||||
"hideInAnswer": true
|
||||
},
|
||||
{
|
||||
"if": "cash_in=yes",
|
||||
"then": {
|
||||
"en": "You can deposit cash into this ATM"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "cash_in=no",
|
||||
"then": {
|
||||
"en": "You cannot deposit cash into this ATM"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "speech_output",
|
||||
"question": {
|
||||
"en": "Does this ATM have speech output for visually impaired users?"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "speech_output=yes",
|
||||
"then": {
|
||||
"en": "This ATM has speech output, usually available through a headphone jack"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "speech_output=no",
|
||||
"then": {
|
||||
"en": "This ATM does not have speech output"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "speech_output_language",
|
||||
"condition": "speech_output=yes",
|
||||
"render": {
|
||||
"special": {
|
||||
"type": "language_chooser",
|
||||
"key": "speech_output",
|
||||
"question": {
|
||||
"en": "In which languages does this ATM have speech output?"
|
||||
},
|
||||
"render_list_item": {
|
||||
"en": "This ATM has speech output in {language():font-bold}"
|
||||
},
|
||||
"render_single_language": {
|
||||
"en": "This ATM has speech output in {language():font-bold}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"mapRendering": [
|
||||
{
|
||||
|
@ -83,5 +176,19 @@
|
|||
"centroid"
|
||||
]
|
||||
}
|
||||
],
|
||||
"filter": [
|
||||
"open_now",
|
||||
{
|
||||
"id": "speech_output",
|
||||
"options": [
|
||||
{
|
||||
"question": {
|
||||
"en": "With speech output"
|
||||
},
|
||||
"osmTags": "speech_output=yes"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue