Changed opening_hours mapping, updated filters
This commit is contained in:
parent
5cbfa3f633
commit
0fe850ffd5
3 changed files with 15 additions and 50 deletions
|
@ -237,7 +237,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"builtin": "opening_hours",
|
||||
"builtin": "opening_hours_24_7",
|
||||
"override": {
|
||||
"condition": "access!=no",
|
||||
"question": {
|
||||
|
@ -629,27 +629,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "is_open",
|
||||
"options": [
|
||||
{
|
||||
"question": {
|
||||
"nl": "Nu geopened",
|
||||
"en": "Opened now",
|
||||
"de": "Derzeit geöffnet",
|
||||
"es": "Abierto ahora",
|
||||
"fr": "Ouvert maintenant",
|
||||
"da": "Åbnet nu"
|
||||
},
|
||||
"osmTags": {
|
||||
"or": [
|
||||
"opening_hours=",
|
||||
"_isOpen=yes"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
"open_now"
|
||||
],
|
||||
"deletion": {
|
||||
"softDeletionTags": {
|
||||
|
|
|
@ -321,27 +321,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "is_open",
|
||||
"options": [
|
||||
{
|
||||
"question": {
|
||||
"nl": "Nu geopened",
|
||||
"en": "Opened now",
|
||||
"de": "Derzeit geöffnet",
|
||||
"es": "Abierto ahora",
|
||||
"fr": "Ouvert maintenant",
|
||||
"da": "Åbnet nu"
|
||||
},
|
||||
"osmTags": {
|
||||
"or": [
|
||||
"opening_hours=",
|
||||
"_isOpen=yes"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
"open_now"
|
||||
],
|
||||
"deletion": {
|
||||
"softDeletionTags": {
|
||||
|
|
|
@ -629,11 +629,15 @@
|
|||
"freeform": {
|
||||
"key": "opening_hours",
|
||||
"type": "opening_hours"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "opening_hours=24/7",
|
||||
"then": {
|
||||
}
|
||||
},
|
||||
"opening_hours_24_7": {
|
||||
"builtin": "opening_hours",
|
||||
"override": {
|
||||
"mappings": [
|
||||
{
|
||||
"if": "opening_hours=24/7",
|
||||
"then": {
|
||||
"en": "24/7 opened (including holidays)",
|
||||
"de": "durchgehend geöffnet (auch an Feiertagen)",
|
||||
"zh_Hant": "24/7 開放 (包括假日)",
|
||||
|
@ -644,8 +648,9 @@
|
|||
"fr": "Ouvert 24h/24 (jours fériés compris)",
|
||||
"nb_NO": "Døgnåpent (inkludert helligdager)"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"service:electricity": {
|
||||
"#": "service:socket describes if a pub, restaurant or café offers electricity to their customers.",
|
||||
|
|
Loading…
Reference in a new issue