{
  "id": "hydrant",
  "name": {
    "en": "Map of hydrants",
    "ja": "消火栓の地図",
    "zh_Hant": "消防栓地圖",
    "nb_NO": "Kart over brannhydranter",
    "ru": "Карта пожарных гидрантов",
    "fr": "Carte des bornes incendie",
    "de": "Karte der Hydranten",
    "it": "Mappa degli idranti"
  },
  "minzoom": 14,
  "source": {
    "osmTags": {
      "and": [
        "emergency=fire_hydrant"
      ]
    }
  },
  "title": {
    "render": {
      "en": "Hydrant",
      "ru": "Гидрант",
      "ja": "消火栓",
      "nb_NO": "Brannhydrant",
      "fr": "Bornes incendie",
      "de": "Hydrant",
      "it": "Idrante"
    }
  },
  "description": {
    "en": "Map layer to show fire hydrants.",
    "ja": "消火栓を表示するマップレイヤ。",
    "zh_Hant": "顯示消防栓的地圖圖層。",
    "nb_NO": "Kartlag for å vise brannhydranter.",
    "ru": "Слой карты, отображающий пожарные гидранты.",
    "fr": "Couche des bornes incendie.",
    "de": "Kartenebene zur Anzeige von Hydranten.",
    "it": "Livello della mappa che mostra gli idranti antincendio."
  },
  "tagRenderings": [
    {
      "id": "hydrant-color",
      "question": {
        "en": "What color is the hydrant?",
        "ja": "消火栓の色は何色ですか?",
        "nb_NO": "Hvilken farge har brannhydranten?",
        "ru": "Какого цвета гидрант?",
        "fr": "Quelle est la couleur de la borne ?",
        "de": "Welche Farbe hat der Hydrant?",
        "it": "Qual è il colore dell’idrante?"
      },
      "render": {
        "en": "The hydrant color is {colour}",
        "ja": "消火栓の色は{colour}です",
        "nb_NO": "Brannhydranter er {colour}",
        "ru": "Цвет гидранта {colour}",
        "fr": "La borne est {colour}",
        "de": "Der Hydrant hat die Farbe {colour}",
        "it": "Il colore dell’idrante è {colour}"
      },
      "freeform": {
        "key": "colour"
      },
      "mappings": [
        {
          "if": {
            "and": [
              "colour="
            ]
          },
          "then": {
            "en": "The hydrant color is unknown.",
            "ja": "消火栓の色は不明です。",
            "ru": "Цвет гидранта не определён.",
            "fr": "La borne est de couleur inconnue.",
            "de": "Die Farbe des Hydranten ist unbekannt.",
            "it": "Il colore dell’idrante è sconosciuto."
          },
          "hideInAnswer": true
        },
        {
          "if": {
            "and": [
              "colour=yellow"
            ]
          },
          "then": {
            "en": "The hydrant color is yellow.",
            "ja": "消火栓の色は黄色です。",
            "ru": "Гидрант жёлтого цвета.",
            "fr": "La borne est jaune.",
            "de": "Die Farbe des Hydranten ist gelb.",
            "it": "Il colore dell’idrante è giallo."
          }
        },
        {
          "if": {
            "and": [
              "colour=red"
            ]
          },
          "then": {
            "en": "The hydrant color is red.",
            "ja": "消火栓の色は赤です。",
            "it": "L'idrante è rosso.",
            "ru": "Гидрант красного цвета.",
            "fr": "La borne est rouge.",
            "de": "Die Farbe des Hydranten ist rot."
          }
        }
      ]
    },
    {
      "id": "hydrant-type",
      "question": {
        "en": "What type of hydrant is it?",
        "ja": "どんな消火栓なんですか?",
        "it": "Di che tipo è questo idrante?",
        "ru": "К какому типу относится этот гидрант?",
        "fr": "De quel type de borne s’agit-il ?",
        "de": "Um welche Art von Hydrant handelt es sich?"
      },
      "freeform": {
        "key": "fire_hydrant:type"
      },
      "render": {
        "en": " Hydrant type: {fire_hydrant:type}",
        "ru": " Тип гидранта: {fire_hydrant:type}",
        "ja": " 消火栓のタイプ:{fire_hydrant:type}",
        "it": " Tipo di idrante: {fire_hydrant:type}",
        "fr": " Type de borne : {fire_hydrant:type}",
        "de": " Hydranten-Typ: {fire_hydrant:type}"
      },
      "mappings": [
        {
          "if": {
            "and": [
              "fire_hydrant:type="
            ]
          },
          "then": {
            "en": "The hydrant type is unknown.",
            "ja": "消火栓の種類は不明です。",
            "it": "Il tipo di idrante è sconosciuto.",
            "ru": "Тип гидранта не определён.",
            "fr": "La borne est de type inconnu.",
            "de": "Der Typ des Hydranten ist unbekannt."
          },
          "hideInAnswer": true
        },
        {
          "if": {
            "and": [
              "fire_hydrant:type=pillar"
            ]
          },
          "then": {
            "en": "<img style=\"width:15px\" src=\"./assets/themes/hailhydrant/hydrant_pillar.svg\" /> Pillar type.",
            "ja": "<img style=\"width:15px\" src=\"./assets/themes/hailhydrant/hydrant_pillar.svg\" /> ピラー型。",
            "fr": "<img style=\"width:15px\" src=\"./assets/themes/hailhydrant/hydrant_pillar.svg\" /> Pilier.",
            "de": "<img style=\"width:15px\" src=\"./assets/themes/hailhydrant/hydrant_pillar.svg\" /> Säulenart.",
            "it": "<img style=\"width:15px\" src=\"./assets/themes/hailhydrant/hydrant_pillar.svg\" /> Soprasuolo."
          }
        },
        {
          "if": {
            "and": [
              "fire_hydrant:type=pipe"
            ]
          },
          "then": {
            "en": "<img style=\"width:15px\" src=\"./assets/themes/hailhydrant/hydrant_unknown.svg\" /> Pipe type.",
            "ja": "<img style=\"width:15px\" src=\"./assets/themes/hailhydrant/hydrant_unknown.svg\" /> パイプ型。",
            "fr": "<img style=\"width:15px\" src=\"./assets/themes/hailhydrant/hydrant_unknown.svg\" /> Tuyau.",
            "de": "<img style=\"width:15px\" src=\"./assets/themes/hailhydrant/hydrant_unknown.svg\" /> Rohrtyp.",
            "it": "<img style=\"width:15px\" src=\"./assets/themes/hailhydrant/hydrant_unknown.svg\" /> Tubo."
          }
        },
        {
          "if": {
            "and": [
              "fire_hydrant:type=wall"
            ]
          },
          "then": {
            "en": "<img style=\"width:15px\" src=\"./assets/themes/hailhydrant/hydrant_unknown.svg\" /> Wall type.",
            "id": "<img style=\"width:15px\" src=\"./assets/themes/hailhydrant/hydrant_unknown.svg\" /> Jenis dinding.",
            "ru": "<img style=\"width:15px\" src=\"./assets/themes/hailhydrant/hydrant_unknown.svg\" /> Тип стены.",
            "ja": "<img style=\"width:15px\" src=\"./assets/themes/hailhydrant/hydrant_unknown.svg\" /> 壁型。",
            "fr": "<img style=\"width:15px\" src=\"./assets/themes/hailhydrant/hydrant_unknown.svg\" /> Mural.",
            "de": "<img style=\"width:15px\" src=\"./assets/themes/hailhydrant/hydrant_unknown.svg\" /> Wandtyp.",
            "it": "<img style=\"width:15px\" src=\"./assets/themes/hailhydrant/hydrant_unknown.svg\" /> A muro."
          }
        },
        {
          "if": {
            "and": [
              "fire_hydrant:type=underground"
            ]
          },
          "then": {
            "en": "<img style=\"width:15px\" src=\"./assets/themes/hailhydrant/hydrant_underground.svg\" /> Underground type.",
            "ja": "<img style=\"width:15px\" src=\"./assets/themes/hailhydrant/hydrant_underground.svg\" />地下式。",
            "fr": "<img style=\"width:15px\" src=\"./assets/themes/hailhydrant/hydrant_underground.svg\" /> Enterré.",
            "de": "<img style=\"width:15px\" src=\"./assets/themes/hailhydrant/hydrant_underground.svg\" /> Untergrundtyp.",
            "it": "<img style=\"width:15px\" src=\"./assets/themes/hailhydrant/hydrant_underground.svg\" /> Sottosuolo."
          }
        }
      ]
    },
    {
      "id": "hydrant-state",
      "question": {
        "en": "Is this hydrant still working?",
        "ja": "消火栓のライフサイクルステータスを更新します。",
        "fr": "Mettre à jour l’état de la borne.",
        "de": "Ist dieser Hydrant noch in Betrieb?",
        "it": "Aggiorna lo stato di funzionamento dell’idrante."
      },
      "mappings": [
        {
          "if": {
            "and": [
              "emergency=fire_hydrant"
            ]
          },
          "then": {
            "en": "The hydrant is (fully or partially) working",
            "ja": "消火栓は(完全にまたは部分的に)機能しています。",
            "ru": "Гидрант (полностью или частично) в рабочем состоянии",
            "fr": "La borne est en état, ou partiellement en état, de fonctionner.",
            "de": "Der Hydrant ist (ganz oder teilweise) in Betrieb",
            "it": "L’idrante è (parzialmente o completamente) funzionante."
          }
        },
        {
          "if": {
            "and": [
              "disused:emergency=fire_hydrant",
              "emergency="
            ]
          },
          "then": {
            "en": "The hydrant is unavailable",
            "ja": "消火栓は使用できません。",
            "fr": "La borne est hors-service.",
            "de": "Der Hydrant ist nicht verfügbar",
            "it": "L’idrante è fuori servizio."
          }
        },
        {
          "if": {
            "and": [
              "removed:emergency=fire_hydrant",
              "emergency="
            ]
          },
          "then": {
            "en": "The hydrant has been removed",
            "ja": "消火栓が撤去されました。",
            "ru": "Гидрант демонтирован",
            "fr": "La borne a été retirée.",
            "de": "Der Hydrant wurde entfernt",
            "it": "L’idrante è stato rimosso."
          }
        }
      ]
    },
    "images"
  ],
  "presets": [
    {
      "tags": [
        "emergency=fire_hydrant"
      ],
      "title": {
        "en": "Fire hydrant",
        "ru": "Пожарный гидрант",
        "ja": "消火栓",
        "nb_NO": "Brannhydrant",
        "fr": "Borne incendie",
        "de": "Löschwasser-Hydrant",
        "it": "Idrante antincendio"
      },
      "description": {
        "en": "A hydrant is a connection point where firefighters can tap water. It might be located underground.",
        "ja": "消火栓は消防士が水を汲み上げることができる接続点です。地下にあるかもしれません。",
        "fr": "Une borne incendie est un point où les pompiers peuvent s’alimenter en eau. Elle peut être enterrée.",
        "de": "Ein Hydrant ist ein Anschlusspunkt, an dem die Feuerwehr Wasser zapfen kann. Er kann sich unterirdisch befinden.",
        "it": "Un idrante è un punto di collegamento dove i pompieri possono estrarre acqua. Potrebbe trovarsi sottoterra."
      }
    }
  ],
  "mapRendering": [
    {
      "icon": {
        "render": "./assets/themes/hailhydrant/hydrant.svg"
      },
      "iconSize": {
        "render": "20,20,center"
      },
      "location": [
        "point",
        "centroid"
      ]
    },
    {
      "color": {
        "render": "#00f"
      },
      "width": {
        "render": "8"
      }
    }
  ]
}