from pydantic import BaseModel class MotionItem(BaseModel): motion: str what: str class DroppedMotion(BaseModel): motion: str what: str why: str class MotionPlan(BaseModel): prompt: str has_qr: bool kept: list[MotionItem] dropped: list[DroppedMotion]