from __future__ import annotations

from pydantic import BaseModel, ConfigDict, Field


class EpicrisisSummaryCompositionStructured(BaseModel):
    model_config = ConfigDict(extra="forbid", str_strip_whitespace=True)

    narrativa_cronologica: str = Field(alias="nc", min_length=1)
    fuentes_cubiertas: list[str] = Field(alias="fc", min_length=1)
