{ "type": "Delegation Program", "menuItems": [ { "action": "Configure", "actionFunction": "uiObject.configEditor.activate", "label": "Configure", "iconPathOn": "configuration", "iconPathOff": "configuration" }, { "action": "Add UI Object", "actionProject": "Visual-Scripting", "actionFunction": "payload.executeAction", "label": "Add Delegate Power Switch", "relatedUiObject": "Delegate Power Switch", "relatedUiObjectProject": "Governance" }, { "action": "Add UI Object", "actionProject": "Visual-Scripting", "disableIfPropertyIsDefined": true, "propertyToCheckFor": "tokensBonus", "actionFunction": "payload.executeAction", "label": "Add Tokens Bonus", "relatedUiObject": "Tokens Bonus", "relatedUiObjectProject": "Governance" }, { "action": "Delete UI Object", "actionProject": "Visual-Scripting", "askConfirmation": true, "confirmationLabel": "Confirm to Delete", "label": "Delete", "iconPathOn": "delete-entity", "iconPathOff": "delete-entity", "actionFunction": "payload.executeAction" } ], "editors": { "config": true }, "initialValues": { "config": "{}" }, "attachingRules": { "compatibleTypes": "->Financial Programs->" }, "addLeftIcons": true, "level": 1, "propertyNameAtParent": "delegationProgram", "childrenNodesProperties": [ { "name": "delegatePowerSwitch", "type": "array", "childType": "Delegate Power Switch", "autoAdd": false }, { "name": "tokensBonus", "type": "node", "childType": "Tokens Bonus", "autoAdd": true } ] }