{
  "id": "observation_tower",
  "name": {
    "en": "Observation towers",
    "nl": "Uitkijktorens",
    "ru": "Смотровые башни",
    "de": "Aussichtstürme"
  },
  "minzoom": 8,
  "title": {
    "render": {
      "en": "Observation tower",
      "nl": "Uitkijktoren",
      "ru": "Смотровая башня",
      "de": "Beobachtungsturm"
    },
    "mappings": [
      {
        "if": "name~*",
        "then": {
          "en": "<b>{name}</b>",
          "nl": "<b>{name}</b>",
          "ru": "<b>{name}</b>",
          "de": "<b>{name}</b>"
        }
      }
    ]
  },
  "description": {
    "en": "Towers with a panoramic view",
    "nl": "Torens om van het uitzicht te genieten",
    "de": "Türme zur Aussicht auf die umgebende Landschaft"
  },
  "tagRenderings": [
    "images",
    {
      "question": {
        "en": "What is the name of this tower?",
        "nl": "Heeft deze toren een naam?",
        "de": "Wie heißt dieser Turm?"
      },
      "render": {
        "en": "This tower is called <b>{name}</b>",
        "nl": "Deze toren heet <b>{name}</b>",
        "de": "Der Name dieses Turms lautet <b>{name}</b>"
      },
      "freeform": {
        "key": "name"
      },
      "mappings": [
        {
          "if": "noname=yes",
          "then": {
            "en": "This tower doesn't have a specific name",
            "nl": "Deze toren heeft geen specifieke naam",
            "de": "Dieser Turm hat keinen eigenen Namen"
          }
        }
      ],
      "id": "name"
    },
    {
      "question": {
        "en": "What is the height of this tower?",
        "nl": "Hoe hoog is deze toren?",
        "de": "Wie hoch ist dieser Turm?"
      },
      "render": {
        "en": "This tower is {height} high",
        "nl": "Deze toren is {height} hoog",
        "de": "Dieser Turm ist {height} hoch"
      },
      "freeform": {
        "key": "height",
        "type": "pfloat"
      },
      "id": "Height"
    },
    {
      "id": "access",
      "question": {
        "en": "Can this tower be visited?",
        "nl": "Is deze toren publiek toegankelijk?"
      },
      "mappings": [
        {
          "if": "access=yes",
          "then": {
            "en": "This tower is publicly accessible",
            "nl": "Deze toren is publiek toegankelijk"
          }
        },
        {
          "if": "access=guided",
          "then": {
            "en": "This tower can only be visited with a guide",
            "nl": "Deze toren can enkel bezocht worden met een gids"
          }
        }
      ]
    },
    {
      "question": {
        "en": "How much does one have to pay to enter this tower?",
        "nl": "Hoeveel moet men betalen om deze toren te bezoeken?",
        "de": "Was kostet der Zugang zu diesem Turm?"
      },
      "render": {
        "en": "Visiting this tower costs <b>{charge}</b>",
        "nl": "Deze toren bezoeken kost <b>{charge}</b>",
        "de": "Der Besuch des Turms kostet <b>{charge}</b>"
      },
      "freeform": {
        "key": "charge",
        "addExtraTags": [
          "fee=yes"
        ]
      },
      "mappings": [
        {
          "if": {
            "and": [
              "fee=no",
              "charge="
            ]
          },
          "then": {
            "en": "Free to visit",
            "nl": "Gratis te bezoeken",
            "de": "Eintritt kostenlos"
          }
        }
      ],
      "id": "Fee",
      "condition": {
        "or": [
          "access=yes",
          "access=guided"
        ]
      }
    },
    {
      "builtin": "payment-options",
      "override": {
        "condition": {
          "or": [
            "fee=yes",
            "charge~*"
          ]
        }
      },
      "id": "Payment methods"
    },
    "website",
    {
      "id": "step_count",
      "question": {
        "en": "How much individual steps does one have to climb to reach the top of this tower?",
        "nl": "Hoeveel treden moet men beklimmen op de top van de toren te bereiken?"
      },
      "freeform": {
        "key": "step_count",
        "type": "pnat"
      },
      "render": {
        "en": "This tower has {step_count} steps to reach the top",
        "nl": "Deze toren heeft {step_count} traptredes"
      },
      "condition": {
            "or": [
              "access=yes",
              "access=guided"
            ]
      }
    },
    {
      "id": "elevator",
      "question": {
        "en": "Does this tower have an elevator?",
        "nl": "Heeft deze toren een lift?"
      },
      "mappings": [
        {
          "if": "elevator=yes",
          "then": {
            "en": "This tower has an elevator which takes visitors to the top",
            "nl": "Deze toren heeft een lift die bezoekers naar de top van de toren brengt"
          }
        },
        {
          "if": "elevator=no",
          "then": {
            "en": "This tower does not have an elevator",
            "nl": "Deze toren heeft geen lift"
          }
        }
      ],
      "condition": {
        "or": [
          "access=yes",
          "access=guided"
        ]
      }
    },
    {
      "question": {
        "en": "Who maintains this tower?",
        "nl": "Wie onderhoudt deze toren?",
        "de": "Wer betreibt diesen Turm?"
      },
      "render": {
        "nl": "Wordt onderhouden door <b>{operator}</b>",
        "en": "Maintained by <b>{operator}</b>",
        "de": "Betrieben von <b>{operator}</b>"
      },
      "freeform": {
        "key": "operator"
      },
      "id": "Operator"
    },
    {
      "builtin": "wheelchair-access",
      "override": {
        "condition": {
          "and": [
            "elevator=yes",
            {
              "or": [
                "access=yes",
                "access=guided"
              ]
            }
          ]
        }
      }
    },
    "wikipedia"
  ],
  "source": {
    "osmTags": {
      "and": [
        "tower:type=observation"
      ]
    }
  },
  "units": [
    {
      "appliesToKey": [
        "height"
      ],
      "applicableUnits": [
        {
          "canonicalDenomination": "m",
          "alternativeDenomination": [
            "meter",
            "mtr"
          ],
          "human": {
            "nl": " meter",
            "en": " meter",
            "ru": " метр",
            "de": " Meter"
          }
        }
      ],
      "eraseInvalidValues": true
    }
  ],
  "allowMove": {
    "enableRelocation": false,
    "enableImproveAccuraccy": true
  },
  "mapRendering": [
    {
      "icon": {
        "render": "circle:white;./assets/layers/observation_tower/Tower_observation.svg"
      },
      "iconSize": {
        "render": "40,40,center"
      },
      "location": [
        "point",
        "centroid"
      ]
    }
  ]
}