Changed opening_hours mapping, updated filters

This commit is contained in:
Robin van der Linde 2022-10-17 21:44:03 +02:00
parent 5cbfa3f633
commit 0fe850ffd5
No known key found for this signature in database
GPG key ID: 53956B3252478F0D
3 changed files with 15 additions and 50 deletions

View file

@ -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": {

View file

@ -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": {

View file

@ -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.",