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?",