[
        {
            "actionKey": "CANCEL",
            "label": "Cancel",
            "type": "secondary",
            "icon": "close",
            "apiKey": null,
            "permissions": [{"roles": ["ROLE_VIEWER", "ROLE_ADMIN", "ROLE_SHOBA", "ROLE_RELATIONAL_MANAGER"], "condition": null}],
            "onSuccess": [{"roles": ["ALL"], "showToast": false, "showSuccessScreen": false}]
        },
        {
            "actionKey": "SAVE_DRAFT",
            "label": "Save Draft",
            "type": "secondary",
            "icon": "save",
            "apiKey": "SAVE_DRAFT",
            "permissions": [
                {"roles": ["ROLE_VIEWER"], "condition": {"field": "basicDetailsFilled", "operator": "NOT_EQUALS", "value": "completed"}},
                {"roles": ["ROLE_RELATIONAL_MANAGER"], "condition": {"operator": "AND", "conditions": [
                    {"field": "allowsProxyRegistration", "operator": "EQUALS", "value": true},
                    {"field": "basicDetailsFilled", "operator": "NOT_EQUALS", "value": "completed"}
                ]}}
            ],
            "onSuccess": [
                {"roles": ["ROLE_VIEWER"], "showToast": true, "toast": {"message": "Draft saved successfully!", "type": "success"}, "showSuccessScreen": false},
                {"roles": ["ROLE_RELATIONAL_MANAGER"], "showToast": true, "toast": {"message": "Draft saved successfully!", "type": "success"}, "showSuccessScreen": false}
            ]
        },
        {
            "actionKey": "SUBMIT_REGISTRATION",
            "label": "Submit",
            "type": "primary",
            "icon": "send",
            "apiKey": "SUBMIT_REGISTRATION",
            "permissions": [{"roles": ["ROLE_VIEWER"], "condition": {"field": "basicDetailsFilled", "operator": "NOT_EQUALS", "value": "completed"}}],
            "onSuccess": [{
                "roles": ["ROLE_VIEWER"],
                "showToast": true,
                "toast": {"message": "Registration submitted successfully!", "type": "success"},
                "showSuccessScreen": true,
                "successScreen": {
                    "title": "Registration Submitted!",
                    "message": "Your registration has been submitted successfully.",
                    "icon": "check_circle",
                    "actions": [{"actionKey": "HOME", "label": "Go to Home", "type": "primary", "icon": "home", "apiKey": null, "condition": null}]
                }
            }]
        },
        {
            "actionKey": "MAKE_PAYMENT",
            "label": "Make Payment",
            "type": "secondary",
            "icon": "arrow_forward",
            "apiKey": null,
            "permissions": [{"roles": ["ROLE_VIEWER", "ROLE_ADMIN", "ROLE_RELATIONAL_MANAGER"], "condition": {"operator": "AND", "conditions": [
                {"field": "basicDetailsFilled", "operator": "EQUALS", "value": "completed"},
                {"field": "requiresPayment",    "operator": "EQUALS", "value": true},
                {"field": "requiresApproval",   "operator": "EQUALS", "value": false},
                {"field": "isFreeSeat",          "operator": "EQUALS", "value": false},
                {"operator": "OR", "conditions": [
                    {"field": "registrationStatus", "operator": "NOT_IN", "value": ["waitlisted"]},
                    {"field": "reservedLink",        "operator": "EQUALS", "value": true}
                ]}
            ]}}],
            "onSuccess": [{"roles": ["ALL"], "showToast": false, "showSuccessScreen": false}]
        },
        {
            "actionKey": "PROCEED_TO_TRAVEL",
            "label": "Proceed to Travel",
            "type": "secondary",
            "icon": "arrow_forward",
            "apiKey": null,
            "permissions": [{"roles": ["ROLE_VIEWER", "ROLE_ADMIN", "ROLE_RELATIONAL_MANAGER"], "condition": {"operator": "AND", "conditions": [
                {"field": "basicDetailsFilled", "operator": "EQUALS", "value": "completed"},
                {"field": "involvesTravel",     "operator": "EQUALS", "value": true},
                {"field": "requiresApproval",   "operator": "EQUALS", "value": false},
                {"field": "requiresPayment",    "operator": "EQUALS", "value": false},
                {"operator": "OR", "conditions": [
                    {"field": "registrationStatus", "operator": "NOT_IN", "value": ["waitlisted"]},
                    {"field": "reservedLink",        "operator": "EQUALS", "value": true}
                ]}
            ]}}],
            "onSuccess": [{"roles": ["ALL"], "showToast": false, "showSuccessScreen": false}]
        }
    ]