Skip to content

Commit 8482ba7

Browse files
author
Guy Davenport
committed
nullable field
1 parent ea202fd commit 8482ba7

File tree

4 files changed

+10
-23
lines changed

4 files changed

+10
-23
lines changed

Specification/BrAPI-Phenotyping/ObservationUnits/Schemas/ObservationTreatment.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ components:
1414
1515
MIAPPE V1.1 (DM-61) Experimental Factor type - Name/Acronym of the experimental factor.
1616
type: string
17-
nullable: true
1817
deprecated: true
1918
example: fertilizer
2019
factorPUI:
@@ -29,7 +28,6 @@ components:
2928
3029
MIAPPE V1.1 (DM-62) Experimental Factor description - Free text description of the experimental factor. This includes all relevant treatments planned and protocol planned for all the plants targeted by a given experimental factor.
3130
type: string
32-
nullable: true
3331
deprecated: true
3432
example: low fertilizer
3533
modalityPUI:

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

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -480,10 +480,7 @@
480480
"properties": {
481481
"factor": {
482482
"description": "The type of treatment/factor. ex. 'fertilizer', 'inoculation', 'irrigation', etc\n\nMIAPPE V1.1 (DM-61) Experimental Factor type - Name/Acronym of the experimental factor.",
483-
"type": [
484-
"null",
485-
"string"
486-
],
483+
"type": "string",
487484
"examples": [
488485
"fertilizer"
489486
]
@@ -505,10 +502,7 @@
505502
"properties": {
506503
"modality": {
507504
"description": "The treatment/factor description. ex. 'low fertilizer', 'yellow rust inoculation', 'high water', etc\n\nMIAPPE V1.1 (DM-62) Experimental Factor description - Free text description of the experimental factor. This includes all relevant treatments planned and protocol planned for all the plants targeted by a given experimental factor. ",
508-
"type": [
509-
"null",
510-
"string"
511-
],
505+
"type": "string"
512506
"examples": [
513507
"low fertilizer"
514508
]

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

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -282,15 +282,11 @@
282282
"primaryModel": false
283283
}
284284
},
285-
"Treatment": {
285+
"ObservationTreatment": {
286286
"properties": {
287287
"factor": {
288288
"description": "The type of treatment/factor. ex. 'fertilizer', 'inoculation', 'irrigation', etc\n\nMIAPPE V1.1 (DM-61) Experimental Factor type - Name/Acronym of the experimental factor.",
289-
"type": [
290-
"null",
291-
"string"
292-
],
293-
"deprecated": true,
289+
"type": "string",
294290
"examples": ["fertilizer"]
295291
},
296292
"factorPUI": {
@@ -303,11 +299,7 @@
303299
},
304300
"modality": {
305301
"description": "The treatment/factor description. ex. 'low fertilizer', 'yellow rust inoculation', 'high water', etc\n\nMIAPPE V1.1 (DM-62) Experimental Factor description - Free text description of the experimental factor. This includes all relevant treatments planned and protocol planned for all the plants targeted by a given experimental factor. ",
306-
"type": [
307-
"null",
308-
"string"
309-
],
310-
"deprecated": true,
302+
"type": "string",
311303
"examples": ["low fertilizer"]
312304
},
313305
"modalityPUI": {

Specification/Components/Schemas/ExperimentalDesign.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,27 @@ components:
3333
randomizationType:
3434
description: The type of randomization use to create the experimental design
3535
type: string
36+
nullable: true
3637
example: RCB:Randomize Complete Block
3738
layoutPattern:
3839
description: How the trial is layout in the field
3940
type: string
41+
nullable: true
4042
example: Serpentine
4143
setSize:
4244
description: The size of the sets in the design
4345
type: number
46+
nullable: true
4447
example: 1
4548
rowsPerPlot:
4649
description: The number of rows in a plot
4750
type: number
51+
nullable: true
4852
example: 1
4953
firstRepRand:
5054
description: Is the first replication random
5155
type: boolean
56+
nullable: true
5257
example: true
5358
experimentFactors:
5459
description: |-
@@ -65,7 +70,6 @@ components:
6570
6671
MIAPPE V1.1 (DM-61) Experimental Factor type - Name/Acronym of the experimental factor.
6772
type: string
68-
nullable: true
6973
example: fertilizer
7074
factorPUI:
7175
description: |-
@@ -83,7 +87,6 @@ components:
8387
8488
MIAPPE V1.1 (DM-62) Experimental Factor description - Free text description of the experimental factor. This includes all relevant treatments planned and protocol planned for all the plants targeted by a given experimental factor.
8589
type: string
86-
nullable: true
8790
example: low fertilizer
8891
modalityPUI:
8992
description: |-

0 commit comments

Comments
 (0)