{
"email": {
"dataSource": "mail",
"public": false,
"options": {
"base": "Email"
}
},
"user": {
"dataSource": "db",
"public": true,
"base": "User",
"relations": {
"accessTokens": {
"model": "accessToken",
"type": "hasMany",
"foreignKey": "userId"
"accessToken": {
"base": "AccessToken"
"widget": {
"properties": {},
"store": {
"model": "store",
"type": "belongsTo"
"widgets": {
"model": "widget",
"type": "hasMany"