{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/cloudflare/main/json-schema/cloudflare-widget-input-schema.json", "title": "WidgetInput", "x-generated": "2026-10-03", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/cloudflare-widgets-api-openapi.yml#/components/schemas/WidgetInput", "type": "object", "required": [ "name", "domains", "mode" ], "properties": { "name": { "type": "string", "description": "Name for the widget." }, "domains": { "type": "array", "items": { "type": "string" }, "description": "Allowed domains." }, "mode": { "type": "string", "enum": [ "managed", "non-interactive", "invisible" ] }, "bot_fight_mode": { "type": "boolean" } } }