-
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 #469 from adewg/Develop
get to the develop branch
- Loading branch information
Showing
74 changed files
with
2,243 additions
and
453 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,20 @@ | ||
{ | ||
"description": "Represents a collection of animal-sorting-commands. Based on icarResourceCollection to provide paging etc.", | ||
"allOf": [ | ||
{ | ||
"$ref": "../collections/icarResourceCollection.json" | ||
}, | ||
{ | ||
"type": "object", | ||
"properties": { | ||
"member": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "../resources/icarAnimalSortingCommandResource.json" | ||
}, | ||
"description": "As per JSON-LD Hydra syntax, member provides the array of objects, in this case animal sorting commands (icarAnimalSortingCommandResource)." | ||
} | ||
} | ||
} | ||
] | ||
} |
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,21 @@ | ||
{ | ||
"description": "Represents a collection of attention events generated by devices. Based on icarResourceCollection to provide paging etc.", | ||
|
||
"allOf": [{ | ||
"$ref": "icarResourceCollection.json" | ||
}, | ||
{ | ||
"type": "object", | ||
|
||
"properties": { | ||
"member": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "../resources/icarAttentionEventResource.json" | ||
}, | ||
"description": "As per JSON-LD Hydra syntax, member provides the array of objects, in this case attention events." | ||
} | ||
} | ||
} | ||
] | ||
} |
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,21 @@ | ||
{ | ||
"description": "Represents a collection of feed intakes. Based on icarResourceCollection to provide paging etc.", | ||
|
||
"allOf": [{ | ||
"$ref": "../collections/icarResourceCollection.json" | ||
}, | ||
{ | ||
"type": "object", | ||
|
||
"properties": { | ||
"member": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "../resources/icarGroupFeedingEventResource.json" | ||
}, | ||
"description": "As per JSON-LD Hydra syntax, member provides the array of objects, in this case group feeding events." | ||
} | ||
} | ||
} | ||
] | ||
} |
21 changes: 21 additions & 0 deletions
21
collections/icarGroupPositionObservationEventCollection.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,21 @@ | ||
{ | ||
"description": "Represents a collection of group position observation events.", | ||
|
||
"allOf": [{ | ||
"$ref": "../collections/icarResourceCollection.json" | ||
}, | ||
{ | ||
"type": "object", | ||
|
||
"properties": { | ||
"member": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "../resources/icarGroupPositionObservationEventResource.json" | ||
}, | ||
"description": "As per JSON-LD Hydra syntax, member provides the array of objects, in this case group position observation events." | ||
} | ||
} | ||
} | ||
] | ||
} |
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,21 @@ | ||
{ | ||
"description": "Represents a collection of animal position observation events.", | ||
|
||
"allOf": [{ | ||
"$ref": "../collections/icarResourceCollection.json" | ||
}, | ||
{ | ||
"type": "object", | ||
|
||
"properties": { | ||
"member": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "../resources/icarPositionObservationEventResource.json" | ||
}, | ||
"description": "As per JSON-LD Hydra syntax, member provides the array of objects, in this case position observation events." | ||
} | ||
} | ||
} | ||
] | ||
} |
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,20 @@ | ||
{ | ||
"description": "Represents a collection of sites. Based on icarResourceCollection to provide paging etc.", | ||
"allOf": [ | ||
{ | ||
"$ref": "../collections/icarResourceCollection.json" | ||
}, | ||
{ | ||
"type": "object", | ||
"properties": { | ||
"member": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "../resources/icarSortingSiteResource.json" | ||
}, | ||
"description": "As per JSON-LD Hydra syntax, member provides the array of objects, in this case sorting-sites." | ||
} | ||
} | ||
} | ||
] | ||
} |
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 @@ | ||
{ | ||
"description": "Defines a category of device messages that may allow filtering of alerts.", | ||
|
||
"type": "string", | ||
|
||
"enum": [ | ||
"Behaviour", | ||
"Environment", | ||
"Health", | ||
"Other" | ||
] | ||
} |
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,35 @@ | ||
{ | ||
"description": "Defines causes of alerts from devices.", | ||
|
||
"type": "string", | ||
|
||
"enum": [ | ||
"Activity", | ||
"AnimalTemperature", | ||
"BodyCondition", | ||
"EatingLess", | ||
"EnvironmentTemperature", | ||
"Disturbance", | ||
"Health", | ||
"HeartRate", | ||
"Inactivity", | ||
"Ketosis", | ||
"Lameness", | ||
"Location", | ||
"LowerRumination", | ||
"LyingTooLong", | ||
"LyingTooShort", | ||
"Mastitis", | ||
"MobilityScore", | ||
"NoMovement", | ||
"Parturition", | ||
"PostParturitionRisk", | ||
"ProlongedParturition", | ||
"RespirationRate", | ||
"Standing", | ||
"StandingUp", | ||
"Walking", | ||
"Other", | ||
"Undefined" | ||
] | ||
} |
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 @@ | ||
{ | ||
"description": "Defines the relative priority of alerts.", | ||
|
||
"type": "string", | ||
|
||
"enum": [ | ||
"Informational", | ||
"Normal", | ||
"Urgent", | ||
"Critical" | ||
] | ||
} |
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 |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
"Receipt", | ||
"Disposal", | ||
"OnHand", | ||
"Produce", | ||
"StockTake", | ||
"Use" | ||
] | ||
|
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,22 @@ | ||
{ | ||
"description": "ICAR Milk Characteristics Codes.\nThe 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", | ||
"type": "string", | ||
"enum": [ | ||
"SCC", | ||
"FAT", | ||
"PROTEIN", | ||
"LAC", | ||
"UREA", | ||
"BLOOD", | ||
"ACETONE", | ||
"BHB", | ||
"LDH", | ||
"PRO", | ||
"AVGCOND", | ||
"MAXCOND", | ||
"AVGFLWR", | ||
"MAXFLWR", | ||
"WEIGHT", | ||
"TEMPERATURE" | ||
] | ||
} |
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
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,34 @@ | ||
{ | ||
"description": "Sorting data for a specific animal on a location.", | ||
"allOf": [ | ||
{ | ||
"$ref": "../resources/icarResource.json" | ||
}, | ||
{ | ||
"type": "object", | ||
"required": [ | ||
"animal", | ||
"site", | ||
"validFrom" | ||
], | ||
"properties": { | ||
"animal": { | ||
"$ref": "../types/icarAnimalIdentifierType.json", | ||
"description": "Unique animal scheme and identifier combination." | ||
}, | ||
"site": { | ||
"type": "string", | ||
"description": "Unique identifier in the system for this site." | ||
}, | ||
"validFrom": { | ||
"$ref": "../types/icarDateTimeType.json", | ||
"description": "Specifies from when the sort command should be active. RFC3339 UTC date time (see https://ijmacd.github.io/rfc3339-iso8601/ for format guidance)." | ||
}, | ||
"validTo": { | ||
"$ref": "../types/icarDateTimeType.json", | ||
"description": "Specifies until when the sort command should be active. Could be left empty, when the sorting should be ongoing (until replaced). RFC3339 UTC date time (see https://ijmacd.github.io/rfc3339-iso8601/ for format guidance)." | ||
} | ||
} | ||
} | ||
] | ||
} |
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,50 @@ | ||
{ | ||
"description": "Defines an alert for an animal that may require attention.", | ||
|
||
"allOf": [ | ||
{ | ||
"$ref": "../resources/icarAnimalEventCoreResource.json" | ||
}, | ||
{ | ||
"type": "object", | ||
|
||
"required" : ["category", "causes"], | ||
|
||
"properties": { | ||
"alertEndDateTime": { | ||
"type": ["string", "null"], | ||
"$ref": "../types/icarDateTimeType.json", | ||
"description": "RFC3339 date time that represents the end time of an alert (start time is the eventDateTime) if it has ended." | ||
}, | ||
"category": { | ||
"$ref": "../enums/icarAttentionCategoryType.json", | ||
"description": "A category that allows filtering of alerts by subject." | ||
}, | ||
"causes": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "../enums/icarAttentionCauseType.json" | ||
}, | ||
"description": "The specific causes of the alert. This is an array and at least one cause must be specified." | ||
}, | ||
"priority": { | ||
"$ref": "../enums/icarAttentionPriorityType.json", | ||
"description": "The relative priority of the alert." | ||
}, | ||
"severity": { | ||
"$ref": "../enums/icarDiagnosisSeverityType.json", | ||
"description": "A structured set of severity values that align with those used in disease diagnosis." | ||
}, | ||
"deviceAttentionScore": { | ||
"type": "number", | ||
"description": "Provides a manufacturer- and device-specific score related to the alert." | ||
}, | ||
"device": { | ||
"$ref": "../types/icarDeviceReferenceType.json", | ||
"description": "Identifies the device that is raising the alert." | ||
} | ||
} | ||
} | ||
] | ||
} | ||
|
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.