43 lines
727 B
JSON
43 lines
727 B
JSON
{
|
|
"name": "State",
|
|
"base": "MyModel",
|
|
"validateUpsert": true,
|
|
"properties": {
|
|
"id": {
|
|
"id": true,
|
|
"type": "Number",
|
|
"forceId": false
|
|
},
|
|
"name": {
|
|
"type": "String",
|
|
"required": false
|
|
},
|
|
"order":{
|
|
"type": "Number",
|
|
"required": false
|
|
},
|
|
"alertLevel":{
|
|
"type": "Number",
|
|
"required": false
|
|
},
|
|
"code":{
|
|
"type": "String",
|
|
"required": false
|
|
}
|
|
},
|
|
"acls": [
|
|
{
|
|
"accessType": "*",
|
|
"principalType": "ROLE",
|
|
"principalId": "$everyone",
|
|
"permission": "DENY"
|
|
},
|
|
{
|
|
"accessType": "*",
|
|
"principalType": "ROLE",
|
|
"principalId": "root",
|
|
"permission": "ALLOW"
|
|
}
|
|
]
|
|
}
|