-
Notifications
You must be signed in to change notification settings - Fork 26
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 #55 from erwinspeybroeck/master
Added mating recommendations and heat events
- Loading branch information
Showing
14 changed files
with
353 additions
and
14 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
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
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,10 @@ | ||
{ | ||
"type": "string", | ||
"description": "the type of recommendation (SireRecommended, RecommendationImpossible, BeefSire, NoBreedingSire", | ||
"enum": [ | ||
"SireRecommended", | ||
"RecommendationImpossible", | ||
"BeefSire", | ||
"NoBreedingSire" | ||
] | ||
} |
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,8 @@ | ||
{ | ||
"type": "string", | ||
"description": "The certainty of a specific heat", | ||
"enum": [ | ||
"InHeat", | ||
"Suspect" | ||
] | ||
} |
10 changes: 10 additions & 0 deletions
10
Release Candidate Messages/icarReproHeatDetectionMethodType.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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"type": "string", | ||
"description": "The method of detecting the heat of an animal", | ||
"enum": [ | ||
"Chemical", | ||
"Visual", | ||
"Pedometer", | ||
"Other" | ||
] | ||
} |
77 changes: 77 additions & 0 deletions
77
Release Candidate Messages/icarReproHeatEventResource.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 |
---|---|---|
@@ -0,0 +1,77 @@ | ||
{ | ||
"type": "object", | ||
|
||
"description": "Event for recording heats.", | ||
|
||
"required": [ | ||
"id", | ||
"animal", | ||
"eventDateTime" | ||
], | ||
|
||
"allOf": [{ | ||
"$ref": "icarEventCoreResource.json" | ||
}, | ||
{ | ||
"properties": { | ||
"heatDetectionMethod": { | ||
"$ref": "icarReproHeatDetectionMethodType.json" | ||
}, | ||
"certainty": { | ||
"$ref": "icarReproHeatCertaintyType.json" | ||
}, | ||
"expirationDateTime": { | ||
"$ref": "icarDateTimeType.json", | ||
"description": "Date Time when the heat will end. ISO8601 date and time. MUST contain time zone. UTC recommended." | ||
}, | ||
"visualDetection": { | ||
"type": "object", | ||
"description": "Specific info when the heat was visually detected.", | ||
"properties": { | ||
"heatSigns": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "icarReproHeatSignType.json", | ||
"description": "Array of heat signs." | ||
} | ||
}, | ||
"heatIntensity": { | ||
"$ref": "icarReproHeatIntensityType.json" | ||
} | ||
} | ||
}, | ||
"heatReportScrSenseTime": { | ||
"type": "object", | ||
"description": "Specific info when the heat was detected by SenseTime from SCR", | ||
"properties": { | ||
"breedingWindow": { | ||
"type": "number", | ||
"format": "integer", | ||
"description": "Number of hours to AI." | ||
}, | ||
"heatIndex": { | ||
"type": "number", | ||
"format": "integer", | ||
"description": "Gives an indication of the certainty of the heat indication." | ||
} | ||
} | ||
}, | ||
"heatReportNedapCowControl": { | ||
"type": "object", | ||
"description": "Specific info when the heat was detected by CowControl from NEDAP", | ||
"properties": { | ||
"expirationDateTime": { | ||
"$ref": "icarDateTimeType.json", | ||
"description": "Date Time when the heat will end. ISO8601 date and time. MUST contain time zone. UTC recommended." | ||
}, | ||
"heatChance": { | ||
"type": "number", | ||
"format": "integer", | ||
"description": "Gives an indication of the certainty of the heat indication." | ||
} | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} |
11 changes: 11 additions & 0 deletions
11
Release Candidate Messages/icarReproHeatIntensityType.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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"type": "string", | ||
"description": "The method of insemination (Very weak,Weak,Normal,Strong,Very strong)", | ||
"enum": [ | ||
"VeryWeak", | ||
"Weak", | ||
"Normal", | ||
"Strong", | ||
"VeryStrong" | ||
] | ||
} |
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,12 @@ | ||
{ | ||
"type": "string", | ||
"description": "The signs of the heat (Slime,Clear slime,Interested in other animals,Stands under,Bawling,Blood)", | ||
"enum": [ | ||
"Slime", | ||
"ClearSlime", | ||
"InterestedInOtherAnimals", | ||
"Bawling", | ||
"Blood", | ||
"StandsUnder" | ||
] | ||
} |
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
Oops, something went wrong.