{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/whatsarab-com/json-schema/whatsarab-com-put-tenant-widget-request-schema.json",
  "title": "PutTenantWidgetRequest",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/whatsarab-com-openapi-generated.yml#/components/schemas/PutTenantWidgetRequest",
  "type": "object",
  "properties": {
    "enabled": {
      "type": "boolean",
      "description": "Show the widget on customer sites."
    },
    "phone": {
      "type": "string",
      "description": "Destination phone (digits, max 20)."
    },
    "message": {
      "type": "string",
      "description": "Pre-filled greeting (max 500 chars)."
    },
    "color": {
      "type": "string",
      "description": "CSS hex colour (e.g. `#25d366`)."
    },
    "position": {
      "type": "string",
      "description": "Screen position."
    },
    "label": {
      "type": "string",
      "description": "Button label (max 60 chars)."
    }
  }
}