{ "name": "Worker", "description": "Company employees", "base": "VnModel", "options": { "mysql": { "table": "worker" } }, "properties": { "id": { "type": "Number", "id": true, "description": "Identifier" }, "firstName": { "type": "string", "required": true }, "name": { "type": "string", "required": true }, "userFk": { "type" : "Number", "required": true } }, "relations": { "user": { "type": "belongsTo", "model": "Account", "foreignKey": "userFk" } } }