from __future__ import annotations from pydantic import BaseModel class ContactChannelSchema(BaseModel): type: str label: str value: str | None = None qr_image: str | None = None is_primary: bool = False description: str | None = None class ContactChannelResponse(ContactChannelSchema): id: int sort_order: int = 0 class Config: from_attributes = True class ContactConfigSchema(BaseModel): security_notice: str | None = None