forked from indexdata/mod-harvester-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
failedRecordPreviousJob.json
78 lines (78 loc) · 2.67 KB
/
failedRecordPreviousJob.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"description": "An error report about an Inventory record set that had one or more errors during upsert or delete.",
"type": "object",
"properties": {
"id": {
"description": "Unique ID (uuid) for this error report.",
"type": "string"
},
"harvestJobId": {
"description": "Identifier (uuid) of the harvest job run creating the error report",
"type": "string"
},
"harvestableId": {
"description": "Identifier (numeric) of the harvest configuration (harvestable), by which the job was run.",
"type": "integer"
},
"harvestableName": {
"description": "Name of the harvest configuration (harvestable), by which the job was run.",
"type": "string"
},
"recordErrors" : {
"type": "array",
"description": "List of errors encountered during upsert or delete.",
"items": {
"type": "object",
"description": "Report of an error encountered during upsert or delete.",
"properties":{
"error": {
"type": "object",
"description": "The error object",
"properties": {
"label": {
"type": "string",
"description": "Short context description"
},
"typeOfError": {
"type": "string",
"description": "Error category."
},
"typeOfRecord": {
"type": "string",
"description": "The type of entity affected by the error, i.e. 'HOLDINGS_RECORD'."
},
"transaction": {
"type": "string",
"description": "The type of transaction performed when the error occurred."
},
"message": {
"type": "object",
"description": "Error message produced by the backend component reporting the error."
},
"entity": {
"type": "object",
"description": "The JSON object entity that encountered an error - ie. a holdingsRecord JSON."
}
}
}
}
}
},
"original": {
"type": "string",
"description": "I.e. the XML of the incoming record before transformation to an Inventory record set."
},
"transformedRecord": {
"type": "object",
"description": "The JSON outcome of the transformation of the original record."
},
"timeStamp": {
"type": "string",
"description": "The time the error occurred, Day Mon DD HH24:mi:ss TZ yyyy"
},
"recordNumber": {
"type": "string",
"description": "The identifier assigned to this error report by Harvester"
}
}
}