{ "type": "Votes Switch", "menuItems": [ { "action": "Configure", "actionFunction": "uiObject.configEditor.activate", "label": "Configure", "iconPathOn": "configuration", "iconPathOff": "configuration" }, { "action": "Install Missing Votes", "actionProject": "Governance", "actionFunction": "payload.executeAction", "label": "Install Missing Votes", "relatedUiObject": "Weight Votes Switch", "askConfirmation": true, "confirmationLabel": "Confirm to Install", "relatedUiObjectProject": "Governance" }, { "action": "Add UI Object", "actionProject": "Visual-Scripting", "actionFunction": "payload.executeAction", "label": "Add Votes Switch", "relatedUiObject": "Votes Switch", "relatedUiObjectProject": "Governance" }, { "action": "Add UI Object", "actionProject": "Visual-Scripting", "actionFunction": "payload.executeAction", "label": "Add Claim Votes Switch", "relatedUiObject": "Claim Votes Switch", "relatedUiObjectProject": "Governance" }, { "action": "Add UI Object", "actionProject": "Visual-Scripting", "actionFunction": "payload.executeAction", "label": "Add Weight Votes Switch", "relatedUiObject": "Weight Votes Switch", "relatedUiObjectProject": "Governance" }, { "action": "Add UI Object", "actionProject": "Visual-Scripting", "actionFunction": "payload.executeAction", "label": "Add User Profile Votes Switch", "relatedUiObject": "User Profile Votes Switch", "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": "{}" }, "addLeftIcons": true, "level": 2, "attachingRules": { "compatibleTypes": "->Voting Program->Votes Switch->" }, "propertyNameAtParent": "votesSwitch", "childrenNodesProperties": [ { "name": "votesSwitch", "type": "array", "childType": "Votes Switch", "autoAdd": false }, { "name": "claimVotesSwitch", "type": "array", "childType": "Claim Votes Switch", "autoAdd": false }, { "name": "weightVotesSwitch", "type": "array", "childType": "Weight Votes Switch", "autoAdd": false }, { "name": "userProfileVotesSwitch", "type": "array", "childType": "User Profile Votes Switch", "autoAdd": false } ] }