"""Схемы escrow-транзакций.""" from pydantic import BaseModel, Field class EscrowCreate(BaseModel): project_id: str = Field(..., description="ID проекта") client_id: str = Field(..., description="ID клиента") freelancer_id: str = Field(..., description="ID фрилансера") amount: float = Field(..., gt=0, description="Сумма в рублях") class EscrowRelease(BaseModel): transaction_id: str = Field(..., description="ID транзакции")