-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathicarGroupWeightEventResource.json
47 lines (47 loc) · 2.03 KB
/
icarGroupWeightEventResource.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
{
"description": "The Group Weight event records liveweight observations for a group of animals",
"allOf": [
{
"$ref": "../resources/icarGroupEventCoreResource.json"
},
{
"type": "object",
"properties": {
"units": {
"$ref": "../enums/uncefactMassUnitsType.json",
"description": "Units specified in UN/CEFACT 3-letter form. Default if not specified is KGM."
},
"method": {
"$ref": "../enums/icarWeightMethodType.json",
"description": "The method of observation. Loadcell is the default if not specified."
},
"resolution": {
"type": "number",
"description": "The smallest measurement difference that can be discriminated given the current device settings. Specified in Units, for instance 0.5 (kilograms)."
},
"animalWeights": {
"type": "array",
"items": {
"$ref": "../types/icarIndividualWeightType.json"
},
"description": "Array of animal id and weight pairs for animals in the event."
},
"statistics": {
"type": "array",
"items": {
"$ref": "../types/icarStatisticsType.json"
},
"description": "Array of weight statistics, namely average, sum, min, max, count, stdev"
},
"device": {
"$ref": "../types/icarDeviceReferenceType.json",
"description": "Optional information about the device used for the measurement."
},
"timeOffFeed": {
"type": "number",
"description": "Hours of curfew or withholding feed prior to weighing to standardise gut fill."
}
}
}
]
}