{
  "id": "pharmacy",
  "name": {
    "en": "Pharmacies",
    "de": "Apotheken",
    "nl": "Apotheken",
    "pa_PK": "فارمیسی",
    "ca": "Farmàcies"
  },
  "description": {
    "en": "A layer showing pharmacies, which (probably) dispense prescription drugs",
    "de": "Eine Ebene mit Apotheken, die (wahrscheinlich) verschreibungspflichtige Medikamente ausgeben",
    "nl": "Deze laag toont apotheken, welke (waarschijnlijk) ook medicijnen onder voorschrift verkopen"
  },
  "title": {
    "render": {
      "en": "{name}",
      "de": "{name}",
      "nl": "{name}"
    },
    "mappings": [
      {
        "if": "name=",
        "then": {
          "en": "Pharmacy",
          "de": "Apotheke",
          "nl": "Apotheek",
          "pa_PK": "فارمیسی"
        }
      }
    ]
  },
  "source": {
    "osmTags": {
      "and": [
        "amenity=pharmacy"
      ]
    }
  },
  "minzoom": 13,
  "tagRenderings": [
    "images",
    {
      "id": "name",
      "freeform": {
        "key": "name",
        "type": "string",
        "placeholder": {
          "en": "Name of the pharmacy",
          "de": "Name der Apotheke",
          "nl": "Naam van de apotheek"
        }
      },
      "question": {
        "en": "What is the name of the pharmacy?",
        "de": "Wie lautet der Name der Apotheke?",
        "nl": "Wat is de naam van deze apotheek?"
      },
      "render": {
        "en": "This pharmacy is called {name}",
        "de": "Der Name der Apotheke lautet {name}",
        "nl": "Deze apotheek heet {name}",
        "ca": "Aquesta farmàcia es diu {name}",
        "fr": "Cette pharmacie s'appelle {name}"
      }
    },
    "opening_hours",
    "phone",
    "email",
    "website",
    {
      "id": "wheelchair",
      "question": {
        "en": "Is this pharmacy easy to access on a wheelchair?",
        "de": "Ist die Apotheke für Rollstuhlfahrer leicht zugänglich?",
        "nl": "Is het mogelijk om deze apotheek te bereiken met een rolstoel?",
        "ca": "És fàcil accedir a aquesta farmàcia amb una cadira de rodes?",
        "fr": "Cette pharmacie est-elle facilement accessible en chaise roulante ?"
      },
      "mappings": [
        {
          "if": "wheelchair=yes",
          "then": {
            "en": "This pharmacy is easy to access on a wheelchair",
            "ca": "Aquesta farmàcia és fàcil d'accedir en una cadira de rodes",
            "de": "Die Apotheke ist für Rollstuhlfahrer leicht zugänglich",
            "nl": "Deze apotheek is makkelijk te bereiken met een rolstoel",
            "fr": "Cette pharmacie est facile d'accès en chaise roulante"
          }
        },
        {
          "if": "wheelchair=no",
          "then": {
            "en": "This pharmacy is hard to access on a wheelchair",
            "de": "Die Apotheke ist für Rollstuhlfahrer nur schwer zugänglich",
            "nl": "Deze apotheek is moeilijk te bereiken met een rolstoel",
            "ca": "Aquesta farmàcia es difícil d'accedir amb una cadira de rodes",
            "fr": "Cette pharmacie est difficilement accessible en chaise roulante"
          }
        },
        {
          "if": "wheelchair=limited",
          "then": {
            "en": "This pharmacy has limited access for wheelchair users",
            "de": "Die Apotheke ist für Rollstuhlfahrer nur eingeschränkt zugänglich",
            "nl": "Deze apotheek is bereikbaar met een rolstoel, maar het is niet makkelijk",
            "ca": "Aquesta farmàcia té un accés limitat per a usuaris amb cadira de rodes",
            "fr": "L'accès à cette pharmacie est limité en chaise roulante"
          }
        }
      ]
    }
  ],
  "mapRendering": [
    {
      "icon": "./assets/layers/pharmacy/pharmacy.svg",
      "iconSize": "40,40",
      "location": [
        "point",
        "centroid"
      ],
      "iconBadges": [
        {
          "if": "opening_hours~*",
          "then": "icons.isOpen"
        }
      ],
      "label": {
        "mappings": [
          {
            "if": "name~*",
            "then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>"
          }
        ]
      },
      "anchor": "bottom"
    }
  ],
  "filter": [
    {
      "id": "drive-through",
      "options": [
        {
          "question": {
            "en": "Has drive through",
            "de": "Bietet einen Durchfahr-Service an",
            "nl": "Heeft een drive-through"
          },
          "osmTags": "drive_through=yes"
        }
      ]
    },
    {
      "id": "dispensing",
      "options": [
        {
          "question": {
            "en": "Pharmacy able to provide prescription drugs",
            "de": "Apotheke, die verschreibungspflichtige Arzneimittel ausgibt",
            "nl": "Deze apotheek verdeelt medicijnen met voorschrift"
          },
          "osmTags": "dispensing=yes"
        }
      ]
    },
    "open_now"
  ],
  "presets": [
    {
      "tags": [
        "amenity=pharmacy"
      ],
      "title": {
        "en": "a pharmacy",
        "nl": "een apotheek",
        "de": "eine Apotheke"
      }
    }
  ],
  "deletion": true,
  "allowMove": true
}