# generated by datamodel-codegen: # filename: dispatch_proposal_draft.json from __future__ import annotations from pydantic import BaseModel, ConfigDict, constr class TotalTargetRef(BaseModel): model_config = ConfigDict( extra='forbid', ) tool_call_id: constr(min_length=1) path: constr(min_length=1) class AllocationsRef(BaseModel): model_config = ConfigDict( extra='forbid', ) tool_call_id: constr(min_length=1) path: constr(min_length=1) class DispatchProposalDraft(BaseModel): model_config = ConfigDict( extra='forbid', ) market_date: constr(pattern=r'^\d{4}-\d{2}-\d{2}$') total_target_ref: TotalTargetRef allocations_ref: AllocationsRef rationale: constr(min_length=1)