forked from adewg/ICAR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
icarDailyMilkingAveragesResource.json
40 lines (37 loc) · 1.11 KB
/
icarDailyMilkingAveragesResource.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": "Resource containing daily averages calculated from milking visit of a single animal",
"allOf": [{
"$ref": "icarResource.json"
},
{
"type": "object",
"required": [
"location",
"animal",
"averageDate"
],
"properties": {
"id": {
"type": "string",
"description": "Unique identifier in the source system for this event."
},
"animal": {
"$ref": "../types/icarAnimalIdentifierType.json",
"description": "Unique animal scheme and identifier combination."
},
"averageDate": {
"$ref": "../types/icarDateType.json",
"description": "The date on which the average has been calculated."
},
"milkYieldAvg24h": {
"$ref": "../types/icarTraitAmountType.json",
"description": "The average-amount of milk produced within 24h."
},
"milkYieldAvg7days": {
"$ref": "../types/icarTraitAmountType.json",
"description": "The average-amount of milk produced within 7 days."
}
}
}
]
}