{ "name": "ClaimState", "base": "Loggable", "log": { "model": "ClaimLog", "relation": "claim", "showField": "description" }, "options": { "mysql": { "table": "claimState" } }, "properties": { "id": { "type": "number", "id": true, "description": "Identifier" }, "code": { "type": "string", "required": true }, "description": { "type": "string", "required": true }, "priority": { "type": "number", "required": true }, "hasToNotify": { "type": "boolean", "required": true } }, "relations": { "writeRole": { "type": "belongsTo", "model": "Role", "foreignKey": "roleFk" } }, "acls": [ { "accessType": "READ", "principalType": "ROLE", "principalId": "$everyone", "permission": "ALLOW" } ] }