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

import typing

import typing_extensions
from .external_data_validation_step_definition_config import ExternalDataValidationStepDefinitionConfigParams
from .simple_next_entry import SimpleNextEntryParams


class ExternalDataValidationStepDefinitionParams(typing_extensions.TypedDict):
    """
    Sends extraction data to an external HTTP endpoint for validation.

    See the [External Data Validation step docs](https://docs.extend.ai/2026-02-09/product/workflows/configuring-workflows-via-api#external-data-validation-step).
    """

    name: str
    config: typing_extensions.NotRequired[ExternalDataValidationStepDefinitionConfigParams]
    """
    Optional on create/update. Required before the workflow can be deployed. Omitted in responses when the step is not yet configured.
    """

    next: typing_extensions.NotRequired[typing.Sequence[SimpleNextEntryParams]]
    """
    Can only be set when `config` is present.
    """
