"""Pydantic schemas for chat retention settings.

Chat CRUD schemas were removed — the active chat system uses
schemas from ai_session.py via the /ai-sessions endpoints.
"""
from typing import Optional
from pydantic import BaseModel, Field


class RetentionSettingsResponse(BaseModel):
    chat_retention_days: Optional[int]
    chat_retention_max_count: Optional[int]


class RetentionSettingsUpdate(BaseModel):
    chat_retention_days: Optional[int] = Field(None, ge=1, le=365)
    chat_retention_max_count: Optional[int] = Field(None, ge=10, le=10000)
