-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from erwinspeybroeck/master
worked on milking visits and test day result
- Loading branch information
Showing
6 changed files
with
231 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 41 additions & 3 deletions
44
Release Candidate Messages/icarMilkCharacteristicsType.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,42 @@ | ||
{ | ||
"type": "string", | ||
"description": "ICAR Milk Characteristics Codes and values - we have at this moment SCC, FAT, PROTEIN, LAC, UREA, BLOOD, ACETONE, BHB, LDH, PRO, AVGCOND, MAXCOND, AVGFLWR, MAXFLWR, WEIGHT. E.g. SCC:123" | ||
} | ||
"required": [ | ||
"characteristic", | ||
"value" | ||
], | ||
"type": "object", | ||
"properties": { | ||
"characteristic": { | ||
"type": "string", | ||
"description": "ICAR Milk Characteristics Codes and values - we have at this moment SCC, FAT, PROTEIN, LAC, UREA, BLOOD, ACETONE, BHB, LDH, PRO, AVGCOND, MAXCOND, AVGFLWR, MAXFLWR, WEIGHT. | ||
The following units have to be applied:\n\n | ||
|SCC |Somatic cell count |x1000 cells/ml |NCL\n | ||
|FAT |Fat |% |VP\n | ||
|PROTEIN |Protein |% |VP\n | ||
|LAC |Lactose |% |VP\n | ||
|UREA |Urea |mg/l |M1\n | ||
|BLOOD |Blood |true/false |A99\n | ||
|ACETONE |Acetone |mmol/l |M33\n | ||
|BHB |Beta hydroxybutyrate |mmol/l |M33\n | ||
|LDH |Lactate dehydrogenase |IU/l |\n | ||
|PRO |Progesteron |mmol/l |M33\n | ||
|AVGCOND |Average conductivity value of the milk at 25 ° C |mS/cm |H61\n | ||
|MAXCOND |Maximum conductivity value of the milk at 25 ° C |mS/cm |H61\n | ||
|AVGFLWR |Average flow rate |Kg/min |F31\n | ||
|MAXFLWR |Max flow rate |Kg/min |F31\n | ||
|WEIGHT |Weight of animal |Kg |KGM\n | ||
|PAG |Pregnancy associated glycoprotein |mmol/l |M33" | ||
}, | ||
"value": { | ||
"type": "string", | ||
"description": "the value of the characteristic measured" | ||
}, | ||
"unit": { | ||
"type": "string", | ||
"description": "the defaults are described above, only use this field when differed from the default. Use UN/CEFACT codes." | ||
}, | ||
icarMeasuringDevice: { | ||
"type": "string", | ||
"description": "a more readable device class ID that contains manufacturer, device, hardware and software versions in a way that is similar to the USB specification. This will need more investigation." | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"type": "string", | ||
"description": "The test day code, indicating a status of the cow on the test day.", | ||
"enum": [ | ||
"Dry", | ||
"Sampling impossible", | ||
"Sick" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"required": [ | ||
"id", | ||
"animal", | ||
"EventDateTime" | ||
], | ||
|
||
"type": "object", | ||
|
||
"allOf": [ | ||
{ | ||
"$ref": "icarEventCoreResource.json" | ||
}, | ||
{ | ||
"properties": { | ||
"MilkWeight24Hours": { | ||
"$ref": "icarMilkingMilkWeightType.json" | ||
}, | ||
"TestDayCode": { | ||
"$ref": "icarTestDayCodeType.json" | ||
}, | ||
"icarMilkCharacteristics": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "icarMilkCharacteristicsType.json" | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters