The Open Standard for Generative UI
{
"root": {
"type": "Stack",
"props": {
"children": [
{
"type": "Button",
"props": {
"label": "Bump",
"action": {
"actions": [
{
"action": "Set",
"args": [
"$m",
9
]
}
]
}
}
},
{
"type": "Button",
"props": {
"label": "Go",
"action": {
"actions": [
{
"action": "Set",
"args": [
"$n",
5
]
},
{
"action": "Reset",
"args": [
"$m"
]
},
{
"action": "ToAssistant",
"args": [
"done"
]
}
]
}
}
}
]
}
},
"errors": [],
"unresolved": [],
"orphans": [],
"incomplete": false,
"state": {
"$n": 1,
"$m": 7
}
}