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

import typing

import typing_extensions
from ..core.serialization import FieldMetadata
from .edit_schema_generation_mapping_match import EditSchemaGenerationMappingMatchParams


class EditSchemaGenerationMappingResultParams(typing_extensions.TypedDict):
    """
    Mapping information between an input schema and the detected form fields.
    """

    matches: typing.Sequence[EditSchemaGenerationMappingMatchParams]
    """
    Fields from the input schema that were successfully mapped to detected form fields.
    """

    unmatched_input_paths: typing_extensions.Annotated[typing.Sequence[str], FieldMetadata(alias="unmatchedInputPaths")]
    """
    Input schema field paths that could not be matched to the form.
    """

    unused_form_field_keys: typing_extensions.Annotated[
        typing.Sequence[str], FieldMetadata(alias="unusedFormFieldKeys")
    ]
    """
    Detected form field keys that were not used by the input schema mapping.
    """
