# This file was auto-generated by Fern from our API Definition.

import typing

import pydantic

from ...core.pydantic_utilities import UniversalBaseModel


class OcrPage(UniversalBaseModel):
    page_num: int = pydantic.Field()
    """
    1-indexed page number.
    """

    content: typing.Optional[str] = pydantic.Field(default=None)
    """
    OCR output for the page (Markdown).
    """

    model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)  # type: ignore # Pydantic v2
