{
  "id": "bike_parking",
  "name": {
    "en": "Bike parking",
    "nl": "Fietsparking",
    "fr": "Parking à vélo",
    "gl": "Aparcadoiro de bicicletas",
    "de": "Fahrrad-Parkplätze"
  },
  "minzoom": 17,
  "source": {
    "osmTags": {
      "and": [
        "amenity=bicycle_parking"
      ]
    }
  },
  "icon": {
    "render": {
      "en": "./assets/layers/bike_parking/parking.svg"
    }
  },
  "iconSize": "40,40,bottom",
  "color": "#00f",
  "width": "1",
  "wayHandling": 2,
  "presets": [
    {
      "title": {
        "en": "Bike parking",
        "nl": "Fietsparking",
        "fr": "Parking à vélo",
        "gl": "Aparcadoiro de bicicletas",
        "de": "Fahrrad-Parkplätze"
      },
      "tags": [
        "amenity=bicycle_parking"
      ]
    }
  ],
  "title": {
    "render": {
      "en": "Bike parking",
      "nl": "Fietsparking",
      "fr": "Parking à vélo",
      "gl": "Aparcadoiro de bicicletas",
      "de": "Fahrrad-Parkplätze"
    }
  },
  "tagRenderings": [
    "images",
    {
      "#": "Bicycle parking type",
      "question": {
        "en": "What is the type of this bicycle parking?",
        "nl": "Van welk type is deze fietsparking?",
        "fr": "Quelle type de parking s'agit il?",
        "gl": "Que tipo de aparcadoiro de bicicletas é?",
        "de": "Was ist die Art dieses Fahrrad-Parkplatzes?"
      },
      "render": {
        "en": "This is a bicycle parking of the type: {bicycle_parking}",
        "nl": "Dit is een fietsparking van het type: {bicycle_parking}",
        "fr": "Ceci est un parking à vélo de type {bicycle_parking}",
        "gl": "Este é un aparcadoiro de bicicletas do tipo: {bicycle_parking}",
        "de": "Dies ist ein Fahrrad-Parkplatz der Art: {bicycle_parking}"
      },
      "freeform": {
        "key": "bicycle_parking",
        "addExtraTags": [
          "fixme=Freeform used on 'bicycle_parking'-tag: possibly a wrong value"
        ]
      },
      "mappings": [
        {
          "if": "bicycle_parking=stands",
          "then": {
            "en": "Staple racks <img style='width: 25%' src='./assets/layers/bike_parking/staple.svg'>",
            "nl": "Nietjes <img style='width: 25%'' src='./assets/layers/bike_parking/staple.svg'>",
            "fr": "Arceaux <img style='width: 25%'' src='./assets/layers/bike_parking/staple.svg'>",
            "gl": "De roda (Stands) <img style='width: 25%'' src='./assets/layers/bike_parking/staple.svg'>",
            "de": "Fahrradbügel <img style='width: 25%'' src='./assets/layers/bike_parking/staple.svg'>"
          }
        },
        {
          "if": "bicycle_parking=wall_loops",
          "then": {
            "en": "Wheel rack/loops <img style='width: 25%'' src='./assets/layers/bike_parking/wall_loops.svg'>",
            "nl": "Wielrek/lussen <img style='width: 25%'' src='./assets/layers/bike_parking/wall_loops.svg'>",
            "fr": "Pinces-roues <img style='width: 25%'' src='./assets/layers/bike_parking/wall_loops.svg'>",
            "gl": "Aros <img style='width: 25%'' src='./assets/layers/bike_parking/wall_loops.svg'>",
            "de": "Metallgestänge <img style='width: 25%'' src='./assets/layers/bike_parking/wall_loops.svg'>"
          }
        },
        {
          "if": "bicycle_parking=handlebar_holder",
          "then": {
            "en": "Handlebar holder <img style='width: 25%'' src='./assets/layers/bike_parking/handlebar_holder.svg'>",
            "nl": "Stuurhouder <img style='width: 25%'' src='./assets/layers/bike_parking/handlebar_holder.svg'>",
            "fr": "Support guidon <img style='width: 25%'' src='./assets/layers/bike_parking/handlebar_holder.svg'>",
            "gl": "Cadeado para guiador <img style='width: 25%'' src='./assets/layers/bike_parking/handlebar_holder.svg'>",
            "de": "Halter für Fahrradlenker <img style='width: 25%'' src='./assets/layers/bike_parking/handlebar_holder.svg'>"
          }
        },
        {
          "if": "bicycle_parking=rack",
          "then": {
            "en": "Rack <img style='width: 25%'' src='./assets/layers/bike_parking/rack.svg'>",
            "nl": "Rek <img style='width: 25%'' src='./assets/layers/bike_parking/rack.svg'>",
            "fr": "Râtelier <img style='width: 25%'' src='./assets/layers/bike_parking/rack.svg'>",
            "gl": "Cremalleira <img style='width: 25%'' src='./assets/layers/bike_parking/rack.svg'>",
            "de": "Gestell <img style='width: 25%'' src='./assets/layers/bike_parking/rack.svg'>"
          }
        },
        {
          "if": "bicycle_parking=two_tier",
          "then": {
            "en": "Two-tiered <img style='width: 25%'' src='./assets/layers/bike_parking/two_tier.svg'>",
            "nl": "Dubbel (twee verdiepingen) <img style='width: 25%'' src='./assets/layers/bike_parking/two_tier.svg'>",
            "fr": "Superposé <img style='width: 25%'' src='./assets/layers/bike_parking/two_tier.svg'>",
            "gl": "Dobre cremalleira <img style='width: 25%'' src='./assets/layers/bike_parking/two_tier.svg'>",
            "de": "Zweistufig <img style='width: 25%'' src='./assets/layers/bike_parking/two_tier.svg'>"
          }
        },
        {
          "if": "bicycle_parking=shed",
          "then": {
            "en": "Shed <img style='width: 25%'' src='./assets/layers/bike_parking/shed.svg'>",
            "nl": "Schuur <img style='width: 25%'' src='./assets/layers/bike_parking/shed.svg'>",
            "fr": "Abri <img style='width: 25%'' src='./assets/layers/bike_parking/shed.svg'>",
            "gl": "Abeiro <img style='width: 25%'' src='./assets/layers/bike_parking/shed.svg'>",
            "de": "Schuppen <img style='width: 25%'' src='./assets/layers/bike_parking/shed.svg'>"
          }
        },
        {
          "if": "bicycle_parking=bollard",
          "then": {
            "en": "Bollard <img style='width: 25%'' src='./assets/layers/bike_parking/bollard.svg'>",
            "nl": "Paal met ring <img style='width: 25%'' src='./assets/layers/bike_parking/bollard.svg'>"
          }
        },
        {
          "if": "bicycle_parking=floor",
          "then": {
            "en": "An area on the floor which is  marked for bicycle parking",
            "nl": "Een oppervlakte die gemarkeerd is om fietsen te parkeren"
          }
        }
      ]
    },
    {
      "#": "Underground?",
      "question": {
        "en": "What is the relative location of this bicycle parking?",
        "nl": "Wat is de relatieve locatie van deze parking??"
      },
      "mappings": [
        {
          "if": "location=underground",
          "then": {
            "en": "Underground parking",
            "nl": "Ondergrondse parking"
          }
        },
        {
          "if": "location=underground",
          "then": {
            "en": "Underground parking",
            "nl": "Ondergrondse parking"
          }
        },
        {
          "if": "location=surface",
          "then": {
            "en": "Surface level parking",
            "nl": "Parking op de begane grond"
          }
        },
        {
          "if": "location=",
          "then": {
            "en": "Surface level parking",
            "nl": "Parking op de begane grond"
          },
          "hideInAnwser": true
        },
        {
          "if": "location=rooftop",
          "then": {
            "en": "Rooftop parking",
            "nl": "Dakparking"
          }
        }
      ]
    },
    {
      "#": "Is covered?",
      "question": {
        "en": "Is this parking covered? Also select \"covered\" for indoor parkings.",
        "nl": "Is deze parking overdekt? Selecteer ook \"overdekt\" voor fietsparkings binnen een gebouw.",
        "gl": "Este aparcadoiro está cuberto? Tamén escolle \"cuberto\" para aparcadoiros interiores.",
        "de": "Ist dieser Parkplatz überdacht? Wählen Sie auch \"überdacht\" für Innenparkplätze."
      },
      "condition": {
        "and": [
          "bicycle_parking!=shed",
          "location!=underground"
        ]
      },
      "mappings": [
        {
          "if": "covered=yes",
          "then": {
            "en": "This parking is covered (it has a roof)",
            "nl": "Deze parking is overdekt (er is een afdak)",
            "gl": "Este aparcadoiro está cuberto (ten un teito)",
            "de": "Dieser Parkplatz ist überdacht (er hat ein Dach)"
          }
        },
        {
          "if": "covered=no",
          "then": {
            "en": "This parking is not covered",
            "nl": "Deze parking is niet overdekt",
            "gl": "Este aparcadoiro non está cuberto",
            "de": "Dieser Parkplatz ist nicht überdacht."
          }
        }
      ]
    },
    {
      "#": "Capacity",
      "question": {
        "en": "How many bicycles fit in this bicycle parking (including possible cargo bicycles)?",
        "fr": "Combien de vélos entrent dans ce parking à vélos (y compris les éventuels vélos de transport) ?",
        "nl": "Hoeveel fietsen kunnen in deze fietsparking (inclusief potentiëel bakfietsen)?",
        "gl": "Cantas bicicletas caben neste aparcadoiro de bicicletas (incluídas as posíbeis bicicletas de carga)?",
        "de": "Wie viele Fahrräder passen auf diesen Fahrrad-Parkplatz (einschließlich möglicher Lastenfahrräder)?"
      },
      "render": {
        "en": "Place for {capacity} bikes",
        "fr": "Place pour {capacity} vélos",
        "nl": "Plaats voor {capacity} fietsen",
        "gl": "Lugar para {capacity} bicicletas",
        "de": "Platz für {capacity} Fahrräder"
      },
      "freeform": {
        "key": "capacity",
        "type": "nat"
      }
    },
    {
      "#": "Access",
      "question": {
        "en": "Who can use this bicycle parking?",
        "nl": "Wie mag er deze fietsenstalling gebruiken?"
      },
      "render": {
        "en": "{access}"
      },
      "freeform": {
        "key": "access",
        "addExtraTags": [
          "fixme=Freeform used on 'access'-tag: possibly a wrong value"
        ]
      },
      "mappings": [
        {
          "if": "access=yes",
          "then": {
            "en": "Publicly accessible",
            "nl": "Publiek toegankelijke fietsenstalling"
          }
        },
        {
          "if": "access=customers",
          "then": {
            "en": "Access is primarily for visitors to a business",
            "nl": "Klanten van de zaak of winkel"
          }
        },
        {
          "if": "access=private",
          "then": {
            "en": "Access is limited to members of a school, company or organisation",
            "nl": "Private fietsenstalling van een school, een bedrijf, ..."
          }
        }
      ]
    },
    {
      "#": "Cargo bike spaces?",
      "question": {
        "en": "Does this bicycle parking have spots for cargo bikes?",
        "nl": "Heeft deze fietsparking plaats voor bakfietsen?",
        "gl": "Este aparcadoiro de bicicletas ten espazo para bicicletas de carga?",
        "de": "Gibt es auf diesem Fahrrad-Parkplatz Plätze für Lastenfahrräder?"
      },
      "mappings": [
        {
          "if": "cargo_bike=yes",
          "then": {
            "en": "This parking has room for cargo bikes",
            "nl": "Deze parking heeft plaats voor bakfietsen",
            "gl": "Este aparcadoiro ten espazo para bicicletas de carga.",
            "de": "Dieser Parkplatz bietet Platz für Lastenfahrräder"
          }
        },
        {
          "if": "cargo_bike=designated",
          "then": {
            "en": "This parking has designated (official) spots for cargo bikes.",
            "nl": "Er zijn speciale plaatsen voorzien voor bakfietsen",
            "gl": "Este aparcadoiro ten espazos designados (oficiais) para bicicletas de carga.",
            "de": "Dieser Parkplatz verfügt über ausgewiesene (offizielle) Plätze für Lastenfahrräder."
          }
        },
        {
          "if": "cargo_bike=no",
          "then": {
            "en": "You're not allowed to park cargo bikes",
            "nl": "Je mag hier geen bakfietsen parkeren",
            "gl": "Non está permitido aparcar bicicletas de carga",
            "de": "Es ist nicht erlaubt, Lastenfahrräder zu parken"
          }
        }
      ]
    },
    {
      "#": "Cargo bike capacity?",
      "question": {
        "en": "How many cargo bicycles fit in this bicycle parking?",
        "nl": "Voor hoeveel bakfietsen heeft deze fietsparking plaats?",
        "fr": "Combien de vélos de transport entrent dans ce parking à vélos ?",
        "gl": "Cantas bicicletas de carga caben neste aparcadoiro de bicicletas?",
        "de": "Wie viele Lastenfahrräder passen auf diesen Fahrrad-Parkplatz?"
      },
      "render": {
        "en": "This parking fits {capacity:cargo_bike} cargo bikes",
        "nl": "Deze parking heeft plaats voor {capacity:cargo_bike} fietsen",
        "fr": "Ce parking a de la place pour {capacity:cargo_bike} vélos de transport.",
        "gl": "Neste aparcadoiro caben {capacity:cargo_bike} bicicletas de carga",
        "de": "Auf diesen Parkplatz passen {capacity:cargo_bike} Lastenfahrräder"
      },
      "condition": "cargo_bike~designated|yes",
      "freeform": {
        "key": "capacity:cargo_bike",
        "type": "nat"
      }
    }
  ]
}