- Home
- /
- Resource Types
- /
- Livestock
- /
- Carcass
- /
- Carcass Observation Event
Resource Type: Livestock – Carcass Observation Event
URLs
Get all Carcass Observation Events that you have access to.
GET /data/livestock/carcass/carcass-observation-events
Get a single Carcass Observation Event for the specified CarcassObservationEventId, the Id is required.
GET /data/livestock/carcass/carcass-observation-events/{CarcassObservationEventId}
Get all Carcass Observation Events that are linked to the provided HoldingId, holding Id is required.
GET /data/holdings/{holdingId}/livestock/carcass/carcass-observation-events
Get a single Carcass Observation Event with a given HoldingId and CarcassObservationEventId, both Ids are required.
GET /data/holdings/{holdingId}/livestock/carcass/carcass-observation-events/{CarcassObservationEventId}
Response Structure
A call to the Carcass Observation Event endpoints returns the following fields:
{
"self": "string",
"location": {...},
"meta": {...},
"resourceType": "/livestock/carcass/carcass-observation-event",
"contemporaryGroup": "string",
"eventDateTime": "2022-12-14T01:52:01.454Z",
"id": "string",
"remark": "string",
"responsible": "string",
"traitLabel": {...},
"animal": {...},
"carcass": {...},
"carcassState": "string",
"device": {...},
"observations": {...},
"primal": "string",
"side": "string"
}
Response Item | Description | Data Type |
---|---|---|
Self | A link to this specific Carcass Observation Event. | URI |
Location | An identifier for the location of the Carcass Observation Event. | Identifier |
Meta | Meta data for the resource. | Metadata |
Resource Type | The fixed discriminator for the Carcass Observation Event resource type. Value: /livestock/carcass/carcass-observation-event |
String |
Contemporary Group | For manually recorded events, record any contemporary group code that would affect statistical analysis. | String |
Event Date Time | A particular point in the progression of time. | DateTimeOffset |
Id | The Pure Farming Id of this Carcass Observation Event. | UUID |
Remark | A comment or remark field for additional user-specified information about the event. | String |
Responsible | Use if an observation is manually recorded, or an event is carried out or authorised by a person. | String |
Trait Label | Represents a formal trait, identifies the recording system and trait. | Identifier |
Animal | Unique animal scheme and identifier combination. | Identifier |
Carcass | The carcass being observed. | Carcass |
Carcass State | Indicates whether the observation event is on the hot or cold (chilled) carcass. (Valid values: Cold, Hot) | Enumeration |
Device | Identifies the device used for performing the observations in this event. | Device |
Observations | The array of observations performed in this event. | Array of Carcass Observation |
Primal | Identifies the primal being observed (Total if not split). (Valid values: Forequarter, Hindquarter, Middle, Total) |
Enumeration |
Side | The side of the carcass observed in this event (use Both if not split). (Valid values: Both, Left, Right) | Enumeration |
Device
Information about a device that can be used for performing the observations
Device Object has the following properties
{
"description": "string",
"hardwareVersion": "string",
"id": "string",
"isActive": "boolean",
"manufacturer": {...},
"name": "string",
"serial": "string",
"softwareVersion": "string",
"supportedMessages": {...}
}
Response Item | Description | Data Type |
---|---|---|
Description | Description of the device by the farmer. | String |
Hardware Version | Version of the hardware installed in the device. | String |
Id | Unique identifier on location level in the source system for this device. | String |
Is Active | Indicates whether the device is active at this moment. | Boolean |
Manufacturer | The device data as defined by the manufacturer. | Manufacturer |
Name | Name given to the device by the farmer. | String |
Serial | The Serial number of the device. | String |
Software Version | Version of the software installed on the device. | String |
Supported Messages | Array of the Icar messages supported by the device. | Array of String |
Manufacturer
Information about the device provided by the manufacturer
Manufacturer Object has the following properties
{
"id": "string",
"deviceType": "string",
"deviceName": "string",
"deviceDescription": "string",
"deviceConfiguration": "string"
}
Response Item | Description | Data Type |
---|---|---|
id | Unique id of the manufacturer. Domain name/url –> lely.com | String |
Device Type | A device type registered within the database proposed by the Sensor Working Group. This could be a UUID but we prefer a meaningful string. | String |
Device Name | Name given to the device by the manufacturer. | String |
Device Description | Description of the device by the manufacturer. | String |
Device Configuration | Configuration of the device. | String |
Carcass Observation
A single observation (measurement or assessment) of a metric that is recorded for a carcase, side or primal.
The observation may have a numeric value or a qualitative grade.
{
"metric": {...},
"observationStatus": "String",
"problemDetail": "String",
"qualitativeGrade": "String",
"resolution": 12.58,
"units": "string",
"value": 5.98
}
Response Item | Description | Data Type |
---|---|---|
Metric | The metric observed. | Metric |
Observation Status | The status of the observation. (Valid values: Measured, NotMeasured, Calculated, NotCalculated) | Enumeration |
Qualitative Grade | The observed value of the metric if it is a grade or other string. | String |
Resolution | The smallest measurement difference that can be discriminated. Specified in the units, for instance 0.5 (kilograms). | Number |
Units | The units in which the value is measured. UN/CEFACT units SHOULD be used for metrics where these are applicable. | String |
Value | The observed value of the metric if it is numeric. | Number |
Metric
Scheme and identifier based mechanism for identifying carcass metrics (things observed, measured, or graded about carcasses).
{
"id": "String",
"scheme": "String",
"method": "String",
"qualifier": "String"
}
Response Item | Description | Data Type |
---|---|---|
Id | The value of the Identifier | String |
Scheme | The Scheme for which this identifier belongs to | String |
Method | The standard method used to determine the value of the metric. | String |
Qualifier | Qualifier applied to further describe the metric (if any). | String |