Skip to content

Commit ea202fd

Browse files
davenetigithub-actions[bot]
authored andcommitted
Apply automatic changes
1 parent 5407023 commit ea202fd

File tree

7 files changed

+651
-709
lines changed

7 files changed

+651
-709
lines changed

Specification/BrAPI-Core/Studies/README.md

Lines changed: 16 additions & 16 deletions
Large diffs are not rendered by default.

Specification/BrAPI-Phenotyping/ObservationUnits/README.md

Lines changed: 18 additions & 54 deletions
Large diffs are not rendered by default.

Specification/Generated/brapi_generated.graphqls

Lines changed: 94 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -677,11 +677,42 @@ type EventsSearchResponse {
677677
searchResultsDbId: String
678678
}
679679

680+
type ExperimentFactor {
681+
"""
682+
The type of treatment/factor. ex. 'fertilizer', 'inoculation', 'irrigation', etc
683+
684+
MIAPPE V1.1 (DM-61) Experimental Factor type - Name/Acronym of the experimental factor.
685+
"""
686+
factor: String
687+
"The PUI of the factor which may link to an ontology."
688+
factorPUI: String
689+
"""
690+
The type of treatment/factor. ex. 'fertilizer', 'inoculation', 'irrigation', etc
691+
692+
MIAPPE V1.1 (DM-61) Experimental Factor type - Name/Acronym of the experimental factor.
693+
"""
694+
modalities: [Modality]
695+
}
696+
680697
type ExperimentalDesign {
681-
"MIAPPE V1.1 (DM-23) Type of experimental design - Type of experimental design of the study, in the form of an accession number from the Crop Ontology."
698+
"MIAPPE V1.1 (DM-23) Type of experimental design - Type of experimental design of the study, in the form of an accession number from the Crop Ontology. **Deprecated in v2.2** Please use `experimentalDesignPUI`. Github issue number #539"
682699
PUI: String
683700
"MIAPPE V1.1 (DM-22) Description of the experimental design - Short description of the experimental design, possibly including statistical design. In specific cases, e.g. legacy datasets or data computed from several studies, the experimental design can be \"unknown\"/\"NA\", \"aggregated/reduced data\", or simply 'none'."
684701
description: String
702+
"The factors used in the experimental design."
703+
experimentFactors: [ExperimentFactor]
704+
"MIAPPE V1.1 (DM-23) Type of experimental design - Type of experimental design of the study, in the form of an accession number from the Crop Ontology."
705+
experimentalDesignPUI: String
706+
"Is the first replication random."
707+
firstRepRand: Boolean
708+
"How the trial is layout in the field."
709+
layoutPattern: String
710+
"The type of randomization use to create the experimental design."
711+
randomizationType: String
712+
"The number of rows in a plot."
713+
rowsPerPlot: Float
714+
"The size of the sets in the design."
715+
setSize: Float
685716
"Experimental design associated with a study"
686717
study: Study
687718
}
@@ -1408,6 +1439,17 @@ type MethodListResponse {
14081439
page: PageInfo
14091440
}
14101441

1442+
type Modality {
1443+
"""
1444+
The treatment/factor description. ex. 'low fertilizer', 'yellow rust inoculation', 'high water', etc
1445+
1446+
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.
1447+
"""
1448+
modality: String
1449+
"The PUI of the modality which may link to an ontology."
1450+
modalityPUI: String
1451+
}
1452+
14111453
type Mutation {
14121454
"Create a new BreedingMethod"
14131455
createBreedingMethod(breedingMethodInput: BreedingMethodInput): BreedingMethod
@@ -2849,12 +2891,16 @@ type Treatment {
28492891
MIAPPE V1.1 (DM-61) Experimental Factor type - Name/Acronym of the experimental factor.
28502892
"""
28512893
factor: String
2894+
"The PUI of the factor which may link to an ontology."
2895+
factorPUI: String
28522896
"""
28532897
The treatment/factor description. ex. 'low fertilizer', 'yellow rust inoculation', 'high water', etc
28542898
28552899
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.
28562900
"""
28572901
modality: String
2902+
"The PUI of the modality which may link to an ontology."
2903+
modalityPUI: String
28582904
"associated observation Unit"
28592905
observationUnit: ObservationUnit
28602906
}
@@ -3935,11 +3981,42 @@ input EventsInput {
39353981
studyNames: [String]
39363982
}
39373983

3984+
input ExperimentFactorInput {
3985+
"""
3986+
The type of treatment/factor. ex. 'fertilizer', 'inoculation', 'irrigation', etc
3987+
3988+
MIAPPE V1.1 (DM-61) Experimental Factor type - Name/Acronym of the experimental factor.
3989+
"""
3990+
factor: String
3991+
"The PUI of the factor which may link to an ontology."
3992+
factorPUI: String
3993+
"""
3994+
The type of treatment/factor. ex. 'fertilizer', 'inoculation', 'irrigation', etc
3995+
3996+
MIAPPE V1.1 (DM-61) Experimental Factor type - Name/Acronym of the experimental factor.
3997+
"""
3998+
modalities: [ModalityInput]
3999+
}
4000+
39384001
input ExperimentalDesignInput {
3939-
"MIAPPE V1.1 (DM-23) Type of experimental design - Type of experimental design of the study, in the form of an accession number from the Crop Ontology."
4002+
"MIAPPE V1.1 (DM-23) Type of experimental design - Type of experimental design of the study, in the form of an accession number from the Crop Ontology. **Deprecated in v2.2** Please use `experimentalDesignPUI`. Github issue number #539"
39404003
PUI: String
39414004
"MIAPPE V1.1 (DM-22) Description of the experimental design - Short description of the experimental design, possibly including statistical design. In specific cases, e.g. legacy datasets or data computed from several studies, the experimental design can be \"unknown\"/\"NA\", \"aggregated/reduced data\", or simply 'none'."
39424005
description: String
4006+
"The factors used in the experimental design."
4007+
experimentFactors: [ExperimentFactorInput]
4008+
"MIAPPE V1.1 (DM-23) Type of experimental design - Type of experimental design of the study, in the form of an accession number from the Crop Ontology."
4009+
experimentalDesignPUI: String
4010+
"Is the first replication random."
4011+
firstRepRand: Boolean
4012+
"How the trial is layout in the field."
4013+
layoutPattern: String
4014+
"The type of randomization use to create the experimental design."
4015+
randomizationType: String
4016+
"The number of rows in a plot."
4017+
rowsPerPlot: Float
4018+
"The size of the sets in the design."
4019+
setSize: Float
39434020
"Experimental design associated with a study"
39444021
study: StudyInput
39454022
}
@@ -5003,6 +5080,17 @@ input MethodsInput {
50035080
scaleDbIds: [String]
50045081
}
50055082

5083+
input ModalityInput {
5084+
"""
5085+
The treatment/factor description. ex. 'low fertilizer', 'yellow rust inoculation', 'high water', etc
5086+
5087+
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.
5088+
"""
5089+
modality: String
5090+
"The PUI of the modality which may link to an ontology."
5091+
modalityPUI: String
5092+
}
5093+
50065094
input ObservationInput {
50075095
"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."
50085096
additionalInfo: AdditionalInfoInput
@@ -6851,12 +6939,16 @@ input TreatmentInput {
68516939
MIAPPE V1.1 (DM-61) Experimental Factor type - Name/Acronym of the experimental factor.
68526940
"""
68536941
factor: String
6942+
"The PUI of the factor which may link to an ontology."
6943+
factorPUI: String
68546944
"""
68556945
The treatment/factor description. ex. 'low fertilizer', 'yellow rust inoculation', 'high water', etc
68566946
68576947
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.
68586948
"""
68596949
modality: String
6950+
"The PUI of the modality which may link to an ontology."
6951+
modalityPUI: String
68606952
"associated observation Unit"
68616953
observationUnit: ObservationUnitInput
68626954
}

Specification/Generated/brapi_generated.json

Lines changed: 59 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9149,6 +9149,31 @@
91499149
}
91509150
}
91519151
},
9152+
"ExperimentFactor" : {
9153+
"type" : "object",
9154+
"properties" : {
9155+
"factor" : {
9156+
"type" : "string"
9157+
},
9158+
"factorPUI" : {
9159+
"type" : "string"
9160+
},
9161+
"modalities" : {
9162+
"type" : "array",
9163+
"items" : {
9164+
"type" : "object",
9165+
"properties" : {
9166+
"modality" : {
9167+
"type" : "string"
9168+
},
9169+
"modalityPUI" : {
9170+
"type" : "string"
9171+
}
9172+
}
9173+
}
9174+
}
9175+
}
9176+
},
91529177
"ExperimentalDesign" : {
91539178
"type" : "object",
91549179
"properties" : {
@@ -9158,6 +9183,30 @@
91589183
"description" : {
91599184
"type" : "string"
91609185
},
9186+
"experimentFactors" : {
9187+
"type" : "array",
9188+
"items" : {
9189+
"$ref" : "#/components/schemas/ExperimentFactor"
9190+
}
9191+
},
9192+
"experimentalDesignPUI" : {
9193+
"type" : "string"
9194+
},
9195+
"firstRepRand" : {
9196+
"type" : "boolean"
9197+
},
9198+
"layoutPattern" : {
9199+
"type" : "string"
9200+
},
9201+
"randomizationType" : {
9202+
"type" : "string"
9203+
},
9204+
"rowsPerPlot" : {
9205+
"type" : "number"
9206+
},
9207+
"setSize" : {
9208+
"type" : "number"
9209+
},
91619210
"studyDbId" : {
91629211
"type" : "string"
91639212
},
@@ -12114,8 +12163,8 @@
1211412163
"type" : "string"
1211512164
}
1211612165
},
12117-
"experimentalDesign" : {
12118-
"$ref" : "#/components/schemas/ExperimentalDesign"
12166+
"experimentalDesignPUI" : {
12167+
"type" : "string"
1211912168
},
1212012169
"growthFacility" : {
1212112170
"$ref" : "#/components/schemas/GrowthFacility"
@@ -12204,8 +12253,8 @@
1220412253
"type" : "string"
1220512254
}
1220612255
},
12207-
"experimentalDesign" : {
12208-
"$ref" : "#/components/schemas/ExperimentalDesign"
12256+
"experimentalDesignPUI" : {
12257+
"type" : "string"
1220912258
},
1221012259
"growthFacility" : {
1221112260
"$ref" : "#/components/schemas/GrowthFacility"
@@ -12411,9 +12460,15 @@
1241112460
"factor" : {
1241212461
"type" : "string"
1241312462
},
12463+
"factorPUI" : {
12464+
"type" : "string"
12465+
},
1241412466
"modality" : {
1241512467
"type" : "string"
1241612468
},
12469+
"modalityPUI" : {
12470+
"type" : "string"
12471+
},
1241712472
"observationUnitDbId" : {
1241812473
"type" : "string"
1241912474
},

0 commit comments

Comments
 (0)