{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/muro-chat/json-schema/muro-chat-site-input-schema.json",
  "title": "SiteInput",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/muro-chat-openapi.json#/components/schemas/SiteInput",
  "type": "object",
  "required": [
    "domain"
  ],
  "properties": {
    "domain": {
      "type": "string",
      "description": "Hostname. A full URL is accepted and reduced to its hostname."
    },
    "name": {
      "type": "string",
      "maxLength": 80,
      "description": "Display name in the widget header. Defaults to the domain."
    },
    "color": {
      "type": "string",
      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
      "description": "Accent color as a hex value, for example \"#4323ec\"."
    },
    "language": {
      "type": "string",
      "description": "Widget language code such as \"en\" or \"fr\", or \"auto\" to follow each visitor's browser."
    }
  }
}