"""
Common Schemas

Shared Pydantic models used across multiple API modules.
"""

from pydantic import BaseModel, Field


class ErrorResponse(BaseModel):
    """Error response."""

    status: str = Field(default="error", description="Error status")
    message: str = Field(..., description="Error message")
    detail: str | None = Field(None, description="Detailed error information")
