-
Notifications
You must be signed in to change notification settings - Fork 27
/
icarAnimalCoreResource.json
98 lines (95 loc) · 3.51 KB
/
icarAnimalCoreResource.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"description": "Core schema for representing animal",
"allOf": [{
"$ref": "../resources/icarResource.json"
},
{
"type": "object",
"required": [
"identifier",
"specie",
"gender"
],
"properties": {
"identifier": {
"$ref": "../types/icarAnimalIdentifierType.json",
"description": "Unique animal scheme and identifier combination."
},
"alternativeIdentifiers": {
"type": "array",
"items": {
"$ref": "../types/icarAnimalIdentifierType.json"
},
"description": "Alternative identifiers for the animal. Here, also temporary identifiers, e.g. transponders or animal numbers, can be listed."
},
"specie": {
"$ref": "../enums/icarAnimalSpecieType.json",
"description": "Species of the animal."
},
"gender": {
"$ref": "../enums/icarAnimalGenderType.json",
"description": "Gender of the animal."
},
"birthDate": {
"$ref": "../types/icarDateTimeType.json",
"description": "RFC3339 UTC date/time of birth (see https://ijmacd.github.io/rfc3339-iso8601/ for how to use)."
},
"primaryBreed": {
"$ref": "../types/icarBreedIdentifierType.json",
"description": "ICAR Breed code for the animal."
},
"breedFractions": {
"$ref": "../types/icarBreedFractionsType.json",
"description": "Breed fractions for the animal."
},
"coatColor": {
"type": "string",
"description": "Colour of the animal's coat, using the conventions for that breed."
},
"coatColorIdentifier": {
"$ref": "../types/icarCoatColorIdentifierType.json",
"description": "Colour of the animal's coat using a national or breed-defined scheme and identifier combination."
},
"managementTag": {
"type": "string",
"description": "The identifier used by the farmer in day to day operations. In many cases this could be the animal number."
},
"name": {
"type": "string",
"description": "Name given by the farmer for this animal."
},
"officialName": {
"type": "string",
"description": "Official herdbook name."
},
"productionPurpose": {
"$ref": "../enums/icarProductionPurposeType.json",
"description": "Primary production purpose for which animals are bred."
},
"status": {
"$ref": "../enums/icarAnimalStatusType.json",
"description": "On-farm status of the animal (such as alive, dead, off-farm)."
},
"reproductionStatus": {
"$ref": "../enums/icarAnimalReproductionStatusType.json",
"description": "Reproduction status of the animal."
},
"lactationStatus": {
"$ref": "../enums/icarAnimalLactationStatusType.json",
"description": "Lactation status of the animal."
},
"parentage": {
"type": "array",
"description": "Parents of the animal. The array can handle multiple generations by specifying the parent of a parent.",
"items": {
"$ref": "../types/icarParentageType.json"
}
},
"healthStatus": {
"$ref": "../enums/icarAnimalHealthStatusType.json",
"description": "Health status of the animal (such as Healthy, Suspicious, Ill, InTreatment, ToBeCulled)."
}
}
}
]
}