Skip to content

Commit e1e1581

Browse files
author
Guy Davenport
committed
use examples over example when there is more than one example.
1 parent e4a0b7a commit e1e1581

41 files changed

Lines changed: 192 additions & 189 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Specification/BrAPI-Schema/BrAPI-Common/Variable.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"null",
2525
"array"
2626
],
27-
"example": ["Trial evaluation", "Nursery evaluation"]
27+
"examples": ["Trial evaluation", "Nursery evaluation"]
2828
},
2929
"defaultValue": {
3030
"description": "Variable default value. (examples: \"red\", \"2.3\", etc.)",
@@ -128,7 +128,7 @@
128128
"null",
129129
"array"
130130
],
131-
"example": ["Maize Height", "Stalk Height", "Corn Height"]
131+
"examples": ["Maize Height", "Stalk Height", "Corn Height"]
132132
},
133133
"trait": {
134134
"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\". ",

Specification/BrAPI-Schema/BrAPI-Core/List.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"null",
1818
"array"
1919
],
20-
"example": ["758a78c0", "2c78f9ee"]
20+
"examples": ["758a78c0", "2c78f9ee"]
2121
},
2222
"dateCreated": {
2323
"description": "Timestamp when the entity was first created",

Specification/BrAPI-Schema/BrAPI-Core/Study.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
"null",
139139
"array"
140140
],
141-
"example": [
141+
"examples": [
142142
{"levelName": "field", "levelOrder": 0},
143143
{"levelName": "block", "levelOrder": 1},
144144
{"levelName": "plot", "levelOrder": 2}
@@ -170,7 +170,7 @@
170170
"null",
171171
"array"
172172
],
173-
"example": ["Spring_2018"]
173+
"examples": ["Spring_2018"]
174174
},
175175
"startDate": {
176176
"description": "The date this study started\n\nMIAPPE V1.1 (DM-14) Start date of study - Date and, if relevant, time when the experiment started",
@@ -335,7 +335,10 @@
335335
"description": "A Study represents an experiment that has taken place at a single location. The Study contains metadata about the parameters and design of the experiment. It can also be used to group results and data sets generated from the experiment. A Trial can represent a collection of one or more Studies.",
336336
"type": "object",
337337
"brapi-metadata": {
338-
"primaryModel": true
338+
"primaryModel": true,
339+
"controlledVocabularyProperties": [
340+
"studyType"
341+
]
339342
}
340343
},
341344
"EnvironmentParameter": {

Specification/BrAPI-Schema/BrAPI-Phenotyping/Image.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"null",
3232
"array"
3333
],
34-
"example": ["doi:10.1002/0470841559", "Red", "ncbi:0300294"]
34+
"examples": ["doi:10.1002/0470841559", "Red", "ncbi:0300294"]
3535
},
3636
"externalReferences": {
3737
"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.",

Specification/BrAPI-Schema/BrAPI-Phenotyping/Trait.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"null",
1717
"array"
1818
],
19-
"example": ["H", "PH", "H1"]
19+
"examples": ["H", "PH", "H1"]
2020
},
2121
"attribute": {
2222
"description": "A trait can be decomposed as \"Trait\" = \"Entity\" + \"Attribute\", the attribute is the observed feature (or characteristic) of the entity e.g., for \"grain colour\", attribute = \"colour\"",
@@ -93,7 +93,7 @@
9393
"null",
9494
"array"
9595
],
96-
"example": ["Height", "Plant Height", "Stalk Height", "Canopy Height"]
96+
"examples": ["Height", "Plant Height", "Stalk Height", "Canopy Height"]
9797
},
9898
"traitClass": {
9999
"description": "A classification to describe the type of trait and the context it should be considered in.\n<br/> examples- \"morphological\", \"phenological\", \"agronomical\", \"physiological\", \"abiotic stress\", \"biotic stress\", \"biochemical\", \"quality traits\", \"fertility\", etc.",

Specification/BrAPI-Schema/Requests/AlleleMatrixRequest.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
}
3232
}
3333
},
34-
"example": [
34+
"examples": [
3535
{
3636
"dimension": "variants",
3737
"pageSize": 500,
@@ -56,7 +56,7 @@
5656
"items": {
5757
"type": "string"
5858
},
59-
"example": [
59+
"examples": [
6060
"Genotype",
6161
"Read Depth"
6262
]
@@ -67,7 +67,7 @@
6767
"items": {
6868
"type": "string"
6969
},
70-
"example": [
70+
"examples": [
7171
"GT",
7272
"RD"
7373
]
@@ -78,7 +78,7 @@
7878
"items": {
7979
"type": "string"
8080
},
81-
"example": [
81+
"examples": [
8282
"20:1000-35000",
8383
"20:87000-125000"
8484
]
@@ -89,7 +89,7 @@
8989
"items": {
9090
"type": "string"
9191
},
92-
"example": [
92+
"examples": [
9393
"a03202ec",
9494
"274e4f63"
9595
]
@@ -100,7 +100,7 @@
100100
"items": {
101101
"type": "string"
102102
},
103-
"example": [
103+
"examples": [
104104
"a03202ec",
105105
"274e4f63"
106106
]
@@ -111,7 +111,7 @@
111111
"items": {
112112
"type": "string"
113113
},
114-
"example": [
114+
"examples": [
115115
"a03202ec",
116116
"274e4f63"
117117
]
@@ -122,7 +122,7 @@
122122
"items": {
123123
"type": "string"
124124
},
125-
"example": [
125+
"examples": [
126126
"a03202ec",
127127
"274e4f63"
128128
]
@@ -133,7 +133,7 @@
133133
"items": {
134134
"type": "string"
135135
},
136-
"example": [
136+
"examples": [
137137
"a03202ec",
138138
"274e4f63"
139139
]
@@ -144,7 +144,7 @@
144144
"items": {
145145
"type": "string"
146146
},
147-
"example": [
147+
"examples": [
148148
"bba0b258",
149149
"ff97d4f0"
150150
]
@@ -155,7 +155,7 @@
155155
"items": {
156156
"type": "string"
157157
},
158-
"example": [
158+
"examples": [
159159
"407c0508",
160160
"49e24dfc"
161161
]

Specification/BrAPI-Schema/Requests/CallRequest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"items": {
1010
"type": "string"
1111
},
12-
"example": [
12+
"examples": [
1313
"a03202ec",
1414
"274e4f63"
1515
]
@@ -20,7 +20,7 @@
2020
"items": {
2121
"type": "string"
2222
},
23-
"example": [
23+
"examples": [
2424
"bba0b258",
2525
"ff97d4f0"
2626
]
@@ -31,7 +31,7 @@
3131
"items": {
3232
"type": "string"
3333
},
34-
"example": [
34+
"examples": [
3535
"407c0508",
3636
"49e24dfc"
3737
]

Specification/BrAPI-Schema/Requests/CallSetRequest.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"items": {
2727
"type": "string"
2828
},
29-
"example": [
29+
"examples": [
3030
"758d3f6d",
3131
"39c0a3f7"
3232
]
@@ -37,7 +37,7 @@
3737
"items": {
3838
"type": "string"
3939
},
40-
"example": [
40+
"examples": [
4141
"Sample_123",
4242
"Sample_789"
4343
]
@@ -48,7 +48,7 @@
4848
"items": {
4949
"type": "string"
5050
},
51-
"example": [
51+
"examples": [
5252
"6c7486b2",
5353
"49c36a73"
5454
]
@@ -59,7 +59,7 @@
5959
"items": {
6060
"type": "string"
6161
},
62-
"example": [
62+
"examples": [
6363
"Sample_123_DNA_Run_456",
6464
"Sample_789_DNA_Run_101"
6565
]
@@ -70,7 +70,7 @@
7070
"items": {
7171
"type": "string"
7272
},
73-
"example": [
73+
"examples": [
7474
"8a9a8972",
7575
"32a2649a"
7676
]

Specification/BrAPI-Schema/Requests/EventRequest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"type": "string"
1515
},
1616
"type": "array",
17-
"example": [
17+
"examples": [
1818
"3cd0ca36",
1919
"983f3b14"
2020
]
@@ -25,7 +25,7 @@
2525
"items": {
2626
"type": "string"
2727
},
28-
"example": [
28+
"examples": [
2929
"bba0b258",
3030
"ff97d4f0"
3131
]

Specification/BrAPI-Schema/Requests/GermplasmAttributeRequest.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"type": "string"
1818
},
1919
"type": "array",
20-
"example": [
20+
"examples": [
2121
"2ef15c9f",
2222
"318e7f7d"
2323
]
@@ -28,7 +28,7 @@
2828
"type": "string"
2929
},
3030
"type": "array",
31-
"example": [
31+
"examples": [
3232
"Plant Height 1",
3333
"Root Color"
3434
]
@@ -39,7 +39,7 @@
3939
"type": "string"
4040
},
4141
"type": "array",
42-
"example": [
42+
"examples": [
4343
"http://my-traits.com/trait/CO_123:0008012",
4444
"http://my-traits.com/trait/CO_123:0007261"
4545
]
@@ -50,7 +50,7 @@
5050
"type": "string"
5151
},
5252
"type": "array",
53-
"example": [
53+
"examples": [
5454
"Morphological",
5555
"Physical"
5656
]

0 commit comments

Comments
 (0)