Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Protocol Reference
JSON Schema for the Condition component.
else
If
Elif
Else
{ "type": "object", "properties": { "type": { "const": "Condition", "default": "Condition", "type": "string" }, "cases": { "type": "array", "items": { "type": "object", "properties": { "when": { "type": "string", "description": "Expression to evaluate (raw expression, not a {{ }} template)" }, "children": { "type": "array", "items": { "$ref": "Component" } } }, "required": ["when"] }, "minItems": 1, "description": "Ordered branches — first truthy `when` wins" }, "else": { "type": "array", "items": { "$ref": "Component" }, "description": "Components to render when no case matches" } }, "required": [ "type", "cases" ] }