Skip to content

The Open Standard for Generative UI

1.0 KB
Raw Blame
{
  "root": {
    "type": "Stack",
    "props": {
      "children": [
        {
          "type": "Button",
          "props": {
            "label": "Save",
            "action": {
              "actions": [
                {
                  "action": "ToAssistant",
                  "args": [
                    "Save order",
                    {
                      "orderId": 42,
                      "tags": [
                        "rush"
                      ]
                    }
                  ]
                }
              ]
            }
          }
        },
        {
          "type": "Button",
          "props": {
            "label": "Zero",
            "action": {
              "actions": [
                {
                  "action": "ToAssistant",
                  "args": [
                    "Pick zero",
                    0
                  ]
                }
              ]
            }
          }
        }
      ]
    }
  },
  "errors": [],
  "unresolved": [],
  "orphans": [],
  "incomplete": false
}