diff --git a/backend/schemas.py b/backend/schemas.py index 20f55de..819c124 100644 --- a/backend/schemas.py +++ b/backend/schemas.py @@ -276,6 +276,22 @@ class RandomNumberOutcomeResponse(BaseModel): created_at: datetime +# ============================================================================= +# Price History Schemas +# ============================================================================= + + +class PriceHistoryResponse(BaseModel): + """Response model for a price history record.""" + + id: int + source: str + pair: str + price: float + timestamp: datetime + created_at: datetime + + # ============================================================================= # Meta/Constants Schemas # =============================================================================