mapcomplete/assets/layers/shower/shower.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

277 lines
7.6 KiB
JSON
Raw Normal View History

2023-06-20 19:51:19 +02:00
{
"id": "shower",
"name": {
2023-07-15 19:00:23 +02:00
"en": "Shower",
2023-09-16 18:52:42 +02:00
"de": "Dusche",
2023-09-21 02:16:39 +02:00
"fr": "Douche",
2023-10-30 13:44:27 +01:00
"ca": "Dutxa",
"cs": "Sprcha"
2023-06-20 19:51:19 +02:00
},
"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"
},
2023-06-20 19:51:19 +02:00
"source": {
"osmTags": "amenity=shower"
},
"minzoom": 8,
2023-06-20 19:51:19 +02:00
"title": {
"render": {
2023-07-15 19:00:23 +02:00
"en": "Shower",
2023-09-16 18:52:42 +02:00
"de": "Dusche",
"ca": "Dutxa",
2023-10-30 13:44:27 +01:00
"fr": "Douche",
"cs": "Sprcha"
2023-06-20 19:51:19 +02:00
}
},
"pointRendering": [
{
"location": [
"point",
"centroid"
],
"iconBadges": [
{
"if": "opening_hours~*",
"then": "icons.isOpen"
}
],
"marker": [
{
"icon": "circle",
"color": "white"
},
{
"icon": "./assets/layers/shower/shower.svg"
}
]
}
],
"lineRendering": [],
2023-06-27 21:29:41 +02:00
"presets": [
{
"title": {
2023-07-15 19:00:23 +02:00
"en": "a shower",
2023-09-16 18:52:42 +02:00
"de": "eine Dusche",
2023-09-21 02:16:39 +02:00
"fr": "une douche",
2023-10-30 13:44:27 +01:00
"ca": "una dutxa",
"cs": "sprcha"
2023-06-27 21:29:41 +02:00
},
"description": {
2023-07-15 19:00:23 +02:00
"en": "A (public) shower",
2023-09-16 18:52:42 +02:00
"de": "Eine (öffentliche) Dusche",
2023-09-21 02:16:39 +02:00
"fr": "Une douche (publique)",
2023-10-30 13:44:27 +01:00
"ca": "Una dutxa (pública)",
"cs": "(veřejná) sprcha"
2023-06-27 21:29:41 +02:00
},
"tags": [
"amenity=shower"
]
}
],
2023-06-20 19:51:19 +02:00
"tagRenderings": [
"images",
"level",
{
"id": "access",
"question": {
2023-07-15 19:00:23 +02:00
"en": "Who can use this shower?",
2023-09-16 18:52:42 +02:00
"de": "Wer darf diese Dusche nutzen?",
2023-09-21 02:16:39 +02:00
"fr": "Qui peut utiliser cette douche ?",
2023-10-30 13:44:27 +01:00
"ca": "Qui pot utilitzar aquesta dutxa?",
"cs": "Kdo může tuto sprchu používat?"
2023-06-20 19:51:19 +02:00
},
"mappings": [
{
"if": "access=yes",
"then": {
2023-07-15 19:00:23 +02:00
"en": "Anyone can use this shower",
2023-09-16 18:52:42 +02:00
"de": "Jeder darf diese Dusche nutzen",
2023-09-21 02:16:39 +02:00
"fr": "Tout le monde peut utiliser cette douche",
2023-10-30 13:44:27 +01:00
"ca": "Qualsevol pot utilitzar aquesta dutxa",
"cs": "Tuto sprchu může použít každý"
2023-06-20 19:51:19 +02:00
}
},
{
"if": "access=customers",
"then": {
2023-07-15 19:00:23 +02:00
"en": "Only customers can use this shower",
2023-09-16 18:52:42 +02:00
"de": "Nur Kunden dürfen diese Dusche nutzen",
2023-09-21 02:16:39 +02:00
"fr": "Seuls les clients peuvent utiliser cette douche",
2023-10-30 13:44:27 +01:00
"ca": "Només els clients poden utilitzar aquesta dutxa",
"cs": "Tuto sprchu mohou používat pouze zákazníci"
2023-06-20 19:51:19 +02:00
}
},
{
"if": "access=key",
"then": {
2023-07-15 19:00:23 +02:00
"en": "Accesible, but one has to ask for a key",
2023-09-16 18:52:42 +02:00
"de": "Zugänglich, aber man muss nach einem Schlüssel fragen",
2023-09-21 02:16:39 +02:00
"fr": "Accessible, mais il faut demander une clé",
2023-10-30 13:44:27 +01:00
"ca": "Accessible, però s'ha de demanar una clau",
"cs": "Přístupné, ale člověk si musí vyžádat klíč"
2023-06-20 19:51:19 +02:00
}
}
]
},
{
"id": "fee",
"question": {
2023-07-15 19:00:23 +02:00
"en": "Is there a fee for using this shower?",
2023-09-16 18:52:42 +02:00
"de": "Ist die Nutzung der Dusche kostenpflichtig?",
"ca": "És allà un cost per utilitzar aquesta dutxa?",
2023-10-30 13:44:27 +01:00
"fr": "Faut-il payer pour utiliser cette douche ?",
"cs": "Platí se za použití této sprchy?"
2023-06-20 19:51:19 +02:00
},
"mappings": [
{
"if": "fee=yes",
"then": {
2023-07-15 19:00:23 +02:00
"en": "There is a fee for using this shower",
2023-09-16 18:52:42 +02:00
"de": "Die Nutzung der Dusche ist kostenpflichtig",
"ca": "Hi ha un preu per utilitzar aquesta dutxa",
2023-10-30 13:44:27 +01:00
"fr": "Il faut payer pour utiliser cette douche",
"cs": "Za použití této sprchy se platí"
2023-06-20 19:51:19 +02:00
}
},
{
"if": "fee=no",
"then": {
2023-07-15 19:00:23 +02:00
"en": "This shower is free to use",
2023-09-16 18:52:42 +02:00
"de": "Die Nutzung der Dusche ist kostenlos",
"ca": "Aquesta dutxa és gratuïta",
2023-10-30 13:44:27 +01:00
"fr": "Cette douche est gratuite",
"cs": "Tato sprcha je k použití zdarma"
},
"addExtraTags": [
"charge="
]
2023-06-20 19:51:19 +02:00
}
]
},
{
"id": "charge",
"condition": "fee=yes",
"question": {
2023-07-15 19:00:23 +02:00
"en": "How much does it cost to use this shower?",
2023-09-16 18:52:42 +02:00
"de": "Wie viel kostet es, diese Dusche zu nutzen?",
2023-09-21 02:16:39 +02:00
"fr": "Quel est le prix pour utiliser cette douche ?",
2023-10-30 13:44:27 +01:00
"ca": "Quant costa utilitzar aquesta dutxa?",
"cs": "Kolik stojí použití této sprchy?"
2023-06-20 19:51:19 +02:00
},
"freeform": {
"key": "charge",
"type": "string",
"placeholder": {
2023-07-15 19:00:23 +02:00
"en": "e.g. 1.50 EUR",
2023-09-16 18:52:42 +02:00
"de": "z.B. 1,50 EUR",
2023-09-21 02:16:39 +02:00
"fr": "par ex. 1,50 EUR",
2023-10-30 13:44:27 +01:00
"ca": "p. e. 1.50 eur",
"cs": "např. 1,50 EUR"
2023-06-20 19:51:19 +02:00
}
},
"render": {
2023-07-15 19:00:23 +02:00
"en": "It costs {charge} to use this shower",
2023-09-16 18:52:42 +02:00
"de": "Es kostet {charge} um diese Dusche zu nutzen",
"ca": "Costa {charge} utilitzar aquesta dutxa",
2023-10-30 13:44:27 +01:00
"fr": "Le prix de cette douche est {charge}",
"cs": "Použití této sprchy stojí {charge}"
2023-06-20 19:51:19 +02:00
}
},
"opening_hours",
{
"id": "hot_water",
"question": {
2023-07-15 19:00:23 +02:00
"en": "Does this shower have hot water available?",
2023-09-16 18:52:42 +02:00
"de": "Verfügt diese Dusche über Warmwasser?",
"ca": "Aquesta dutxa té aigua calenta disponible?",
2023-10-30 13:44:27 +01:00
"fr": "Est-ce que cette douche propose de l'eau chaude ?",
"cs": "Má tato sprcha k dispozici teplou vodu?"
2023-06-20 19:51:19 +02:00
},
"mappings": [
{
"if": "hot_water=yes",
"then": {
2023-07-15 19:00:23 +02:00
"en": "Hot water is available here",
2023-09-16 18:52:42 +02:00
"de": "Warmwasser ist hier verfügbar",
"ca": "Aquí hi ha aigua calenta disponible",
2023-10-30 13:44:27 +01:00
"fr": "De l'eau chaud est disponible",
"cs": "Je zde k dispozici teplá voda"
2023-06-20 19:51:19 +02:00
}
},
{
"if": "hot_water=fee",
"then": {
2023-07-15 19:00:23 +02:00
"en": "Hot water is available here, but there is a fee",
2023-09-16 18:52:42 +02:00
"de": "Warmes Wasser ist hier verfügbar, aber kostenpflichtig",
"ca": "Aquí hi ha aigua calenta disponible, però té un cost",
2023-10-30 13:44:27 +01:00
"fr": "De l'eau chaud est disponible, mais il faut payer",
"cs": "Teplá voda je zde k dispozici, ale je za poplatek"
2023-06-20 19:51:19 +02:00
}
},
{
"if": "hot_water=no",
"then": {
2023-07-15 19:00:23 +02:00
"en": "There is no hot water available here",
2023-09-16 18:52:42 +02:00
"de": "Hier gibt es kein warmes Wasser",
"ca": "Aquí no hi ha aigua calenta disponible",
2023-10-30 13:44:27 +01:00
"fr": "Il n'y a pas d'eau chaude disponible",
"cs": "Není zde k dispozici teplá voda"
2023-06-20 19:51:19 +02:00
}
}
]
2023-06-21 12:00:21 +02:00
},
{
"builtin": "payment-options-split",
"override": {
"condition": {
"or": [
"fee=yes",
"hot_water=fee"
]
}
}
2023-06-20 19:51:19 +02:00
}
],
2023-06-27 21:29:41 +02:00
"filter": [
"free",
{
"id": "hot-water",
"options": [
{
"question": {
2023-07-15 19:00:23 +02:00
"en": "Hot water available",
2023-09-16 18:52:42 +02:00
"de": "Warmwasser verfügbar",
2023-09-21 02:16:39 +02:00
"fr": "Eau chaude disponible",
2023-10-30 13:44:27 +01:00
"ca": "Aigua calenta disponible",
"cs": "Teplá voda k dispozici"
2023-06-27 21:29:41 +02:00
},
"osmTags": {
"or": [
"hot_water=yes",
"hot_water=fee"
]
}
}
]
2023-06-27 21:38:29 +02:00
},
"open_now"
2023-06-27 21:29:41 +02:00
],
2023-06-20 19:51:19 +02:00
"deletion": {
"softDeletionTags": {
"and": [
"disused:amenity={amenity}",
"amenity="
]
},
"neededChangesets": 1
},
"allowMove": {
"enableImproveAccuracy": true,
"enableRelocation": false
}
2023-09-19 14:04:13 +02:00
}