"""Output schema for pre-submission summary chain."""
from __future__ import annotations

from pydantic import BaseModel, Field


class PreSubmissionOutput(BaseModel):
    """Structured output from the pre-submission summary chain."""

    ready_to_submit: bool = Field(description="Whether claim is ready for submission")
    concerns: list[str] = Field(
        default_factory=list, description="Issues that could cause denial"
    )
    summary: str = Field(description="Brief pre-submission assessment")
