forked from adewg/ICAR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
icarProgenyDetailsResource.json
92 lines (89 loc) · 2.62 KB
/
icarProgenyDetailsResource.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
{
"description": "Schema for representing progeny details",
"allOf": [
{
"$ref": "../resources/icarResource.json"
},
{
"type": "object",
"required": [
"specie",
"gender"
],
"properties": {
"identifier": {
"description": "Unique animal scheme and identifier combination.",
"type": ["object", "null"],
"allOf": [
{
"$ref": "../types/icarAnimalIdentifierType.json"
}
]
},
"alternativeIdentifiers": {
"type": ["array","null"],
"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."
},
"managementTag": {
"type": ["string", "null"],
"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."
},
"taggingDate": {
"description": "Progeny tagging date in RFC3339 UTC (see https://ijmacd.github.io/rfc3339-iso8601/ for format guidance).",
"type": ["string", "null"],
"allOf": [
{
"$ref": "../types/icarDateTimeType.json"
}
]
},
"birthStatus": {
"description": "Birth status of the progeny.",
"type": ["string", "null"],
"allOf": [
{
"$ref": "../enums/icarParturitionBirthStatusType.json"
}
]
},
"birthSize": {
"description": "Size of the progeny.",
"type": ["string", "null"],
"allOf": [
{
"$ref": "../enums/icarParturitionBirthSizeType.json"
}
]
},
"birthWeight": {
"description": "Weight of the progeny.",
"type": ["object", "null"],
"allOf": [
{
"$ref": "../types/icarMassMeasureType.json"
}
]
}
}
}
]
}