"""
Base configuration model shared by all Kurier transport types.
"""

from pydantic import BaseModel


class BaseConfig(BaseModel):
    """
    Base class for all Kurier transport configuration models.

    Every transport configuration must include a ``name`` that uniquely
    identifies the line instance within the registry.
    """

    name: str
    serializer: str = "json"
    cloudevents_source: str | None = None
