{
    "title": "chat_branding",
    "type": "object",
    "properties": {
        "id": {
            "type": "integer",
            "description": "Primary key, auto-increment"
        },
        "widget_name": {
            "type": "string",
            "description": "Widget display name"
        },
        "avatar_url": {
            "type": "string",
            "description": "AI bot avatar URL"
        },
        "avatar_fallback_initials": {
            "type": "string",
            "description": "Fallback initials when no avatar"
        },
        "agent_avatar_url": {
            "type": "string",
            "description": "Fallback avatar for human agents"
        },
        "primary_color": {
            "type": "string",
            "description": "Primary hex color"
        },
        "accent_color": {
            "type": "string",
            "description": "Accent hex color"
        },
        "bubble_bg_color": {
            "type": "string",
            "description": "Visitor bubble bg color"
        },
        "bubble_text_color": {
            "type": "string",
            "description": "Visitor bubble text color"
        },
        "header_bg_color": {
            "type": "string",
            "description": "Header bg color"
        },
        "header_text_color": {
            "type": "string",
            "description": "Header text color"
        },
        "launcher_style": {
            "type": "string",
            "description": "circle | pill | square"
        },
        "launcher_icon": {
            "type": "string",
            "description": "chat | sparkles | headset | custom_upload"
        },
        "launcher_icon_url": {
            "type": "string",
            "description": "Custom launcher icon URL"
        },
        "launcher_position": {
            "type": "string",
            "description": "bottom-right | bottom-left"
        },
        "welcome_message": {
            "type": "string",
            "description": "Pre-chat welcome message"
        },
        "offline_message": {
            "type": "string",
            "description": "Shown when no agents and AI disabled"
        },
        "ai_intro_message": {
            "type": "string",
            "description": "First AI greeting bubble"
        },
        "human_handover_message": {
            "type": "string",
            "description": "Shown when escalating to human"
        },
        "input_placeholder": {
            "type": "string",
            "description": "Input textarea placeholder"
        },
        "show_branding_footer": {
            "type": "boolean",
            "description": "Show powered by footer"
        },
        "footer_text": {
            "type": "string",
            "description": "Footer custom text"
        },
        "enable_sound": {
            "type": "boolean",
            "description": "Enable notification sound"
        },
        "notification_sound": {
            "type": "string",
            "description": "Sound preset name"
        },
        "theme_mode": {
            "type": "string",
            "description": "light | dark | auto"
        },
        "rounded": {
            "type": "string",
            "description": "none | sm | md | lg | xl"
        },
        "font_family": {
            "type": "string",
            "description": "Font family preset"
        }
    },
    "required": [
        "id"
    ]
}