Table of Contents

icarAnimalSetResource

Description

Core schema for representing animal sets (often called groups or sessions).

The icarAnimalSetResource schema inherits from icarResource.

Properties

Name Description Required Type
Id Unique identifier in the source system for this animal set. Yes string
Name Human readable name of the set. No string
Purpose Purpose of the animal set. No icarSetPurposeType
Member As per JSON-LD Hydra syntax, member provides the array of objects, in this case animals assigned to the set. Yes Array of  icarIdentifierType
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

{
  "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.6537666+00:00",
    "created": "2024-10-30T01:50:44.6537680+00:00",
    "creator": "creator",
    "validFrom": "2024-10-30T01:50:44.6537701+00:00",
    "validTo": "2024-10-30T01:50:44.6537713+00:00"
  },
  "location": {
    "id": "id",
    "scheme": "scheme"
  }
}