{ "name": "ClaimDms", "base": "Loggable", "options": { "mysql": { "table": "claimDms" } }, "allowedContentTypes": [ "image/png", "image/jpeg", "image/jpg" ], "properties": { "dmsFk": { "type": "number", "id": true, "required": true } }, "relations": { "claim": { "type": "belongsTo", "model": "Claim", "foreignKey": "claimFk" }, "dms": { "type": "belongsTo", "model": "Dms", "foreignKey": "dmsFk" } } }