-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathVariable.json
More file actions
154 lines (154 loc) · 7.55 KB
/
Copy pathVariable.json
File metadata and controls
154 lines (154 loc) · 7.55 KB
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"$defs": {
"Variable": {
"properties": {
"additionalInfo": {
"description": "A free space containing any additional information related to a particular object. A data source may provide any JSON object, unrestricted by the BrAPI specification.",
"$ref": "../BrAPI-Common/AdditionalInfo.json#/$defs/AdditionalInfo",
"relationshipType": "one-to-one"
},
"commonCropName": {
"description": "Crop name (examples: \"Maize\", \"Wheat\")",
"type": [
"null",
"string"
],
"example": "Maize"
},
"contextOfUse": {
"description": "Indication of how trait is routinely used. (examples: [\"Trial evaluation\", \"Nursery evaluation\"])",
"items": {
"type": "string"
},
"type": [
"null",
"array"
],
"examples": ["Trial evaluation", "Nursery evaluation"]
},
"defaultValue": {
"description": "Variable default value. (examples: \"red\", \"2.3\", etc.)",
"type": [
"null",
"string"
],
"example": "2.0"
},
"documentationURL": {
"description": "A URL to the human readable documentation of an object",
"format": "uri",
"type": [
"null",
"string"
],
"example": "https://wiki.brapi.org/documentation.html"
},
"externalReferences": {
"description": "An array of external reference ids. These are references to this piece of data in an external system. Could be a simple string or a URI.",
"relationshipType": "one-to-many",
"items": {
"$ref": "../BrAPI-Common/ExternalReference.json#/$defs/ExternalReference",
"description": "ExternalReferences"
},
"title": "ExternalReferences",
"type": [
"null",
"array"
]
},
"growthStage": {
"description": "Growth stage at which measurement is made (examples: \"flowering\")",
"type": [
"null",
"string"
],
"example": "flowering"
},
"institution": {
"description": "Name of institution submitting the variable",
"type": [
"null",
"string"
],
"example": "The BrAPI Institute"
},
"language": {
"description": "2 letter ISO 639-1 code for the language of submission of the variable.",
"type": [
"null",
"string"
],
"example": "en"
},
"method": {
"description": "A description of the way an Observation should be collected. \n<br>For example, an ObservationVariable might be defined with a Trait of \"plant height\", a Scale of \"meters\", and a Method of \"tape measure\". This variable would be distinct from a variable with the Method \"estimation\" or \"drone image processing\". ",
"relationshipType": "one-to-one",
"$ref": "../BrAPI-Phenotyping/Method.json#/$defs/Method"
},
"ontologyReference": {
"description": "MIAPPE V1.1\n\n(DM-85) Variable accession number - Accession number of the variable in the Crop Ontology\n\n(DM-87) Trait accession number - Accession number of the trait in a suitable controlled vocabulary (Crop Ontology, Trait Ontology).\n\n(DM-89) Method accession number - Accession number of the method in a suitable controlled vocabulary (Crop Ontology, Trait Ontology).\n\n(DM-93) Scale accession number - Accession number of the scale in a suitable controlled vocabulary (Crop Ontology).",
"relationshipType": "one-to-one",
"$ref": "../BrAPI-Phenotyping/OntologyReference.json#/$defs/OntologyReference"
},
"scale": {
"description": "A Scale describes the units and acceptable values for an ObservationVariable. \n<br>For example, an ObservationVariable might be defined with a Trait of \"plant height\", a Scale of \"meters\", and a Method of \"tape measure\". This variable would be distinct from a variable with the Scale \"inches\" or \"pixels\".",
"relationshipType": "one-to-one",
"$ref": "../BrAPI-Phenotyping/Scale.json#/$defs/Scale"
},
"scientist": {
"description": "Name of scientist submitting the variable.",
"type": [
"null",
"string"
],
"example": "Dr. Bob Robertson"
},
"status": {
"description": "Variable status. (examples: \"recommended\", \"obsolete\", \"legacy\", etc.)",
"type": [
"null",
"string"
],
"example": "recommended"
},
"submissionTimestamp": {
"description": "Timestamp when the Variable was added (ISO 8601)",
"format": "date-time",
"type": [
"null",
"string"
]
},
"synonyms": {
"description": "Other variable names",
"items": {
"type": "string"
},
"type": [
"null",
"array"
],
"examples": ["Maize Height", "Stalk Height", "Corn Height"]
},
"trait": {
"description": "A Trait describes what property is being observed. \n<br>For example, an ObservationVariable might be defined with a Trait of \"plant height\", a Scale of \"meters\", and a Method of \"tape measure\". This variable would be distinct from a variable with the Trait \"Leaf length\" or \"Flower height\". ",
"relationshipType": "one-to-one",
"$ref": "../BrAPI-Phenotyping/Trait.json#/$defs/Trait"
}
},
"required": [
"method",
"trait",
"scale"
],
"title": "Variable",
"description": "A unique combination of Trait, Method, and Scale to define a clear context for an Observation.",
"type": "object",
"brapi-metadata": {
"interface": true
}
}
},
"$id": "https://brapi.org/Specification/BrAPI-Schema/BrAPI-Phenotyping/Variable.json",
"$schema": "http://json-schema.org/draft/2020-12/schema"
}