{ "type": "Votes Distribution", "menuItems": [ { "action": "Configure", "actionFunction": "uiObject.configEditor.activate", "label": "Configure", "iconPathOn": "configuration", "iconPathOff": "configuration" }, { "action": "Add UI Object", "actionFunction": "payload.executeAction", "label": "Add Votes Switch", "relatedUiObject": "Votes Switch" }, { "action": "Add UI Object", "disableIfPropertyIsDefined": true, "propertyToCheckFor": "userReferrer", "actionFunction": "payload.executeAction", "label": "Add User Referrer", "relatedUiObject": "User Referrer" }, { "action": "Delete UI Object", "askConfirmation": true, "confirmationLabel": "Confirm to Delete", "label": "Delete", "iconPathOn": "delete-entity", "iconPathOff": "delete-entity", "actionFunction": "payload.executeAction" } ], "editors": { "config": true }, "initialValues": { "config": "{}" }, "attachingRules": { "compatibleTypes": "->User Profile->" }, "addLeftIcons": true, "level": 1, "propertyNameAtParent": "votesDistribution", "childrenNodesProperties": [ { "name": "votesSwitch", "type": "array", "childType": "Votes Switch", "autoAdd": false } ] }