# generated by datamodel-codegen:
#   filename:  activate-signal-request.json
#   timestamp: 2025-11-15T22:03:55+00:00

from __future__ import annotations

from typing import Annotated, Any

from adcp.types.base import AdCPBaseModel
from pydantic import ConfigDict, Field

from . import destination


class ActivateSignalRequest(AdCPBaseModel):
    model_config = ConfigDict(
        extra="forbid",
    )
    context: Annotated[
        dict[str, Any] | None,
        Field(
            description="Initiator-provided context included in the request payload. Agents must echo this value back unchanged in responses and webhooks. Use for UI/session hints, correlation tokens, or tracking metadata."
        ),
    ] = None
    destinations: Annotated[
        list[destination.Destination1 | destination.Destination2],
        Field(
            description="Target destination(s) for activation. If the authenticated caller matches one of these destinations, activation keys will be included in the response.",
            min_length=1,
        ),
    ]
    signal_agent_segment_id: Annotated[
        str, Field(description="The universal identifier for the signal to activate")
    ]
