icarGroupMovementDepartureEventResource
Description
Extends icarGroupEventCoreResource to provide a group movement departure event.
The icarGroupMovementDepartureEventResource schema inherits from icarGroupEventCoreResource.
Properties
Name | Description | Required | Type |
---|---|---|---|
DepartureKind | Coded description of the type of departure (e.g. sale, agistment, other). | Yes | icarDepartureKindType |
DepartureReason | Coded description of the reason why the animals are departing. | No | icarDepartureReasonType |
Consignment | Consignment information about origin, destination, and transport. | No | icarConsignmentType |
GroupMethod | Indicates whether the event references an existing animal set, has an embedded animal set, or an inventory classification. | Yes | icarGroupEventMethodType |
CountObserved | Summarises the number of animals observed in the event. Generally the number of animals in the group, but sometimes a sample. | No | Integer |
InventoryClassification | Describe the group of animals by their characteristics rather than animal identifiers. | No | icarInventoryClassificationType |
EmbeddedAnimalSet | Specifies the set of animals as a list of member animal identifiers. | No | icarAnimalSetResource |
AnimalSetReference | Reference an existing animal set by ID and optionally URI | No | icarResourceReferenceType |
Id | Unique identifier in the source system for this event. | No | string |
EventDateTime | RFC3339 UTC date and time (see https://ijmacd.github.io/rfc3339-iso8601/). | No | date-time |
TraitLabel | If the event represents a formal trait, identifies the recording system and trait. | No | icarIdentifierType |
Responsible | Use if an observation is manually recorded, or an event is carried out or authorised by a person. SHOULD be a person object. | No | string |
ContemporaryGroup | For manually recorded events, record any contemporary group code that would affect statistical analysis. | No | string |
Remark | A comment or remark field for additional user-specified information about the event. | No | string |
Self | Uniform resource identifier (URI) of the resource (rel=self). | No | string |
Meta | Meta-data for the resource. Mandatory if you wish to support synchronisation. | No | icarMetaDataType |
Location | Unique location scheme and identifier combination. | No | icarIdentifierType |
Examples
Example 1
{
"departureKind": "InternalTransfer",
"departureReason": "Age",
"consignment": {
"id": {
"id": "id",
"scheme": "scheme"
},
"originLocation": {
"id": "id",
"scheme": "scheme"
},
"originAddress": "originAddress",
"originPostalAddress": {
"addressCountry": "addressCountry",
"addressLocality": "addressLocality",
"addressRegion": "addressRegion",
"postOfficeBoxNumber": "postOfficeBoxNumber",
"postalCode": "postalCode",
"streetAddress": "streetAddress"
},
"originOrganization": {
"establishmentIdentifiers": [
{
"id": "id",
"scheme": "scheme"
}
],
"address": {
"addressCountry": "addressCountry",
"addressLocality": "addressLocality",
"addressRegion": "addressRegion",
"postOfficeBoxNumber": "postOfficeBoxNumber",
"postalCode": "postalCode",
"streetAddress": "streetAddress"
},
"parentOrganization": {
"name": "name",
"leiCode": "leiCode",
"globalLocationNumber": "globalLocationNumber",
"uri": "uri"
},
"membershipIdentifiers": [
{
"id": "id",
"scheme": "scheme"
}
],
"name": "name",
"leiCode": "leiCode",
"globalLocationNumber": "globalLocationNumber",
"uri": "uri"
},
"destinationLocation": {
"id": "id",
"scheme": "scheme"
},
"destinationAddress": "destinationAddress",
"destinationPostalAddress": {
"addressCountry": "addressCountry",
"addressLocality": "addressLocality",
"addressRegion": "addressRegion",
"postOfficeBoxNumber": "postOfficeBoxNumber",
"postalCode": "postalCode",
"streetAddress": "streetAddress"
},
"destinationOrganization": {
"establishmentIdentifiers": [
{
"id": "id",
"scheme": "scheme"
}
],
"address": {
"addressCountry": "addressCountry",
"addressLocality": "addressLocality",
"addressRegion": "addressRegion",
"postOfficeBoxNumber": "postOfficeBoxNumber",
"postalCode": "postalCode",
"streetAddress": "streetAddress"
},
"parentOrganization": {
"name": "name",
"leiCode": "leiCode",
"globalLocationNumber": "globalLocationNumber",
"uri": "uri"
},
"membershipIdentifiers": [
{
"id": "id",
"scheme": "scheme"
}
],
"name": "name",
"leiCode": "leiCode",
"globalLocationNumber": "globalLocationNumber",
"uri": "uri"
},
"loadingDateTime": "2024-10-30T01:50:44.6023723+00:00",
"unloadingDateTime": "2024-10-30T01:50:44.6023738+00:00",
"expectedDuration": 0.0,
"transportOperator": "transportOperator",
"vehicle": "vehicle",
"transportReference": "transportReference",
"isolationFacilityUsed": false,
"farmAssuranceReference": {
"id": "id",
"scheme": "scheme"
},
"countConsigned": 0,
"countReceived": 0,
"hoursOffFeed": 0,
"hoursOffWater": 0,
"references": [
{
"id": "id",
"scheme": "scheme"
}
],
"interestedParties": [
{
"interests": [
""
],
"establishmentIdentifiers": [
{
"id": "id",
"scheme": "scheme"
}
],
"address": {
"addressCountry": "addressCountry",
"addressLocality": "addressLocality",
"addressRegion": "addressRegion",
"postOfficeBoxNumber": "postOfficeBoxNumber",
"postalCode": "postalCode",
"streetAddress": "streetAddress"
},
"parentOrganization": {
"name": "name",
"leiCode": "leiCode",
"globalLocationNumber": "globalLocationNumber",
"uri": "uri"
},
"membershipIdentifiers": [
{
"id": "id",
"scheme": "scheme"
}
]
}
],
"declarations": [
{
"declarationId": {
"id": "id",
"scheme": "scheme"
},
"declaredValue": "declaredValue"
}
]
},
"groupMethod": "ExistingAnimalSet",
"countObserved": 0,
"inventoryClassification": {
"name": "name",
"count": 0.0,
"species": "Buffalo",
"sex": "Female",
"primaryBreed": {
"id": "id",
"scheme": "scheme"
},
"birthPeriod": "birthPeriod",
"reproductiveStatus": "Open",
"lactationStatus": "Dry",
"productionPurposes": [
"Meat"
]
},
"embeddedAnimalSet": {
"id": "id",
"name": "name",
"purpose": "Enclosure",
"member": [
{
"id": "id",
"scheme": "scheme"
}
],
"resourceType": "resourceType",
"@self": "@self",
"meta": {
"source": "source",
"sourceId": "sourceId",
"isDeleted": false,
"modified": "2024-10-30T01:50:44.6021695+00:00",
"created": "2024-10-30T01:50:44.6021712+00:00",
"creator": "creator",
"validFrom": "2024-10-30T01:50:44.6021735+00:00",
"validTo": "2024-10-30T01:50:44.6021748+00:00"
},
"location": {
"id": "id",
"scheme": "scheme"
}
},
"animalSetReference": {
"@context": "@context",
"@id": "@id",
"@type": "Link",
"identifier": {
"id": "id",
"scheme": "scheme"
},
"reltype": "reltype",
"href": "href"
}
}