[
    {
      "actionKey": "SKIP",
      "label": "Skip",
      "type": "secondary",
      "icon": "skip_next",
      "apiKey": null,
      "permissions": [{"roles": ["ROLE_VIEWER"], "condition": null}],
      "onSuccess": [{"roles": ["ROLE_VIEWER"], "showToast": false, "showSuccessScreen": false}]
    },
    {
      "actionKey": "SAVE_GOODIES",
      "label": "submit",
      "type": "primary",
      "icon": "send",
      "apiKey": "SAVE_GOODIES",
      "permissions": [{"roles": ["ROLE_VIEWER"], "condition": {"operator": "AND", "conditions": [
        {"field": "hasGoodies", "operator": "EQUALS", "value": true},
        {"operator": "OR", "conditions": [
          {"field": "paymentStatus", "operator": "IN", "value": ["online_completed", "offline_completed", "offline_pending", "completed"]},
          {"field": "isFreeSeat", "operator": "EQUALS", "value": true}
        ]}
      ]}}],
      "onSuccess": [{
        "roles": ["ROLE_VIEWER"],
        "showToast": true,
        "toast": {"message": "Goodies selection saved successfully!", "type": "success"},
        "showSuccessScreen": false
      }]
    }
  ]