{
  "id": "trolley_bay",
  "name": {
    "en": "Trolley Bays",
    "de": "Einkaufswagenbuchten"
  },
  "description": {
    "en": "Find trolley bays for shopping trolleys.",
    "de": "Finde Einkaufswagenbuchten für Einkaufswagen."
  },
  "source": {
    "osmTags": "amenity=trolley_bay"
  },
  "minzoom": 18,
  "title": {
    "en": "Trolley Bay",
    "de": "Einkaufswagenbucht"
  },
  "pointRendering": [
    {
      "location": [
        "point",
        "centroid"
      ],
      "marker": [
        {
          "icon": "./assets/layers/trolley_bay/trolley_bay.svg"
        }
      ]
    }
  ],
  "presets": [
    {
      "title": {
        "en": "a trolley bay",
        "de": "eine Einkaufswagenbucht"
      },
      "tags": [
        "amenity=trolley_bay"
      ],
      "description": {
        "en": "A trolley bay for parking shopping carts.",
        "de": "Ein Platz zum Abstellen von Einkaufswagen."
      }
    }
  ],
  "tagRenderings": [
    {
      "id": "covered",
      "question": {
        "en": "Is this trolley bay covered?",
        "de": "Ist dieser Einkaufswagenplatz überdacht?"
      },
      "mappings": [
        {
          "if": "covered=yes",
          "then": {
            "en": "This trolley bay is covered",
            "de": "Dieser Einkaufswagenplatz ist überdacht"
          }
        },
        {
          "if": "covered=no",
          "then": {
            "en": "This trolley bay is not covered",
            "de": "Dieser Einkaufswagenplatz ist nicht überdacht"
          }
        }
      ]
    },
    {
      "id": "deposit",
      "question": {
        "en": "Is a deposit (e.g. a coin) required for the trolleys?",
        "de": "Ist für die Einkaufswagen ein Pfand (z.B. eine Münze) erforderlich?"
      },
      "mappings": [
        {
          "if": "trolley:deposit=yes",
          "then": {
            "en": "A deposit is required for the trolleys",
            "de": "Für die Einkaufswagen ist ein Pfand zu hinterlegen"
          }
        },
        {
          "if": "trolley:deposit=no",
          "then": {
            "en": "No deposit is required for the trolleys",
            "de": "Für die Einkaufswagen ist kein Pfand erforderlich"
          }
        }
      ]
    },
    {
      "id": "denominations",
      "condition": {
        "and": [
          "trolley:deposit=yes",
          "_currency~.*EUR.*"
        ]
      },
      "question": {
        "en": "What coins are accepted for the deposit?",
        "de": "Welche Münzen werden für die Pfandgebühr akzeptiert?"
      },
      "multiAnswer": true,
      "mappings": [
        {
          "if": "trolley:deposit:denominations=0.50 EUR",
          "icon": "./assets/layers/questions/denominations/eur/50cent.svg",
          "then": {
            "en": "50 cent coins are accepted",
            "de": "50-Cent-Münzen werden akzeptiert",
            "nl": "Munten van 50 cent worden geaccepteerd",
            "nb_NO": "50-cent mynter aksepteres",
            "fr": "Les pièces de 50 cents sont acceptées",
            "pl": "Akceptowane są monety 50-centowe",
            "ca": "S'accepten monedes de 50 cèntims",
            "es": "Se aceptan monedas de 50 céntimos",
            "cs": "Jsou přijímány mince v hodnotě 50 centů",
            "id": "Koin 50 sen diterima"
          }
        },
        {
          "if": "trolley:deposit:denominations=1 EUR",
          "icon": "./assets/layers/questions/denominations/eur/1euro.svg",
          "then": {
            "en": "1 euro coins are accepted",
            "de": "1-Euro-Münzen werden akzeptiert",
            "nl": "Munten van 1 euro worden geaccepteerd",
            "nb_NO": "1-euro mynter aksepteres",
            "fr": "Les pièces de 1 euro sont acceptées",
            "pl": "Akceptowane są monety 1 euro",
            "ca": "S'accepten monedes de 1 euro",
            "es": "Se aceptan monedas de 1 euro",
            "cs": "Jsou přijímány mince v hodnotě 1 eura"
          },
          "hideInAnswer": "_currency!~.*EUR.*"
        },
        {
          "if": "trolley:deposit:denominations=2 EUR",
          "icon": "./assets/layers/questions/denominations/eur/2euro.svg",
          "then": {
            "en": "2 euro coins are accepted",
            "de": "2-Euro-Münzen werden akzeptiert",
            "nl": "Munten van 2 euro worden geaccepteerd",
            "nb_NO": "2-euro mynter aksepteres",
            "fr": "Les pièces de 2 euros sont acceptées",
            "pl": "Akceptowane są monety 2 euro",
            "ca": "S'accepten monedes de 2 euros",
            "es": "Se aceptan monedas de 2 euros",
            "cs": "Jsou přijímány mince v hodnotě 2 euro"
          },
          "hideInAnswer": "_currency!~.*EUR.*"
        }
      ]
    },
    {
      "id": "cart_types",
      "question": {
        "en": "What kind of special trolleys are available?",
        "de": "Welche Art von speziellen Einkaufswagen gibt es?"
      },
      "multiAnswer": true,
      "mappings": [
        {
          "if": "trolley:magnifier=yes",
          "ifnot": "trolley:magnifier=no",
          "then": {
            "en": "Trolleys with a magnifier are available",
            "de": "Einkaufswagen mit Lupe sind erhältlich"
          }
        },
        {
          "if": "trolley:wheelchair=yes",
          "ifnot": "trolley:wheelchair=no",
          "then": {
            "en": "Trolleys for wheelchair users are available",
            "de": "Einkaufswagen für Rollstuhlfahrer sind verfügbar"
          }
        },
        {
          "if": "trolley:children=yes",
          "ifnot": "trolley:children=no",
          "then": {
            "en": "Trolleys for children are available",
            "de": "Einkaufswagen für Kinder sind verfügbar"
          }
        },
        {
          "if": "trolley:seats=yes",
          "ifnot": "trolley:seats=no",
          "then": {
            "en": "Trolleys with seats for children are available",
            "de": "Einkaufswagen mit Sitzen für Kinder sind verfügbar"
          }
        },
        {
          "if": "trolley:flatbed=yes",
          "ifnot": "trolley:flatbed=no",
          "then": {
            "en": "Trolleys with a flatbed are available",
            "de": "Einkaufswagen mit Flachbett sind verfügbar"
          }
        },
        {
          "if": "trolley:vertical=yes",
          "ifnot": "trolley:vertical=no",
          "then": {
            "en": "Vertical trolleys for sheet-like goods are available",
            "de": "Vertikale Einkaufswagen für plattenförmige Güter sind verfügbar"
          }
        }
      ]
    },
    {
      "id": "indoor"
    }
  ],
  "deletion": true,
  "allowMove": {
    "enableImproveAccuracy": true,
    "enableRelocation": true
  }
}