2017-06-13 06:44:40 +00:00
|
|
|
{
|
|
|
|
"name": "State",
|
|
|
|
"base": "MyModel",
|
|
|
|
"validateUpsert": true,
|
|
|
|
"properties": {
|
2017-06-13 09:26:54 +00:00
|
|
|
"id": {
|
2017-06-13 06:44:40 +00:00
|
|
|
"id": true,
|
|
|
|
"type": "Number",
|
|
|
|
"forceId": false
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "String",
|
|
|
|
"required": false
|
2017-06-13 09:26:54 +00:00
|
|
|
},
|
|
|
|
"order":{
|
|
|
|
"type": "Number",
|
|
|
|
"required": false
|
|
|
|
},
|
|
|
|
"alertLevel":{
|
|
|
|
"type": "Number",
|
|
|
|
"required": false
|
|
|
|
},
|
|
|
|
"code":{
|
|
|
|
"type": "String",
|
|
|
|
"required": false
|
2017-06-13 06:44:40 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"acls": [
|
|
|
|
{
|
|
|
|
"accessType": "*",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "$everyone",
|
|
|
|
"permission": "DENY"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"accessType": "*",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "root",
|
|
|
|
"permission": "ALLOW"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|