From 9e5ace07d46959dbc3972a5f0948dc989c2b73f6 Mon Sep 17 00:00:00 2001 From: Robin van der Linde Date: Mon, 2 Dec 2024 13:41:56 +0100 Subject: [PATCH] Themes(food): Add question about drive-through --- assets/layers/food/food.json | 49 ++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/assets/layers/food/food.json b/assets/layers/food/food.json index d187bd0c5..bc81032fa 100644 --- a/assets/layers/food/food.json +++ b/assets/layers/food/food.json @@ -804,6 +804,55 @@ } ] }, + { + "id": "drive-through", + "condition": "amenity=fast_food", + "question": { + "en": "Does this fast-food restaurant have a drive-through?", + "nl": "Heeft dit fastfoodrestaurant een drive-through?" + }, + "mappings": [ + { + "if": "drive_through=yes", + "then": { + "en": "This fast-food restaurant has a drive-through", + "nl": "Dit fastfoodrestaurant heeft een drive-through" + } + }, + { + "if": "drive_through=no", + "then": { + "en": "This fast-food restaurant does not have a drive-through", + "nl": "Dit fastfoodrestaurant heeft geen drive-through" + } + } + ] + }, + { + "id": "drive-through-opening_hours", + "condition": "drive_through=yes", + "question": { + "en": "What are the opening hours of the drive-through?", + "nl": "Wat zijn de openingsuren van de drive-through?" + }, + "freeform": { + "key": "opening_hours:drive_through", + "type": "opening_hours" + }, + "mappings": [ + { + "if": "opening_hours:drive_through=", + "then": { + "en": "The opening hours of the drive-through are the same as the restaurant", + "nl": "De openingsuren van de drive-through zijn dezelfde als die van het restaurant" + } + } + ], + "render": { + "en": "

Drive-through opening hours

{opening_hours_table(opening_hours:drive_through)}", + "nl": "

Openingsuren van de drive-through

{opening_hours_table(opening_hours:drive_through)}" + } + }, { "question": { "nl": "Heeft deze eetgelegenheid een vegetarische optie?",