{
  "id": "bench",
  "name": {
    "en": "Benches",
    "de": "Sitzbänke",
    "fr": "Bancs"
  },
  "minzoom": 14,
  "overpassTags": {
    "and": [
      "amenity=bench"
    ]
  },
  "title": {
    "render": {
      "en": "Bench",
      "de": "Sitzbank",
      "fr": "Banc"
    },
    "mappings": []
  },
  "tagRenderings": [
    "images",
    {
      "render": {
        "en": "Backrest",
        "de": "Rückenlehne",
        "fr": "Dossier"
      },
      "freeform": {
        "key": "backrest",
        "addExtraTags": []
      },
      "mappings": [
        {
          "if": {
            "and": [
              "backrest=yes"
            ]
          },
          "then": {
            "en": "Backrest: Yes",
            "de": "Rückenlehne: Ja",
            "fr": "Dossier: Oui"
          }
        },
        {
          "if": {
            "and": [
              "backrest=no"
            ]
          },
          "then": {
            "en": "Backrest: No",
            "de": "Rückenlehne: Nein",
            "fr": "Dossier: Non"
          }
        }
      ],
      "question": {
        "en": "Does this bench have a backrest?",
        "de": "Hat diese Bank eine Rückenlehne?",
        "fr": "Ce banc dispose-t-il d'un dossier ?"
      }
    },
    {
      "render": {
        "en": "{seats} seats",
        "de": "{seats} Sitzplätze",
        "fr": "{seats} places"
      },
      "freeform": {
        "key": "seats",
        "type": "nat"
      },
      "mappings": [],
      "question": {
        "en": "How many seats does this bench have?",
        "de": "Wie viele Sitzplätze hat diese Bank?",
        "fr": "De combien de places dispose ce banc ?"
      }
    },
    {
      "render": {
        "en": "Material: {material}",
        "de": "Material: {material}",
        "fr": "Matériau : {material}"
      },
      "freeform": {
        "key": "material",
        "addExtraTags": []
      },
      "mappings": [
        {
          "if": {
            "and": [
              "material=wood"
            ]
          },
          "then": {
            "en": "Material: wood",
            "de": "Material: Holz",
            "fr": "Matériau : bois"
          }
        },
        {
          "if": {
            "and": [
              "material=metal"
            ]
          },
          "then": {
            "en": "Material: metal",
            "de": "Material: Metall",
            "fr": "Matériau : métal"
          }
        },
        {
          "if": {
            "and": [
              "material=stone"
            ]
          },
          "then": {
            "en": "Material: stone",
            "de": "Material: Stein",
            "fr": "Matériau: pierre"
          }
        },
        {
          "if": {
            "and": [
              "material=concrete"
            ]
          },
          "then": {
            "en": "Material: concrete",
            "de": "Material: Beton",
            "fr": "Matériau : béton"
          }
        },
        {
          "if": {
            "and": [
              "material=plastic"
            ]
          },
          "then": {
            "en": "Material: plastic",
            "de": "Material: Kunststoff",
            "fr": "Matériau : plastique"
          }
        },
        {
          "if": {
            "and": [
              "material=steel"
            ]
          },
          "then": {
            "en": "Material: steel",
            "de": "Material: Stahl",
            "fr": "Matériau : acier"
          }
        }
      ],
      "question": {
        "en": "What is the bench (seating) made from?",
        "de": "Aus welchem Material besteht die Sitzbank (Sitzfläche)?",
        "fr": "De quel matériau ce banc est-il fait ?"
      }
    },
    {
      "question": {
        "en": "In which direction are you looking when sitting on the bench?",
        "de": "In welche Richtung schaut man, wenn man auf der Bank sitzt?"
      },
      "render": {
        "en": "When sitting on the bench, one looks towards {direction}°.",
        "de": "Wenn man auf der Bank sitzt, schaut man in Richtung {direction}°."
      },
      "freeform": {
        "key": "direction",
        "type": "direction"
      }
    },
    {
      "render": {
        "en": "Colour: {colour}",
        "de": "Farbe: {colour}",
        "fr": "Couleur : {colour}"
      },
      "question": {
        "en": "Which colour does this bench have?",
        "de": "Welche Farbe hat diese Sitzbank?",
        "fr": "Quelle est la couleur de ce banc ?"
      },
      "freeform": {
        "key": "colour"
      },
      "mappings": [
        {
          "if": {
            "and": [
              "colour=brown"
            ]
          },
          "then": {
            "en": "Colour: brown",
            "de": "Farbe: braun",
            "fr": "Couleur : marron"
          }
        },
        {
          "if": {
            "and": [
              "colour=green"
            ]
          },
          "then": {
            "en": "Colour: green",
            "de": "Farbe: grün",
            "fr": "Couleur : verte"
          }
        },
        {
          "if": {
            "and": [
              "colour=gray"
            ]
          },
          "then": {
            "en": "Colour: gray",
            "de": "Farbe: grau",
            "fr": "Couleur : gris"
          }
        },
        {
          "if": {
            "and": [
              "colour=white"
            ]
          },
          "then": {
            "en": "Colour: white",
            "de": "Farbe: weiß",
            "fr": "Couleur : blanc"
          }
        },
        {
          "if": {
            "and": [
              "colour=red"
            ]
          },
          "then": {
            "en": "Colour: red",
            "de": "Farbe: rot",
            "fr": "Couleur : rouge"
          }
        },
        {
          "if": {
            "and": [
              "colour=black"
            ]
          },
          "then": {
            "en": "Colour: black",
            "de": "Farbe: schwarz",
            "fr": "Couleur : noire"
          }
        },
        {
          "if": {
            "and": [
              "colour=blue"
            ]
          },
          "then": {
            "en": "Colour: blue",
            "de": "Farbe: blau",
            "fr": "Couleur : bleu"
          }
        },
        {
          "if": {
            "and": [
              "colour=yellow"
            ]
          },
          "then": {
            "en": "Colour: yellow",
            "de": "Farbe: gelb",
            "fr": "Couleur : jaune"
          }
        }
      ]
    }
  ],
  "hideUnderlayingFeaturesMinPercentage": 0,
  "icon": {
    "render": "./assets/themes/benches/bench_poi.svg",
    "mappings": []
  },
  "width": {
    "render": "8"
  },
  "iconSize": {
    "render": "35,35,center"
  },
  "color": {
    "render": "#00f"
  },
  "presets": [
    {
      "tags": [
        "amenity=bench"
      ],
      "title": {
        "en": "Bench",
        "de": "Sitzbank",
        "fr": "Banc"
      },
      "description": {
        "en": "Add a new bench",
        "de": "Neue Sitzbank eintragen",
        "fr": "Ajouter un nouveau banc"
      }
    }
  ]
}