{ "name": "Employee", "base": "MyModel", "validateUpsert": true, "properties": { "id": { "type": "Number", "id": true, "description": "Identifier" }, "name":{ "type": "String" }, "surname":{ "type": "String" } }, "relations": { "user": { "type": "belongsTo", "model": "Account", "foreignKey": "userFk" } }, "acls": [], "include":[ { "relation": "user", "scope": { "fields": ["name"] } } ] }