from typing import Dict, List
from pydantic import BaseModel


class RestaurantDetails(BaseModel):
    location: str
    map_url: str
    menu: List[Dict[str, str]]
    title: str
    url: str


class Restaurant(BaseModel):
    restaurant: RestaurantDetails


class RestaurantListDetails(BaseModel):
    campus: str
    identifier: str
    menu_url: str
    name: str
    osm: str
    url: str


class RestaurantList(BaseModel):
    restaurants: List[RestaurantListDetails]
