-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathicarFeedIntakeEventResource.json
40 lines (37 loc) · 1.19 KB
/
icarFeedIntakeEventResource.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
{
"description": "Event for recording a feed intake",
"allOf": [{
"$ref": "../resources/icarAnimalEventCoreResource.json"
},
{
"type": "object",
"required": [
"feedingStartingDateTime",
"feedVisitDuration"
],
"properties": {
"feedingStartingDateTime": {
"$ref": "../types/icarDateTimeType.json",
"description": "The RFC3339 UTC moment the feeding started (see https://ijmacd.github.io/rfc3339-iso8601/ for format guidance)."
},
"feedVisitDuration": {
"$ref": "../types/icarFeedDurationType.json"
},
"consumedFeed": {
"type": "array",
"items": {
"$ref": "../types/icarConsumedFeedType.json"
}
},
"consumedRation": {
"$ref": "../types/icarConsumedRationType.json",
"description": "The eventual ration that has been consumed"
},
"device": {
"$ref": "../types/icarDeviceReferenceType.json",
"description": "Optional information about the device used for the feeding."
}
}
}
]
}