{
  "id": "trail",
  "name": {
    "en": "Trails",
    "nl": "Wandeltochten",
    "ru": "Тропы",
    "de": "Wanderwege",
    "fr": "Sentiers",
    "ca": "Camins",
    "da": "Stier",
    "cs": "Stezky",
    "pl": "Ścieżki",
    "es": "Senderos"
  },
  "description": {
    "en": "Waymarked trails",
    "nl": "Aangeduide wandeltochten",
    "de": "Markierte Wanderwege",
    "ca": "Rutes marcades",
    "es": "Senderos señalizados"
  },
  "source": {
    "osmTags": {
      "and": [
        {
          "or": [
            "route~.*foot.*",
            "route~.*hiking.*",
            "route~.*bycicle.*",
            "route~.*horse.*"
          ]
        }
      ]
    }
  },
  "minzoom": 12,
  "title": {
    "render": {
      "en": "Trail",
      "nl": "Wandeltocht",
      "ru": "Тропа",
      "de": "Wanderweg",
      "fr": "Sentier",
      "ca": "Camí",
      "da": "Sti",
      "cs": "Stezka",
      "pl": "Ścieżka",
      "es": "Sendero"
    },
    "mappings": [
      {
        "if": "name~*",
        "then": "{name}"
      }
    ]
  },
  "pointRendering": [
    {
      "marker": [
        {
          "icon": {
            "render": "./assets/layers/trail/trail.svg",
            "mappings": [
              {
                "if": "wheelchair=yes",
                "then": "./assets/layers/trail/wheelchair.svg"
              },
              {
                "if": "pushchair=yes",
                "then": "./assets/layers/trail/pushchair.svg"
              }
            ]
          }
        }
      ],
      "iconSize": "35,35",
      "location": [
        "point"
      ],
      "anchor": "center"
    }
  ],
  "lineRendering": [
    {
      "color": {
        "render": "#335D9F",
        "mappings": [
          {
            "if": "colour~*",
            "then": "{colour}"
          }
        ]
      },
      "width": "3",
      "dashArray": "5 5"
    }
  ],
  "tagRenderings": [
    "images",
    {
      "id": "trail-length",
      "render": {
        "en": "The trail is {_length:km} kilometers long",
        "nl": "Deze wandeling is {_length:km} kilometer lang",
        "de": "Der Wanderweg ist {_length:km} Kilometer lang",
        "fr": "Le sentier fait {_length:km} kilomètres de long",
        "da": "Stien er {_length:km} kilometer lang",
        "ca": "El sender té {_length:km} quilòmetres",
        "cs": "Stezka je dlouhá {_length:km} kilometrů",
        "es": "El sendero tiene {_length:km} kilómetros de largo"
      }
    },
    {
      "question": {
        "en": "What is the name of this trail?",
        "nl": "Wat is de naam van deze wandeling?",
        "de": "Wie heißt dieser Weg?",
        "ca": "Quin és el nom d'aquest sender?",
        "es": "¿Cuál es el nombre de este sendero?"
      },
      "render": {
        "en": "This trail is called <b>{name}</b>",
        "nl": "Deze wandeling heet <b>{name}</b>",
        "de": "Dieser Weg heißt <b>{name}</b>",
        "ca": "Aquest sender s'anomena <b>{name}</b>",
        "es": "Este sendero se llama <b>{name}</b>"
      },
      "freeform": {
        "key": "name"
      },
      "id": "Name"
    },
    {
      "render": {
        "en": "This trail is maintained by {operator}",
        "nl": "Beheer door {operator}",
        "de": "Dieser Weg wird von {operator} gepflegt",
        "es": "Este sendero es mantenido por {operator}"
      },
      "question": {
        "en": "Who maintains this trail?",
        "nl": "Wie beheert deze wandeltocht?",
        "de": "Wer pflegt diesen Weg?",
        "es": "¿Quién mantiene este sendero?"
      },
      "freeform": {
        "key": "operator"
      },
      "mappings": [
        {
          "if": {
            "and": [
              "operator=Natuurpunt"
            ]
          },
          "then": {
            "en": "This trail is maintained by Natuurpunt",
            "nl": "Dit gebied wordt beheerd door Natuurpunt",
            "de": "Dieser Weg wird von Natuurpunt gepflegt",
            "ca": "Aquest sender és mantingut per Natuurpunt",
            "es": "Este sendero es mantenido por Natuurpunt"
          },
          "icon": {
            "path": "./assets/themes/buurtnatuur/Natuurpunt.jpg",
            "class": "small"
          }
        },
        {
          "if": {
            "and": [
              "operator~(n|N)atuurpunt.*"
            ]
          },
          "then": {
            "en": "This trail is maintained by {operator}",
            "nl": "Dit gebied wordt beheerd door {operator}",
            "de": "Dieser Weg wird von {operator} gepflegt",
            "es": "Este sendero es mantenido por {operator}"
          },
          "hideInAnswer": true,
          "icon": {
            "path": "./assets/themes/buurtnatuur/Natuurpunt.jpg",
            "class": "small"
          }
        }
      ],
      "id": "Operator tag"
    },
    {
      "question": {
        "en": "What is the reference colour of this trail?",
        "nl": "Welke kleur heeft deze wandeling?",
        "de": "Was ist die Referenzfarbe dieses Weges?",
        "ca": "Quin és el color de referència d'aquest sender?",
        "es": "¿Cuál es el color de referencia de este sendero?"
      },
      "render": {
        "en": "The reference colour is {colour}",
        "nl": "Deze wandeling heeft kleur {colour}",
        "de": "Die Referenzfarbe ist {colour}",
        "ca": "El color de referència és {colour}",
        "es": "El color de referencia es {colour}"
      },
      "freeform": {
        "key": "colour",
        "type": "color"
      },
      "mappings": [
        {
          "if": "colour=blue",
          "then": {
            "nl": "Blauwe wandeling",
            "en": "Blue trail",
            "de": "Blauer Weg",
            "fr": "Sentier bleu",
            "da": "Blå sti",
            "ca": "Ruta blava",
            "cs": "Modrá stezka",
            "es": "Sendero azul"
          }
        },
        {
          "if": "colour=red",
          "then": {
            "nl": "Rode wandeling",
            "en": "Red trail",
            "de": "Roter Weg",
            "fr": "Sentier rouge",
            "da": "Rød sti",
            "ca": "Ruta vermella",
            "cs": "Červená stezka",
            "es": "Sendero rojo"
          }
        },
        {
          "if": "colour=green",
          "then": {
            "nl": "Groene wandeling",
            "en": "Green trail",
            "de": "Grüner Weg",
            "fr": "Sentier vert",
            "da": "Grøn sti",
            "ca": "Ruta verda",
            "cs": "Zelená stezka",
            "es": "Sendero verde"
          }
        },
        {
          "if": "colour=yellow",
          "then": {
            "nl": "Gele wandeling",
            "en": "Yellow trail",
            "de": "Gelber Weg",
            "fr": "Sentier jaune",
            "da": "Gul sti",
            "ca": "Ruta groga",
            "cs": "Žlutá stezka",
            "es": "Sendero amarillo"
          }
        }
      ],
      "id": "Color"
    },
    {
      "question": {
        "en": "Is this trail wheelchair accessible?",
        "nl": "Is deze wandeling toegankelijk met de rolstoel?",
        "de": "Ist dieser Weg rollstuhlgerecht?",
        "es": "¿Es este sendero accesible para sillas de ruedas?"
      },
      "mappings": [
        {
          "then": {
            "en": "This trail is wheelchair-accessible",
            "nl": "deze wandeltocht is toegankelijk met de rolstoel",
            "de": "Dieser Weg ist rollstuhlgerecht",
            "es": "Este sendero es accesible para sillas de ruedas"
          },
          "if": "wheelchair=yes"
        },
        {
          "then": {
            "en": "This trail is not wheelchair accessible",
            "nl": "deze wandeltocht is niet toegankelijk met de rolstoel",
            "de": "Dieser Weg ist nicht rollstuhlgerecht",
            "es": "Este sendero no es accesible para sillas de ruedas"
          },
          "if": "wheelchair=no"
        }
      ],
      "id": "Wheelchair access"
    },
    {
      "question": {
        "en": "Is this trail accessible with a pushchair?",
        "nl": "Is deze wandeltocht toegankelijk met de buggy?",
        "de": "Ist dieser Weg mit einem Kinderwagen zugänglich?",
        "es": "¿Es este sendero accesible con una silla de paseo?"
      },
      "mappings": [
        {
          "then": {
            "en": "This trail is accessible with a pushchair",
            "nl": "deze wandeltocht is toegankelijk met de buggy",
            "de": "Dieser Weg ist mit einem Kinderwagen zugänglich",
            "es": "Este sendero es accesible con una silla de paseo"
          },
          "if": "pushchair=yes"
        },
        {
          "then": {
            "en": "This trail is not accessible with a pushchair",
            "nl": "deze wandeltocht is niet toegankelijk met de buggy",
            "de": "Dieser Weg ist nicht mit einem Kinderwagen zugänglich",
            "es": "Este sendero no es accesible con una silla de paseo"
          },
          "if": "pushchair=no"
        }
      ],
      "id": "pushchair access"
    }
  ],
  "allowMove": false
}
