{ "name": "TicketState", "base": "MyModel", "validateUpsert": true, "properties": { "id": { "id": true, "type": "Number", "forceId": false }, "updated": { "type": "Date", "required": false } }, "relations": { "ticket": { "type": "belongsTo", "model": "Ticket", "foreignKey": "ticketFk" }, "state": { "type": "belongsTo", "model": "State", "foreignKey": "stateFk" }, "employee": { "type": "belongsTo", "model": "Employee", "foreignKey": "employeeFk" } }, "acls": [ { "accessType": "*", "principalType": "ROLE", "principalId": "$everyone", "permission": "DENY" }, { "accessType": "*", "principalType": "ROLE", "principalId": "root", "permission": "ALLOW" } ] }