-
Notifications
You must be signed in to change notification settings - Fork 27
/
icarAnimalSetResource.json
43 lines (40 loc) · 1.18 KB
/
icarAnimalSetResource.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"description": "Core schema for representing animal sets (often called groups or sessions).",
"allOf": [
{
"$ref": "../resources/icarResource.json"
},
{
"type": "object",
"required": [
"id",
"member"
],
"properties": {
"id": {
"type": "string",
"description": "Unique identifier in the source system for this animal set."
},
"name": {
"type": "string",
"description": "Human readable name of the set."
},
"reference": {
"type": "string",
"description": "This property can be used by parties for any other reference information used to synchronise systems or display to the user."
},
"purpose": {
"$ref": "../enums/icarSetPurposeType.json",
"description": "Purpose of the animal set."
},
"member": {
"type": "array",
"items": {
"$ref": "../types/icarAnimalIdentifierType.json"
},
"description": "As per JSON-LD Hydra syntax, member provides the array of objects, in this case animals assigned to the set."
}
}
}
]
}