{ "name": "MessageInbox", "base": "MyModel", "validateUpsert": true, "properties": { "id": { "type": "Number", "id": true, "description": "Identifier" }, "uuid":{ "type": "String" }, "sender":{ "type": "String" }, "recipient":{ "type": "String" }, "finalRecipient":{ "type": "String" }, "message":{ "type": "String" }, "sendDate":{ "type": "date" } }, "acls": [ { "accessType": "*", "principalType": "ROLE", "principalId": "$everyone", "permission": "DENY" }, { "accessType": "*", "principalType": "ROLE", "principalId": "root", "permission": "ALLOW" } ] }