"""
Contact island prop schemas.

Auto-generated from packages/lightwave-ui/src/islands/contact-registry.tsx
Generated: 2026-02-02

Islands are React components hydrated on the client. These schemas define
the props that Django passes to the React island via JSON serialization.
"""

from pydantic import ConfigDict, Field

from lightwave.schema.pydantic.core.base import LightwaveBaseSchema


class BaseContactProps(LightwaveBaseSchema):
    """
    Base props that all contact variants should support.

    Source: packages/lightwave-ui/src/islands/contact-registry.tsx
    """

    headline: str | None = None
    description: str | None = None
    form_action: str | None = Field(None, serialization_alias="formAction")
    csrf_token: str | None = Field(None, serialization_alias="csrfToken")

    model_config = ConfigDict(
        populate_by_name=True,
        extra="forbid",
    )


CONTACT_VARIANTS = ["icons-and-form", "simple-form", "centered-map"]

__all__ = ["BaseContactProps", "CONTACT_VARIANTS"]
