from pydantic import BaseModel from datetime import date class PlayPlayer(BaseModel): name: str username: str score: float first_play : bool has_won : bool class Play(BaseModel): boardgame_id: int players: list[PlayPlayer] playdate: date duration: int #In minutes ignore_for_stats : bool location: str