{ "name": "AddressObservation", "base": "VnModel", "options": { "mysql": { "table": "addressObservation" } }, "properties": { "id": { "type": "number", "id": true, "description": "Identifier" }, "description": { "type": "string", "required": true }, "observationTypeFk": { "required": true } }, "relations": { "address": { "type": "belongsTo", "model": "Address", "foreignKey": "addressFk" }, "observationType": { "type": "belongsTo", "model": "ObservationType", "foreignKey": "observationTypeFk" } } }