{ "name": "Recovery", "base": "Loggable", "options": { "mysql": { "table": "recovery" } }, "properties": { "id": { "id": true, "type": "number", "description": "Identifier" }, "started": { "type": "date", "required": true }, "finished": { "type": "date" }, "amount": { "type": "number", "required": true }, "period": { "type": "number" } }, "relations": { "client": { "type": "belongsTo", "model": "Client", "foreignKey": "clientFk" } } }