"""Output schema for eligibility rejection summary chain."""
from __future__ import annotations

from pydantic import BaseModel, Field


class RejectionSummaryOutput(BaseModel):
    """Structured output from the rejection summary chain."""

    summary: str = Field(description="Plain-language summary of why eligibility failed")
    suggestions: list[str] = Field(
        default_factory=list, description="Fix suggestions for billing staff"
    )
