47 lines
1.1 KiB
JSON
47 lines
1.1 KiB
JSON
{
|
|
"fields": {
|
|
"name": {
|
|
"maxLength": 150,
|
|
"required": true,
|
|
"type": "varchar",
|
|
"trim": true
|
|
},
|
|
"data": {
|
|
"type": "jsonObject"
|
|
},
|
|
"fieldData": {
|
|
"type": "jsonObject"
|
|
},
|
|
"exportPermission": {
|
|
"type": "enum",
|
|
"options": ["not-set", "yes", "no"],
|
|
"default": "not-set",
|
|
"tooltip": true,
|
|
"translation": "Role.options.levelList"
|
|
},
|
|
"massUpdatePermission": {
|
|
"type": "enum",
|
|
"options": ["not-set", "yes", "no"],
|
|
"default": "not-set",
|
|
"tooltip": true,
|
|
"translation": "Role.options.levelList"
|
|
}
|
|
},
|
|
"links": {
|
|
"users": {
|
|
"type": "hasMany",
|
|
"entity": "User",
|
|
"foreign": "portalRoles"
|
|
},
|
|
"portals": {
|
|
"type": "hasMany",
|
|
"entity": "Portal",
|
|
"foreign": "portalRoles"
|
|
}
|
|
},
|
|
"collection": {
|
|
"orderBy": "name",
|
|
"order": "asc"
|
|
}
|
|
}
|