Skip to content

The Open Standard for Generative UI

866 B
Raw Blame
{
  "root": {
    "type": "Stack",
    "props": {
      "children": [
        {
          "type": "Button",
          "props": {
            "label": "Save",
            "action": [
              {
                "actions": [
                  {
                    "action": "Set",
                    "args": [
                      "$saved",
                      true
                    ]
                  }
                ]
              },
              {
                "actions": [
                  {
                    "action": "ToAssistant",
                    "args": [
                      "Saved"
                    ]
                  }
                ]
              }
            ]
          }
        }
      ]
    }
  },
  "errors": [],
  "unresolved": [],
  "orphans": [],
  "incomplete": false,
  "state": {
    "$saved": false
  }
}