2021-01-09 02:12:31 +01:00
|
|
|
{
|
|
|
|
"id": "bicycle_tube_vending_machine",
|
|
|
|
"name": {
|
|
|
|
"en": "Bicycle tube vending machine"
|
|
|
|
},
|
|
|
|
"title": {
|
|
|
|
"render": {
|
|
|
|
"en": "Bicycle tube vending machine"
|
|
|
|
},
|
2021-01-09 02:28:29 +01:00
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": "name~*",
|
|
|
|
"then": "Bicycle tube vending machine {name}"
|
|
|
|
}
|
|
|
|
]
|
2021-01-09 02:12:31 +01:00
|
|
|
},
|
2021-01-09 02:28:29 +01:00
|
|
|
"titleIcons": [
|
|
|
|
{
|
|
|
|
"render": "<a href='https://fietsambassade.gent.be/' target='_blank'><img src='./assets/themes/cyclofix/fietsambassade_gent_logo_small.svg'/></a>",
|
|
|
|
"condition": "operator=De Fietsambassade Gent"
|
|
|
|
},
|
|
|
|
"defaults"
|
|
|
|
],
|
2021-01-09 02:12:31 +01:00
|
|
|
"icon": {
|
|
|
|
"render": "pin:#ffffff;./assets/layers/bicycle_tube_vending_machine/pinIcon.svg"
|
|
|
|
},
|
|
|
|
"iconOverlays": [
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"or": [
|
|
|
|
"operational_status=broken",
|
|
|
|
"operational_status=closed"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": "close:#c33",
|
|
|
|
"badge": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"iconSize": "50,50,bottom",
|
|
|
|
"overpassTags": {
|
|
|
|
"and": [
|
|
|
|
"amenity=vending_machine",
|
|
|
|
"vending~.*bicycle_tube.*"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"minzoom": 13,
|
|
|
|
"wayHandling": 2,
|
|
|
|
"presets": [
|
|
|
|
{
|
|
|
|
"title": {
|
|
|
|
"en": "Bicycle tube vending machine"
|
|
|
|
},
|
|
|
|
"tags": [
|
|
|
|
"amenity=vending_machine",
|
|
|
|
"vending=bicycle_tube",
|
|
|
|
"vending:bicycle_tube=yes"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"color": "#6bc4f7",
|
|
|
|
"tagRenderings": [
|
|
|
|
"images",
|
|
|
|
{
|
|
|
|
"#": "Still in use?",
|
|
|
|
"question": {
|
|
|
|
"en": "Is this vending machine still operational?"
|
|
|
|
},
|
|
|
|
"render": {
|
|
|
|
"en": "The operational status is <i>{operational_status</i>"
|
|
|
|
},
|
|
|
|
"freeform": {
|
|
|
|
"key": "operational_status"
|
|
|
|
},
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": "operational_status=",
|
|
|
|
"then": {
|
|
|
|
"en": "This vending machine works"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "operational_status=broken",
|
|
|
|
"then": {
|
|
|
|
"en": "This vending machine is broken"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "operational_status=closed",
|
|
|
|
"then": {
|
|
|
|
"en": "This vending machine is closed"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"question": "How much does a bicycle tube cost?",
|
|
|
|
"render": "A bicycle tube costs {charge}",
|
|
|
|
"freeform": {
|
|
|
|
"key": "charge"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"question": "How can one pay at this tube vending machine?",
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": "payment:coins=yes",
|
|
|
|
"then": "Payment with coins is possible"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "payment:notes=yes",
|
|
|
|
"then": "Payment with notes is possible"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "payment:cards=yes",
|
|
|
|
"then": "Payment with cards is possible"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"multiAnswer": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"question": "Which brand of tubes are sold here?",
|
|
|
|
"freeform": {
|
|
|
|
"key": "brand"
|
|
|
|
},
|
2021-01-12 20:46:01 +01:00
|
|
|
"render": "{brand} tubes are sold here",
|
2021-01-09 02:12:31 +01:00
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": "brand=Continental",
|
|
|
|
"then": "Continental tubes are sold here"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "brand=Schwalbe",
|
|
|
|
"then": "Schwalbe tubes are sold here"
|
|
|
|
}
|
|
|
|
],
|
2021-01-17 23:06:05 +01:00
|
|
|
"multiAnswer": true
|
2021-01-09 02:32:05 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"question": "Who maintains this vending machine?",
|
2021-01-12 20:46:01 +01:00
|
|
|
"render": "This vending machine is maintained by {operator}",
|
2021-01-09 02:32:05 +01:00
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": "operator=Schwalbe",
|
|
|
|
"then": "Maintained by Schwalbe"
|
2021-01-12 20:46:01 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "operator=Continental",
|
|
|
|
"then": "Maintained by Continental"
|
2021-01-09 02:32:05 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"freeform": {
|
|
|
|
"key": "operator"
|
|
|
|
}
|
2021-01-09 02:12:31 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"question": "Are other bicycle bicycle accessories sold here?",
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": "vending:bicycle_light=yes",
|
|
|
|
"then": "Bicycle lights are sold here"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "vending:gloves=yes",
|
|
|
|
"then": "Gloves are sold here"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "vending:bicycle_repair_kit=yes",
|
|
|
|
"then": "Bicycle repair kits are sold here"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "vending:bicycle_pump=yes",
|
|
|
|
"then": "Bicycle pumps are sold here"
|
2021-01-12 20:46:01 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "vending:bicycle_lock=yes",
|
|
|
|
"then": "Bicycle locks are sold here"
|
2021-01-09 02:12:31 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"multiAnswer": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|