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

import typing

import pydantic
from ..core.pydantic_utilities import IS_PYDANTIC_V2
from ..core.unchecked_base_model import UncheckedBaseModel
from .media_id import MediaId


class TranscriptionOrderItemRequest(UncheckedBaseModel):
    media_ids: typing.List[MediaId] = pydantic.Field()
    """
    The IDs of the uploaded media files to transcribe.
    """

    source_language: str = pydantic.Field()
    """
    The language code of the source media (e.g. 'en', 'es').
    """

    verbatim: typing.Optional[bool] = pydantic.Field(default=None)
    """
    Whether to transcribe every word exactly, including filler words.
    """

    instructions: typing.Optional[str] = pydantic.Field(default=None)
    """
    Optional free-text instructions for the transcription team.
    """

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

        class Config:
            frozen = True
            smart_union = True
            extra = pydantic.Extra.allow
