{
    "type": "overpass",
    "name": {
        "de": "Handwerk",
        "en": "Craft",
        "fr": "Artisanat",
        "hu": "MΕ±helyek",
        "pt": "Artesanato",
        "pt-br": "OfΓ­cios"
    },
    "query": {
        "15": "(node[craft];way[craft];relation[craft];);"
    },
    "feature": {
        "description": "{{ tagTransList('craft', tags.craft) }}",
        "markerSign": "{% set craft0 = tags.craft|split(';')[0] %}{% if const.crafts[craft0] %}{% set v = const.crafts[craft0] %}{% else %}{% set v = const.default %}{% endif %}{% if v|slice(0, 3) == 'fa-' %}<i class=\"fa {{ v }}\"></i>{% else %}{{ v|raw }}{% endif %}"
    },
    "const": {
        "default": "",
        "crafts": {
            "bakery": "fa-birthday-cake",
            "beekeeper": "🐝",
            "blacksmith": "πŸ”¨",
            "boatbuilder": "β›΅",
            "bookbinder": "πŸ“•",
            "brewery": "fa-beer",
            "builder": "🚧",
            "carpenter": "",
            "carpet_layer": "",
            "caterer": "fa-birthday-cake",
            "chimney_sweeper": "",
            "clockmaker": "⌚",
            "confectionery": "",
            "distillery": "🍷",
            "dressmaker": "&#128090;",
            "electrician": "πŸ”Œ",
            "floorer": "",
            "gardener": "⚘",
            "glaziery": "",
            "handicraft": "",
            "hvac": "",
            "insulation": "",
            "jeweller": "πŸ’",
            "key_cutter": "πŸ”‘",
            "locksmith": "πŸ”‘",
            "metal_construction": "",
            "optician": "πŸ‘“",
            "painter": "πŸ–Œ",
            "parquet_layer": "",
            "photographer": "πŸ“·",
            "photographic_laboratory": "πŸ“·",
            "piano_tuner": "",
            "plasterer": "",
            "plumber": "",
            "pottery": "",
            "rigger": "",
            "roofer": "",
            "saddler": "🐎",
            "sailmaker": "β›΅",
            "sawmill": "",
            "scaffolder": "",
            "sculptor": "",
            "shoemaker": "πŸ‘ž",
            "stand_builder": "",
            "stonemason": "",
            "sun_protection": "",
            "tailor": "&#128090;",
            "tiler": "",
            "tinsmith": "",
            "turner": "",
            "upholsterer": "",
            "watchmaker": "⌚",
            "window_construction": "",
            "winery": "🍷"
        }
    },
    "filter": {
        "craft": {
            "name": "{{ trans('filter:type') }}",
            "type": "select",
            "show_default": "true",
            "values": "{% set list = [] %}{% for t, v in const.crafts %}<option value=\"{{ t }}\">{% set list = list|merge([ t ]) %}{{ tagTrans('craft', t) }}</option>{% endfor %}<option value='other' query='nwr[craft][craft!~\"^({{ list|join('|') }})$\"]'>{{ trans('other') }}</option>"
        }
    }
}