{ "fields": { "import": { "type": "link", "readOnly": true }, "entityType": { "type": "foreign", "link": "import", "field": "entityType" }, "rowIndex": { "type": "int", "readOnly": true, "tooltip": true }, "exportRowIndex": { "type": "int", "readOnly": true }, "lineNumber": { "type": "int", "readOnly": true, "tooltip": true, "notStorable": true, "view": "views/import-error/fields/line-number" }, "exportLineNumber": { "type": "int", "readOnly": true, "tooltip": true, "notStorable": true, "view": "views/import-error/fields/line-number" }, "type": { "type": "enum", "options": [ "", "Validation", "No-Access", "Not-Found", "Integrity-Constraint-Violation" ], "readOnly": true }, "validationFailures": { "type": "jsonArray", "readOnly": true, "view": "views/import-error/fields/validation-failures" }, "row": { "type": "array", "readOnly": true, "displayAsList": true, "doNotStoreArrayValues": true } }, "links": { "import": { "type": "belongsTo", "entity": "Import", "foreign": "errors", "foreignName": "id" } }, "collection": { "orderBy": "rowIndex" }, "indexes": { "rowIndex": { "columns": ["rowIndex"] }, "importRowIndex": { "columns": ["importId", "rowIndex"] } } }