forked from indexdata/mod-harvester-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathharvestJobStatus.json
37 lines (37 loc) · 933 Bytes
/
harvestJobStatus.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
{
"description": "Status of finished harvest job.",
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "The outcome of the harvester job according to Harvester.",
"enum": [
"NEW",
"OK",
"WARN",
"ERROR",
"RUNNING",
"FINISHED",
"KILLED"
]
},
"finished": {
"type": "string",
"description": "ISO formatted timestamp for when the job finished."
},
"started": {
"type": "string",
"description": "ISO formatted timestamp for when the job started."
},
"amountHarvested": {
"type": "string",
"description": "The number of records harvested in the harvest run."
},
"message": {
"type": "string",
"description": "Status message for the outcome of the harvest run."
}
},
"additionalProperties": false,
"required": ["status", "message"]
}