{
  "create": {
    "version": "1.0",
    "createSurface": {
      "surfaceId": "ticket-review",
      "catalogId": "https://www.auraui.cc/examples/a2ui-ticket/catalog.json",
      "components": [
        {
          "id": "root",
          "component": "TicketCard",
          "ticketId": { "@path": "/ticket/id" },
          "title": { "@path": "/ticket/title" },
          "description": { "@path": "/ticket/description" },
          "status": { "@path": "/ticket/status" },
          "confirmed": { "@path": "/ticket/confirmed" },
          "action": {
            "event": {
              "name": "confirm_ticket",
              "context": { "ticketId": { "@path": "/ticket/id" } }
            }
          }
        }
      ],
      "dataModel": {
        "ticket": {
          "id": "WEB-142",
          "title": "Add keyboard shortcuts",
          "description": "Let the support team open search and create a ticket from the keyboard.",
          "status": "Awaiting confirmation",
          "confirmed": false
        }
      }
    }
  },
  "confirm": {
    "version": "1.0",
    "updateDataModel": {
      "surfaceId": "ticket-review",
      "path": "/ticket",
      "value": {
        "id": "WEB-142",
        "title": "Add keyboard shortcuts",
        "description": "Let the support team open search and create a ticket from the keyboard.",
        "status": "Confirmed",
        "confirmed": true
      }
    }
  }
}
