# app/modules/hosting/schemas/template.py
"""Pydantic schemas for template responses."""

from pydantic import BaseModel


class TemplateResponse(BaseModel):
    """Schema for a single template."""

    id: str
    name: str
    description: str
    tags: list[str] = []
    languages: list[str] = []
    pages: list[str] = []


class TemplateListResponse(BaseModel):
    """Schema for template list response."""

    templates: list[TemplateResponse]
