[
    {
      "actionKey": "CANCEL",
      "label": "Cancel",
      "type": "secondary",
      "icon": "close",
      "apiKey": null,
      "permissions": [{"roles": ["ROLE_ADMIN", "ROLE_RELATIONAL_MANAGER", "ROLE_VIEWER"], "condition": null}],
      "onSuccess": [{"roles": ["ROLE_ADMIN", "ROLE_RELATIONAL_MANAGER", "ROLE_VIEWER"], "showToast": false, "showSuccessScreen": false}]
    },
    {
      "actionKey": "SUBMIT_TRAVEL",
      "label": "submit",
      "type": "primary",
      "icon": "send",
      "apiKey": "SUBMIT_TRAVEL",
      "permissions": [{"roles": ["ROLE_VIEWER"], "condition": {"operator": "AND", "conditions": [
        {"field": "paymentStatus", "operator": "IN", "value": ["online_completed", "offline_completed", "completed"]},
        {"field": "isWaitlisted", "operator": "EQUALS", "value": false},
        {"field": "registrationStatus", "operator": "NOT_IN", "value": ["waitlisted"]},
        {"field": "approvalStatus", "operator": "EQUALS", "value": "approved"}
      ]}}],
      "onSuccess": [{
        "roles": ["ROLE_VIEWER"],
        "showToast": true,
        "toast": {"message": "Travel details submitted successfully!", "type": "success"},
        "showSuccessScreen": true,
        "successScreen": {
          "title": "Registration Complete!",
          "message": "Your registration for the Entrainment Program is now complete. We look forward to seeing you!",
          "icon": "check_circle",
          "actions": [{"actionKey": "HOME", "label": "home", "type": "primary", "icon": "home", "apiKey": null, "condition": null}]
        }
      }]
    }
  ]