{ "name": "ItemBarcode", "base": "Loggable", "options": { "mysql": { "table": "itemBarcode" } }, "properties": { "id": { "type": "number", "id": true, "description": "Identifier" }, "code": { "type": "string", "required": true } }, "relations": { "item": { "type": "belongsTo", "model": "Item", "foreignKey": "itemFk" } } }