247 lines
6.5 KiB
JSON
247 lines
6.5 KiB
JSON
{
|
|
"id": "shower",
|
|
"name": {
|
|
"en": "Shower",
|
|
"de": "Dusche",
|
|
"fr": "Douche",
|
|
"ca": "Dutxa"
|
|
},
|
|
"minzoom": 12,
|
|
"source": {
|
|
"osmTags": "amenity=shower"
|
|
},
|
|
"title": {
|
|
"render": {
|
|
"en": "Shower",
|
|
"de": "Dusche",
|
|
"ca": "Dutxa",
|
|
"fr": "Douche"
|
|
}
|
|
},
|
|
"presets": [
|
|
{
|
|
"title": {
|
|
"en": "a shower",
|
|
"de": "eine Dusche",
|
|
"fr": "une douche",
|
|
"ca": "una dutxa"
|
|
},
|
|
"description": {
|
|
"en": "A (public) shower",
|
|
"de": "Eine (öffentliche) Dusche",
|
|
"fr": "Une douche (publique)",
|
|
"ca": "Una dutxa (pública)"
|
|
},
|
|
"tags": [
|
|
"amenity=shower"
|
|
]
|
|
}
|
|
],
|
|
"tagRenderings": [
|
|
"images",
|
|
"level",
|
|
{
|
|
"id": "access",
|
|
"question": {
|
|
"en": "Who can use this shower?",
|
|
"de": "Wer darf diese Dusche nutzen?",
|
|
"fr": "Qui peut utiliser cette douche ?",
|
|
"ca": "Qui pot utilitzar aquesta dutxa?"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "access=yes",
|
|
"then": {
|
|
"en": "Anyone can use this shower",
|
|
"de": "Jeder darf diese Dusche nutzen",
|
|
"fr": "Tout le monde peut utiliser cette douche",
|
|
"ca": "Qualsevol pot utilitzar aquesta dutxa"
|
|
}
|
|
},
|
|
{
|
|
"if": "access=customers",
|
|
"then": {
|
|
"en": "Only customers can use this shower",
|
|
"de": "Nur Kunden dürfen diese Dusche nutzen",
|
|
"fr": "Seuls les clients peuvent utiliser cette douche",
|
|
"ca": "Només els clients poden utilitzar aquesta dutxa"
|
|
}
|
|
},
|
|
{
|
|
"if": "access=key",
|
|
"then": {
|
|
"en": "Accesible, but one has to ask for a key",
|
|
"de": "Zugänglich, aber man muss nach einem Schlüssel fragen",
|
|
"fr": "Accessible, mais il faut demander une clé",
|
|
"ca": "Accessible, però s'ha de demanar una clau"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "fee",
|
|
"question": {
|
|
"en": "Is there a fee for using this shower?",
|
|
"de": "Ist die Nutzung der Dusche kostenpflichtig?",
|
|
"ca": "És allà un cost per utilitzar aquesta dutxa?",
|
|
"fr": "Faut-il payer pour utiliser cette douche ?"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "fee=yes",
|
|
"then": {
|
|
"en": "There is a fee for using this shower",
|
|
"de": "Die Nutzung der Dusche ist kostenpflichtig",
|
|
"ca": "Hi ha un preu per utilitzar aquesta dutxa",
|
|
"fr": "Il faut payer pour utiliser cette douche"
|
|
}
|
|
},
|
|
{
|
|
"if": "fee=no",
|
|
"then": {
|
|
"en": "This shower is free to use",
|
|
"de": "Die Nutzung der Dusche ist kostenlos",
|
|
"ca": "Aquesta dutxa és gratuïta",
|
|
"fr": "Cette douche est gratuite"
|
|
},
|
|
"addExtraTags": [
|
|
"charge="
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "charge",
|
|
"condition": "fee=yes",
|
|
"question": {
|
|
"en": "How much does it cost to use this shower?",
|
|
"de": "Wie viel kostet es, diese Dusche zu nutzen?",
|
|
"fr": "Quel est le prix pour utiliser cette douche ?",
|
|
"ca": "Quant costa utilitzar aquesta dutxa?"
|
|
},
|
|
"freeform": {
|
|
"key": "charge",
|
|
"type": "string",
|
|
"placeholder": {
|
|
"en": "e.g. 1.50 EUR",
|
|
"de": "z.B. 1,50 EUR",
|
|
"fr": "par ex. 1,50 EUR",
|
|
"ca": "p. e. 1.50 eur"
|
|
}
|
|
},
|
|
"render": {
|
|
"en": "It costs {charge} to use this shower",
|
|
"de": "Es kostet {charge} um diese Dusche zu nutzen",
|
|
"ca": "Costa {charge} utilitzar aquesta dutxa",
|
|
"fr": "Le prix de cette douche est {charge}"
|
|
}
|
|
},
|
|
"opening_hours",
|
|
{
|
|
"id": "hot_water",
|
|
"question": {
|
|
"en": "Does this shower have hot water available?",
|
|
"de": "Verfügt diese Dusche über Warmwasser?",
|
|
"ca": "Aquesta dutxa té aigua calenta disponible?",
|
|
"fr": "Est-ce que cette douche propose de l'eau chaude ?"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "hot_water=yes",
|
|
"then": {
|
|
"en": "Hot water is available here",
|
|
"de": "Warmwasser ist hier verfügbar",
|
|
"ca": "Aquí hi ha aigua calenta disponible",
|
|
"fr": "De l'eau chaud est disponible"
|
|
}
|
|
},
|
|
{
|
|
"if": "hot_water=fee",
|
|
"then": {
|
|
"en": "Hot water is available here, but there is a fee",
|
|
"de": "Warmes Wasser ist hier verfügbar, aber kostenpflichtig",
|
|
"ca": "Aquí hi ha aigua calenta disponible, però té un cost",
|
|
"fr": "De l'eau chaud est disponible, mais il faut payer"
|
|
}
|
|
},
|
|
{
|
|
"if": "hot_water=no",
|
|
"then": {
|
|
"en": "There is no hot water available here",
|
|
"de": "Hier gibt es kein warmes Wasser",
|
|
"ca": "Aquí no hi ha aigua calenta disponible",
|
|
"fr": "Il n'y a pas d'eau chaude disponible"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"builtin": "payment-options-split",
|
|
"override": {
|
|
"condition": {
|
|
"or": [
|
|
"fee=yes",
|
|
"hot_water=fee"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"filter": [
|
|
"free",
|
|
{
|
|
"id": "hot-water",
|
|
"options": [
|
|
{
|
|
"question": {
|
|
"en": "Hot water available",
|
|
"de": "Warmwasser verfügbar",
|
|
"fr": "Eau chaude disponible",
|
|
"ca": "Aigua calenta disponible"
|
|
},
|
|
"osmTags": {
|
|
"or": [
|
|
"hot_water=yes",
|
|
"hot_water=fee"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"open_now"
|
|
],
|
|
"deletion": {
|
|
"softDeletionTags": {
|
|
"and": [
|
|
"disused:amenity={amenity}",
|
|
"amenity="
|
|
]
|
|
},
|
|
"neededChangesets": 1
|
|
},
|
|
"allowMove": {
|
|
"enableImproveAccuracy": true,
|
|
"enableRelocation": false
|
|
},
|
|
"mapRendering": [
|
|
{
|
|
"icon": "circle:white;./assets/layers/shower/shower.svg",
|
|
"location": [
|
|
"point",
|
|
"centroid"
|
|
],
|
|
"iconBadges": [
|
|
{
|
|
"if": "opening_hours~*",
|
|
"then": "icons.isOpen"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"description": {
|
|
"en": "A layer showing (public) showers",
|
|
"de": "Eine Ebene mit (öffentlichen) Duschen",
|
|
"fr": "Une couche affichant les douches (publiques)",
|
|
"ca": "Una capa que mostra dutxes (públiques)"
|
|
}
|
|
}
|