276 lines
7.6 KiB
JSON
276 lines
7.6 KiB
JSON
{
|
|
"id": "shower",
|
|
"name": {
|
|
"en": "Shower",
|
|
"de": "Dusche",
|
|
"fr": "Douche",
|
|
"ca": "Dutxa",
|
|
"cs": "Sprcha"
|
|
},
|
|
"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)",
|
|
"cs": "Vrstva zobrazující (veřejné) sprchy"
|
|
},
|
|
"source": {
|
|
"osmTags": "amenity=shower"
|
|
},
|
|
"minzoom": 8,
|
|
"title": {
|
|
"render": {
|
|
"en": "Shower",
|
|
"de": "Dusche",
|
|
"ca": "Dutxa",
|
|
"fr": "Douche",
|
|
"cs": "Sprcha"
|
|
}
|
|
},
|
|
"pointRendering": [
|
|
{
|
|
"location": [
|
|
"point",
|
|
"centroid"
|
|
],
|
|
"iconBadges": [
|
|
{
|
|
"if": "opening_hours~*",
|
|
"then": "icons.isOpen"
|
|
}
|
|
],
|
|
"marker": [
|
|
{
|
|
"icon": "circle",
|
|
"color": "white"
|
|
},
|
|
{
|
|
"icon": "./assets/layers/shower/shower.svg"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"lineRendering": [],
|
|
"presets": [
|
|
{
|
|
"title": {
|
|
"en": "a shower",
|
|
"de": "eine Dusche",
|
|
"fr": "une douche",
|
|
"ca": "una dutxa",
|
|
"cs": "sprcha"
|
|
},
|
|
"description": {
|
|
"en": "A (public) shower",
|
|
"de": "Eine (öffentliche) Dusche",
|
|
"fr": "Une douche (publique)",
|
|
"ca": "Una dutxa (pública)",
|
|
"cs": "(veřejná) sprcha"
|
|
},
|
|
"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?",
|
|
"cs": "Kdo může tuto sprchu používat?"
|
|
},
|
|
"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",
|
|
"cs": "Tuto sprchu může použít každý"
|
|
}
|
|
},
|
|
{
|
|
"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",
|
|
"cs": "Tuto sprchu mohou používat pouze zákazníci"
|
|
}
|
|
},
|
|
{
|
|
"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",
|
|
"cs": "Přístupné, ale člověk si musí vyžádat klíč"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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 ?",
|
|
"cs": "Platí se za použití této sprchy?"
|
|
},
|
|
"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",
|
|
"cs": "Za použití této sprchy se platí"
|
|
}
|
|
},
|
|
{
|
|
"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",
|
|
"cs": "Tato sprcha je k použití zdarma"
|
|
},
|
|
"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?",
|
|
"cs": "Kolik stojí použití této sprchy?"
|
|
},
|
|
"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",
|
|
"cs": "např. 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}",
|
|
"cs": "Použití této sprchy stojí {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 ?",
|
|
"cs": "Má tato sprcha k dispozici teplou vodu?"
|
|
},
|
|
"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",
|
|
"cs": "Je zde k dispozici teplá voda"
|
|
}
|
|
},
|
|
{
|
|
"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",
|
|
"cs": "Teplá voda je zde k dispozici, ale je za poplatek"
|
|
}
|
|
},
|
|
{
|
|
"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",
|
|
"cs": "Není zde k dispozici teplá voda"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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",
|
|
"cs": "Teplá voda k dispozici"
|
|
},
|
|
"osmTags": {
|
|
"or": [
|
|
"hot_water=yes",
|
|
"hot_water=fee"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"open_now"
|
|
],
|
|
"deletion": {
|
|
"softDeletionTags": {
|
|
"and": [
|
|
"disused:amenity={amenity}",
|
|
"amenity="
|
|
]
|
|
},
|
|
"neededChangesets": 1
|
|
},
|
|
"allowMove": {
|
|
"enableImproveAccuracy": true,
|
|
"enableRelocation": false
|
|
}
|
|
}
|