{ "name": "Account", "base": "PersistedModel", "validateUpsert": true, "properties": { "id": { "type": "number", "required": true }, "name": { "type": "string", "required": true }, "active": { "type": "boolean" } }, "acls": [ { "accessType": "*", "principalType": "ROLE", "principalId": "$authenticated", "permission": "ALLOW" }, { "accessType": "*", "principalType": "ROLE", "principalId": "$everyone", "permission": "DENY" } ] }