{
  "id": "toilet_at_amenity",
  "name": {
    "en": "Toilets at other amenities",
    "de": "Toiletten in anderen Einrichtungen",
    "nl": "Toilet in een voorziening",
    "ca": "Lavabos a altres instal·lacions",
    "cs": "Toalety u ostatního vybavení"
  },
  "description": {
    "en": "A layer showing (public) toilets located at different places.",
    "de": "Eine Ebene mit (öffentlichen) Toiletten an verschiedenen Orten.",
    "nl": "Een laag die (publiek toegankelijke) toiletten toont in verschillende andere voorzieningen.",
    "ca": "Una capa que mostra banys (públics) ubicats en diferents llocs.",
    "cs": "Vrstva zobrazující (veřejné) toalety umístěné na různých místech."
  },
  "source": {
    "osmTags": "toilets=yes"
  },
  "minzoom": 12,
  "title": {
    "render": {
      "en": "Toilet at amenity",
      "de": "Toilette in Einrichtung",
      "nl": "Toilet in een voorziening",
      "ca": "Lavabo a la instal·lació",
      "cs": "Toaleta v objektu"
    },
    "mappings": [
      {
        "if": "name~*",
        "then": {
          "en": "Toilet at {name}",
          "de": "Toilette in {name}",
          "nl": "Toilet bij {name}",
          "ca": "Bany a {name}",
          "cs": "Toaleta v {name}"
        }
      }
    ]
  },
  "pointRendering": [
    {
      "marker": [
        {
          "icon": "circle",
          "color": "white"
        },
        {
          "icon": {
            "render": "./assets/layers/toilet/toilets.svg",
            "mappings": [
              {
                "if": {
                  "or": [
                    "toilets:wheelchair=yes",
                    "toilets:wheelchair=designated"
                  ]
                },
                "then": "./assets/layers/toilet/wheelchair.svg"
              },
              {
                "if": {
                  "or": [
                    "toilets:position=urinals",
                    "toilets:position=urinal"
                  ]
                },
                "then": "./assets/layers/toilet/urinal.svg"
              }
            ]
          }
        }
      ],
      "iconBadges": [
        {
          "if": "opening_hours~*",
          "then": "icons.isOpen"
        },
        {
          "if": "shop~*",
          "then": "./assets/themes/shops/shop.svg"
        },
        {
          "if": "amenity=restaurant",
          "then": "circle:white;./assets/layers/food/restaurant.svg"
        },
        {
          "if": {
            "and": [
              "amenity=fast_food",
              "cuisine=friture"
            ]
          },
          "then": "circle:white;./assets/layers/food/fries.svg"
        },
        {
          "if": {
            "and": [
              "amenity=fast_food",
              "cuisine!=friture"
            ]
          },
          "then": "circle:white;./assets/layers/food/fastfood.svg"
        },
        {
          "if": {
            "or": [
              "amenity=bar",
              "amenity=pub",
              "amenity=biergarten"
            ]
          },
          "then": "circle:white;./assets/layers/cafe_pub/pub.svg"
        },
        {
          "if": "amenity=cafe",
          "then": "circle:white;./assets/layers/cafe_pub/cafe.svg"
        },
        {
          "if": "amenity=nightclub",
          "then": "circle:white;./assets/layers/cafe_pub/nightclub.svg"
        }
      ],
      "location": [
        "point",
        "centroid"
      ]
    }
  ],
  "lineRendering": [],
  "tagRenderings": [
    "images",
    "level",
    {
      "question": {
        "en": "Are these toilets publicly accessible?",
        "de": "Ist die Toilette öffentlich zugänglich?",
        "nl": "Zijn deze toiletten publiek toegankelijk?",
        "fr": "Ces toilettes sont-elles librement accessibles ?",
        "ca": "Aquests serveis són d'accés públic?",
        "cs": "Jsou tyto toalety veřejně přístupné?"
      },
      "render": {
        "en": "Access is {toilets:access}",
        "de": "Zugang ist {toilets:access}",
        "fr": "L'accès est {toilets:access}",
        "nl": "Toegankelijkheid is {toilets:access}",
        "it": "L'accesso è {toilets:access}",
        "es": "El acceso es {toilets:access}",
        "da": "Adgang er {toilets:access}",
        "ca": "L'accés és {toilets:access}",
        "cs": "Přístup je {toilets:access}"
      },
      "freeform": {
        "key": "toilets:access",
        "addExtraTags": [
          "fixme=the tag toilets:access was filled out by the user and might need refinement"
        ]
      },
      "mappings": [
        {
          "if": "toilets:access=yes",
          "then": {
            "en": "Public access",
            "de": "Der Zugang ist öffentlich",
            "fr": "Accès publique",
            "nl": "Publiek toegankelijk",
            "it": "Accesso pubblico",
            "ru": "Свободный доступ",
            "es": "Acceso público",
            "da": "Offentlig adgang",
            "ca": "Accés públic",
            "cs": "Veřejný přístup"
          }
        },
        {
          "if": "toilets:access=customers",
          "then": {
            "en": "Only access to customers of the amenity",
            "de": "Nur Zugang für Kunden der Einrichtung",
            "nl": "Enkel toegankelijk voor klanten van de voorziening",
            "fr": "Accessibles uniquement au clients du lieu",
            "ca": "Només accessible a clients de l'instal·lació",
            "cs": "Přístup pouze zákazníkům zařízení občanské vybavenosti"
          }
        },
        {
          "if": "toilets:access=no",
          "then": {
            "en": "Not accessible, even for customers of the amenity",
            "de": "Nicht zugänglich, auch nicht für Kunden der Einrichtung",
            "nl": "Niet toegankelijk, ook niet voor klanten van de voorziening",
            "fr": "Non accessibles, même pour les clients du lieu",
            "ca": "No accessible, inclús per als clients de la instal·lació",
            "cs": "Není přístupný, a to ani pro zákazníky občanské vybavenosti"
          }
        },
        {
          "if": "toilets:access=key",
          "then": {
            "en": "Accessible, but one has to ask a key to enter",
            "de": "Der Zugang ist möglich, aber man muss nach einen Schlüssel fragen",
            "fr": "Accessibles, mais vous devez demander la clé",
            "nl": "Toegankelijk na het vragen van de sleutel",
            "it": "Accessibile, ma occorre chiedere una chiave per accedere",
            "es": "Accesible, pero hay que pedir la llave para entrar",
            "da": "Tilgængelig, men man skal bede om en nøgle for at komme ind",
            "ca": "Accessible, però hi ha que demanar la clau per a entrar",
            "cs": "Přístupné, ale ke vstupu musíte požádat o klíč"
          }
        },
        {
          "if": "toilets:access=public",
          "then": {
            "en": "Public access",
            "de": "Öffentlicher Zugang",
            "fr": "Accès publique",
            "nl": "Publiek toegankelijk",
            "it": "Accesso pubblico",
            "ru": "Свободный доступ",
            "es": "Acceso público",
            "da": "Offentlig adgang",
            "ca": "Accés públic",
            "cs": "Veřejný přístup"
          },
          "hideInAnswer": true
        }
      ],
      "id": "toilet-access"
    },
    {
      "id": "toilets-fee",
      "condition": "toilets:access!=no",
      "question": {
        "en": "Are these toilets free to use?",
        "de": "Können diese Toiletten kostenlos benutzt werden?",
        "fr": "Ces toilettes sont-elles payantes ?",
        "nl": "Zijn deze toiletten gratis te gebruiken?",
        "it": "Questi servizi igienici sono gratuiti?",
        "da": "Er det gratis at benytte disse toiletter?",
        "ca": "Aquest serveis són gratuïts?",
        "cs": "Jsou tyto toalety zdarma k použití?"
      },
      "mappings": [
        {
          "then": {
            "en": "These are paid toilets",
            "de": "Die Nutzung ist gebührenpflichtig",
            "fr": "Toilettes payantes",
            "nl": "Men moet betalen om deze toiletten te gebruiken",
            "ru": "Это платные туалеты",
            "it": "Questi servizi igienici sono a pagamento",
            "es": "Estos son baños de pago",
            "da": "Det er betalingstoiletter",
            "ca": "Aquests serveis són de pagament",
            "cs": "Jedná se o placené toalety"
          },
          "if": "toilets:fee=yes"
        },
        {
          "if": "toilets:fee=no",
          "then": {
            "en": "Free to use",
            "de": "Die Nutzung ist kostenlos",
            "fr": "Toilettes gratuites",
            "nl": "Gratis te gebruiken",
            "it": "Gratis",
            "da": "Gratis at bruge",
            "ca": "Gratuït",
            "cs": "Zdarma k použití",
            "pt": "Grátis para usar"
          }
        }
      ]
    },
    {
      "question": {
        "en": "How much does one have to pay for these toilets?",
        "de": "Wie viel muss man für die Nutzung bezahlen?",
        "fr": "Quel est le prix d'accès de ces toilettes ?",
        "nl": "Hoeveel moet men betalen om deze toiletten te gebruiken?",
        "it": "Quanto costa l'accesso a questi servizi igienici?",
        "ru": "Сколько стоит посещение туалета?",
        "es": "¿Cuánto hay que pagar para estos baños?",
        "da": "Hvor meget skal man betale for disse toiletter?",
        "ca": "Quant s'ha de pagar per aquests lavabos?",
        "cs": "Kolik se platí za tyto toalety?"
      },
      "render": {
        "en": "The fee is {toilets:charge}",
        "de": "Die Gebühr beträgt {toilets:charge}",
        "fr": "Le prix est {toilets:charge}",
        "nl": "De toiletten gebruiken kost {toilets:charge}",
        "it": "La tariffa è {toilets:charge}",
        "ru": "Стоимость {toilets:charge}",
        "es": "La tasa es {toilets:charge}",
        "da": "Gebyret er {toilets:charge}",
        "ca": "La taxa és {toilets:charge}",
        "cs": "Poplatek je {toilets:charge}"
      },
      "condition": "toilets:fee=yes",
      "freeform": {
        "key": "toilets:charge",
        "type": "string"
      },
      "id": "toilet-charge"
    },
    {
      "builtin": "opening_hours",
      "override": {
        "condition": "toilets:access!=no",
        "question": {
          "en": "When is the amenity where these toilets are located open?",
          "de": "Wann ist der Ort, an dem sich diese Toiletten befinden, geöffnet?",
          "ca": "Quan està oberta la instal·lació on es troben aquests lavabos?",
          "cs": "Kdy je otevřeno zařízení, kde se tyto toalety nacházejí?"
        }
      }
    },
    {
      "id": "toilets-wheelchair",
      "question": {
        "en": "Is there a dedicated toilet for wheelchair users?",
        "de": "Können Rollstuhlfahrer die Toilette benutzen?",
        "fr": "Y a-t-il des toilettes réservées aux personnes en fauteuil roulant ?",
        "nl": "Is er een rolstoeltoegankelijke toilet voorzien?",
        "it": "C'è un WC riservato alle persone in sedia a rotelle",
        "da": "Er der et særligt toilet til kørestolsbrugere?",
        "ca": "Hi ha un lavabo específic per a usuaris amb cadira de rodes?",
        "cs": "Existuje vyhrazená toaleta pro vozíčkáře?"
      },
      "mappings": [
        {
          "then": {
            "en": "There is a dedicated toilet for wheelchair users",
            "de": "Rollstuhlfahrer können die Toilette benutzen",
            "fr": "Il y a des toilettes réservées pour les personnes à mobilité réduite",
            "nl": "Er is een toilet voor rolstoelgebruikers",
            "it": "C'è un WC riservato alle persone in sedia a rotelle",
            "es": "Hay un baño dedicado para usuarios con sillas de ruedas",
            "da": "Der er et særligt toilet til kørestolsbrugere",
            "ca": "Hi ha un lavabo dedicat per a usuaris amb cadira de rodes",
            "cs": "K dispozici je vyhrazená toaleta pro vozíčkáře"
          },
          "if": "toilets:wheelchair=yes"
        },
        {
          "if": "toilets:wheelchair=no",
          "then": {
            "en": "No wheelchair access",
            "de": "Rollstuhlfahrer können die Toilette nicht benutzen",
            "fr": "Non accessible aux personnes à mobilité réduite",
            "nl": "Niet toegankelijk voor rolstoelgebruikers",
            "it": "Non accessibile in sedia a rotelle",
            "ru": "Недоступно пользователям кресел-колясок",
            "es": "Sin acceso para sillas de ruedas",
            "da": "Ingen kørestolsadgang",
            "ca": "Sense accés per a cadires de rodes",
            "cs": "Žádný bezbariérový přístup"
          }
        },
        {
          "if": "toilets:wheelchair=designated",
          "then": {
            "en": "There is only a dedicated toilet for wheelchair users",
            "nl": "Er is alleen een toilet voor rolstoelgebruikers",
            "de": "Es gibt nur eine barrierefreie Toilette für Rollstuhlfahrer",
            "da": "Der er kun et særligt toilet til kørestolsbrugere",
            "ca": "Sols hi ha un lavabo per a usuaris amb cadira de rodes",
            "cs": "K dispozici je pouze vyhrazená toaleta pro vozíčkáře"
          }
        }
      ]
    },
    {
      "id": "wheelchair-door-width",
      "condition": {
        "or": [
          "toilets:wheelchair=yes",
          "toilets:wheelchair=designated"
        ]
      },
      "question": {
        "en": "What is the width of the door to the wheelchair accessible toilet?",
        "nl": "Hoe breed is de deur van de rolstoeltoegankelijke toilet?",
        "fr": "Quelle est la largeur de la porte des toilettes accessibles aux fauteuils roulants ?",
        "de": "Wie breit ist die Tür zur rollstuhlgerechten Toilette?",
        "da": "Hvad er bredden på døren til det kørestolsvenlige toilet?",
        "ca": "Quina és l'amplada de la porta del lavabo accessible per a cadira de rodes?",
        "cs": "Jaká je šířka dveří na bezbariérovou toaletu?"
      },
      "render": {
        "en": "The door to the wheelchair-accessible toilet is {canonical(toilets:door:width)} wide",
        "nl": "De deur naar de rolstoeltoegankelijke toilet is {canonical(toilets:door:width)} wide",
        "fr": "La porte des toilettes accessibles aux fauteuils roulants a une large de {canonical(toilets:door:width)}",
        "de": "Die Tür zur rollstuhlgerechten Toilette ist {canonical(toilets:door:width)} breit",
        "da": "Døren til det kørestolsvenlige toilet er {canonical(toilets:door:width)} bred",
        "ca": "La porta del vàter accessible amb cadira de rodes és {canonical(toilets:door:width)} d'ample",
        "cs": "Dveře na toaletu pro vozíčkáře jsou {canonical(toilets:door:width)} široké"
      },
      "freeform": {
        "key": "toilets:door:width",
        "type": "pfloat"
      }
    },
    "toilet.toilets-type",
    "toilet.toilets-changing-table",
    "toilet.toilet-changing_table:location",
    "toilet.toilet-handwashing",
    "toilet.toilet-has-paper",
    "toilet.menstrual_products",
    "toilet.menstrual_products_location",
    {
      "builtin": "description",
      "override": {
        "render": "{toilets:description}",
        "freeform": {
          "key": "toilets:description",
          "type": "string"
        }
      }
    }
  ],
  "filter": [
    {
      "id": "wheelchair",
      "options": [
        {
          "question": {
            "en": "Wheelchair accessible",
            "nl": "Rolstoel toegankelijk",
            "de": "Barrierefrei",
            "es": "Accesible con sillas de ruedas",
            "fr": "Accessible aux fauteuils roulants",
            "da": "Tilgængelig for kørestolsbrugere",
            "ca": "Accessible amb cadira de rodes",
            "cs": "Bezbariérový přístup"
          },
          "osmTags": {
            "or": [
              "toilets:wheelchair=yes",
              "toilets:wheelchair=designated"
            ]
          }
        }
      ]
    },
    "toilet.changing_table",
    {
      "id": "free",
      "options": [
        {
          "question": {
            "en": "Free to use",
            "nl": "Gratis toegankelijk",
            "de": "Nutzung kostenlos",
            "fr": "Utilisation gratuite",
            "da": "Gratis at bruge",
            "ca": "Ús gratuït",
            "cs": "Zdarma k použití"
          },
          "osmTags": {
            "or": [
              "toilets:fee=no",
              "toilets:fee=0",
              "toilets:charge=0"
            ]
          }
        }
      ]
    },
    "open_now"
  ],
  "deletion": {
    "softDeletionTags": {
      "and": [
        "toilets=no",
        "toilets:wheelchair=no"
      ]
    },
    "neededChangesets": 1
  },
  "units": [
    {
      "toilets:door:width": {
        "quantity": "distance",
        "denominations": [
          "m",
          "cm"
        ]
      }
    }
  ]
}