-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathicarFeedReportResource.json
44 lines (42 loc) · 1.49 KB
/
icarFeedReportResource.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
{
"description": "Reporting the feed consumed during a certain time period",
"allOf": [{
"$ref": "../resources/icarResource.json"
},
{
"type": "object",
"properties": {
"animals": {
"type": "array",
"items": {
"$ref": "../types/icarAnimalIdentifierType.json"
},
"description": "As per JSON-LD Hydra syntax, animals provides the array of animals part of the feeding report. This could also be a report for one animal."
},
"reportStartDateTime": {
"$ref": "../types/icarDateTimeType.json",
"description": "The RFC3339 UTC moment the period of the reporting started (see https://ijmacd.github.io/rfc3339-iso8601/ for format guidance)."
},
"reportEndDateTime": {
"$ref": "../types/icarDateTimeType.json",
"description": "The RFC3339 UTC moment the period of the reporting ended (see https://ijmacd.github.io/rfc3339-iso8601/ for format guidance)."
},
"feedVisitDuration": {
"$ref": "../types/icarFeedDurationType.json"
},
"consumedFeed": {
"type": "array",
"items": {
"$ref": "../types/icarConsumedFeedType.json"
}
},
"consumedRation": {
"type": "array",
"items": {
"$ref": "../types/icarConsumedRationType.json"
}
}
}
}
]
}