"""Schemas for the branding / company settings."""
from pydantic import BaseModel, Field


class SettingOut(BaseModel):
    company_name: str
    # Served URLs, or empty strings when the asset has not been uploaded yet.
    logo_url: str = ""
    favicon_url: str = ""


class SettingUpdate(BaseModel):
    company_name: str = Field(
        min_length=1,
        max_length=200,
        description="Company / brand name shown across the interface.",
    )
