diff --git a/index.json b/index.json
index 2721734ab..d5c01b9d1 100644
--- a/index.json
+++ b/index.json
@@ -342,6 +342,9 @@
},
{
"id": "wikipedia"
+ },
+ {
+ "id": "xmas"
}
]
}
diff --git a/xmas.json b/xmas.json
new file mode 100644
index 000000000..91adbfc45
--- /dev/null
+++ b/xmas.json
@@ -0,0 +1,80 @@
+{
+ "type": "overpass",
+ "name": {
+ "en": "Christmas"
+ },
+ "query": {
+ "14": [
+ "(",
+ "node[\"xmas:feature\"];",
+ "way[\"xmas:feature\"];",
+ "relation[\"xmas:feature\"];",
+ ")"
+ ]
+ },
+ "feature": {
+ "title": "{{ attribute(tags, \"xmas:name\")|default(trans(\"unnamed\")) }}",
+ "description": "{{ tagTransList(\"xmas:feature\", attribute(tags, \"xmas:feature\")) }}",
+ "body": [
+ "{% if attribute(tags, 'xmas:location') %}",
+ "
",
+ " ",
+ " {{ keyTrans('location') }}:",
+ " ",
+ " {{ attribute(tags, 'xmas:location') }}",
+ " ",
+ "",
+ "{% endif %}",
+ "",
+ "{% if attribute(tags, 'xmas:day_date') %}",
+ "",
+ " ",
+ " Open:",
+ " ",
+ " {{ attribute(tags, 'xmas:day_date') }}",
+ " ",
+ "",
+ "{% endif %}",
+ "",
+ "{% if attribute(tags, 'xmas:opening_hours') %}",
+ "",
+ " ",
+ " {{ keyTrans('opening_hours') }}:",
+ " ",
+ " {{ attribute(tags, 'xmas:opening_hours') }}",
+ " ",
+ "",
+ "{% endif %}",
+ "",
+ "{% if attribute(tags, 'xmas:url') %}",
+ "",
+ " ",
+ " {{ keyTrans('website') }}:",
+ " ",
+ " {{ attribute(tags, 'xmas:url') }}",
+ " ",
+ "",
+ "{% endif %}"
+ ],
+ "markerSign": [
+ "{{ attribute(const, attribute(tags, 'xmas:feature'))|raw }}",
+ ""
+ ]
+ },
+ "const": {
+ "market": "",
+ "tree": "",
+ "shop": "",
+ "event": ""
+ },
+ "info": [
+ "",
+ "{% for value, icon in const %}",
+ " ",
+ " {{ markerCircle({})|raw }} {{ icon|raw }} | ",
+ " {{ tagTrans('xmas:feature', value) }} | ",
+ "
",
+ "{% endfor %}",
+ "
"
+ ]
+}