diff --git a/src/things/dish.ts b/src/things/dish.ts index 0ff81631..bd54d904 100644 --- a/src/things/dish.ts +++ b/src/things/dish.ts @@ -53,6 +53,11 @@ export interface SCDishWithoutReferences */ nutrition?: SCNutritionInformation; + /** + * Section of the restaurant menu to which the dish belongs + */ + menuSection?: SCMenuSection; + /** * Translated fields of a dish */ @@ -187,6 +192,20 @@ export interface SCNutritionInformation { sugarContent?: number; } +export interface SCMenuSection { + /** + * Name of the menu section (mostly to be used as a section title) + */ + name: 'breakfast' | 'lunch' | 'dinner'; + + /** + * The time span when the dishes from the sections are available. + * + * @see http://wiki.openstreetmap.org/wiki/Key:opening_hours/specification + */ + servingHours?: string; +} + /** * Meta information about a dish */ @@ -205,6 +224,7 @@ export class SCDishMeta extends SCThingMeta implements SCMetaTranslations