Files
Superalgos/Projects/Governance/Schemas/App-Schema/claims-program.json
T

90 lines
2.7 KiB
JSON

{
"type": "Claims Program",
"menuItems": [
{
"action": "Configure",
"actionFunction": "uiObject.configEditor.activate",
"label": "Configure",
"iconPathOn": "configuration",
"iconPathOff": "configuration"
},
{
"action": "Add UI Object",
"actionProject": "Foundations",
"label": "Add Asset Claims Folder",
"relatedUiObject": "Asset Claims Folder",
"actionFunction": "payload.executeAction"
},
{
"action": "Add UI Object",
"actionProject": "Foundations",
"actionFunction": "payload.executeAction",
"label": "Add Feature Claims Folder",
"relatedUiObject": "Feature Claims Folder"
},
{
"action": "Add UI Object",
"actionProject": "Foundations",
"actionFunction": "payload.executeAction",
"label": "Add Position Claims Folder",
"relatedUiObject": "Position Claims Folder"
},
{
"action": "Add UI Object",
"actionProject": "Foundations",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "tokensAwarded",
"actionFunction": "payload.executeAction",
"label": "Add Tokens Awarded",
"relatedUiObject": "Tokens Awarded"
},
{
"action": "Delete UI Object",
"actionProject": "Foundations",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"editors": {
"config": true
},
"initialValues": {
"config": "{}"
},
"attachingRules": {
"compatibleTypes": "->Token Switch->"
},
"addLeftIcons": true,
"level": 1,
"propertyNameAtParent": "claimsProgram",
"childrenNodesProperties": [
{
"name": "assetClaimsFolders",
"type": "array",
"childType": "Asset Claims Folder",
"autoAdd": false
},
{
"name": "featureClaimsFolders",
"type": "array",
"childType": "Feature Claims Folder",
"autoAdd": false
},
{
"name": "positionClaimsFolders",
"type": "array",
"childType": "Position Claims Folder",
"autoAdd": false
},
{
"name": "tokensAwarded",
"type": "node",
"childType": "Tokens Awarded",
"autoAdd": true
}
]
}