/pedigree\""
+ parameters:
+ - name: contentType
+ in: query
+ description: Filter the list of endpoints based on the response content type.
+ required: false
+ style: form
+ explode: true
+ schema:
+ $ref: "#/components/schemas/ContentTypes"
+ - name: dataType
+ in: query
+ description: |-
+ **Deprecated in v2.1** Please use `contentType`. Github issue number #443
+
The data format supported by the call.
+ required: false
+ deprecated: true
+ style: form
+ explode: true
+ schema:
+ $ref: "#/components/schemas/ContentTypes"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ServerInfoResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/ServerInfo"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /lists:
+ get:
+ tags:
+ - Lists
+ summary: Get a filtered list of List
+ description: Get a list of List
+ parameters:
+ - name: dateCreatedRangeStart
+ in: query
+ description: Define the beginning for an interval of time and only include
+ Lists that are created within this interval.
+ required: false
+ schema:
+ type: string
+ - name: dateCreatedRangeEnd
+ in: query
+ description: Define the end for an interval of time and only include Lists
+ that are created within this interval.
+ required: false
+ schema:
+ type: string
+ - name: dateModifiedRangeStart
+ in: query
+ description: Define the beginning for an interval of time and only include
+ Lists that are modified within this interval.
+ required: false
+ schema:
+ type: string
+ - name: dateModifiedRangeEnd
+ in: query
+ description: Define the end for an interval of time and only include Lists
+ that are modified within this interval.
+ required: false
+ schema:
+ type: string
+ - name: listDbId
+ in: query
+ description: An array of primary database identifiers to identify a set of
+ Lists
+ required: false
+ schema:
+ type: string
+ - name: listName
+ in: query
+ description: An array of human readable names to identify a set of Lists
+ required: false
+ schema:
+ type: string
+ - name: listOwnerName
+ in: query
+ description: An array of names for the people or entities who are responsible
+ for a set of Lists
+ required: false
+ schema:
+ type: string
+ - name: listOwnerPersonDbId
+ in: query
+ description: An array of primary database identifiers to identify people or
+ entities who are responsible for a set of Lists
+ required: false
+ schema:
+ type: string
+ - name: listSource
+ in: query
+ description: "An array of terms identifying lists from different sources (ie\
+ \ 'USER', 'SYSTEM', etc)"
+ required: false
+ schema:
+ type: string
+ - name: listType
+ in: query
+ required: false
+ schema:
+ $ref: "#/components/schemas/ListType"
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/ListListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ post:
+ tags:
+ - Lists
+ summary: Create new List
+ description: Add new List to database
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ListNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/ListListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /locations:
+ get:
+ tags:
+ - Locations
+ summary: Get a filtered list of Location
+ description: Get a list of Location
+ parameters:
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: locationDbId
+ in: query
+ description: The location ids to search for
+ required: false
+ schema:
+ type: string
+ - name: locationName
+ in: query
+ description: A human readable names to search for
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: abbreviation
+ in: query
+ description: A list of shortened human readable names for a set of Locations
+ required: false
+ schema:
+ type: string
+ - name: altitudeMin
+ in: query
+ description: The minimum altitude to search for
+ required: false
+ schema:
+ type: number
+ - name: altitudeMax
+ in: query
+ description: The maximum altitude to search for
+ required: false
+ schema:
+ type: number
+ - name: countryCode
+ in: query
+ description: "[ISO_3166-1_alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3)\
+ \ spec"
+ required: false
+ schema:
+ type: string
+ - name: countryName
+ in: query
+ description: The full name of the country to search for
+ required: false
+ schema:
+ type: string
+ - name: coordinate
+ in: query
+ required: false
+ schema:
+ $ref: "#/components/schemas/GeoJSONSearchArea"
+ - name: instituteAddress
+ in: query
+ description: The street address of the institute to search for
+ required: false
+ schema:
+ type: string
+ - name: instituteName
+ in: query
+ description: The name of the institute to search for
+ required: false
+ schema:
+ type: string
+ - name: locationType
+ in: query
+ description: "The type of location this represents (ex. Breeding Location,\
+ \ Storage Location, etc)"
+ required: false
+ schema:
+ type: string
+ - name: parentLocationDbId
+ in: query
+ description: "The unique identifier for a Location\n
The Parent Location\
+ \ defines the encompassing location that this location belongs to. \nFor\
+ \ example, an Institution might have multiple Field Stations inside it and\
+ \ each Field Station might have multiple Fields."
+ required: false
+ schema:
+ type: string
+ - name: parentLocationName
+ in: query
+ description: "A human readable name for a location\n
The Parent Location\
+ \ defines the encompassing location that this location belongs to. \nFor\
+ \ example, an Institution might have multiple Field Stations inside it and\
+ \ each Field Station might have multiple Fields."
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/LocationListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ post:
+ tags:
+ - Locations
+ summary: Create new Location
+ description: Add new Location to database
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/LocationNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/LocationListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /people:
+ get:
+ tags:
+ - People
+ summary: Get a filtered list of Person
+ description: Get a list of Person
+ parameters:
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: emailAddress
+ in: query
+ description: email address for this person
+ required: false
+ schema:
+ type: string
+ - name: firstName
+ in: query
+ description: Persons first name
+ required: false
+ schema:
+ type: string
+ - name: lastName
+ in: query
+ description: Persons last name
+ required: false
+ schema:
+ type: string
+ - name: mailingAddress
+ in: query
+ description: physical address of this person
+ required: false
+ schema:
+ type: string
+ - name: middleName
+ in: query
+ description: Persons middle name
+ required: false
+ schema:
+ type: string
+ - name: personDbId
+ in: query
+ description: Unique ID for this person
+ required: false
+ schema:
+ type: string
+ - name: phoneNumber
+ in: query
+ description: phone number of this person
+ required: false
+ schema:
+ type: string
+ - name: userID
+ in: query
+ description: A systems user ID associated with this person. Different from
+ personDbId because you could have a person who is not a user of the system.
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/PersonListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ post:
+ tags:
+ - People
+ summary: Create new Person
+ description: Add new Person to database
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PersonNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/PersonListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /programs:
+ get:
+ tags:
+ - Programs
+ summary: Get a filtered list of Program
+ description: Get a list of Program
+ parameters:
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: abbreviation
+ in: query
+ description: A list of shortened human readable names for a set of Programs
+ required: false
+ schema:
+ type: string
+ - name: leadPersonDbId
+ in: query
+ description: The person DbIds of the program leader to search for
+ required: false
+ schema:
+ type: string
+ - name: leadPersonName
+ in: query
+ description: The names of the program leader to search for
+ required: false
+ schema:
+ type: string
+ - name: objectife
+ in: query
+ description: A program objective to search for
+ required: false
+ schema:
+ type: string
+ - name: programType
+ in: query
+ description: "The type of program entity this object represents\n
'STANDARD'\
+ \ represents a standard, permanent breeding program\n
'PROJECT' represents\
+ \ a short term project, usually with a set time limit based on funding "
+ required: false
+ schema:
+ type: string
+ enum:
+ - STANDARD
+ - PROJECT
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/ProgramListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ post:
+ tags:
+ - Programs
+ summary: Create new Program
+ description: Add new Program to database
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ProgramNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/ProgramListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /seasons:
+ get:
+ tags:
+ - Seasons
+ summary: Get a filtered list of Season
+ description: Get a list of Season
+ parameters:
+ - name: seasonDbId
+ in: query
+ description: "The unique identifier for a season. For backward compatibility\
+ \ it can be a string like '2012', '1957-2004'."
+ required: false
+ schema:
+ type: string
+ - name: season
+ in: query
+ description: The term to describe a given season. Example "Spring" OR "May"
+ OR "Planting_Time_7".
+ required: false
+ schema:
+ type: string
+ - name: seasonName
+ in: query
+ description: The term to describe a given season. Example "Spring" OR "May"
+ OR "Planting_Time_7".
+ required: false
+ schema:
+ type: string
+ - name: year
+ in: query
+ description: The 4 digit year of a season. Example "2017"
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/SeasonListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ post:
+ tags:
+ - Seasons
+ summary: Create new Season
+ description: Add new Season to database
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Season"
+ responses:
+ "200":
+ $ref: "#/components/responses/SeasonListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /studies:
+ get:
+ tags:
+ - Studies
+ summary: Get a filtered list of Study
+ description: Get a list of Study
+ parameters:
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: germplasmDbId
+ in: query
+ description: List of IDs which uniquely identify germplasm to search for
+ required: false
+ schema:
+ type: string
+ - name: germplasmName
+ in: query
+ description: List of human readable names to identify germplasm to search
+ for
+ required: false
+ schema:
+ type: string
+ - name: locationDbId
+ in: query
+ description: The location ids to search for
+ required: false
+ schema:
+ type: string
+ - name: locationName
+ in: query
+ description: A human readable names to search for
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: studyDbId
+ in: query
+ description: List of study identifiers to search for
+ required: false
+ schema:
+ type: string
+ - name: studyName
+ in: query
+ description: List of study names to filter search results
+ required: false
+ schema:
+ type: string
+ - name: trialDbId
+ in: query
+ description: The ID which uniquely identifies a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: trialName
+ in: query
+ description: The human readable name of a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: observationVariableDbId
+ in: query
+ description: The DbIds of Variables to search for
+ required: false
+ schema:
+ type: string
+ - name: observationVariableName
+ in: query
+ description: The names of Variables to search for
+ required: false
+ schema:
+ type: string
+ - name: observationVariablePUI
+ in: query
+ description: "The Permanent Unique Identifier of an Observation Variable,\
+ \ usually in the form of a URI"
+ required: false
+ schema:
+ type: string
+ - name: actife
+ in: query
+ description: A flag to indicate if a Study is currently active and ongoing
+ required: false
+ schema:
+ type: boolean
+ - name: seasonDbId
+ in: query
+ description: The ID which uniquely identifies a season
+ required: false
+ schema:
+ type: string
+ - name: studyType
+ in: query
+ description: "The type of study being performed. ex. \"Yield Trial\", etc"
+ required: false
+ schema:
+ type: string
+ - name: studyCode
+ in: query
+ description: A short human readable code for a study
+ required: false
+ schema:
+ type: string
+ - name: studyPUI
+ in: query
+ description: "Permanent unique identifier associated with study data. For\
+ \ example, a URI or DOI"
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/StudyListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ post:
+ tags:
+ - Studies
+ summary: Create new Study
+ description: Add new Study to database
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/StudyNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/StudyListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /trials:
+ get:
+ tags:
+ - Trials
+ summary: Get a filtered list of Trial
+ description: Get a list of Trial
+ parameters:
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: locationDbId
+ in: query
+ description: The location ids to search for
+ required: false
+ schema:
+ type: string
+ - name: locationName
+ in: query
+ description: A human readable names to search for
+ required: false
+ schema:
+ type: string
+ - name: observationVariableDbId
+ in: query
+ description: The DbIds of Variables to search for
+ required: false
+ schema:
+ type: string
+ - name: observationVariableName
+ in: query
+ description: The names of Variables to search for
+ required: false
+ schema:
+ type: string
+ - name: observationVariablePUI
+ in: query
+ description: "The Permanent Unique Identifier of an Observation Variable,\
+ \ usually in the form of a URI"
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: studyDbId
+ in: query
+ description: List of study identifiers to search for
+ required: false
+ schema:
+ type: string
+ - name: studyName
+ in: query
+ description: List of study names to filter search results
+ required: false
+ schema:
+ type: string
+ - name: trialDbId
+ in: query
+ description: The ID which uniquely identifies a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: trialName
+ in: query
+ description: The human readable name of a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: actife
+ in: query
+ description: A flag to indicate if a Trial is currently active and ongoing
+ required: false
+ schema:
+ type: boolean
+ - name: contactDbId
+ in: query
+ description: List of contact entities associated with this trial
+ required: false
+ schema:
+ type: string
+ - name: searchDateRangeStart
+ in: query
+ description: "The start of the overlapping search date range. `searchDateRangeStart`\
+ \ must be before `searchDateRangeEnd`.\n\nReturn a Trial entity if any of\
+ \ the following cases are true\n\n- `searchDateRangeStart` is before `trial.endDate`\
+ \ AND `searchDateRangeEnd` is null \n\n- `searchDateRangeStart` is before\
+ \ `trial.endDate` AND `searchDateRangeEnd` is after `trial.startDate`\n\n\
+ - `searchDateRangeEnd` is after `trial.startDate` AND `searchDateRangeStart`\
+ \ is null\n\n- `searchDateRangeEnd` is after `trial.startDate` AND `searchDateRangeStart`\
+ \ is before `trial.endDate`"
+ required: false
+ schema:
+ type: string
+ - name: searchDateRangeEnd
+ in: query
+ description: "The end of the overlapping search date range. `searchDateRangeStart`\
+ \ must be before `searchDateRangeEnd`.\n\nReturn a Trial entity if any of\
+ \ the following cases are true\n\n- `searchDateRangeStart` is before `trial.endDate`\
+ \ AND `searchDateRangeEnd` is null \n\n- `searchDateRangeStart` is before\
+ \ `trial.endDate` AND `searchDateRangeEnd` is after `trial.startDate`\n\n\
+ - `searchDateRangeEnd` is after `trial.startDate` AND `searchDateRangeStart`\
+ \ is null\n\n- `searchDateRangeEnd` is after `trial.startDate` AND `searchDateRangeStart`\
+ \ is before `trial.endDate`"
+ required: false
+ schema:
+ type: string
+ - name: trialPUI
+ in: query
+ description: A permanent identifier for a trial. Could be DOI or other URI
+ formatted identifier.
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/TrialListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ post:
+ tags:
+ - Trials
+ summary: Create new Trial
+ description: Add new Trial to database
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/TrialNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/TrialListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /lists/{listDbId}:
+ get:
+ tags:
+ - Lists
+ summary: Get the details of a specific List
+ description: Get details for a List
+ responses:
+ "200":
+ $ref: "#/components/responses/ListSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ put:
+ tags:
+ - Lists
+ summary: Update the details for an existing List
+ description: Update the details for an existing List
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ListNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/ListSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /locations/{locationDbId}:
+ get:
+ tags:
+ - Locations
+ summary: Get the details of a specific Location
+ description: Get details for a Location
+ responses:
+ "200":
+ $ref: "#/components/responses/LocationSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ put:
+ tags:
+ - Locations
+ summary: Update the details for an existing Location
+ description: Update the details for an existing Location
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/LocationNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/LocationSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /people/{personDbId}:
+ get:
+ tags:
+ - People
+ summary: Get the details of a specific Person
+ description: Get details for a Person
+ responses:
+ "200":
+ $ref: "#/components/responses/PersonSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ put:
+ tags:
+ - People
+ summary: Update the details for an existing Person
+ description: Update the details for an existing Person
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PersonNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/PersonSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /programs/{programDbId}:
+ get:
+ tags:
+ - Programs
+ summary: Get the details of a specific Program
+ description: Get details for a Program
+ responses:
+ "200":
+ $ref: "#/components/responses/ProgramSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ put:
+ tags:
+ - Programs
+ summary: Update the details for an existing Program
+ description: Update the details for an existing Program
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ProgramNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/ProgramSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /seasons/{seasonDbId}:
+ get:
+ tags:
+ - Seasons
+ summary: Get the details of a specific Season
+ description: Get details for a Season
+ responses:
+ "200":
+ $ref: "#/components/responses/SeasonSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ put:
+ tags:
+ - Seasons
+ summary: Update the details for an existing Season
+ description: Update the details for an existing Season
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Season"
+ responses:
+ "200":
+ $ref: "#/components/responses/SeasonSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /studies/{studyDbId}:
+ get:
+ tags:
+ - Studies
+ summary: Get the details of a specific Study
+ description: Get details for a Study
+ responses:
+ "200":
+ $ref: "#/components/responses/StudySingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ put:
+ tags:
+ - Studies
+ summary: Update the details for an existing Study
+ description: Update the details for an existing Study
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/StudyNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/StudySingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /trials/{trialDbId}:
+ get:
+ tags:
+ - Trials
+ summary: Get the details of a specific Trial
+ description: Get details for a Trial
+ responses:
+ "200":
+ $ref: "#/components/responses/TrialSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ put:
+ tags:
+ - Trials
+ summary: Update the details for an existing Trial
+ description: Update the details for an existing Trial
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/TrialNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/TrialSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/lists:
+ post:
+ tags:
+ - Lists
+ summary: Submit a search request for `List`
+ description: "Submit a search request for `List`
\nSearch requests allow\
+ \ a client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/list/{searchResultsDbId}` to retrieve the results of the search.\
+ \
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/ListListResponse"
+ "202":
+ $ref: "#/components/responses/202AcceptedSearchResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/locations:
+ post:
+ tags:
+ - Locations
+ summary: Submit a search request for `Location`
+ description: "Submit a search request for `Location`
\nSearch requests allow\
+ \ a client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/location/{searchResultsDbId}` to retrieve the results of the\
+ \ search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/LocationListResponse"
+ "202":
+ $ref: "#/components/responses/202AcceptedSearchResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/people:
+ post:
+ tags:
+ - People
+ summary: Submit a search request for `Person`
+ description: "Submit a search request for `Person`
\nSearch requests allow\
+ \ a client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/person/{searchResultsDbId}` to retrieve the results of the\
+ \ search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/PersonListResponse"
+ "202":
+ $ref: "#/components/responses/202AcceptedSearchResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/programs:
+ post:
+ tags:
+ - Programs
+ summary: Submit a search request for `Program`
+ description: "Submit a search request for `Program`
\nSearch requests allow\
+ \ a client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/program/{searchResultsDbId}` to retrieve the results of the\
+ \ search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/ProgramListResponse"
+ "202":
+ $ref: "#/components/responses/202AcceptedSearchResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/studies:
+ post:
+ tags:
+ - Studies
+ summary: Submit a search request for `Study`
+ description: "Submit a search request for `Study`
\nSearch requests allow\
+ \ a client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/study/{searchResultsDbId}` to retrieve the results of the search.\
+ \
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/StudyListResponse"
+ "202":
+ $ref: "#/components/responses/202AcceptedSearchResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/trials:
+ post:
+ tags:
+ - Trials
+ summary: Submit a search request for `Trial`
+ description: "Submit a search request for `Trial`
\nSearch requests allow\
+ \ a client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/trial/{searchResultsDbId}` to retrieve the results of the search.\
+ \
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/TrialListResponse"
+ "202":
+ $ref: "#/components/responses/202AcceptedSearchResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/lists/{searchResultsDbId}:
+ get:
+ tags:
+ - Lists
+ summary: "Submit a search request for `List`
\nSearch requests allow a client\
+ \ to send a complex query for data. However, the server may not respond with\
+ \ the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/list/{searchResultsDbId}` to retrieve the results of the search.\
+ \
\nReview the Search Services documentation for additional implementation details."
+ description: "Get the results of a `List` search request
\nClients should\
+ \ submit a search request using the corresponding `POST /search/list` endpoint.\n\
+ Search requests allow a client to send a complex query for data. However,\
+ \ the server may not respond with the search results immediately. \nIf a server\
+ \ needs more time to process the request, it might respond with a `searchResultsDbId`.\
+ \ \nUse this endpoint to retrieve the results of the search.
\nReview\
+ \ the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/ListListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/locations/{searchResultsDbId}:
+ get:
+ tags:
+ - Locations
+ summary: "Submit a search request for `Location`
\nSearch requests allow\
+ \ a client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/location/{searchResultsDbId}` to retrieve the results of the\
+ \ search.
\nReview the Search Services documentation for additional implementation details."
+ description: "Get the results of a `Location` search request
\nClients\
+ \ should submit a search request using the corresponding `POST /search/location`\
+ \ endpoint.\nSearch requests allow a client to send a complex query for data.\
+ \ However, the server may not respond with the search results immediately.\
+ \ \nIf a server needs more time to process the request, it might respond with\
+ \ a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the\
+ \ search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/LocationListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/people/{searchResultsDbId}:
+ get:
+ tags:
+ - People
+ summary: "Submit a search request for `Person`
\nSearch requests allow a\
+ \ client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/person/{searchResultsDbId}` to retrieve the results of the\
+ \ search.
\nReview the Search Services documentation for additional implementation details."
+ description: "Get the results of a `Person` search request
\nClients should\
+ \ submit a search request using the corresponding `POST /search/person` endpoint.\n\
+ Search requests allow a client to send a complex query for data. However,\
+ \ the server may not respond with the search results immediately. \nIf a server\
+ \ needs more time to process the request, it might respond with a `searchResultsDbId`.\
+ \ \nUse this endpoint to retrieve the results of the search.
\nReview\
+ \ the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/PersonListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/programs/{searchResultsDbId}:
+ get:
+ tags:
+ - Programs
+ summary: "Submit a search request for `Program`
\nSearch requests allow\
+ \ a client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/program/{searchResultsDbId}` to retrieve the results of the\
+ \ search.
\nReview the Search Services documentation for additional implementation details."
+ description: "Get the results of a `Program` search request
\nClients should\
+ \ submit a search request using the corresponding `POST /search/program` endpoint.\n\
+ Search requests allow a client to send a complex query for data. However,\
+ \ the server may not respond with the search results immediately. \nIf a server\
+ \ needs more time to process the request, it might respond with a `searchResultsDbId`.\
+ \ \nUse this endpoint to retrieve the results of the search.
\nReview\
+ \ the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/ProgramListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/studies/{searchResultsDbId}:
+ get:
+ tags:
+ - Studies
+ summary: "Submit a search request for `Study`
\nSearch requests allow a\
+ \ client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/study/{searchResultsDbId}` to retrieve the results of the search.\
+ \
\nReview the Search Services documentation for additional implementation details."
+ description: "Get the results of a `Study` search request
\nClients should\
+ \ submit a search request using the corresponding `POST /search/study` endpoint.\n\
+ Search requests allow a client to send a complex query for data. However,\
+ \ the server may not respond with the search results immediately. \nIf a server\
+ \ needs more time to process the request, it might respond with a `searchResultsDbId`.\
+ \ \nUse this endpoint to retrieve the results of the search.
\nReview\
+ \ the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/StudyListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/trials/{searchResultsDbId}:
+ get:
+ tags:
+ - Trials
+ summary: "Submit a search request for `Trial`
\nSearch requests allow a\
+ \ client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/trial/{searchResultsDbId}` to retrieve the results of the search.\
+ \
\nReview the Search Services documentation for additional implementation details."
+ description: "Get the results of a `Trial` search request
\nClients should\
+ \ submit a search request using the corresponding `POST /search/trial` endpoint.\n\
+ Search requests allow a client to send a complex query for data. However,\
+ \ the server may not respond with the search results immediately. \nIf a server\
+ \ needs more time to process the request, it might respond with a `searchResultsDbId`.\
+ \ \nUse this endpoint to retrieve the results of the search.
\nReview\
+ \ the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/TrialListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+components:
+ schemas:
+ Service:
+ required:
+ - methods
+ - service
+ - versions
+ type: object
+ properties:
+ service:
+ type: string
+ description: The name of the available call as recorded in the documentation
+ example: "germplasm/{germplasmDbId}/pedigree"
+ contentTypes:
+ type: array
+ description: The possible content types returned by the service endpoint
+ example:
+ - application/json
+ items:
+ $ref: "#/components/schemas/ContentTypes"
+ dataTypes:
+ type: array
+ description: "**Deprecated in v2.1** Please use `contentTypes`. Github issue\
+ \ number #443 \n
The possible data formats returned by the available\
+ \ call "
+ example:
+ - application/json
+ deprecated: true
+ items:
+ $ref: "#/components/schemas/ContentTypes"
+ methods:
+ type: array
+ description: The possible HTTP Methods to be used with the available call
+ example:
+ - GET
+ - POST
+ items:
+ type: string
+ enum:
+ - GET
+ - POST
+ - PUT
+ - DELETE
+ versions:
+ type: array
+ description: The supported versions of a particular call
+ example:
+ - "2.0"
+ - "2.1"
+ items:
+ type: string
+ enum:
+ - "2.0"
+ - "2.1"
+ - "2.2"
+ ServerInfo:
+ required:
+ - calls
+ type: object
+ properties:
+ contactEmail:
+ type: string
+ description: A contact email address for this server management
+ example: contact@institute.org
+ documentationURL:
+ type: string
+ description: A URL to the human readable documentation of an object
+ example: institute.org/server
+ organizationURL:
+ type: string
+ description: The URL of the organization that manages this server and data
+ example: institute.org/home
+ organizationName:
+ type: string
+ description: The name of the organization that manages this server and data
+ example: The Institute
+ serverName:
+ type: string
+ description: The name of this server
+ example: The BrAPI Test Server
+ serverDescription:
+ type: string
+ description: A description of this server
+ example: |-
+ The BrAPI Test Server
+ Web Server - Apache Tomcat 7.0.32
+ Database - Postgres 10
+ Supported BrAPI Version - V2.0
+ location:
+ type: string
+ description: "Physical location of this server (ie. City, Country)"
+ example: USA
+ calls:
+ type: array
+ description: Array of available calls on this server
+ items:
+ $ref: "#/components/schemas/Service"
+ AdditionalInfo:
+ type: object
+ properties:
+ additionalProperties:
+ type: string
+ 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."
+ Attribute:
+ required:
+ - attributeName
+ - method
+ - scale
+ - trait
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ attributeCategory:
+ type: string
+ attributeDbId:
+ type: string
+ attributeDescription:
+ type: string
+ attributeName:
+ type: string
+ attributePUI:
+ type: string
+ commonCropName:
+ type: string
+ contextOfUse:
+ type: array
+ items:
+ type: string
+ defaultValue:
+ type: string
+ documentationURL:
+ type: string
+ growthStage:
+ type: string
+ institution:
+ type: string
+ language:
+ type: string
+ method:
+ $ref: "#/components/schemas/Method"
+ ontologyReference:
+ $ref: "#/components/schemas/OntologyReference"
+ scale:
+ $ref: "#/components/schemas/Scale"
+ scientist:
+ type: string
+ status:
+ type: string
+ submissionTimestamp:
+ type: string
+ synonyms:
+ type: array
+ items:
+ type: string
+ trait:
+ $ref: "#/components/schemas/Trait"
+ Contact:
+ required:
+ - contactDbId
+ type: object
+ properties:
+ contactDbId:
+ type: string
+ email:
+ type: string
+ instituteName:
+ type: string
+ name:
+ type: string
+ orcid:
+ type: string
+ type:
+ type: string
+ description: A persons contact information
+ ContentTypes:
+ type: string
+ enum:
+ - application/json
+ - text/csv
+ - text/tsv
+ - application/flapjack
+ Context:
+ title: context
+ type: array
+ description: "The JSON-LD Context is used to provide JSON-LD definitions to\
+ \ each field in a JSON object. By providing an array of context file urls,\
+ \ a BrAPI response object becomes JSON-LD compatible. \n\nFor more information,\
+ \ see https://w3c.github.io/json-ld-syntax/#the-context"
+ example:
+ - https://brapi.org/jsonld/context/metadata.jsonld
+ items:
+ type: string
+ format: uri
+ DataLink:
+ type: object
+ properties:
+ dataFormat:
+ type: string
+ description:
+ type: string
+ fileFormat:
+ type: string
+ name:
+ type: string
+ provenance:
+ type: string
+ scientificType:
+ type: string
+ url:
+ type: string
+ version:
+ type: string
+ description: "A link to extra data files associated with this study. Extra data\
+ \ could include notes, images, and reference data."
+ DatasetAuthorships:
+ type: object
+ properties:
+ datasetPUI:
+ type: string
+ license:
+ type: string
+ publicReleaseDate:
+ type: string
+ submissionDate:
+ type: string
+ trialDbId:
+ type: string
+ trialName:
+ type: string
+ trialPUI:
+ type: string
+ description: License and citation information for the data in this trial
+ EnvironmentParameter:
+ required:
+ - description
+ - environmentParametersDbId
+ - parameterName
+ type: object
+ properties:
+ description:
+ type: string
+ environmentParametersDbId:
+ type: string
+ parameterName:
+ type: string
+ parameterPUI:
+ type: string
+ studyDbId:
+ type: string
+ studyName:
+ type: string
+ studyPUI:
+ type: string
+ unit:
+ type: string
+ unitPUI:
+ type: string
+ value:
+ type: string
+ valuePUI:
+ type: string
+ description: "Environmental parameters that were kept constant throughout the\
+ \ study and did not change between observation units. \n\nMIAPPE V1.1 (DM-57)\
+ \ Environment - Environmental parameters that were kept constant throughout\
+ \ the study and did not change between observation units or assays. Environment\
+ \ characteristics that vary over time, i.e. environmental variables, should\
+ \ be recorded as Observed Variables (see below)."
+ ExperimentalDesign:
+ type: object
+ properties:
+ PUI:
+ type: string
+ description:
+ type: string
+ studyDbId:
+ type: string
+ studyName:
+ type: string
+ studyPUI:
+ type: string
+ description: The experimental and statistical design full description plus a
+ category PUI taken from crop research ontology or agronomy ontology
+ ExternalReference:
+ type: object
+ properties:
+ referenceId:
+ type: string
+ referenceSource:
+ type: string
+ GeoJSON:
+ type: object
+ properties:
+ geometry:
+ $ref: "#/components/schemas/GeoJSONGeometry"
+ type:
+ type: string
+ description: |-
+ One geometry as defined by GeoJSON (RFC 7946). All coordinates are decimal values on the WGS84 geographic coordinate reference system.
+
+ Copied from RFC 7946 Section 3.1.1
+
+ A position is an array of numbers. There MUST be two or more elements. The first two elements are longitude and latitude, or
+ easting and northing, precisely in that order and using decimal numbers. Altitude or elevation MAY be included as an optional third element.
+ GeoJSONGeometry:
+ oneOf:
+ - required:
+ - coordinateDbIds
+ - type
+ type: object
+ properties:
+ coordinates:
+ type: array
+ items:
+ type: number
+ type:
+ type: string
+ description: |-
+ Copied from RFC 7946 Section 3.1.1
+
+ A position is an array of numbers. There MUST be two or more elements. The first two elements are longitude and latitude, or
+ easting and northing, precisely in that order and using decimal numbers. Altitude or elevation MAY be included as an optional third element.
+ - required:
+ - coordinateDbIds
+ - type
+ type: object
+ properties:
+ coordinates:
+ type: array
+ items:
+ type: array
+ items:
+ type: array
+ items:
+ type: number
+ type:
+ type: string
+ description: "An array of Linear Rings. Each Linear Ring is an array of Points.\
+ \ \n\nA Point is an array of numbers. There MUST be two or more elements.\
+ \ The first two elements are longitude and latitude, or\neasting and northing,\
+ \ precisely in that order and using decimal numbers. Altitude or elevation\
+ \ MAY be included as an optional third element."
+ GeoJSONSearchArea:
+ type: object
+ properties:
+ geometry:
+ $ref: "#/components/schemas/GeoJSONGeometry"
+ germplasmOrigin:
+ $ref: "#/components/schemas/GermplasmOrigin"
+ imageDbId:
+ type: string
+ imageName:
+ type: string
+ observationDbId:
+ type: string
+ observationUnit:
+ $ref: "#/components/schemas/ObservationUnitPosition"
+ type:
+ type: string
+ GrowthFacility:
+ type: object
+ properties:
+ PUI:
+ type: string
+ description:
+ type: string
+ studyDbId:
+ type: string
+ studyName:
+ type: string
+ studyPUI:
+ type: string
+ description: Short description of the facility in which the study was carried
+ out.
+ LastUpdate:
+ required:
+ - lastUpdateDbId
+ type: object
+ properties:
+ lastUpdateDbId:
+ type: string
+ studyDbId:
+ type: string
+ studyName:
+ type: string
+ studyPUI:
+ type: string
+ timestamp:
+ type: string
+ version:
+ type: string
+ description: The date and time when this study was last modified
+ List:
+ required:
+ - listDbId
+ - listName
+ - listType
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ dateCreated:
+ type: string
+ dateModified:
+ type: string
+ listDescription:
+ type: string
+ listName:
+ type: string
+ listOwnerName:
+ type: string
+ listSize:
+ type: integer
+ format: int32
+ listSource:
+ type: string
+ listType:
+ $ref: "#/components/schemas/ListType"
+ personDbId:
+ type: string
+ description: "A List represents a collection of other BrAPI data objects. Typically\
+ \ these are custom lists generated by a user to keep track of interesting\
+ \ data. For example, a user might build a List of Germplasm that they have\
+ \ manually marked for further study."
+ ListNewRequest:
+ required:
+ - listDbId
+ - listDbId
+ - listName
+ - listType
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ dateCreated:
+ type: string
+ dateModified:
+ type: string
+ listDbId:
+ type: string
+ listDescription:
+ type: string
+ listName:
+ type: string
+ listOwnerName:
+ type: string
+ listSize:
+ type: integer
+ format: int32
+ listSource:
+ type: string
+ listType:
+ $ref: "#/components/schemas/ListType"
+ personDbId:
+ type: string
+ description: "A List represents a collection of other BrAPI data objects. Typically\
+ \ these are custom lists generated by a user to keep track of interesting\
+ \ data. For example, a user might build a List of Germplasm that they have\
+ \ manually marked for further study."
+ ListSearchRequest:
+ type: object
+ properties:
+ dateCreatedRangeEnd:
+ type: string
+ dateCreatedRangeStart:
+ type: string
+ dateModifiedRangeEnd:
+ type: string
+ dateModifiedRangeStart:
+ type: string
+ listType:
+ $ref: "#/components/schemas/ListType"
+ description: "A List represents a collection of other BrAPI data objects. Typically\
+ \ these are custom lists generated by a user to keep track of interesting\
+ \ data. For example, a user might build a List of Germplasm that they have\
+ \ manually marked for further study."
+ ListType:
+ type: string
+ description: The type of objects that are referenced in a List
+ enum:
+ - germplasm
+ - markers
+ - variants
+ - programs
+ - trials
+ - studies
+ - observationUnits
+ - observations
+ - observationVariables
+ - samples
+ Location:
+ required:
+ - locationDbId
+ - locationName
+ type: object
+ properties:
+ abbreviation:
+ type: string
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ childLocationDbIds:
+ type: array
+ items:
+ type: string
+ coordinateDescription:
+ type: string
+ coordinateUncertainty:
+ type: string
+ coordinates:
+ $ref: "#/components/schemas/GeoJSON"
+ countryCode:
+ type: string
+ countryName:
+ type: string
+ documentationURL:
+ type: string
+ environmentType:
+ type: string
+ exposure:
+ type: string
+ instituteAddress:
+ type: string
+ instituteName:
+ type: string
+ locationDbId:
+ type: string
+ locationName:
+ type: string
+ locationType:
+ type: string
+ siteStatus:
+ type: string
+ slope:
+ type: string
+ topography:
+ type: string
+ description: "A geographic Location on earth. This is usually used to describe\
+ \ the general area where an experiment took place. For example, a natural\
+ \ site, an experimental field, a greenhouse, a phenotyping facility, etc."
+ LocationNewRequest:
+ required:
+ - locationDbId
+ - locationDbId
+ - locationName
+ type: object
+ properties:
+ abbreviation:
+ type: string
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ childLocationDbIds:
+ type: array
+ items:
+ type: string
+ coordinateDescription:
+ type: string
+ coordinateUncertainty:
+ type: string
+ coordinates:
+ $ref: "#/components/schemas/GeoJSON"
+ countryCode:
+ type: string
+ countryName:
+ type: string
+ documentationURL:
+ type: string
+ environmentType:
+ type: string
+ exposure:
+ type: string
+ instituteAddress:
+ type: string
+ instituteName:
+ type: string
+ locationDbId:
+ type: string
+ locationName:
+ type: string
+ locationType:
+ type: string
+ siteStatus:
+ type: string
+ slope:
+ type: string
+ topography:
+ type: string
+ description: "A geographic Location on earth. This is usually used to describe\
+ \ the general area where an experiment took place. For example, a natural\
+ \ site, an experimental field, a greenhouse, a phenotyping facility, etc."
+ LocationSearchRequest:
+ type: object
+ properties:
+ altitudeMax:
+ type: number
+ altitudeMin:
+ type: number
+ coordinates:
+ $ref: "#/components/schemas/GeoJSONSearchArea"
+ description: "A geographic Location on earth. This is usually used to describe\
+ \ the general area where an experiment took place. For example, a natural\
+ \ site, an experimental field, a greenhouse, a phenotyping facility, etc."
+ ObservationUnitHierarchyLevel:
+ type: object
+ properties:
+ levelName:
+ type: string
+ levelOrder:
+ type: integer
+ format: int32
+ description: "The exact level and level code of an observation unit. \n\nFor\
+ \ more information on Observation Levels, please review the Observation\
+ \ Levels documentation. \n\nMIAPPE V1.1 DM-71 Observation unit type \"\
+ Type of observation unit in textual form, usually one of the following: study,\
+ \ block, sub-block, plot, sub-plot, pot, plant. Use of other observation unit\
+ \ types is possible but not recommended. \nThe observation unit type can not\
+ \ be used to indicate sub-plant levels. However, observations can still be\
+ \ made on the sub-plant level, as long as the details are indicated in the\
+ \ associated observed variable (see observed variables). \nAlternatively,\
+ \ it is possible to use samples for more detailed tracing of sub-plant units,\
+ \ attaching the observations to them instead.\" "
+ OntologyTerm:
+ type: object
+ properties:
+ term:
+ type: string
+ termURI:
+ type: string
+ description: A pointer to an ontology used by a genomic reference
+ Person:
+ required:
+ - personDbId
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ description:
+ type: string
+ emailAddress:
+ type: string
+ firstName:
+ type: string
+ lastName:
+ type: string
+ mailingAddress:
+ type: string
+ middleName:
+ type: string
+ phoneNumber:
+ type: string
+ userID:
+ type: string
+ description: "A generic object used to maintain the metadata needed to describe\
+ \ a human. The Person might be a software user, a field technician, or a primary\
+ \ contact for a Program."
+ PersonNewRequest:
+ required:
+ - personDbId
+ - personDbId
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ description:
+ type: string
+ emailAddress:
+ type: string
+ firstName:
+ type: string
+ lastName:
+ type: string
+ mailingAddress:
+ type: string
+ middleName:
+ type: string
+ personDbId:
+ type: string
+ phoneNumber:
+ type: string
+ userID:
+ type: string
+ description: "A generic object used to maintain the metadata needed to describe\
+ \ a human. The Person might be a software user, a field technician, or a primary\
+ \ contact for a Program."
+ PersonSearchRequest:
+ type: object
+ properties: {}
+ description: "A generic object used to maintain the metadata needed to describe\
+ \ a human. The Person might be a software user, a field technician, or a primary\
+ \ contact for a Program."
+ Program:
+ required:
+ - programDbId
+ - programName
+ type: object
+ properties:
+ abbreviation:
+ type: string
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ commonCropName:
+ type: string
+ documentationURL:
+ type: string
+ fundingInformation:
+ type: string
+ objective:
+ type: string
+ personDbId:
+ type: string
+ programName:
+ type: string
+ programType:
+ type: string
+ description: "The type of program entity this object represents\n
'STANDARD'\
+ \ represents a standard, permanent breeding program\n
'PROJECT' represents\
+ \ a short term project, usually with a set time limit based on funding\
+ \ "
+ enum:
+ - STANDARD
+ - PROJECT
+ description: A BrAPI Program represents the high level organization or group
+ who is responsible for conducting trials and studies. Things like Breeding
+ Programs and Funded Projects are considered BrAPI Programs. A Program can
+ contain multiple Trials. A Trial can contain multiple Studies.
+ ProgramNewRequest:
+ required:
+ - programDbId
+ - programDbId
+ - programName
+ type: object
+ properties:
+ abbreviation:
+ type: string
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ commonCropName:
+ type: string
+ documentationURL:
+ type: string
+ fundingInformation:
+ type: string
+ objective:
+ type: string
+ personDbId:
+ type: string
+ programDbId:
+ type: string
+ programName:
+ type: string
+ programType:
+ type: string
+ description: "The type of program entity this object represents\n
'STANDARD'\
+ \ represents a standard, permanent breeding program\n
'PROJECT' represents\
+ \ a short term project, usually with a set time limit based on funding\
+ \ "
+ enum:
+ - STANDARD
+ - PROJECT
+ description: A BrAPI Program represents the high level organization or group
+ who is responsible for conducting trials and studies. Things like Breeding
+ Programs and Funded Projects are considered BrAPI Programs. A Program can
+ contain multiple Trials. A Trial can contain multiple Studies.
+ ProgramSearchRequest:
+ type: object
+ properties: {}
+ description: A BrAPI Program represents the high level organization or group
+ who is responsible for conducting trials and studies. Things like Breeding
+ Programs and Funded Projects are considered BrAPI Programs. A Program can
+ contain multiple Trials. A Trial can contain multiple Studies.
+ Publication:
+ type: object
+ properties:
+ publicationPUI:
+ type: string
+ publicationReference:
+ type: string
+ trialDbId:
+ type: string
+ trialName:
+ type: string
+ trialPUI:
+ type: string
+ description: MIAPPE V1.1 (DM-9) Associated publication - An identifier for a
+ literature publication where the investigation is described. Use of DOIs is
+ recommended.
+ Season:
+ required:
+ - seasonDbId
+ type: object
+ properties:
+ seasonDbId:
+ type: string
+ seasonName:
+ type: string
+ year:
+ type: integer
+ format: int32
+ description: "A Season defines a period in time. A Season is made of two parts;\
+ \ (1) the primary year and (2) a term which defines a segment of the year.\
+ \ This term could be a traditional season, like \"Spring\" or \"Summer\",\
+ \ or this term could be a month, like \"May\" or \"June\", or this could be\
+ \ an arbitrary season name which is meaningful to the breeding Program like\
+ \ \"PlantingTime_3\" or \"Season E\"."
+ Study:
+ required:
+ - studyDbId
+ - studyName
+ type: object
+ properties:
+ active:
+ type: boolean
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ commonCropName:
+ type: string
+ contactDbIds:
+ type: array
+ items:
+ type: string
+ culturalPractices:
+ type: string
+ documentationURL:
+ type: string
+ endDate:
+ type: string
+ experimentalDesign:
+ $ref: "#/components/schemas/ExperimentalDesign"
+ growthFacility:
+ $ref: "#/components/schemas/GrowthFacility"
+ lastUpdateDbId:
+ type: string
+ license:
+ type: string
+ locationDbId:
+ type: string
+ locationName:
+ type: string
+ observationLevelDbIds:
+ type: array
+ items:
+ type: string
+ observationUnitsDescription:
+ type: string
+ observationVariableDbIds:
+ type: array
+ items:
+ type: string
+ startDate:
+ type: string
+ studyCode:
+ type: string
+ studyDescription:
+ type: string
+ studyName:
+ type: string
+ studyPUI:
+ type: string
+ studyType:
+ type: string
+ trialDbId:
+ type: string
+ trialName:
+ type: string
+ trialPUI:
+ type: string
+ 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.
+ StudyNewRequest:
+ required:
+ - studyDbId
+ - studyDbId
+ - studyName
+ type: object
+ properties:
+ active:
+ type: boolean
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ commonCropName:
+ type: string
+ contactDbIds:
+ type: array
+ items:
+ type: string
+ culturalPractices:
+ type: string
+ documentationURL:
+ type: string
+ endDate:
+ type: string
+ experimentalDesign:
+ $ref: "#/components/schemas/ExperimentalDesign"
+ growthFacility:
+ $ref: "#/components/schemas/GrowthFacility"
+ lastUpdateDbId:
+ type: string
+ license:
+ type: string
+ locationDbId:
+ type: string
+ locationName:
+ type: string
+ observationLevelDbIds:
+ type: array
+ items:
+ type: string
+ observationUnitsDescription:
+ type: string
+ observationVariableDbIds:
+ type: array
+ items:
+ type: string
+ startDate:
+ type: string
+ studyCode:
+ type: string
+ studyDbId:
+ type: string
+ studyDescription:
+ type: string
+ studyName:
+ type: string
+ studyPUI:
+ type: string
+ studyType:
+ type: string
+ trialDbId:
+ type: string
+ trialName:
+ type: string
+ trialPUI:
+ type: string
+ 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.
+ StudySearchRequest:
+ type: object
+ properties:
+ active:
+ type: boolean
+ 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.
+ TraitDataType:
+ type: string
+ description: |-
+ Class of the scale, entries can be
+ "Code" - This scale class is exceptionally used to express complex traits. Code is a nominal scale that combines the expressions of the different traits composing the complex trait. For example a severity trait might be expressed by a 2 digit and 2 character code. The first 2 digits are the percentage of the plant covered by a fungus and the 2 characters refer to the delay in development, e.g. "75VD" means "75 %" of the plant is infected and the plant is very delayed.
+ "Date" - The date class is for events expressed in a time format, See ISO 8601
+ "Duration" - The Duration class is for time elapsed between two events expressed in a time format, e.g. days, hours, months
+ "Nominal" - Categorical scale that can take one of a limited and fixed number of categories. There is no intrinsic ordering to the categories
+ "Numerical" - Numerical scales express the trait with real numbers. The numerical scale defines the unit e.g. centimeter, ton per hectare, branches
+ "Ordinal" - Ordinal scales are scales composed of ordered categories
+ "Text" - A free text is used to express the trait.
+ enum:
+ - Code
+ - Date
+ - Duration
+ - Nominal
+ - Numerical
+ - Ordinal
+ - Text
+ Trial:
+ required:
+ - trialDbId
+ - trialName
+ type: object
+ properties:
+ active:
+ type: boolean
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ commonCropName:
+ type: string
+ contacts:
+ type: array
+ items:
+ $ref: "#/components/schemas/Contact"
+ documentationURL:
+ type: string
+ endDate:
+ type: string
+ programDbId:
+ type: string
+ programName:
+ type: string
+ startDate:
+ type: string
+ studyDbIds:
+ type: array
+ items:
+ type: string
+ trialDescription:
+ type: string
+ trialName:
+ type: string
+ trialPUI:
+ type: string
+ description: "A Trial represents a collection of Study objects, and the metadata\
+ \ associated with that collection. A Trial could represent a multi-location\
+ \ experiment, and could contain information related to publications and data\
+ \ licensing."
+ TrialNewRequest:
+ required:
+ - trialDbId
+ - trialDbId
+ - trialName
+ type: object
+ properties:
+ active:
+ type: boolean
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ commonCropName:
+ type: string
+ contacts:
+ type: array
+ items:
+ $ref: "#/components/schemas/Contact"
+ documentationURL:
+ type: string
+ endDate:
+ type: string
+ programDbId:
+ type: string
+ programName:
+ type: string
+ startDate:
+ type: string
+ studyDbIds:
+ type: array
+ items:
+ type: string
+ trialDbId:
+ type: string
+ trialDescription:
+ type: string
+ trialName:
+ type: string
+ trialPUI:
+ type: string
+ description: "A Trial represents a collection of Study objects, and the metadata\
+ \ associated with that collection. A Trial could represent a multi-location\
+ \ experiment, and could contain information related to publications and data\
+ \ licensing."
+ TrialSearchRequest:
+ type: object
+ properties:
+ active:
+ type: boolean
+ searchDateRangeEnd:
+ type: string
+ searchDateRangeStart:
+ type: string
+ description: "A Trial represents a collection of Study objects, and the metadata\
+ \ associated with that collection. A Trial could represent a multi-location\
+ \ experiment, and could contain information related to publications and data\
+ \ licensing."
+ Variable:
+ required:
+ - method
+ - scale
+ - trait
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ commonCropName:
+ type: string
+ contextOfUse:
+ type: array
+ items:
+ type: string
+ defaultValue:
+ type: string
+ documentationURL:
+ type: string
+ growthStage:
+ type: string
+ institution:
+ type: string
+ language:
+ type: string
+ method:
+ $ref: "#/components/schemas/Method"
+ ontologyReference:
+ $ref: "#/components/schemas/OntologyReference"
+ scale:
+ $ref: "#/components/schemas/Scale"
+ scientist:
+ type: string
+ status:
+ type: string
+ submissionTimestamp:
+ type: string
+ synonyms:
+ type: array
+ items:
+ type: string
+ trait:
+ $ref: "#/components/schemas/Trait"
+ description: "A unique combination of Trait, Method, and Scale to define a clear\
+ \ context for an Observation."
+ basePagination:
+ required:
+ - currentPage
+ - pageSize
+ type: object
+ properties:
+ currentPage:
+ type: integer
+ description: The index number for the returned page of data. This should
+ always match the requested page number or the default page (0).
+ example: 0
+ default: 0
+ pageSize:
+ type: integer
+ description: "The number of data elements returned, aka the size of the\
+ \ current page. If the requested page does not have enough elements to\
+ \ fill a page at the requested page size, this field should indicate the\
+ \ actual number of elements returned."
+ example: 1000
+ default: 1000
+ totalCount:
+ type: integer
+ description: The total number of elements that are available on the server
+ and match the requested query parameters.
+ example: 10
+ totalPages:
+ type: integer
+ description: "The total number of pages of elements available on the server.\
+ \ This should be calculated with the following formula. \n
totalPages\
+ \ = CEILING( totalCount / requested_page_size)"
+ example: 1
+ description: "The pagination object is applicable only when the payload contains\
+ \ a \"data\" key. It describes the pagination of the data contained in the\
+ \ \"data\" array, as a way to identify which subset of data is being returned.\
+ \ \n
Pages are zero indexed, so the first page will be page 0 (zero)."
+ dataFile:
+ required:
+ - fileURL
+ type: object
+ properties:
+ fileURL:
+ type: string
+ description: The absolute URL where the file is located
+ format: uri
+ example: https://wiki.brapi.org/examples/datafile.xlsx
+ fileName:
+ type: string
+ description: The name of the file
+ example: datafile.xlsx
+ fileSize:
+ type: integer
+ description: The size of the file in bytes
+ example: 4398
+ fileDescription:
+ type: string
+ description: A human readable description of the file contents
+ example: This is an Excel data file
+ fileType:
+ type: string
+ description: The type or format of the file. Preferably MIME Type.
+ example: application/vnd.ms-excel
+ fileMD5Hash:
+ type: string
+ description: The MD5 Hash of the file contents to be used as a check sum
+ example: c2365e900c81a89cf74d83dab60df146
+ description: A dataFile contains a URL and the relevant file metadata to represent
+ a file
+ metadata:
+ allOf:
+ - $ref: "#/components/schemas/metadataBase"
+ - type: object
+ properties:
+ pagination:
+ $ref: "#/components/schemas/basePagination"
+ metadataBase:
+ type: object
+ properties:
+ datafiles:
+ type: array
+ description: "The datafiles contains a list of file URLs and metadata. \n\
+ These files contain additional information related to the returned object\
+ \ and can be retrieved by a subsequent call. \nThis could be a supplementary\
+ \ data file, an informational file, the uploaded file where the data originated\
+ \ from, a generated file representing the whole dataset in a particular\
+ \ format, or any other related file. "
+ example: []
+ items:
+ $ref: "#/components/schemas/dataFile"
+ status:
+ type: array
+ description: "The status field contains a list of informational status messages\
+ \ from the server. \nIf no status is reported, an empty list should be\
+ \ returned. See Error Reporting for more information."
+ items:
+ $ref: "#/components/schemas/status"
+ description: "An object in the BrAPI standard response model that describes\
+ \ some information about the service call being performed. This includes supplementary\
+ \ data, status log messages, and pagination information."
+ metadataTokenPagination:
+ allOf:
+ - $ref: "#/components/schemas/metadataBase"
+ - type: object
+ properties:
+ pagination:
+ $ref: "#/components/schemas/tokenPagination"
+ status:
+ required:
+ - message
+ - messageType
+ type: object
+ properties:
+ message:
+ type: string
+ description: A short message concerning the status of this request/response
+ example: "Request accepted, response successful"
+ messageType:
+ type: string
+ description: The logging level for the attached message
+ example: INFO
+ enum:
+ - DEBUG
+ - ERROR
+ - WARNING
+ - INFO
+ description: An array of status messages to convey technical logging information
+ from the server to the client.
+ tokenPagination:
+ allOf:
+ - $ref: "#/components/schemas/basePagination"
+ - required:
+ - nextPageToken
+ type: object
+ properties:
+ nextPageToken:
+ type: string
+ description: "**Deprecated in v2.1** Please use `page`. Github issue number\
+ \ #451 \n
The string token used to query the next page of data."
+ example: cb668f63
+ deprecated: true
+ currentPageToken:
+ type: string
+ description: "**Deprecated in v2.1** Please use `page`. Github issue number\
+ \ #451 \n
The string token used to query the current page of data."
+ example: 48bc6ac1
+ deprecated: true
+ prevPageToken:
+ type: string
+ description: "**Deprecated in v2.1** Please use `page`. Github issue number\
+ \ #451 \n
The string token used to query the previous page of data."
+ example: 9659857e
+ deprecated: true
+ description: "**Deprecated in v2.1** Please use `page`. Github issue number\
+ \ #451 \n
The pagination object is applicable only when the payload contains\
+ \ a \"data\" key. It describes the pagination of the data contained in the\
+ \ \"data\" array, as a way to identify which subset of data is being returned.\
+ \ \n
Tokenized pages are for large data sets which can not be efficiently\
+ \ broken into indexed pages. Use the nextPageToken and prevPageToken to\
+ \ construct an additional query and move to the next or previous page respectively.\
+ \ "
+ example:
+ currentPage: 0
+ pageSize: 1000
+ totalCount: 10
+ totalPages: 1
+ responses:
+ "401Unauthorized":
+ description: Unauthorized
+ content:
+ application/json:
+ schema:
+ type: string
+ example: ERROR - 2018-10-08T18:15:11Z - Missing or expired authorization
+ token
+ "202AcceptedSearchResponse":
+ description: Accepted
+ content:
+ application/json:
+ schema:
+ title: 202AcceptedSearchResponse
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ type: object
+ properties:
+ searchResultsDbId:
+ type: string
+ example: 551ae08c
+ StudySingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: StudySingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Study"
+ PersonListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: PersonListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Person"
+ LocationListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: LocationListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Location"
+ TrialListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: TrialListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Trial"
+ "403Forbidden":
+ description: Forbidden
+ content:
+ application/json:
+ schema:
+ type: string
+ example: ERROR - 2018-10-08T18:15:11Z - User does not have permission to
+ perform this action
+ ProgramListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ProgramListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Program"
+ TrialSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: TrialSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Trial"
+ ListListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ListListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/List"
+ SeasonSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: SeasonSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Season"
+ "400BadRequest":
+ description: Bad Request
+ content:
+ application/json:
+ schema:
+ type: string
+ example: |-
+ ERROR - 2018-10-08T18:15:11Z - Malformed JSON Request Object
+
+ ERROR - 2018-10-08T18:15:11Z - Invalid query parameter
+
+ ERROR - 2018-10-08T18:15:11Z - Required parameter is missing
+ "404NotFound":
+ description: Not Found
+ content:
+ application/json:
+ schema:
+ type: string
+ example: ERROR - 2018-10-08T18:15:11Z - The requested object DbId is not
+ found
+ StudyListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: StudyListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Study"
+ LocationSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: LocationSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Location"
+ SeasonListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: SeasonListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Season"
+ ListSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ListSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/List"
+ PersonSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: PersonSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Person"
+ ProgramSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ProgramSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Program"
+ parameters:
+ externalReferenceID:
+ name: externalReferenceID
+ in: query
+ description: "**Deprecated in v2.1** Please use `externalReferenceId`. Github\
+ \ issue number #460 \n
An external reference ID. Could be a simple string\
+ \ or a URI. (use with `externalReferenceSource` parameter)"
+ required: false
+ deprecated: true
+ style: form
+ explode: true
+ schema:
+ type: string
+ externalReferenceId:
+ name: externalReferenceId
+ in: query
+ description: An external reference ID. Could be a simple string or a URI. (use
+ with `externalReferenceSource` parameter)
+ required: false
+ style: form
+ explode: true
+ schema:
+ type: string
+ externalReferenceSource:
+ name: externalReferenceSource
+ in: query
+ description: An identifier for the source system or database of an external
+ reference (use with `externalReferenceId` parameter)
+ required: false
+ style: form
+ explode: true
+ schema:
+ type: string
+ acceptHeader:
+ name: Accept
+ in: header
+ description: "A standard HTTP request header that is used to request a specific\
+ \ content type (JSON, CSV, etc) which is \"acceptable\" to the client and\
+ \ should be returned by the server"
+ required: true
+ style: simple
+ explode: false
+ schema:
+ $ref: "#/components/schemas/ContentTypes"
+ example: application/json
+ searchResultsDbId:
+ name: searchResultsDbId
+ in: path
+ description: Unique identifier which references the search results
+ required: true
+ style: simple
+ explode: false
+ schema:
+ type: string
+ pageSize:
+ name: pageSize
+ in: query
+ description: The size of the pages to be returned. Default is `1000`.
+ required: false
+ style: form
+ explode: true
+ schema:
+ type: integer
+ example: 1000
+ page:
+ name: page
+ in: query
+ description: |-
+ Used to request a specific page of data to be returned.
+
+ The page indexing starts at 0 (the first page is 'page'= 0). Default is `0`.
+ required: false
+ style: form
+ explode: true
+ schema:
+ type: integer
+ example: "0"
+ pageToken:
+ name: pageToken
+ in: query
+ description: "**Deprecated in v2.1** Please use `page`. Github issue number\
+ \ #451 \n
Used to request a specific page of data to be returned.\n
\
+ \ Tokenized pages are for large data sets which can not be efficiently broken\
+ \ into indexed pages. Use the nextPageToken and prevPageToken from a prior\
+ \ response to construct a query and move to the next or previous page respectively. "
+ required: false
+ deprecated: true
+ style: form
+ explode: true
+ schema:
+ type: string
+ example: 33c27874
+ authorizationHeader:
+ name: Authorization
+ in: header
+ description: "HTTP HEADER - Token used for Authorization \n\n Bearer\
+ \ {token_string} "
+ required: false
+ style: simple
+ explode: false
+ schema:
+ pattern: ^Bearer .*$
+ type: string
+ example: Bearer XXXX
+ securitySchemes:
+ AuthorizationToken:
+ type: http
+ description: OAuth Bearer Token - A valid Bearer token to prove authorization
+ scheme: bearer
+ bearerFormat: nonce token or JWT
diff --git a/Specification/Generated/BrAPI-Genotyping.yaml b/Specification/Generated/BrAPI-Genotyping.yaml
new file mode 100644
index 00000000..180d385a
--- /dev/null
+++ b/Specification/Generated/BrAPI-Genotyping.yaml
@@ -0,0 +1,5207 @@
+openapi: 3.0.1
+info:
+ title: BrAPI-Genotyping
+ version: "2.1"
+paths:
+ /calls:
+ get:
+ tags:
+ - Calls
+ summary: Get a filtered list of Call
+ description: Get a list of Call
+ parameters:
+ - name: callSetDbId
+ in: query
+ description: A list of IDs which uniquely identify `CallSets` within the given
+ database server
+ required: false
+ schema:
+ type: string
+ - name: variantDbId
+ in: query
+ description: A list of IDs which uniquely identify `Variant` within the given
+ database server
+ required: false
+ schema:
+ type: string
+ - name: variantSetDbId
+ in: query
+ description: A list of IDs which uniquely identify `VariantSets` within the
+ given database server
+ required: false
+ schema:
+ type: string
+ - name: expandHomozygote
+ in: query
+ description: Should homozygotes be expanded (true) or collapsed into a single
+ occurrence (false)
+ required: false
+ schema:
+ type: boolean
+ - name: sepPhased
+ in: query
+ description: The string used as a separator for phased allele calls.
+ required: false
+ schema:
+ type: string
+ - name: sepUnphased
+ in: query
+ description: The string used as a separator for unphased allele calls.
+ required: false
+ schema:
+ type: string
+ - name: unknownString
+ in: query
+ description: The string used as a representation for missing data.
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/CallListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /callsets:
+ get:
+ tags:
+ - CallSets
+ summary: Get a filtered list of CallSet
+ description: Get a list of CallSet
+ parameters:
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: germplasmDbId
+ in: query
+ description: List of IDs which uniquely identify germplasm to search for
+ required: false
+ schema:
+ type: string
+ - name: germplasmName
+ in: query
+ description: List of human readable names to identify germplasm to search
+ for
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: studyDbId
+ in: query
+ description: List of study identifiers to search for
+ required: false
+ schema:
+ type: string
+ - name: studyName
+ in: query
+ description: List of study names to filter search results
+ required: false
+ schema:
+ type: string
+ - name: trialDbId
+ in: query
+ description: The ID which uniquely identifies a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: trialName
+ in: query
+ description: The human readable name of a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: sampleDbId
+ in: query
+ description: A list of IDs which uniquely identify `Samples` within the given
+ database server
+ required: false
+ schema:
+ type: string
+ - name: sampleName
+ in: query
+ description: A list of human readable names associated with `Samples`
+ required: false
+ schema:
+ type: string
+ - name: callSetDbId
+ in: query
+ description: A list of IDs which uniquely identify `CallSets` within the given
+ database server
+ required: false
+ schema:
+ type: string
+ - name: callSetName
+ in: query
+ description: A list of human readable names associated with `CallSets`
+ required: false
+ schema:
+ type: string
+ - name: variantSetDbId
+ in: query
+ description: A list of IDs which uniquely identify `VariantSets` within the
+ given database server
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/CallSetListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /maps:
+ get:
+ tags:
+ - GenomeMaps
+ summary: Get a filtered list of GenomeMap
+ description: Get a list of GenomeMap
+ parameters:
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: studyDbId
+ in: query
+ description: List of study identifiers to search for
+ required: false
+ schema:
+ type: string
+ - name: studyName
+ in: query
+ description: List of study names to filter search results
+ required: false
+ schema:
+ type: string
+ - name: trialDbId
+ in: query
+ description: The ID which uniquely identifies a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: trialName
+ in: query
+ description: The human readable name of a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: mapDbId
+ in: query
+ description: The ID which uniquely identifies a `GenomeMap`
+ required: false
+ schema:
+ type: string
+ - name: mapPUI
+ in: query
+ description: The DOI or other permanent identifier for a `GenomeMap`
+ required: false
+ schema:
+ type: string
+ - name: scientificName
+ in: query
+ description: "Full scientific binomial format name. This includes Genus, Species,\
+ \ and Sub-species"
+ required: false
+ schema:
+ type: string
+ - name: type
+ in: query
+ description: "The type of map, usually \"Genetic\" or \"Physical\""
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/GenomeMapListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /markerpositions:
+ get:
+ tags:
+ - MarkerPositions
+ summary: Get a filtered list of MarkerPosition
+ description: Get a list of MarkerPosition
+ parameters:
+ - name: mapDbId
+ in: query
+ description: A list of IDs which uniquely identify `GenomeMaps` within the
+ given database server
+ required: false
+ schema:
+ type: string
+ - name: linkageGroupName
+ in: query
+ description: A list of Uniquely Identifiable linkage group names
+ required: false
+ schema:
+ type: string
+ - name: variantDbId
+ in: query
+ description: A list of IDs which uniquely identify `Variants` within the given
+ database server
+ required: false
+ schema:
+ type: string
+ - name: minPosition
+ in: query
+ description: The minimum position of markers in a given map
+ required: false
+ schema:
+ type: integer
+ format: int32
+ - name: maxPosition
+ in: query
+ description: The maximum position of markers in a given map
+ required: false
+ schema:
+ type: integer
+ format: int32
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/MarkerPositionListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /plates:
+ get:
+ tags:
+ - Plates
+ summary: Get a filtered list of Plate
+ description: Get a list of Plate
+ parameters:
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: germplasmDbId
+ in: query
+ description: List of IDs which uniquely identify germplasm to search for
+ required: false
+ schema:
+ type: string
+ - name: germplasmName
+ in: query
+ description: List of human readable names to identify germplasm to search
+ for
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: studyDbId
+ in: query
+ description: List of study identifiers to search for
+ required: false
+ schema:
+ type: string
+ - name: studyName
+ in: query
+ description: List of study names to filter search results
+ required: false
+ schema:
+ type: string
+ - name: trialDbId
+ in: query
+ description: The ID which uniquely identifies a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: trialName
+ in: query
+ description: The human readable name of a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: observationUnitDbId
+ in: query
+ description: The ID which uniquely identifies an observation unit
+ required: false
+ schema:
+ type: string
+ - name: plateDbId
+ in: query
+ description: The ID which uniquely identifies a plate of samples
+ required: false
+ schema:
+ type: string
+ - name: plateName
+ in: query
+ description: The human readable name of a plate of samples
+ required: false
+ schema:
+ type: string
+ - name: plateBarcode
+ in: query
+ description: A unique identifier physically attached to the plate
+ required: false
+ schema:
+ type: string
+ - name: sampleDbId
+ in: query
+ description: The ID which uniquely identifies a sample
+ required: false
+ schema:
+ type: string
+ - name: sampleName
+ in: query
+ description: The human readable name of the sample
+ required: false
+ schema:
+ type: string
+ - name: sampleGroupDbId
+ in: query
+ description: The unique identifier for a group of related Samples
+ required: false
+ schema:
+ type: string
+ - name: germplasmDbId
+ in: query
+ description: The ID which uniquely identifies a germplasm
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/PlateListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ post:
+ tags:
+ - Plates
+ summary: Create new Plate
+ description: Add new Plate to database
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PlateNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/PlateListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /references:
+ get:
+ tags:
+ - References
+ summary: Get a filtered list of Reference
+ description: Get a list of Reference
+ parameters:
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: germplasmDbId
+ in: query
+ description: List of IDs which uniquely identify germplasm to search for
+ required: false
+ schema:
+ type: string
+ - name: germplasmName
+ in: query
+ description: List of human readable names to identify germplasm to search
+ for
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: studyDbId
+ in: query
+ description: List of study identifiers to search for
+ required: false
+ schema:
+ type: string
+ - name: studyName
+ in: query
+ description: List of study names to filter search results
+ required: false
+ schema:
+ type: string
+ - name: trialDbId
+ in: query
+ description: The ID which uniquely identifies a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: trialName
+ in: query
+ description: The human readable name of a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: accession
+ in: query
+ description: "If specified, return the references for which the `accession`\
+ \ matches this string (case-sensitive, exact match)."
+ required: false
+ schema:
+ type: string
+ - name: md5checksum
+ in: query
+ description: "If specified, return the references for which the `md5checksum`\
+ \ matches this string (case-sensitive, exact match)."
+ required: false
+ schema:
+ type: string
+ - name: referenceDbId
+ in: query
+ description: A list of IDs which uniquely identify `References` within the
+ given database server
+ required: false
+ schema:
+ type: string
+ - name: referenceSetDbId
+ in: query
+ description: A list of IDs which uniquely identify `ReferenceSets` within
+ the given database server
+ required: false
+ schema:
+ type: string
+ - name: isDerived
+ in: query
+ description: "A sequence X is said to be derived from source sequence Y, if\
+ \ X and Y are of the same length and the per-base sequence divergence at\
+ \ A/C/G/T bases is sufficiently small. Two sequences derived from the same\
+ \ official sequence share the same coordinates and annotations, and can\
+ \ be replaced with the official sequence for certain use cases."
+ required: false
+ schema:
+ type: boolean
+ - name: minLength
+ in: query
+ description: The minimum length of this `References` sequence.
+ required: false
+ schema:
+ type: integer
+ format: int32
+ - name: maxLength
+ in: query
+ description: The minimum length of this `References` sequence.
+ required: false
+ schema:
+ type: integer
+ format: int32
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/ReferenceListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /referencesets:
+ get:
+ tags:
+ - ReferenceSets
+ summary: Get a filtered list of ReferenceSet
+ description: Get a list of ReferenceSet
+ parameters:
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: germplasmDbId
+ in: query
+ description: List of IDs which uniquely identify germplasm to search for
+ required: false
+ schema:
+ type: string
+ - name: germplasmName
+ in: query
+ description: List of human readable names to identify germplasm to search
+ for
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: studyDbId
+ in: query
+ description: List of study identifiers to search for
+ required: false
+ schema:
+ type: string
+ - name: studyName
+ in: query
+ description: List of study names to filter search results
+ required: false
+ schema:
+ type: string
+ - name: trialDbId
+ in: query
+ description: The ID which uniquely identifies a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: trialName
+ in: query
+ description: The human readable name of a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: accession
+ in: query
+ description: "If set, return the reference sets for which the `accession`\
+ \ matches this string (case-sensitive, exact match)."
+ required: false
+ schema:
+ type: string
+ - name: assemblyPUI
+ in: query
+ description: "If set, return the reference sets for which the `assemblyId`\
+ \ matches this string (case-sensitive, exact match)."
+ required: false
+ schema:
+ type: string
+ - name: md5checksum
+ in: query
+ description: "If set, return the reference sets for which the `md5checksum`\
+ \ matches this string (case-sensitive, exact match)."
+ required: false
+ schema:
+ type: string
+ - name: referenceSetDbId
+ in: query
+ description: The `ReferenceSets` to search.
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/ReferenceSetListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /samples:
+ get:
+ tags:
+ - Samples
+ summary: Get a filtered list of Sample
+ description: Get a list of Sample
+ parameters:
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: germplasmDbId
+ in: query
+ description: List of IDs which uniquely identify germplasm to search for
+ required: false
+ schema:
+ type: string
+ - name: germplasmName
+ in: query
+ description: List of human readable names to identify germplasm to search
+ for
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: studyDbId
+ in: query
+ description: List of study identifiers to search for
+ required: false
+ schema:
+ type: string
+ - name: studyName
+ in: query
+ description: List of study names to filter search results
+ required: false
+ schema:
+ type: string
+ - name: trialDbId
+ in: query
+ description: The ID which uniquely identifies a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: trialName
+ in: query
+ description: The human readable name of a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: observationUnitDbId
+ in: query
+ description: The ID which uniquely identifies an `ObservationUnit`
+ required: false
+ schema:
+ type: string
+ - name: plateDbId
+ in: query
+ description: The ID which uniquely identifies a `Plate` of `Samples`
+ required: false
+ schema:
+ type: string
+ - name: plateName
+ in: query
+ description: The human readable name of a `Plate` of `Samples`
+ required: false
+ schema:
+ type: string
+ - name: sampleDbId
+ in: query
+ description: The ID which uniquely identifies a `Sample`
+ required: false
+ schema:
+ type: string
+ - name: sampleName
+ in: query
+ description: The human readable name of the `Sample`
+ required: false
+ schema:
+ type: string
+ - name: sampleGroupDbId
+ in: query
+ description: The unique identifier for a group of related `Samples`
+ required: false
+ schema:
+ type: string
+ - name: germplasmDbId
+ in: query
+ description: The ID which uniquely identifies a `Germplasm`
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/SampleListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ put:
+ tags:
+ - Samples
+ summary: Update the details for an existing Sample
+ description: Update the details for an existing Sample
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/SampleNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/SampleListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ post:
+ tags:
+ - Samples
+ summary: Create new Sample
+ description: Add new Sample to database
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/SampleNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/SampleListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /variants:
+ get:
+ tags:
+ - Variants
+ summary: Get a filtered list of Variant
+ description: Get a list of Variant
+ parameters:
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: studyDbId
+ in: query
+ description: List of study identifiers to search for
+ required: false
+ schema:
+ type: string
+ - name: studyName
+ in: query
+ description: List of study names to filter search results
+ required: false
+ schema:
+ type: string
+ - name: trialDbId
+ in: query
+ description: The ID which uniquely identifies a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: trialName
+ in: query
+ description: The human readable name of a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: callSetDbId
+ in: query
+ description: "**Deprecated in v2.1** Parameter unnecessary. Github issue number\
+ \ #474 \n
Only return variant calls which belong to call sets with these\
+ \ IDs. If unspecified, return all variants and no variant call objects."
+ required: false
+ schema:
+ type: string
+ - name: end
+ in: query
+ description: "The end of the window (0-based, exclusive) for which overlapping\
+ \ variants should be returned."
+ required: false
+ schema:
+ type: integer
+ format: int32
+ - name: referenceDbId
+ in: query
+ description: |-
+ **Deprecated in v2.1** Please use `referenceDbIds`. Github issue number #472
+
Only return variants on this reference.
+ required: false
+ schema:
+ type: string
+ - name: referenceDbId
+ in: query
+ description: The unique identifier representing a genotype `Reference`
+ required: false
+ schema:
+ type: string
+ - name: referenceSetDbId
+ in: query
+ description: The unique identifier representing a genotype `ReferenceSet`
+ required: false
+ schema:
+ type: string
+ - name: start
+ in: query
+ description: "The beginning of the window (0-based, inclusive) for which overlapping\
+ \ variants should be returned. Genomic positions are non-negative integers\
+ \ less than reference length. Requests spanning the join of circular genomes\
+ \ are represented as two requests one on each side of the join (position\
+ \ 0)."
+ required: false
+ schema:
+ type: integer
+ format: int32
+ - name: variantDbId
+ in: query
+ description: A list of IDs which uniquely identify `Variants`
+ required: false
+ schema:
+ type: string
+ - name: variantSetDbId
+ in: query
+ description: A list of IDs which uniquely identify `VariantSets`
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/VariantListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /variantsets:
+ get:
+ tags:
+ - VariantSets
+ summary: Get a filtered list of VariantSet
+ description: Get a list of VariantSet
+ parameters:
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: studyDbId
+ in: query
+ description: List of study identifiers to search for
+ required: false
+ schema:
+ type: string
+ - name: studyName
+ in: query
+ description: List of study names to filter search results
+ required: false
+ schema:
+ type: string
+ - name: trialDbId
+ in: query
+ description: The ID which uniquely identifies a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: trialName
+ in: query
+ description: The human readable name of a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: callSetDbId
+ in: query
+ description: The unique identifier representing a CallSet
+ required: false
+ schema:
+ type: string
+ - name: variantDbId
+ in: query
+ description: The unique identifier representing a Variant
+ required: false
+ schema:
+ type: string
+ - name: variantSetDbId
+ in: query
+ description: The unique identifier representing a VariantSet
+ required: false
+ schema:
+ type: string
+ - name: referenceDbId
+ in: query
+ description: The unique identifier representing a genotype Reference
+ required: false
+ schema:
+ type: string
+ - name: referenceSetDbId
+ in: query
+ description: The unique identifier representing a genotype ReferenceSet
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/VariantSetListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /callsets/{callSetDbId}:
+ get:
+ tags:
+ - CallSets
+ summary: Get the details of a specific CallSet
+ description: Get details for a CallSet
+ responses:
+ "200":
+ $ref: "#/components/responses/CallSetSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /callsets/{callSetDbId}/calls:
+ get:
+ tags:
+ - Calls
+ summary: Get a filtered list of Call
+ description: Get a list of Call
+ parameters:
+ - name: callSetDbId
+ in: query
+ description: A list of IDs which uniquely identify `CallSets` within the given
+ database server
+ required: false
+ schema:
+ type: string
+ - name: variantDbId
+ in: query
+ description: A list of IDs which uniquely identify `Variant` within the given
+ database server
+ required: false
+ schema:
+ type: string
+ - name: variantSetDbId
+ in: query
+ description: A list of IDs which uniquely identify `VariantSets` within the
+ given database server
+ required: false
+ schema:
+ type: string
+ - name: expandHomozygote
+ in: query
+ description: Should homozygotes be expanded (true) or collapsed into a single
+ occurrence (false)
+ required: false
+ schema:
+ type: boolean
+ - name: sepPhased
+ in: query
+ description: The string used as a separator for phased allele calls.
+ required: false
+ schema:
+ type: string
+ - name: sepUnphased
+ in: query
+ description: The string used as a separator for unphased allele calls.
+ required: false
+ schema:
+ type: string
+ - name: unknownString
+ in: query
+ description: The string used as a representation for missing data.
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/CallListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /maps/{mapDbId}:
+ get:
+ tags:
+ - GenomeMaps
+ summary: Get the details of a specific GenomeMap
+ description: Get details for a GenomeMap
+ responses:
+ "200":
+ $ref: "#/components/responses/GenomeMapSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /plates/{plateDbId}:
+ get:
+ tags:
+ - Plates
+ summary: Get the details of a specific Plate
+ description: Get details for a Plate
+ responses:
+ "200":
+ $ref: "#/components/responses/PlateSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /references/{referenceDbId}:
+ get:
+ tags:
+ - References
+ summary: Get the details of a specific Reference
+ description: Get details for a Reference
+ responses:
+ "200":
+ $ref: "#/components/responses/ReferenceSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /referencesets/{referenceSetDbId}:
+ get:
+ tags:
+ - ReferenceSets
+ summary: Get the details of a specific ReferenceSet
+ description: Get details for a ReferenceSet
+ responses:
+ "200":
+ $ref: "#/components/responses/ReferenceSetSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /samples/{sampleDbId}:
+ get:
+ tags:
+ - Samples
+ summary: Get the details of a specific Sample
+ description: Get details for a Sample
+ responses:
+ "200":
+ $ref: "#/components/responses/SampleSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /variants/{variantDbId}:
+ get:
+ tags:
+ - Variants
+ summary: Get the details of a specific Variant
+ description: Get details for a Variant
+ responses:
+ "200":
+ $ref: "#/components/responses/VariantSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /variants/{variantDbId}/calls:
+ get:
+ tags:
+ - Calls
+ summary: Get a filtered list of Call
+ description: Get a list of Call
+ parameters:
+ - name: callSetDbId
+ in: query
+ description: A list of IDs which uniquely identify `CallSets` within the given
+ database server
+ required: false
+ schema:
+ type: string
+ - name: variantDbId
+ in: query
+ description: A list of IDs which uniquely identify `Variant` within the given
+ database server
+ required: false
+ schema:
+ type: string
+ - name: variantSetDbId
+ in: query
+ description: A list of IDs which uniquely identify `VariantSets` within the
+ given database server
+ required: false
+ schema:
+ type: string
+ - name: expandHomozygote
+ in: query
+ description: Should homozygotes be expanded (true) or collapsed into a single
+ occurrence (false)
+ required: false
+ schema:
+ type: boolean
+ - name: sepPhased
+ in: query
+ description: The string used as a separator for phased allele calls.
+ required: false
+ schema:
+ type: string
+ - name: sepUnphased
+ in: query
+ description: The string used as a separator for unphased allele calls.
+ required: false
+ schema:
+ type: string
+ - name: unknownString
+ in: query
+ description: The string used as a representation for missing data.
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/CallListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /variantsets/{variantSetDbId}:
+ get:
+ tags:
+ - VariantSets
+ summary: Get the details of a specific VariantSet
+ description: Get details for a VariantSet
+ responses:
+ "200":
+ $ref: "#/components/responses/VariantSetSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /variantsets/{variantSetDbId}/calls:
+ get:
+ tags:
+ - Calls
+ summary: Get a filtered list of Call
+ description: Get a list of Call
+ parameters:
+ - name: callSetDbId
+ in: query
+ description: A list of IDs which uniquely identify `CallSets` within the given
+ database server
+ required: false
+ schema:
+ type: string
+ - name: variantDbId
+ in: query
+ description: A list of IDs which uniquely identify `Variant` within the given
+ database server
+ required: false
+ schema:
+ type: string
+ - name: variantSetDbId
+ in: query
+ description: A list of IDs which uniquely identify `VariantSets` within the
+ given database server
+ required: false
+ schema:
+ type: string
+ - name: expandHomozygote
+ in: query
+ description: Should homozygotes be expanded (true) or collapsed into a single
+ occurrence (false)
+ required: false
+ schema:
+ type: boolean
+ - name: sepPhased
+ in: query
+ description: The string used as a separator for phased allele calls.
+ required: false
+ schema:
+ type: string
+ - name: sepUnphased
+ in: query
+ description: The string used as a separator for unphased allele calls.
+ required: false
+ schema:
+ type: string
+ - name: unknownString
+ in: query
+ description: The string used as a representation for missing data.
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/CallListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /variantsets/{variantSetDbId}/callsets:
+ get:
+ tags:
+ - CallSets
+ summary: Get a filtered list of CallSet
+ description: Get a list of CallSet
+ parameters:
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: germplasmDbId
+ in: query
+ description: List of IDs which uniquely identify germplasm to search for
+ required: false
+ schema:
+ type: string
+ - name: germplasmName
+ in: query
+ description: List of human readable names to identify germplasm to search
+ for
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: studyDbId
+ in: query
+ description: List of study identifiers to search for
+ required: false
+ schema:
+ type: string
+ - name: studyName
+ in: query
+ description: List of study names to filter search results
+ required: false
+ schema:
+ type: string
+ - name: trialDbId
+ in: query
+ description: The ID which uniquely identifies a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: trialName
+ in: query
+ description: The human readable name of a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: sampleDbId
+ in: query
+ description: A list of IDs which uniquely identify `Samples` within the given
+ database server
+ required: false
+ schema:
+ type: string
+ - name: sampleName
+ in: query
+ description: A list of human readable names associated with `Samples`
+ required: false
+ schema:
+ type: string
+ - name: callSetDbId
+ in: query
+ description: A list of IDs which uniquely identify `CallSets` within the given
+ database server
+ required: false
+ schema:
+ type: string
+ - name: callSetName
+ in: query
+ description: A list of human readable names associated with `CallSets`
+ required: false
+ schema:
+ type: string
+ - name: variantSetDbId
+ in: query
+ description: A list of IDs which uniquely identify `VariantSets` within the
+ given database server
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/CallSetListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /variantsets/{variantSetDbId}/variants:
+ get:
+ tags:
+ - Variants
+ summary: Get a filtered list of Variant
+ description: Get a list of Variant
+ parameters:
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: studyDbId
+ in: query
+ description: List of study identifiers to search for
+ required: false
+ schema:
+ type: string
+ - name: studyName
+ in: query
+ description: List of study names to filter search results
+ required: false
+ schema:
+ type: string
+ - name: trialDbId
+ in: query
+ description: The ID which uniquely identifies a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: trialName
+ in: query
+ description: The human readable name of a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: callSetDbId
+ in: query
+ description: "**Deprecated in v2.1** Parameter unnecessary. Github issue number\
+ \ #474 \n
Only return variant calls which belong to call sets with these\
+ \ IDs. If unspecified, return all variants and no variant call objects."
+ required: false
+ schema:
+ type: string
+ - name: end
+ in: query
+ description: "The end of the window (0-based, exclusive) for which overlapping\
+ \ variants should be returned."
+ required: false
+ schema:
+ type: integer
+ format: int32
+ - name: referenceDbId
+ in: query
+ description: |-
+ **Deprecated in v2.1** Please use `referenceDbIds`. Github issue number #472
+
Only return variants on this reference.
+ required: false
+ schema:
+ type: string
+ - name: referenceDbId
+ in: query
+ description: The unique identifier representing a genotype `Reference`
+ required: false
+ schema:
+ type: string
+ - name: referenceSetDbId
+ in: query
+ description: The unique identifier representing a genotype `ReferenceSet`
+ required: false
+ schema:
+ type: string
+ - name: start
+ in: query
+ description: "The beginning of the window (0-based, inclusive) for which overlapping\
+ \ variants should be returned. Genomic positions are non-negative integers\
+ \ less than reference length. Requests spanning the join of circular genomes\
+ \ are represented as two requests one on each side of the join (position\
+ \ 0)."
+ required: false
+ schema:
+ type: integer
+ format: int32
+ - name: variantDbId
+ in: query
+ description: A list of IDs which uniquely identify `Variants`
+ required: false
+ schema:
+ type: string
+ - name: variantSetDbId
+ in: query
+ description: A list of IDs which uniquely identify `VariantSets`
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/VariantListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/allelematrix:
+ post:
+ tags:
+ - AlleleMatrix
+ summary: Submit a search request for `AlleleMatrix`
+ description: "Submit a search request for `AlleleMatrix`
\nSearch requests\
+ \ allow a client to send a complex query for data. However, the server may\
+ \ not respond with the search results immediately. \nIf a server needs more\
+ \ time to process the request, it might respond with a `searchResultsDbId`.\
+ \ \nUse the corresponding `GET /search/alleleMatrix/{searchResultsDbId}` to\
+ \ retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/AlleleMatrixListResponse"
+ "202":
+ $ref: "#/components/responses/202AcceptedSearchResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/calls:
+ post:
+ tags:
+ - Calls
+ summary: Submit a search request for `Call`
+ description: "Submit a search request for `Call`
\nSearch requests allow\
+ \ a client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/call/{searchResultsDbId}` to retrieve the results of the search.\
+ \
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/CallListResponse"
+ "202":
+ $ref: "#/components/responses/202AcceptedSearchResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/callsets:
+ post:
+ tags:
+ - CallSets
+ summary: Submit a search request for `CallSet`
+ description: "Submit a search request for `CallSet`
\nSearch requests allow\
+ \ a client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/callSet/{searchResultsDbId}` to retrieve the results of the\
+ \ search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/CallSetListResponse"
+ "202":
+ $ref: "#/components/responses/202AcceptedSearchResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/markerpositions:
+ post:
+ tags:
+ - MarkerPositions
+ summary: Submit a search request for `MarkerPosition`
+ description: "Submit a search request for `MarkerPosition`
\nSearch requests\
+ \ allow a client to send a complex query for data. However, the server may\
+ \ not respond with the search results immediately. \nIf a server needs more\
+ \ time to process the request, it might respond with a `searchResultsDbId`.\
+ \ \nUse the corresponding `GET /search/markerPosition/{searchResultsDbId}`\
+ \ to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/MarkerPositionListResponse"
+ "202":
+ $ref: "#/components/responses/202AcceptedSearchResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/plates:
+ post:
+ tags:
+ - Plates
+ summary: Submit a search request for `Plate`
+ description: "Submit a search request for `Plate`
\nSearch requests allow\
+ \ a client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/plate/{searchResultsDbId}` to retrieve the results of the search.\
+ \
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/PlateListResponse"
+ "202":
+ $ref: "#/components/responses/202AcceptedSearchResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/references:
+ post:
+ tags:
+ - References
+ summary: Submit a search request for `Reference`
+ description: "Submit a search request for `Reference`
\nSearch requests\
+ \ allow a client to send a complex query for data. However, the server may\
+ \ not respond with the search results immediately. \nIf a server needs more\
+ \ time to process the request, it might respond with a `searchResultsDbId`.\
+ \ \nUse the corresponding `GET /search/reference/{searchResultsDbId}` to retrieve\
+ \ the results of the search.
\nReview the Search\
+ \ Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/ReferenceListResponse"
+ "202":
+ $ref: "#/components/responses/202AcceptedSearchResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/referencesets:
+ post:
+ tags:
+ - ReferenceSets
+ summary: Submit a search request for `ReferenceSet`
+ description: "Submit a search request for `ReferenceSet`
\nSearch requests\
+ \ allow a client to send a complex query for data. However, the server may\
+ \ not respond with the search results immediately. \nIf a server needs more\
+ \ time to process the request, it might respond with a `searchResultsDbId`.\
+ \ \nUse the corresponding `GET /search/referenceSet/{searchResultsDbId}` to\
+ \ retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/ReferenceSetListResponse"
+ "202":
+ $ref: "#/components/responses/202AcceptedSearchResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/samples:
+ post:
+ tags:
+ - Samples
+ summary: Submit a search request for `Sample`
+ description: "Submit a search request for `Sample`
\nSearch requests allow\
+ \ a client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/sample/{searchResultsDbId}` to retrieve the results of the\
+ \ search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/SampleListResponse"
+ "202":
+ $ref: "#/components/responses/202AcceptedSearchResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/variants:
+ post:
+ tags:
+ - Variants
+ summary: Submit a search request for `Variant`
+ description: "Submit a search request for `Variant`
\nSearch requests allow\
+ \ a client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/variant/{searchResultsDbId}` to retrieve the results of the\
+ \ search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/VariantListResponse"
+ "202":
+ $ref: "#/components/responses/202AcceptedSearchResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/variantsets:
+ post:
+ tags:
+ - VariantSets
+ summary: Submit a search request for `VariantSet`
+ description: "Submit a search request for `VariantSet`
\nSearch requests\
+ \ allow a client to send a complex query for data. However, the server may\
+ \ not respond with the search results immediately. \nIf a server needs more\
+ \ time to process the request, it might respond with a `searchResultsDbId`.\
+ \ \nUse the corresponding `GET /search/variantSet/{searchResultsDbId}` to\
+ \ retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/VariantSetListResponse"
+ "202":
+ $ref: "#/components/responses/202AcceptedSearchResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/allelematrix/{searchResultsDbId}:
+ get:
+ tags:
+ - AlleleMatrix
+ summary: "Submit a search request for `AlleleMatrix`
\nSearch requests allow\
+ \ a client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/alleleMatrix/{searchResultsDbId}` to retrieve the results of\
+ \ the search.
\nReview the Search Services documentation for additional implementation details."
+ description: "Get the results of a `AlleleMatrix` search request
\nClients\
+ \ should submit a search request using the corresponding `POST /search/alleleMatrix`\
+ \ endpoint.\nSearch requests allow a client to send a complex query for data.\
+ \ However, the server may not respond with the search results immediately.\
+ \ \nIf a server needs more time to process the request, it might respond with\
+ \ a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the\
+ \ search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/AlleleMatrixListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/calls/{searchResultsDbId}:
+ get:
+ tags:
+ - Calls
+ summary: "Submit a search request for `Call`
\nSearch requests allow a client\
+ \ to send a complex query for data. However, the server may not respond with\
+ \ the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/call/{searchResultsDbId}` to retrieve the results of the search.\
+ \
\nReview the Search Services documentation for additional implementation details."
+ description: "Get the results of a `Call` search request
\nClients should\
+ \ submit a search request using the corresponding `POST /search/call` endpoint.\n\
+ Search requests allow a client to send a complex query for data. However,\
+ \ the server may not respond with the search results immediately. \nIf a server\
+ \ needs more time to process the request, it might respond with a `searchResultsDbId`.\
+ \ \nUse this endpoint to retrieve the results of the search.
\nReview\
+ \ the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/CallListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/callsets/{searchResultsDbId}:
+ get:
+ tags:
+ - CallSets
+ summary: "Submit a search request for `CallSet`
\nSearch requests allow\
+ \ a client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/callSet/{searchResultsDbId}` to retrieve the results of the\
+ \ search.
\nReview the Search Services documentation for additional implementation details."
+ description: "Get the results of a `CallSet` search request
\nClients should\
+ \ submit a search request using the corresponding `POST /search/callSet` endpoint.\n\
+ Search requests allow a client to send a complex query for data. However,\
+ \ the server may not respond with the search results immediately. \nIf a server\
+ \ needs more time to process the request, it might respond with a `searchResultsDbId`.\
+ \ \nUse this endpoint to retrieve the results of the search.
\nReview\
+ \ the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/CallSetListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/markerpositions/{searchResultsDbId}:
+ get:
+ tags:
+ - MarkerPositions
+ summary: "Submit a search request for `MarkerPosition`
\nSearch requests\
+ \ allow a client to send a complex query for data. However, the server may\
+ \ not respond with the search results immediately. \nIf a server needs more\
+ \ time to process the request, it might respond with a `searchResultsDbId`.\
+ \ \nUse the corresponding `GET /search/markerPosition/{searchResultsDbId}`\
+ \ to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details."
+ description: "Get the results of a `MarkerPosition` search request
\nClients\
+ \ should submit a search request using the corresponding `POST /search/markerPosition`\
+ \ endpoint.\nSearch requests allow a client to send a complex query for data.\
+ \ However, the server may not respond with the search results immediately.\
+ \ \nIf a server needs more time to process the request, it might respond with\
+ \ a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the\
+ \ search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/MarkerPositionListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/plates/{searchResultsDbId}:
+ get:
+ tags:
+ - Plates
+ summary: "Submit a search request for `Plate`
\nSearch requests allow a\
+ \ client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/plate/{searchResultsDbId}` to retrieve the results of the search.\
+ \
\nReview the Search Services documentation for additional implementation details."
+ description: "Get the results of a `Plate` search request
\nClients should\
+ \ submit a search request using the corresponding `POST /search/plate` endpoint.\n\
+ Search requests allow a client to send a complex query for data. However,\
+ \ the server may not respond with the search results immediately. \nIf a server\
+ \ needs more time to process the request, it might respond with a `searchResultsDbId`.\
+ \ \nUse this endpoint to retrieve the results of the search.
\nReview\
+ \ the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/PlateListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/references/{searchResultsDbId}:
+ get:
+ tags:
+ - References
+ summary: "Submit a search request for `Reference`
\nSearch requests allow\
+ \ a client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/reference/{searchResultsDbId}` to retrieve the results of the\
+ \ search.
\nReview the Search Services documentation for additional implementation details."
+ description: "Get the results of a `Reference` search request
\nClients\
+ \ should submit a search request using the corresponding `POST /search/reference`\
+ \ endpoint.\nSearch requests allow a client to send a complex query for data.\
+ \ However, the server may not respond with the search results immediately.\
+ \ \nIf a server needs more time to process the request, it might respond with\
+ \ a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the\
+ \ search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/ReferenceListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/referencesets/{searchResultsDbId}:
+ get:
+ tags:
+ - ReferenceSets
+ summary: "Submit a search request for `ReferenceSet`
\nSearch requests allow\
+ \ a client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/referenceSet/{searchResultsDbId}` to retrieve the results of\
+ \ the search.
\nReview the Search Services documentation for additional implementation details."
+ description: "Get the results of a `ReferenceSet` search request
\nClients\
+ \ should submit a search request using the corresponding `POST /search/referenceSet`\
+ \ endpoint.\nSearch requests allow a client to send a complex query for data.\
+ \ However, the server may not respond with the search results immediately.\
+ \ \nIf a server needs more time to process the request, it might respond with\
+ \ a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the\
+ \ search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/ReferenceSetListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/samples/{searchResultsDbId}:
+ get:
+ tags:
+ - Samples
+ summary: "Submit a search request for `Sample`
\nSearch requests allow a\
+ \ client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/sample/{searchResultsDbId}` to retrieve the results of the\
+ \ search.
\nReview the Search Services documentation for additional implementation details."
+ description: "Get the results of a `Sample` search request
\nClients should\
+ \ submit a search request using the corresponding `POST /search/sample` endpoint.\n\
+ Search requests allow a client to send a complex query for data. However,\
+ \ the server may not respond with the search results immediately. \nIf a server\
+ \ needs more time to process the request, it might respond with a `searchResultsDbId`.\
+ \ \nUse this endpoint to retrieve the results of the search.
\nReview\
+ \ the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/SampleListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/variants/{searchResultsDbId}:
+ get:
+ tags:
+ - Variants
+ summary: "Submit a search request for `Variant`
\nSearch requests allow\
+ \ a client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/variant/{searchResultsDbId}` to retrieve the results of the\
+ \ search.
\nReview the Search Services documentation for additional implementation details."
+ description: "Get the results of a `Variant` search request
\nClients should\
+ \ submit a search request using the corresponding `POST /search/variant` endpoint.\n\
+ Search requests allow a client to send a complex query for data. However,\
+ \ the server may not respond with the search results immediately. \nIf a server\
+ \ needs more time to process the request, it might respond with a `searchResultsDbId`.\
+ \ \nUse this endpoint to retrieve the results of the search.
\nReview\
+ \ the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/VariantListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/variantsets/{searchResultsDbId}:
+ get:
+ tags:
+ - VariantSets
+ summary: "Submit a search request for `VariantSet`
\nSearch requests allow\
+ \ a client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/variantSet/{searchResultsDbId}` to retrieve the results of\
+ \ the search.
\nReview the Search Services documentation for additional implementation details."
+ description: "Get the results of a `VariantSet` search request
\nClients\
+ \ should submit a search request using the corresponding `POST /search/variantSet`\
+ \ endpoint.\nSearch requests allow a client to send a complex query for data.\
+ \ However, the server may not respond with the search results immediately.\
+ \ \nIf a server needs more time to process the request, it might respond with\
+ \ a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the\
+ \ search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/VariantSetListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+components:
+ schemas:
+ AdditionalInfo:
+ type: object
+ properties:
+ additionalProperties:
+ type: string
+ 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."
+ AlleleMatrix:
+ required:
+ - callSetDbIds
+ - variantSetDbIds
+ type: object
+ properties:
+ callSetDbIds:
+ type: array
+ items:
+ type: string
+ expandHomozygotes:
+ type: boolean
+ sepPhased:
+ type: string
+ sepUnphased:
+ type: string
+ unknownString:
+ type: string
+ variantDbIds:
+ type: array
+ items:
+ type: string
+ variantSetDbIds:
+ type: array
+ items:
+ type: string
+ description: "The AlleleMatrix object is used to describe a matrix of genotyping\
+ \ results. This 2d array of data reduces the overall size of the response\
+ \ for larger datasets, when compared to the Calls endpoints. This makes genotype\
+ \ data retrieval faster and easier."
+ AlleleMatrixSearchRequest:
+ type: object
+ properties:
+ expandHomozygotes:
+ type: boolean
+ preview:
+ type: boolean
+ sepPhased:
+ type: string
+ sepUnphased:
+ type: string
+ unknownString:
+ type: string
+ description: "The AlleleMatrix object is used to describe a matrix of genotyping\
+ \ results. This 2d array of data reduces the overall size of the response\
+ \ for larger datasets, when compared to the Calls endpoints. This makes genotype\
+ \ data retrieval faster and easier."
+ Analysis:
+ required:
+ - analysisDbId
+ type: object
+ properties:
+ analysisDbId:
+ type: string
+ analysisName:
+ type: string
+ created:
+ type: string
+ description:
+ type: string
+ software:
+ type: array
+ items:
+ type: string
+ type:
+ type: string
+ updated:
+ type: string
+ variantSetDbId:
+ type: string
+ variantSetName:
+ type: string
+ description: "An analysis contains an interpretation of one or several experiments.\
+ \ (e.g. SNVs, copy number variations, methylation status) together with information\
+ \ about the methodology used."
+ Attribute:
+ required:
+ - attributeName
+ - method
+ - scale
+ - trait
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ attributeCategory:
+ type: string
+ attributeDbId:
+ type: string
+ attributeDescription:
+ type: string
+ attributeName:
+ type: string
+ attributePUI:
+ type: string
+ commonCropName:
+ type: string
+ contextOfUse:
+ type: array
+ items:
+ type: string
+ defaultValue:
+ type: string
+ documentationURL:
+ type: string
+ growthStage:
+ type: string
+ institution:
+ type: string
+ language:
+ type: string
+ method:
+ $ref: "#/components/schemas/Method"
+ ontologyReference:
+ $ref: "#/components/schemas/OntologyReference"
+ scale:
+ $ref: "#/components/schemas/Scale"
+ scientist:
+ type: string
+ status:
+ type: string
+ submissionTimestamp:
+ type: string
+ synonyms:
+ type: array
+ items:
+ type: string
+ trait:
+ $ref: "#/components/schemas/Trait"
+ AvailableFormat:
+ type: object
+ properties:
+ dataFormat:
+ type: string
+ description: "dataFormat defines the structure of the data within a file\
+ \ (ie DartSeq, VCF, Hapmap, tabular, etc)"
+ enum:
+ - DartSeq
+ - VCF
+ - Hapmap
+ - tabular
+ - JSON
+ expandHomozygotes:
+ type: boolean
+ fileFormat:
+ type: string
+ description: "fileFormat defines the MIME type of the file (ie text/csv,\
+ \ application/excel, application/zip). This should also be reflected in\
+ \ the Accept and ContentType HTTP headers for every relevant request and\
+ \ response."
+ enum:
+ - text/csv
+ - text/tsv
+ - application/excel
+ - application/zip
+ - application/json
+ fileURL:
+ type: string
+ sepPhased:
+ type: string
+ sepUnphased:
+ type: string
+ unknownString:
+ type: string
+ variantSetDbId:
+ type: string
+ variantSetName:
+ type: string
+ description: Each 'availableFormat' object is a pairing of dataFormat and fileFormat.
+ These must be communicated in pairs because they are not independent parameters
+ and sometimes one influences the other.
+ Call:
+ required:
+ - callSetDbId
+ - variantDbId
+ - variantSetDbId
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ callSetDbId:
+ type: string
+ callSetName:
+ type: string
+ genotypeValue:
+ type: string
+ phaseSet:
+ type: string
+ variantDbId:
+ type: string
+ variantSetDbId:
+ type: string
+ variantSetName:
+ type: string
+ description: "A `Call` represents the determination of genotype with respect\
+ \ to a particular `Variant`. \n\nIt may include associated information such\
+ \ as quality and phasing. For example, a call might assign a probability of\
+ \ 0.32 to the occurrence of a SNP named RS_1234 in a call set with the name\
+ \ NA_12345."
+ CallSearchRequest:
+ type: object
+ properties:
+ expandHomozygotes:
+ type: boolean
+ sepPhased:
+ type: string
+ sepUnphased:
+ type: string
+ unknownString:
+ type: string
+ description: "A `Call` represents the determination of genotype with respect\
+ \ to a particular `Variant`. \n\nIt may include associated information such\
+ \ as quality and phasing. For example, a call might assign a probability of\
+ \ 0.32 to the occurrence of a SNP named RS_1234 in a call set with the name\
+ \ NA_12345."
+ CallSet:
+ required:
+ - callSetDbId
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ callSetDbId:
+ type: string
+ callSetName:
+ type: string
+ created:
+ type: string
+ sampleDbId:
+ type: string
+ sampleName:
+ type: string
+ samplePUI:
+ type: string
+ studyDbId:
+ type: string
+ studyName:
+ type: string
+ studyPUI:
+ type: string
+ updated:
+ type: string
+ variantSetDbIds:
+ type: array
+ items:
+ type: string
+ description: A CallSet is a collection of Calls that were generated by the same
+ analysis of the same Sample
+ CallSetSearchRequest:
+ type: object
+ properties: {}
+ description: A CallSet is a collection of Calls that were generated by the same
+ analysis of the same Sample
+ Contact:
+ required:
+ - contactDbId
+ type: object
+ properties:
+ contactDbId:
+ type: string
+ email:
+ type: string
+ instituteName:
+ type: string
+ name:
+ type: string
+ orcid:
+ type: string
+ type:
+ type: string
+ description: A persons contact information
+ ContentTypes:
+ type: string
+ enum:
+ - application/json
+ - text/csv
+ - text/tsv
+ - application/flapjack
+ Context:
+ title: context
+ type: array
+ description: "The JSON-LD Context is used to provide JSON-LD definitions to\
+ \ each field in a JSON object. By providing an array of context file urls,\
+ \ a BrAPI response object becomes JSON-LD compatible. \n\nFor more information,\
+ \ see https://w3c.github.io/json-ld-syntax/#the-context"
+ example:
+ - https://brapi.org/jsonld/context/metadata.jsonld
+ items:
+ type: string
+ format: uri
+ CrossParent:
+ type: object
+ properties:
+ germplasm:
+ $ref: "#/components/schemas/Germplasm"
+ observationUnitDbId:
+ type: string
+ observationUnitName:
+ type: string
+ observationUnitPUI:
+ type: string
+ parentType:
+ $ref: "#/components/schemas/ParentType"
+ description: The identifying information gor the parent material of a cross.
+ CrossType:
+ type: string
+ description: "The type of cross make. Accepted values for this field are 'BIPARENTAL',\
+ \ 'SELF', 'OPEN_POLLINATED', 'BULK', 'BULK_SELFED', 'BULK_OPEN_POLLINATED'\
+ \ and 'DOUBLE_HAPLOID'."
+ enum:
+ - BIPARENTAL
+ - SELF
+ - OPEN_POLLINATED
+ - BULK
+ - BULK_SELFED
+ - BULK_OPEN_POLLINATED
+ - DOUBLE_HAPLOID
+ DataMatrix:
+ type: object
+ properties:
+ alleleMatrix:
+ $ref: "#/components/schemas/AlleleMatrix"
+ dataMatrix:
+ type: array
+ items:
+ type: array
+ items:
+ type: string
+ dataMatrixAbbreviation:
+ type: string
+ dataMatrixName:
+ type: string
+ dataType:
+ type: string
+ description: The type of field represented in this data matrix. This is
+ intended to help parse the data out of JSON.
+ enum:
+ - string
+ - integer
+ - float
+ - boolean
+ description: "A two dimensional array that holds allele data or associated metadata.\
+ \ Each matrix should be the same size and orientation, aligned with the \"\
+ callSetDbIds\" as columns and the \"variantDbIds\" as rows."
+ ExperimentalDesign:
+ type: object
+ properties:
+ PUI:
+ type: string
+ description:
+ type: string
+ studyDbId:
+ type: string
+ studyName:
+ type: string
+ studyPUI:
+ type: string
+ description: The experimental and statistical design full description plus a
+ category PUI taken from crop research ontology or agronomy ontology
+ ExternalReference:
+ type: object
+ properties:
+ referenceId:
+ type: string
+ referenceSource:
+ type: string
+ GenomeMap:
+ required:
+ - commonCropName
+ - mapDbId
+ - type
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ comments:
+ type: string
+ commonCropName:
+ type: string
+ documentationURL:
+ type: string
+ linkageGroupCount:
+ type: integer
+ format: int32
+ mapDbId:
+ type: string
+ mapName:
+ type: string
+ mapPUI:
+ type: string
+ markerCount:
+ type: integer
+ format: int32
+ publishedDate:
+ type: string
+ scientificName:
+ type: string
+ type:
+ type: string
+ unit:
+ type: string
+ description: The GenomeMap represents the metadata associated with a reference
+ map of a particular species genome. A GenomeMap can either represent a physical
+ map or genetic map.
+ GenotypeMetadata:
+ type: object
+ properties:
+ call:
+ $ref: "#/components/schemas/Call"
+ dataType:
+ type: string
+ description: The type of field represented in this Genotype Field. This
+ is intended to help parse the data out of JSON.
+ enum:
+ - string
+ - integer
+ - float
+ - boolean
+ fieldAbbreviation:
+ type: string
+ fieldName:
+ type: string
+ fieldValue:
+ type: string
+ description: Genotype Metadata are additional layers of metadata associated
+ with each genotype.
+ GeoJSON:
+ type: object
+ properties:
+ geometry:
+ $ref: "#/components/schemas/GeoJSONGeometry"
+ type:
+ type: string
+ description: |-
+ One geometry as defined by GeoJSON (RFC 7946). All coordinates are decimal values on the WGS84 geographic coordinate reference system.
+
+ Copied from RFC 7946 Section 3.1.1
+
+ A position is an array of numbers. There MUST be two or more elements. The first two elements are longitude and latitude, or
+ easting and northing, precisely in that order and using decimal numbers. Altitude or elevation MAY be included as an optional third element.
+ GeoJSONGeometry:
+ oneOf:
+ - required:
+ - coordinateDbIds
+ - type
+ type: object
+ properties:
+ coordinates:
+ type: array
+ items:
+ type: number
+ type:
+ type: string
+ description: |-
+ Copied from RFC 7946 Section 3.1.1
+
+ A position is an array of numbers. There MUST be two or more elements. The first two elements are longitude and latitude, or
+ easting and northing, precisely in that order and using decimal numbers. Altitude or elevation MAY be included as an optional third element.
+ - required:
+ - coordinateDbIds
+ - type
+ type: object
+ properties:
+ coordinates:
+ type: array
+ items:
+ type: array
+ items:
+ type: array
+ items:
+ type: number
+ type:
+ type: string
+ description: "An array of Linear Rings. Each Linear Ring is an array of Points.\
+ \ \n\nA Point is an array of numbers. There MUST be two or more elements.\
+ \ The first two elements are longitude and latitude, or\neasting and northing,\
+ \ precisely in that order and using decimal numbers. Altitude or elevation\
+ \ MAY be included as an optional third element."
+ GeoJSONSearchArea:
+ type: object
+ properties:
+ geometry:
+ $ref: "#/components/schemas/GeoJSONGeometry"
+ germplasmOrigin:
+ $ref: "#/components/schemas/GermplasmOrigin"
+ imageDbId:
+ type: string
+ imageName:
+ type: string
+ observationDbId:
+ type: string
+ observationUnit:
+ $ref: "#/components/schemas/ObservationUnitPosition"
+ type:
+ type: string
+ Germplasm:
+ required:
+ - commonCropName
+ - germplasmDbId
+ - germplasmName
+ - germplasmPUI
+ type: object
+ properties:
+ accessionNumber:
+ type: string
+ acquisitionDate:
+ type: string
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ biologicalStatusOfAccessionCode:
+ type: string
+ description: "MCPD (v2.1) (SAMPSTAT) 19. The coding scheme proposed can\
+ \ be used at 3 different levels of detail: either by using the general\
+ \ codes such as 100, 200, 300, 400, or by using the more specific codes\
+ \ such as 110, 120, etc. \n\n100) Wild \n110) Natural \n120) Semi-natural/wild\
+ \ \n130) Semi-natural/sown \n200) Weedy \n300) Traditional cultivar/landrace\
+ \ \n400) Breeding/research material \n410) Breeders line \n411) Synthetic\
+ \ population \n412) Hybrid \n413) Founder stock/base population \n414)\
+ \ Inbred line (parent of hybrid cultivar) \n415) Segregating population\
+ \ \n416) Clonal selection \n420) Genetic stock \n421) Mutant (e.g. induced/insertion\
+ \ mutants, tilling populations) \n422) Cytogenetic stocks (e.g. chromosome\
+ \ addition/substitution, aneuploids, amphiploids) \n423) Other genetic\
+ \ stocks (e.g. mapping populations) \n500) Advanced or improved cultivar\
+ \ (conventional breeding methods) \n600) GMO (by genetic engineering)\
+ \ \n999) Other (Elaborate in REMARKS field)"
+ enum:
+ - "100"
+ - "110"
+ - "120"
+ - "130"
+ - "200"
+ - "300"
+ - "400"
+ - "410"
+ - "411"
+ - "412"
+ - "413"
+ - "414"
+ - "415"
+ - "416"
+ - "420"
+ - "421"
+ - "422"
+ - "423"
+ - "500"
+ - "600"
+ - "999"
+ biologicalStatusOfAccessionDescription:
+ type: string
+ breedingMethodDbId:
+ type: string
+ breedingMethodName:
+ type: string
+ collection:
+ type: string
+ commonCropName:
+ type: string
+ countryOfOriginCode:
+ type: string
+ defaultDisplayName:
+ type: string
+ documentationURL:
+ type: string
+ genus:
+ type: string
+ germplasmDbId:
+ type: string
+ germplasmName:
+ type: string
+ germplasmPUI:
+ type: string
+ germplasmPreprocessing:
+ type: string
+ instituteCode:
+ type: string
+ instituteName:
+ type: string
+ pedigree:
+ type: string
+ sampleDbIds:
+ type: array
+ items:
+ type: string
+ seedSource:
+ type: string
+ seedSourceDescription:
+ type: string
+ species:
+ type: string
+ speciesAuthority:
+ type: string
+ subtaxa:
+ type: string
+ subtaxaAuthority:
+ type: string
+ description: "The conceptual identifiers and metadata describing a genetically\
+ \ unique organism that is noteworthy in some way. Depending on context, a\
+ \ Germplasm might be synonymous with Accession, Line, or Genotype. Note that\
+ \ Germplasm is conceptual data, not necessarily associated to a real physical\
+ \ object, so Seed/Inventory Lots and Observation Units become physical instantiations\
+ \ of a particular Germplasm. Note a Germplasm is unique and noteworthy, so\
+ \ a Cross may or may not create a new Germplasm, since not every Cross is\
+ \ unique or noteworthy."
+ GermplasmOrigin:
+ type: object
+ properties:
+ coordinateUncertainty:
+ type: string
+ germplasmDbId:
+ type: string
+ germplasmName:
+ type: string
+ germplasmPUI:
+ type: string
+ description: "Information for material (orchard, natural sites, ...). Geographic\
+ \ identification of the plants from which seeds or cutting have been taken\
+ \ to produce that germplasm."
+ GrowthFacility:
+ type: object
+ properties:
+ PUI:
+ type: string
+ description:
+ type: string
+ studyDbId:
+ type: string
+ studyName:
+ type: string
+ studyPUI:
+ type: string
+ description: Short description of the facility in which the study was carried
+ out.
+ ListType:
+ type: string
+ description: The type of objects that are referenced in a List
+ enum:
+ - germplasm
+ - markers
+ - variants
+ - programs
+ - trials
+ - studies
+ - observationUnits
+ - observations
+ - observationVariables
+ - samples
+ MarkerPosition:
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ linkageGroupName:
+ type: string
+ mapDbId:
+ type: string
+ mapName:
+ type: string
+ mapPUI:
+ type: string
+ position:
+ type: integer
+ format: int32
+ variantDbId:
+ type: string
+ description: A MarkerPosition describes a particular genetic marker at a specific
+ position on a GenomeMap. A collection of MarkerPositions make up the data
+ to represent a full GenomeMap.
+ MarkerPositionSearchRequest:
+ type: object
+ properties:
+ maxPosition:
+ type: integer
+ format: int32
+ minPosition:
+ type: integer
+ format: int32
+ description: A MarkerPosition describes a particular genetic marker at a specific
+ position on a GenomeMap. A collection of MarkerPositions make up the data
+ to represent a full GenomeMap.
+ MetadataField:
+ type: object
+ properties:
+ dataType:
+ type: string
+ description: The type of field represented in this Genotype Field. This
+ is intended to help parse the data out of JSON.
+ enum:
+ - string
+ - integer
+ - float
+ - boolean
+ fieldAbbreviation:
+ type: string
+ fieldName:
+ type: string
+ variantSetDbId:
+ type: string
+ variantSetName:
+ type: string
+ description: "Indicates which types of genotyping data and metadata are available\
+ \ in the VariantSet. \n
When possible, these field names and abbreviations\
+ \ should follow the VCF standard "
+ Method:
+ required:
+ - methodDbId
+ - methodName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ bibliographicalReference:
+ type: string
+ description:
+ type: string
+ formula:
+ type: string
+ methodClass:
+ type: string
+ methodDbId:
+ type: string
+ methodName:
+ type: string
+ methodPUI:
+ type: string
+ ontologyReferenceDbId:
+ type: string
+ description: "A description of the way an Observation should be collected. \n\
+
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\". "
+ ObservationUnitHierarchyLevel:
+ type: object
+ properties:
+ levelName:
+ type: string
+ levelOrder:
+ type: integer
+ format: int32
+ description: "The exact level and level code of an observation unit. \n\nFor\
+ \ more information on Observation Levels, please review the Observation\
+ \ Levels documentation. \n\nMIAPPE V1.1 DM-71 Observation unit type \"\
+ Type of observation unit in textual form, usually one of the following: study,\
+ \ block, sub-block, plot, sub-plot, pot, plant. Use of other observation unit\
+ \ types is possible but not recommended. \nThe observation unit type can not\
+ \ be used to indicate sub-plant levels. However, observations can still be\
+ \ made on the sub-plant level, as long as the details are indicated in the\
+ \ associated observed variable (see observed variables). \nAlternatively,\
+ \ it is possible to use samples for more detailed tracing of sub-plant units,\
+ \ attaching the observations to them instead.\" "
+ ObservationUnitLevel:
+ type: object
+ properties:
+ levelCode:
+ type: string
+ levelName:
+ type: string
+ levelOrder:
+ type: integer
+ format: int32
+ description: "The exact level and level code of an observation unit. \n\nFor\
+ \ more information on Observation Levels, please review the Observation\
+ \ Levels documentation. \n\nMIAPPE V1.1 DM-71 Observation unit type \"\
+ Type of observation unit in textual form, usually one of the following: study,\
+ \ block, sub-block, plot, sub-plot, pot, plant. Use of other observation unit\
+ \ types is possible but not recommended. \nThe observation unit type can not\
+ \ be used to indicate sub-plant levels. However, observations can still be\
+ \ made on the sub-plant level, as long as the details are indicated in the\
+ \ associated observed variable (see observed variables). \nAlternatively,\
+ \ it is possible to use samples for more detailed tracing of sub-plant units,\
+ \ attaching the observations to them instead.\" "
+ ObservationUnitPosition:
+ type: object
+ properties:
+ entryType:
+ type: string
+ description: "The type of entry for this observation unit. ex. \"CHECK\"\
+ , \"TEST\", \"FILLER\""
+ enum:
+ - CHECK
+ - TEST
+ - FILLER
+ observationLevel:
+ $ref: "#/components/schemas/ObservationUnitLevel"
+ observationUnitDbId:
+ type: string
+ observationUnitName:
+ type: string
+ observationUnitPUI:
+ type: string
+ positionCoordinateX:
+ type: string
+ positionCoordinateXType:
+ $ref: "#/components/schemas/PositionCoordinateType"
+ positionCoordinateY:
+ type: string
+ positionCoordinateYType:
+ $ref: "#/components/schemas/PositionCoordinateType"
+ description: All positional and layout information related to this Observation
+ Unit
+ Ontology:
+ required:
+ - ontologyDbId
+ - ontologyName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ authors:
+ type: string
+ copyright:
+ type: string
+ description:
+ type: string
+ documentationURL:
+ type: string
+ licence:
+ type: string
+ ontologyDbId:
+ type: string
+ ontologyName:
+ type: string
+ version:
+ type: string
+ description: The identifier and metadata needed to reference an external controlled
+ vocabulary
+ OntologyReference:
+ required:
+ - ontology
+ type: object
+ properties:
+ ontology:
+ $ref: "#/components/schemas/Ontology"
+ ontologyReferenceDbId:
+ type: string
+ version:
+ type: string
+ description: "MIAPPE V1.1 (DM-85) Variable accession number - Accession number\
+ \ of the variable in the Crop Ontology \nMIAPPE V1.1 (DM-87) Trait accession\
+ \ number - Accession number of the trait in a suitable controlled vocabulary\
+ \ (Crop Ontology, Trait Ontology).\nMIAPPE V1.1 (DM-89) Method accession number\
+ \ - Accession number of the method in a suitable controlled vocabulary (Crop\
+ \ Ontology, Trait Ontology).\nMIAPPE V1.1 (DM-93) Scale accession number -\
+ \ Accession number of the scale in a suitable controlled vocabulary (Crop\
+ \ Ontology)."
+ OntologyTerm:
+ type: object
+ properties:
+ term:
+ type: string
+ termURI:
+ type: string
+ description: A pointer to an ontology used by a genomic reference
+ Pagination:
+ type: object
+ properties:
+ alleleMatrix:
+ $ref: "#/components/schemas/AlleleMatrix"
+ dimension:
+ type: string
+ description: The dimension of the matrix being paginated
+ enum:
+ - CALLSETS
+ - VARIANTS
+ page:
+ type: integer
+ format: int32
+ pageSize:
+ type: integer
+ format: int32
+ totalCount:
+ type: integer
+ format: int32
+ totalPages:
+ type: integer
+ format: int32
+ description: Pagination info for the matrix
+ ParentType:
+ type: string
+ description: "The type of parent used during crossing. Accepted values for this\
+ \ field are 'MALE', 'FEMALE', 'SELF', 'POPULATION', and 'CLONAL'. \\n\\nIn\
+ \ a pedigree record, the 'parentType' describes each parent of a particular\
+ \ germplasm. \\n\\nIn a progeny record, the 'parentType' is used to describe\
+ \ how this germplasm was crossed to generate a particular progeny. \\nFor\
+ \ example, given a record for germplasm A, having a progeny B and C. The 'parentType'\
+ \ field for progeny B item refers \\nto the 'parentType' of A toward B. The\
+ \ 'parentType' field for progeny C item refers to the 'parentType' of A toward\
+ \ C.\\nIn this way, A could be a male parent to B, but a female parent to\
+ \ C. "
+ enum:
+ - MALE
+ - FEMALE
+ - SELF
+ - POPULATION
+ - CLONAL
+ Plate:
+ required:
+ - plateDbId
+ - plateName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ plateBarcode:
+ type: string
+ plateFormat:
+ type: string
+ description: "Enum for plate formats, usually \"PLATE_96\" for a 96 well\
+ \ plate or \"TUBES\" for plateless format"
+ enum:
+ - PLATE_96
+ - TUBES
+ plateName:
+ type: string
+ programDbId:
+ type: string
+ programName:
+ type: string
+ sampleType:
+ type: string
+ description: "The type of samples taken. ex. 'DNA', 'RNA', 'Tissue', etc"
+ enum:
+ - DNA
+ - RNA
+ - TISSUE
+ - MIXED
+ studyDbId:
+ type: string
+ studyName:
+ type: string
+ studyPUI:
+ type: string
+ trialDbId:
+ type: string
+ trialName:
+ type: string
+ trialPUI:
+ type: string
+ description: "A Plate represents the metadata for a collection of Samples. The\
+ \ physical Plate being represented might be a plastic tray full of Samples,\
+ \ or a group of Samples stored in individual containers ie bags, test tubes,\
+ \ etc. Whatever the container is, the Samples in a Plate should be related\
+ \ by the same physical space, though they may or may not be related as part\
+ \ of the same experiment or analysis."
+ PlateNewRequest:
+ required:
+ - plateDbId
+ - plateName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ plateBarcode:
+ type: string
+ plateDbId:
+ type: string
+ plateFormat:
+ type: string
+ description: "Enum for plate formats, usually \"PLATE_96\" for a 96 well\
+ \ plate or \"TUBES\" for plateless format"
+ enum:
+ - PLATE_96
+ - TUBES
+ plateName:
+ type: string
+ programDbId:
+ type: string
+ programName:
+ type: string
+ sampleType:
+ type: string
+ description: "The type of samples taken. ex. 'DNA', 'RNA', 'Tissue', etc"
+ enum:
+ - DNA
+ - RNA
+ - TISSUE
+ - MIXED
+ studyDbId:
+ type: string
+ studyName:
+ type: string
+ studyPUI:
+ type: string
+ trialDbId:
+ type: string
+ trialName:
+ type: string
+ trialPUI:
+ type: string
+ description: "A Plate represents the metadata for a collection of Samples. The\
+ \ physical Plate being represented might be a plastic tray full of Samples,\
+ \ or a group of Samples stored in individual containers ie bags, test tubes,\
+ \ etc. Whatever the container is, the Samples in a Plate should be related\
+ \ by the same physical space, though they may or may not be related as part\
+ \ of the same experiment or analysis."
+ PlateSearchRequest:
+ type: object
+ properties: {}
+ description: "A Plate represents the metadata for a collection of Samples. The\
+ \ physical Plate being represented might be a plastic tray full of Samples,\
+ \ or a group of Samples stored in individual containers ie bags, test tubes,\
+ \ etc. Whatever the container is, the Samples in a Plate should be related\
+ \ by the same physical space, though they may or may not be related as part\
+ \ of the same experiment or analysis."
+ PositionCoordinateType:
+ type: string
+ description: "The type of positional coordinate. Must be one of the following\
+ \ values \n\nLONGITUDE - ISO 6709 standard, WGS84 geodetic datum. See 'Location\
+ \ Coordinate Encoding' for details \n\nLATITUDE - ISO 6709 standard, WGS84\
+ \ geodetic datum. See 'Location Coordinate Encoding' for details \n\nPLANTED_ROW\
+ \ - The physical planted row number \n\nPLANTED_INDIVIDUAL - The physical\
+ \ counted number, could be independent or within a planted row \n\nGRID_ROW\
+ \ - The row index number of a square grid overlay \n\nGRID_COL - The column\
+ \ index number of a square grid overlay \n\nMEASURED_ROW - The distance in\
+ \ meters from a defined 0-th row \n\nMEASURED_COL - The distance in meters\
+ \ from a defined 0-th column "
+ enum:
+ - LONGITUDE
+ - LATITUDE
+ - PLANTED_ROW
+ - PLANTED_INDIVIDUAL
+ - GRID_ROW
+ - GRID_COL
+ - MEASURED_ROW
+ - MEASURED_COL
+ Reference:
+ required:
+ - referenceDbId
+ - referenceName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ commonCropName:
+ type: string
+ isDerived:
+ type: boolean
+ length:
+ type: integer
+ format: int32
+ md5checksum:
+ type: string
+ referenceDbId:
+ type: string
+ referenceName:
+ type: string
+ referenceSetDbId:
+ type: string
+ referenceSetName:
+ type: string
+ sourceDivergence:
+ type: number
+ sourceGermplasmDbIds:
+ type: array
+ items:
+ type: string
+ sourceURI:
+ type: string
+ species:
+ $ref: "#/components/schemas/OntologyTerm"
+ variantDbIds:
+ type: array
+ items:
+ type: string
+ description: "A `Reference` is a canonical assembled contig, intended to act\
+ \ as a reference coordinate space for other genomic annotations. A single\
+ \ `Reference` might represent the human chromosome 1, for instance. `References`\
+ \ are designed to be immutable."
+ ReferenceSearchRequest:
+ type: object
+ properties:
+ isDerived:
+ type: boolean
+ maxLength:
+ type: integer
+ format: int32
+ minLength:
+ type: integer
+ format: int32
+ description: "A `Reference` is a canonical assembled contig, intended to act\
+ \ as a reference coordinate space for other genomic annotations. A single\
+ \ `Reference` might represent the human chromosome 1, for instance. `References`\
+ \ are designed to be immutable."
+ ReferenceSet:
+ required:
+ - referenceSetDbId
+ - referenceSetName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ assemblyPUI:
+ type: string
+ commonCropName:
+ type: string
+ description:
+ type: string
+ isDerived:
+ type: boolean
+ md5checksum:
+ type: string
+ referenceDbId:
+ type: string
+ referenceName:
+ type: string
+ referenceSetName:
+ type: string
+ sourceGermplasmDbIds:
+ type: array
+ items:
+ type: string
+ sourceURI:
+ type: string
+ species:
+ $ref: "#/components/schemas/OntologyTerm"
+ variantDbIds:
+ type: array
+ items:
+ type: string
+ variantSetDbIds:
+ type: array
+ items:
+ type: string
+ description: "A `ReferenceSet` is a set of `Reference` s which typically comprise\
+ \ a reference assembly, such as `GRCH_38`. A `ReferenceSet` defines a common\
+ \ coordinate space for comparing reference-aligned experimental data."
+ ReferenceSetNewRequest:
+ required:
+ - referenceSetDbId
+ - referenceSetDbId
+ - referenceSetName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ assemblyPUI:
+ type: string
+ commonCropName:
+ type: string
+ description:
+ type: string
+ isDerived:
+ type: boolean
+ md5checksum:
+ type: string
+ referenceDbId:
+ type: string
+ referenceName:
+ type: string
+ referenceSetDbId:
+ type: string
+ referenceSetName:
+ type: string
+ sourceGermplasmDbIds:
+ type: array
+ items:
+ type: string
+ sourceURI:
+ type: string
+ species:
+ $ref: "#/components/schemas/OntologyTerm"
+ variantDbIds:
+ type: array
+ items:
+ type: string
+ variantSetDbIds:
+ type: array
+ items:
+ type: string
+ description: "A `ReferenceSet` is a set of `Reference` s which typically comprise\
+ \ a reference assembly, such as `GRCH_38`. A `ReferenceSet` defines a common\
+ \ coordinate space for comparing reference-aligned experimental data."
+ ReferenceSetSearchRequest:
+ type: object
+ properties: {}
+ description: "A `ReferenceSet` is a set of `Reference` s which typically comprise\
+ \ a reference assembly, such as `GRCH_38`. A `ReferenceSet` defines a common\
+ \ coordinate space for comparing reference-aligned experimental data."
+ Sample:
+ required:
+ - sampleDbId
+ - sampleName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ callSetDbIds:
+ type: array
+ items:
+ type: string
+ column:
+ type: integer
+ format: int32
+ germplasmDbId:
+ type: string
+ germplasmName:
+ type: string
+ germplasmPUI:
+ type: string
+ observationUnitDbId:
+ type: string
+ observationUnitName:
+ type: string
+ observationUnitPUI:
+ type: string
+ plateDbId:
+ type: string
+ plateName:
+ type: string
+ programDbId:
+ type: string
+ programName:
+ type: string
+ row:
+ type: string
+ sampleBarcode:
+ type: string
+ sampleDescription:
+ type: string
+ sampleGroupId:
+ type: string
+ sampleName:
+ type: string
+ samplePUI:
+ type: string
+ sampleTimestamp:
+ type: string
+ sampleType:
+ type: string
+ studyDbId:
+ type: string
+ studyName:
+ type: string
+ studyPUI:
+ type: string
+ takenBy:
+ type: string
+ tissueType:
+ type: string
+ trialDbId:
+ type: string
+ trialName:
+ type: string
+ trialPUI:
+ type: string
+ well:
+ type: string
+ description: "The identifiers and metadata associated with a physical piece\
+ \ of biological material collected from the field for external analysis. A\
+ \ Sample can take many forms (leaf clipping, seed, DNA, etc) and might be\
+ \ used for a variety of analysis procedures (spectra, genotyping, etc)."
+ SampleNewRequest:
+ required:
+ - sampleDbId
+ - sampleName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ callSetDbIds:
+ type: array
+ items:
+ type: string
+ column:
+ type: integer
+ format: int32
+ germplasmDbId:
+ type: string
+ germplasmName:
+ type: string
+ germplasmPUI:
+ type: string
+ observationUnitDbId:
+ type: string
+ observationUnitName:
+ type: string
+ observationUnitPUI:
+ type: string
+ plateDbId:
+ type: string
+ plateName:
+ type: string
+ programDbId:
+ type: string
+ programName:
+ type: string
+ row:
+ type: string
+ sampleBarcode:
+ type: string
+ sampleDbId:
+ type: string
+ sampleDescription:
+ type: string
+ sampleGroupId:
+ type: string
+ sampleName:
+ type: string
+ samplePUI:
+ type: string
+ sampleTimestamp:
+ type: string
+ sampleType:
+ type: string
+ studyDbId:
+ type: string
+ studyName:
+ type: string
+ studyPUI:
+ type: string
+ takenBy:
+ type: string
+ tissueType:
+ type: string
+ trialDbId:
+ type: string
+ trialName:
+ type: string
+ trialPUI:
+ type: string
+ well:
+ type: string
+ description: "The identifiers and metadata associated with a physical piece\
+ \ of biological material collected from the field for external analysis. A\
+ \ Sample can take many forms (leaf clipping, seed, DNA, etc) and might be\
+ \ used for a variety of analysis procedures (spectra, genotyping, etc)."
+ SampleSearchRequest:
+ type: object
+ properties: {}
+ description: "The identifiers and metadata associated with a physical piece\
+ \ of biological material collected from the field for external analysis. A\
+ \ Sample can take many forms (leaf clipping, seed, DNA, etc) and might be\
+ \ used for a variety of analysis procedures (spectra, genotyping, etc)."
+ Scale:
+ required:
+ - scaleDbId
+ - scaleName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ dataType:
+ type: string
+ description: |-
+ Class of the scale, entries can be
+ "Code" - This scale class is exceptionally used to express complex traits. Code is a nominal scale that combines the expressions of the different traits composing the complex trait. For example a severity trait might be expressed by a 2 digit and 2 character code. The first 2 digits are the percentage of the plant covered by a fungus and the 2 characters refer to the delay in development, e.g. "75VD" means "75 %" of the plant is infected and the plant is very delayed.
+ "Date" - The date class is for events expressed in a time format, See ISO 8601
+ "Duration" - The Duration class is for time elapsed between two events expressed in a time format, e.g. days, hours, months
+ "Nominal" - Categorical scale that can take one of a limited and fixed number of categories. There is no intrinsic ordering to the categories
+ "Numerical" - Numerical scales express the trait with real numbers. The numerical scale defines the unit e.g. centimeter, ton per hectare, branches
+ "Ordinal" - Ordinal scales are scales composed of ordered categories
+ "Text" - A free text is used to express the trait.
+ enum:
+ - Code
+ - Date
+ - Duration
+ - Nominal
+ - Numerical
+ - Ordinal
+ - Text
+ decimalPlaces:
+ type: integer
+ format: int32
+ ontologyReferenceDbId:
+ type: string
+ scaleDbId:
+ type: string
+ scaleName:
+ type: string
+ scalePUI:
+ type: string
+ units:
+ type: string
+ validValues:
+ $ref: "#/components/schemas/ValidValues"
+ description: "A Scale describes the units and acceptable values for an ObservationVariable.\
+ \ \n
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\"."
+ Trait:
+ required:
+ - traitName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ attribute:
+ type: string
+ attributePUI:
+ type: string
+ entity:
+ type: string
+ entityPUI:
+ type: string
+ mainAbbreviation:
+ type: string
+ ontologyReferenceDbId:
+ type: string
+ status:
+ type: string
+ traitClass:
+ type: string
+ traitDbId:
+ type: string
+ traitDescription:
+ type: string
+ traitName:
+ type: string
+ traitPUI:
+ type: string
+ description: "A Trait describes what property is being observed. \n
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\"\
+ . "
+ TraitDataType:
+ type: string
+ description: |-
+ Class of the scale, entries can be
+ "Code" - This scale class is exceptionally used to express complex traits. Code is a nominal scale that combines the expressions of the different traits composing the complex trait. For example a severity trait might be expressed by a 2 digit and 2 character code. The first 2 digits are the percentage of the plant covered by a fungus and the 2 characters refer to the delay in development, e.g. "75VD" means "75 %" of the plant is infected and the plant is very delayed.
+ "Date" - The date class is for events expressed in a time format, See ISO 8601
+ "Duration" - The Duration class is for time elapsed between two events expressed in a time format, e.g. days, hours, months
+ "Nominal" - Categorical scale that can take one of a limited and fixed number of categories. There is no intrinsic ordering to the categories
+ "Numerical" - Numerical scales express the trait with real numbers. The numerical scale defines the unit e.g. centimeter, ton per hectare, branches
+ "Ordinal" - Ordinal scales are scales composed of ordered categories
+ "Text" - A free text is used to express the trait.
+ enum:
+ - Code
+ - Date
+ - Duration
+ - Nominal
+ - Numerical
+ - Ordinal
+ - Text
+ ValidValues:
+ type: object
+ properties:
+ maximumValue:
+ type: string
+ minimumValue:
+ type: string
+ scaleDbId:
+ type: string
+ scaleName:
+ type: string
+ scalePUI:
+ type: string
+ description: Metadata describing the acceptable values for this Scale
+ Variable:
+ required:
+ - method
+ - scale
+ - trait
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ commonCropName:
+ type: string
+ contextOfUse:
+ type: array
+ items:
+ type: string
+ defaultValue:
+ type: string
+ documentationURL:
+ type: string
+ growthStage:
+ type: string
+ institution:
+ type: string
+ language:
+ type: string
+ method:
+ $ref: "#/components/schemas/Method"
+ ontologyReference:
+ $ref: "#/components/schemas/OntologyReference"
+ scale:
+ $ref: "#/components/schemas/Scale"
+ scientist:
+ type: string
+ status:
+ type: string
+ submissionTimestamp:
+ type: string
+ synonyms:
+ type: array
+ items:
+ type: string
+ trait:
+ $ref: "#/components/schemas/Trait"
+ description: "A unique combination of Trait, Method, and Scale to define a clear\
+ \ context for an Observation."
+ Variant:
+ required:
+ - variantDbId
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ created:
+ type: string
+ end:
+ type: integer
+ format: int32
+ filtersApplied:
+ type: boolean
+ filtersPassed:
+ type: boolean
+ referenceBases:
+ type: string
+ referenceDbId:
+ type: string
+ referenceName:
+ type: string
+ referenceSetDbId:
+ type: string
+ referenceSetName:
+ type: string
+ start:
+ type: integer
+ format: int32
+ svlen:
+ type: integer
+ format: int32
+ updated:
+ type: string
+ variantDbId:
+ type: string
+ variantSetDbId:
+ type: string
+ variantSetName:
+ type: string
+ variantType:
+ type: string
+ description: "A `Variant` represents a change in DNA sequence relative to some\
+ \ reference. For example, a variant could represent a classic marker, a SNP,\
+ \ or an insertion. This is equivalent to a row in VCF."
+ VariantSearchRequest:
+ type: object
+ properties:
+ end:
+ type: integer
+ format: int32
+ referenceDbId:
+ type: string
+ start:
+ type: integer
+ format: int32
+ description: "A `Variant` represents a change in DNA sequence relative to some\
+ \ reference. For example, a variant could represent a classic marker, a SNP,\
+ \ or an insertion. This is equivalent to a row in VCF."
+ VariantSet:
+ required:
+ - variantSetDbId
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ analysiDbIds:
+ type: array
+ items:
+ type: string
+ callSetCount:
+ type: integer
+ format: int32
+ referenceSetDbId:
+ type: string
+ referenceSetName:
+ type: string
+ studyDbId:
+ type: string
+ studyName:
+ type: string
+ studyPUI:
+ type: string
+ variantCount:
+ type: integer
+ format: int32
+ variantSetDbId:
+ type: string
+ variantSetName:
+ type: string
+ description: A VariantSet is a collection of variants and variant calls intended
+ to be analyzed together.
+ VariantSetSearchRequest:
+ type: object
+ properties: {}
+ description: A VariantSet is a collection of variants and variant calls intended
+ to be analyzed together.
+ basePagination:
+ required:
+ - currentPage
+ - pageSize
+ type: object
+ properties:
+ currentPage:
+ type: integer
+ description: The index number for the returned page of data. This should
+ always match the requested page number or the default page (0).
+ example: 0
+ default: 0
+ pageSize:
+ type: integer
+ description: "The number of data elements returned, aka the size of the\
+ \ current page. If the requested page does not have enough elements to\
+ \ fill a page at the requested page size, this field should indicate the\
+ \ actual number of elements returned."
+ example: 1000
+ default: 1000
+ totalCount:
+ type: integer
+ description: The total number of elements that are available on the server
+ and match the requested query parameters.
+ example: 10
+ totalPages:
+ type: integer
+ description: "The total number of pages of elements available on the server.\
+ \ This should be calculated with the following formula. \n
totalPages\
+ \ = CEILING( totalCount / requested_page_size)"
+ example: 1
+ description: "The pagination object is applicable only when the payload contains\
+ \ a \"data\" key. It describes the pagination of the data contained in the\
+ \ \"data\" array, as a way to identify which subset of data is being returned.\
+ \ \n
Pages are zero indexed, so the first page will be page 0 (zero)."
+ dataFile:
+ required:
+ - fileURL
+ type: object
+ properties:
+ fileURL:
+ type: string
+ description: The absolute URL where the file is located
+ format: uri
+ example: https://wiki.brapi.org/examples/datafile.xlsx
+ fileName:
+ type: string
+ description: The name of the file
+ example: datafile.xlsx
+ fileSize:
+ type: integer
+ description: The size of the file in bytes
+ example: 4398
+ fileDescription:
+ type: string
+ description: A human readable description of the file contents
+ example: This is an Excel data file
+ fileType:
+ type: string
+ description: The type or format of the file. Preferably MIME Type.
+ example: application/vnd.ms-excel
+ fileMD5Hash:
+ type: string
+ description: The MD5 Hash of the file contents to be used as a check sum
+ example: c2365e900c81a89cf74d83dab60df146
+ description: A dataFile contains a URL and the relevant file metadata to represent
+ a file
+ metadata:
+ allOf:
+ - $ref: "#/components/schemas/metadataBase"
+ - type: object
+ properties:
+ pagination:
+ $ref: "#/components/schemas/basePagination"
+ metadataBase:
+ type: object
+ properties:
+ datafiles:
+ type: array
+ description: "The datafiles contains a list of file URLs and metadata. \n\
+ These files contain additional information related to the returned object\
+ \ and can be retrieved by a subsequent call. \nThis could be a supplementary\
+ \ data file, an informational file, the uploaded file where the data originated\
+ \ from, a generated file representing the whole dataset in a particular\
+ \ format, or any other related file. "
+ example: []
+ items:
+ $ref: "#/components/schemas/dataFile"
+ status:
+ type: array
+ description: "The status field contains a list of informational status messages\
+ \ from the server. \nIf no status is reported, an empty list should be\
+ \ returned. See Error Reporting for more information."
+ items:
+ $ref: "#/components/schemas/status"
+ description: "An object in the BrAPI standard response model that describes\
+ \ some information about the service call being performed. This includes supplementary\
+ \ data, status log messages, and pagination information."
+ metadataTokenPagination:
+ allOf:
+ - $ref: "#/components/schemas/metadataBase"
+ - type: object
+ properties:
+ pagination:
+ $ref: "#/components/schemas/tokenPagination"
+ status:
+ required:
+ - message
+ - messageType
+ type: object
+ properties:
+ message:
+ type: string
+ description: A short message concerning the status of this request/response
+ example: "Request accepted, response successful"
+ messageType:
+ type: string
+ description: The logging level for the attached message
+ example: INFO
+ enum:
+ - DEBUG
+ - ERROR
+ - WARNING
+ - INFO
+ description: An array of status messages to convey technical logging information
+ from the server to the client.
+ tokenPagination:
+ allOf:
+ - $ref: "#/components/schemas/basePagination"
+ - required:
+ - nextPageToken
+ type: object
+ properties:
+ nextPageToken:
+ type: string
+ description: "**Deprecated in v2.1** Please use `page`. Github issue number\
+ \ #451 \n
The string token used to query the next page of data."
+ example: cb668f63
+ deprecated: true
+ currentPageToken:
+ type: string
+ description: "**Deprecated in v2.1** Please use `page`. Github issue number\
+ \ #451 \n
The string token used to query the current page of data."
+ example: 48bc6ac1
+ deprecated: true
+ prevPageToken:
+ type: string
+ description: "**Deprecated in v2.1** Please use `page`. Github issue number\
+ \ #451 \n
The string token used to query the previous page of data."
+ example: 9659857e
+ deprecated: true
+ description: "**Deprecated in v2.1** Please use `page`. Github issue number\
+ \ #451 \n
The pagination object is applicable only when the payload contains\
+ \ a \"data\" key. It describes the pagination of the data contained in the\
+ \ \"data\" array, as a way to identify which subset of data is being returned.\
+ \ \n
Tokenized pages are for large data sets which can not be efficiently\
+ \ broken into indexed pages. Use the nextPageToken and prevPageToken to\
+ \ construct an additional query and move to the next or previous page respectively.\
+ \ "
+ example:
+ currentPage: 0
+ pageSize: 1000
+ totalCount: 10
+ totalPages: 1
+ responses:
+ SeedLotSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: SeedLotSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/SeedLot"
+ VariantSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: VariantSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Variant"
+ "202AcceptedSearchResponse":
+ description: Accepted
+ content:
+ application/json:
+ schema:
+ title: 202AcceptedSearchResponse
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ type: object
+ properties:
+ searchResultsDbId:
+ type: string
+ example: 551ae08c
+ StudySingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: StudySingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Study"
+ MarkerPositionListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: MarkerPositionListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/MarkerPosition"
+ TrialListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: TrialListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Trial"
+ SeedLotListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: SeedLotListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/SeedLot"
+ VariantSetListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: VariantSetListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/VariantSet"
+ SampleSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: SampleSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Sample"
+ CallSetListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: CallSetListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/CallSet"
+ CallSetSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: CallSetSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/CallSet"
+ VariantSetSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: VariantSetSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/VariantSet"
+ ReferenceSetSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ReferenceSetSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/ReferenceSet"
+ CrossListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: CrossListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Cross"
+ PlateListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: PlateListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Plate"
+ SeasonListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: SeasonListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Season"
+ ReferenceListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ReferenceListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Reference"
+ AlleleMatrixListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: AlleleMatrixListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/AlleleMatrix"
+ GenomeMapSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: GenomeMapSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/GenomeMap"
+ PersonListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: PersonListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Person"
+ PlannedCrossListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: PlannedCrossListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/PlannedCross"
+ LocationListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: LocationListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Location"
+ "403Forbidden":
+ description: Forbidden
+ content:
+ application/json:
+ schema:
+ type: string
+ example: ERROR - 2018-10-08T18:15:11Z - User does not have permission to
+ perform this action
+ ProgramListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ProgramListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Program"
+ ListListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ListListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/List"
+ "400BadRequest":
+ description: Bad Request
+ content:
+ application/json:
+ schema:
+ type: string
+ example: |-
+ ERROR - 2018-10-08T18:15:11Z - Malformed JSON Request Object
+
+ ERROR - 2018-10-08T18:15:11Z - Invalid query parameter
+
+ ERROR - 2018-10-08T18:15:11Z - Required parameter is missing
+ CrossingProjectListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: CrossingProjectListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/CrossingProject"
+ GermplasmAttributeSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: GermplasmAttributeSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/GermplasmAttribute"
+ "401Unauthorized":
+ description: Unauthorized
+ content:
+ application/json:
+ schema:
+ type: string
+ example: ERROR - 2018-10-08T18:15:11Z - Missing or expired authorization
+ token
+ GermplasmAttributeListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: GermplasmAttributeListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/GermplasmAttribute"
+ GermplasmListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: GermplasmListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Germplasm"
+ CrossingProjectSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: CrossingProjectSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/CrossingProject"
+ SampleListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: SampleListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Sample"
+ ReferenceSetListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ReferenceSetListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/ReferenceSet"
+ TrialSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: TrialSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Trial"
+ GermplasmSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: GermplasmSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Germplasm"
+ SeasonSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: SeasonSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Season"
+ ReferenceSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ReferenceSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Reference"
+ "404NotFound":
+ description: Not Found
+ content:
+ application/json:
+ schema:
+ type: string
+ example: ERROR - 2018-10-08T18:15:11Z - The requested object DbId is not
+ found
+ StudyListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: StudyListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Study"
+ BreedingMethodSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: BreedingMethodSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/BreedingMethod"
+ CallListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: CallListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Call"
+ LocationSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: LocationSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Location"
+ PersonSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: PersonSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Person"
+ VariantListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: VariantListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Variant"
+ PlateSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: PlateSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Plate"
+ GermplasmAttributeValueListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: GermplasmAttributeValueListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/GermplasmAttributeValue"
+ BreedingMethodListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: BreedingMethodListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/BreedingMethod"
+ GermplasmAttributeValueSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: GermplasmAttributeValueSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/GermplasmAttributeValue"
+ GenomeMapListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: GenomeMapListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/GenomeMap"
+ PedigreeNodeListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: PedigreeNodeListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/PedigreeNode"
+ ListSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ListSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/List"
+ ProgramSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ProgramSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Program"
+ parameters:
+ externalReferenceID:
+ name: externalReferenceID
+ in: query
+ description: "**Deprecated in v2.1** Please use `externalReferenceId`. Github\
+ \ issue number #460 \n
An external reference ID. Could be a simple string\
+ \ or a URI. (use with `externalReferenceSource` parameter)"
+ required: false
+ deprecated: true
+ style: form
+ explode: true
+ schema:
+ type: string
+ externalReferenceId:
+ name: externalReferenceId
+ in: query
+ description: An external reference ID. Could be a simple string or a URI. (use
+ with `externalReferenceSource` parameter)
+ required: false
+ style: form
+ explode: true
+ schema:
+ type: string
+ externalReferenceSource:
+ name: externalReferenceSource
+ in: query
+ description: An identifier for the source system or database of an external
+ reference (use with `externalReferenceId` parameter)
+ required: false
+ style: form
+ explode: true
+ schema:
+ type: string
+ acceptHeader:
+ name: Accept
+ in: header
+ description: "A standard HTTP request header that is used to request a specific\
+ \ content type (JSON, CSV, etc) which is \"acceptable\" to the client and\
+ \ should be returned by the server"
+ required: true
+ style: simple
+ explode: false
+ schema:
+ $ref: "#/components/schemas/ContentTypes"
+ example: application/json
+ searchResultsDbId:
+ name: searchResultsDbId
+ in: path
+ description: Unique identifier which references the search results
+ required: true
+ style: simple
+ explode: false
+ schema:
+ type: string
+ pageSize:
+ name: pageSize
+ in: query
+ description: The size of the pages to be returned. Default is `1000`.
+ required: false
+ style: form
+ explode: true
+ schema:
+ type: integer
+ example: 1000
+ page:
+ name: page
+ in: query
+ description: |-
+ Used to request a specific page of data to be returned.
+
+ The page indexing starts at 0 (the first page is 'page'= 0). Default is `0`.
+ required: false
+ style: form
+ explode: true
+ schema:
+ type: integer
+ example: "0"
+ pageToken:
+ name: pageToken
+ in: query
+ description: "**Deprecated in v2.1** Please use `page`. Github issue number\
+ \ #451 \n
Used to request a specific page of data to be returned.\n
\
+ \ Tokenized pages are for large data sets which can not be efficiently broken\
+ \ into indexed pages. Use the nextPageToken and prevPageToken from a prior\
+ \ response to construct a query and move to the next or previous page respectively. "
+ required: false
+ deprecated: true
+ style: form
+ explode: true
+ schema:
+ type: string
+ example: 33c27874
+ authorizationHeader:
+ name: Authorization
+ in: header
+ description: "HTTP HEADER - Token used for Authorization \n\n Bearer\
+ \ {token_string} "
+ required: false
+ style: simple
+ explode: false
+ schema:
+ pattern: ^Bearer .*$
+ type: string
+ example: Bearer XXXX
+ securitySchemes:
+ AuthorizationToken:
+ type: http
+ description: OAuth Bearer Token - A valid Bearer token to prove authorization
+ scheme: bearer
+ bearerFormat: nonce token or JWT
diff --git a/Specification/Generated/BrAPI-Germplasm.yaml b/Specification/Generated/BrAPI-Germplasm.yaml
new file mode 100644
index 00000000..59d8621c
--- /dev/null
+++ b/Specification/Generated/BrAPI-Germplasm.yaml
@@ -0,0 +1,3965 @@
+openapi: 3.0.1
+info:
+ title: BrAPI-Germplasm
+ version: "2.1"
+paths:
+ /breedingmethods:
+ get:
+ tags:
+ - Germplasm
+ summary: Get a filtered list of BreedingMethod
+ description: Get a list of BreedingMethod
+ parameters: []
+ responses:
+ "200":
+ $ref: "#/components/responses/BreedingMethodListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /crosses:
+ get:
+ tags:
+ - Crosses
+ summary: Get a filtered list of Cross
+ description: Get a list of Cross
+ parameters:
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: crossingProjectDbId
+ in: query
+ description: Search for Crossing Projects with this unique id
+ required: false
+ schema:
+ type: string
+ - name: crossingProjectName
+ in: query
+ description: The human readable name for a crossing project
+ required: false
+ schema:
+ type: string
+ - name: crossDbId
+ in: query
+ description: Search for Cross with this unique id
+ required: false
+ schema:
+ type: string
+ - name: crossName
+ in: query
+ description: Search for Cross with this human readable name
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/CrossListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ put:
+ tags:
+ - Crosses
+ summary: Update the details for an existing Cross
+ description: Update the details for an existing Cross
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/CrossNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/CrossListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ post:
+ tags:
+ - Crosses
+ summary: Create new Cross
+ description: Add new Cross to database
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/CrossNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/CrossListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /crossingprojects:
+ get:
+ tags:
+ - CrossingProjects
+ summary: Get a filtered list of CrossingProject
+ description: Get a list of CrossingProject
+ parameters:
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: crossingProjectDbId
+ in: query
+ description: Search for Crossing Projects with this unique id
+ required: false
+ schema:
+ type: string
+ - name: crossingProjectName
+ in: query
+ description: The human readable name for a crossing project
+ required: false
+ schema:
+ type: string
+ - name: includePotentialParent
+ in: query
+ description: "If the parameter 'includePotentialParents' is false, the array\
+ \ 'potentialParents' should be empty, null, or excluded from the response\
+ \ object."
+ required: false
+ schema:
+ type: boolean
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/CrossingProjectListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ post:
+ tags:
+ - CrossingProjects
+ summary: Create new CrossingProject
+ description: Add new CrossingProject to database
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/CrossingProjectNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/CrossingProjectListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /germplasm:
+ get:
+ tags:
+ - Germplasm
+ summary: Get a filtered list of Germplasm
+ description: Get a list of Germplasm
+ parameters:
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: germplasmDbId
+ in: query
+ description: List of IDs which uniquely identify germplasm to search for
+ required: false
+ schema:
+ type: string
+ - name: germplasmName
+ in: query
+ description: List of human readable names to identify germplasm to search
+ for
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: studyDbId
+ in: query
+ description: List of study identifiers to search for
+ required: false
+ schema:
+ type: string
+ - name: studyName
+ in: query
+ description: List of study names to filter search results
+ required: false
+ schema:
+ type: string
+ - name: trialDbId
+ in: query
+ description: The ID which uniquely identifies a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: trialName
+ in: query
+ description: The human readable name of a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: germplasmPUI
+ in: query
+ description: List of Permanent Unique Identifiers to identify germplasm
+ required: false
+ schema:
+ type: string
+ - name: accessionNumber
+ in: query
+ description: |-
+ A collection of unique identifiers for materials or germplasm within a genebank
+
+ MCPD (v2.1) (ACCENUMB) 2. This is the unique identifier for accessions within a genebank, and is assigned when a sample is entered into the genebank collection (e.g. "PI 113869").
+ required: false
+ schema:
+ type: string
+ - name: collection
+ in: query
+ description: A specific panel/collection/population name this germplasm belongs
+ to.
+ required: false
+ schema:
+ type: string
+ - name: familyCode
+ in: query
+ description: A familyCode representing the family this germplasm belongs to.
+ required: false
+ schema:
+ type: string
+ - name: instituteCode
+ in: query
+ description: "The code for the institute that maintains the material. \n
\
+ \ MCPD (v2.1) (INSTCODE) 1. FAO WIEWS code of the institute where the accession\
+ \ is maintained. The codes consist of the 3-letter ISO 3166 country code\
+ \ of the country where the institute is located plus a number (e.g. PER001).\
+ \ The current set of institute codes is available from http://www.fao.org/wiews.\
+ \ For those institutes not yet having an FAO Code, or for those with \"\
+ obsolete\" codes, see \"Common formatting rules (v)\"."
+ required: false
+ schema:
+ type: string
+ - name: binomialName
+ in: query
+ description: List of the full binomial name (scientific name) to identify
+ a germplasm
+ required: false
+ schema:
+ type: string
+ - name: genu
+ in: query
+ description: List of Genus names to identify germplasm
+ required: false
+ schema:
+ type: string
+ - name: specy
+ in: query
+ description: List of Species names to identify germplasm
+ required: false
+ schema:
+ type: string
+ - name: synonym
+ in: query
+ description: List of alternative names or IDs used to reference this germplasm
+ required: false
+ schema:
+ type: string
+ - name: parentDbId
+ in: query
+ description: Search for Germplasm with these parents
+ required: false
+ schema:
+ type: string
+ - name: progenyDbId
+ in: query
+ description: Search for Germplasm with these children
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/GermplasmListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ post:
+ tags:
+ - Germplasm
+ summary: Create new Germplasm
+ description: Add new Germplasm to database
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/GermplasmNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/GermplasmListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /attributes:
+ get:
+ tags:
+ - GermplasmAttributes
+ summary: Get a filtered list of GermplasmAttribute
+ description: Get a list of GermplasmAttribute
+ parameters:
+ - name: germplasmDbId
+ in: query
+ description: List of IDs which uniquely identify germplasm to search for
+ required: false
+ schema:
+ type: string
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: methodDbId
+ in: query
+ description: List of methods to filter search results
+ required: false
+ schema:
+ type: string
+ - name: methodName
+ in: query
+ description: |-
+ Human readable name for the method
+
MIAPPE V1.1 (DM-88) Method Name of the method of observation
+ required: false
+ schema:
+ type: string
+ - name: methodPUI
+ in: query
+ description: "The Permanent Unique Identifier of a Method, usually in the\
+ \ form of a URI"
+ required: false
+ schema:
+ type: string
+ - name: scaleDbId
+ in: query
+ description: The unique identifier for a Scale
+ required: false
+ schema:
+ type: string
+ - name: scaleName
+ in: query
+ description: |-
+ Name of the scale
+
MIAPPE V1.1 (DM-92) Scale Name of the scale associated with the variable
+ required: false
+ schema:
+ type: string
+ - name: scalePUI
+ in: query
+ description: "The Permanent Unique Identifier of a Scale, usually in the form\
+ \ of a URI"
+ required: false
+ schema:
+ type: string
+ - name: traitDbId
+ in: query
+ description: The unique identifier for a Trait
+ required: false
+ schema:
+ type: string
+ - name: traitName
+ in: query
+ description: |-
+ The human readable name of a trait
+
MIAPPE V1.1 (DM-86) Trait - Name of the (plant or environmental) trait under observation
+ required: false
+ schema:
+ type: string
+ - name: traitPUI
+ in: query
+ description: "The Permanent Unique Identifier of a Trait, usually in the form\
+ \ of a URI"
+ required: false
+ schema:
+ type: string
+ - name: attributeDbId
+ in: query
+ description: List of Germplasm Attribute IDs to search for
+ required: false
+ schema:
+ type: string
+ - name: attributeName
+ in: query
+ description: List of human readable Germplasm Attribute names to search for
+ required: false
+ schema:
+ type: string
+ - name: attributePUI
+ in: query
+ description: "The Permanent Unique Identifier of an Attribute, usually in\
+ \ the form of a URI"
+ required: false
+ schema:
+ type: string
+ - name: attributeCategory
+ in: query
+ description: General category for the attribute. very similar to Trait class.
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/GermplasmAttributeListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ post:
+ tags:
+ - GermplasmAttributes
+ summary: Create new GermplasmAttribute
+ description: Add new GermplasmAttribute to database
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/GermplasmAttributeNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/GermplasmAttributeListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /attributevalues:
+ get:
+ tags:
+ - GermplasmAttributeValues
+ summary: Get a filtered list of GermplasmAttributeValue
+ description: Get a list of GermplasmAttributeValue
+ parameters:
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: germplasmDbId
+ in: query
+ description: List of IDs which uniquely identify germplasm to search for
+ required: false
+ schema:
+ type: string
+ - name: germplasmName
+ in: query
+ description: List of human readable names to identify germplasm to search
+ for
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: attributeValueDbId
+ in: query
+ description: List of Germplasm Attribute Value IDs to search for
+ required: false
+ schema:
+ type: string
+ - name: attributeDbId
+ in: query
+ description: List of Germplasm Attribute IDs to search for
+ required: false
+ schema:
+ type: string
+ - name: attributeName
+ in: query
+ description: List of human readable Germplasm Attribute names to search for
+ required: false
+ schema:
+ type: string
+ - name: ontologyDbId
+ in: query
+ description: List of ontology IDs to search for
+ required: false
+ schema:
+ type: string
+ - name: methodDbId
+ in: query
+ description: List of methods to filter search results
+ required: false
+ schema:
+ type: string
+ - name: scaleDbId
+ in: query
+ description: List of scales to filter search results
+ required: false
+ schema:
+ type: string
+ - name: traitDbId
+ in: query
+ description: List of trait unique ID to filter search results
+ required: false
+ schema:
+ type: string
+ - name: traitClass
+ in: query
+ description: List of trait classes to filter search results
+ required: false
+ schema:
+ type: string
+ - name: dataType
+ in: query
+ description: List of scale data types to filter search results
+ required: false
+ schema:
+ $ref: "#/components/schemas/TraitDataType"
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/GermplasmAttributeValueListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ post:
+ tags:
+ - GermplasmAttributeValues
+ summary: Create new GermplasmAttributeValue
+ description: Add new GermplasmAttributeValue to database
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/GermplasmAttributeValueNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/GermplasmAttributeValueListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /pedigree:
+ get:
+ tags:
+ - PedigreeNodes
+ summary: Get a filtered list of PedigreeNode
+ description: Get a list of PedigreeNode
+ parameters:
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: germplasmDbId
+ in: query
+ description: List of IDs which uniquely identify germplasm to search for
+ required: false
+ schema:
+ type: string
+ - name: germplasmName
+ in: query
+ description: List of human readable names to identify germplasm to search
+ for
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: studyDbId
+ in: query
+ description: List of study identifiers to search for
+ required: false
+ schema:
+ type: string
+ - name: studyName
+ in: query
+ description: List of study names to filter search results
+ required: false
+ schema:
+ type: string
+ - name: trialDbId
+ in: query
+ description: The ID which uniquely identifies a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: trialName
+ in: query
+ description: The human readable name of a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: germplasmPUI
+ in: query
+ description: List of Permanent Unique Identifiers to identify germplasm
+ required: false
+ schema:
+ type: string
+ - name: accessionNumber
+ in: query
+ description: |-
+ A collection of unique identifiers for materials or germplasm within a genebank
+
+ MCPD (v2.1) (ACCENUMB) 2. This is the unique identifier for accessions within a genebank, and is assigned when a sample is entered into the genebank collection (e.g. "PI 113869").
+ required: false
+ schema:
+ type: string
+ - name: collection
+ in: query
+ description: A specific panel/collection/population name this germplasm belongs
+ to.
+ required: false
+ schema:
+ type: string
+ - name: familyCode
+ in: query
+ description: A familyCode representing the family this germplasm belongs to.
+ required: false
+ schema:
+ type: string
+ - name: instituteCode
+ in: query
+ description: "The code for the institute that maintains the material. \n
\
+ \ MCPD (v2.1) (INSTCODE) 1. FAO WIEWS code of the institute where the accession\
+ \ is maintained. The codes consist of the 3-letter ISO 3166 country code\
+ \ of the country where the institute is located plus a number (e.g. PER001).\
+ \ The current set of institute codes is available from http://www.fao.org/wiews.\
+ \ For those institutes not yet having an FAO Code, or for those with \"\
+ obsolete\" codes, see \"Common formatting rules (v)\"."
+ required: false
+ schema:
+ type: string
+ - name: binomialName
+ in: query
+ description: List of the full binomial name (scientific name) to identify
+ a germplasm
+ required: false
+ schema:
+ type: string
+ - name: genu
+ in: query
+ description: List of Genus names to identify germplasm
+ required: false
+ schema:
+ type: string
+ - name: specy
+ in: query
+ description: List of Species names to identify germplasm
+ required: false
+ schema:
+ type: string
+ - name: synonym
+ in: query
+ description: List of alternative names or IDs used to reference this germplasm
+ required: false
+ schema:
+ type: string
+ - name: includeParent
+ in: query
+ description: "If this parameter is true, include the array of parents in the\
+ \ response"
+ required: false
+ schema:
+ type: boolean
+ - name: includeSibling
+ in: query
+ description: "If this parameter is true, include the array of siblings in\
+ \ the response"
+ required: false
+ schema:
+ type: boolean
+ - name: includeProgeny
+ in: query
+ description: "If this parameter is true, include the array of progeny in the\
+ \ response"
+ required: false
+ schema:
+ type: boolean
+ - name: includeFullTree
+ in: query
+ description: "If this parameter is true, recursively include ALL of the nodes\
+ \ available in this pedigree tree"
+ required: false
+ schema:
+ type: boolean
+ - name: pedigreeDepth
+ in: query
+ description: "Recursively include this number of levels up the tree in the\
+ \ response (parents, grand-parents, great-grand-parents, etc)"
+ required: false
+ schema:
+ type: integer
+ format: int32
+ - name: progenyDepth
+ in: query
+ description: "Recursively include this number of levels down the tree in the\
+ \ response (children, grand-children, great-grand-children, etc)"
+ required: false
+ schema:
+ type: integer
+ format: int32
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/PedigreeNodeListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ post:
+ tags:
+ - PedigreeNodes
+ summary: Create new PedigreeNode
+ description: Add new PedigreeNode to database
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PedigreeNode"
+ responses:
+ "200":
+ $ref: "#/components/responses/PedigreeNodeListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /plannedcrosses:
+ get:
+ tags:
+ - Crosses
+ summary: Get a filtered list of PlannedCross
+ description: Get a list of PlannedCross
+ parameters:
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: crossingProjectDbId
+ in: query
+ description: Search for Crossing Projects with this unique id
+ required: false
+ schema:
+ type: string
+ - name: crossingProjectName
+ in: query
+ description: The human readable name for a crossing project
+ required: false
+ schema:
+ type: string
+ - name: plannedCrossDbId
+ in: query
+ description: Search for Planned Cross with this unique id
+ required: false
+ schema:
+ type: string
+ - name: plannedCrossName
+ in: query
+ description: Search for Planned Cross with this human readable name
+ required: false
+ schema:
+ type: string
+ - name: status
+ in: query
+ description: "The status of this planned cross. Is it waiting to be performed\
+ \ ('TODO'), has it been completed successfully ('DONE'), or has it not been\
+ \ done on purpose ('SKIPPED')."
+ required: false
+ schema:
+ type: string
+ enum:
+ - TODO
+ - DONE
+ - SKIPPED
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/PlannedCrossListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ put:
+ tags:
+ - Crosses
+ summary: Update the details for an existing PlannedCross
+ description: Update the details for an existing PlannedCross
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PlannedCross"
+ responses:
+ "200":
+ $ref: "#/components/responses/PlannedCrossListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ post:
+ tags:
+ - Crosses
+ summary: Create new PlannedCross
+ description: Add new PlannedCross to database
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PlannedCross"
+ responses:
+ "200":
+ $ref: "#/components/responses/PlannedCrossListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /seedlots:
+ get:
+ tags:
+ - SeedLots
+ summary: Get a filtered list of SeedLot
+ description: Get a list of SeedLot
+ parameters:
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: germplasmDbId
+ in: query
+ description: List of IDs which uniquely identify germplasm to search for
+ required: false
+ schema:
+ type: string
+ - name: germplasmName
+ in: query
+ description: List of human readable names to identify germplasm to search
+ for
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: seedLotDbId
+ in: query
+ description: Unique id for a seed lot on this server
+ required: false
+ schema:
+ type: string
+ - name: crossDbId
+ in: query
+ description: Search for Cross with this unique id
+ required: false
+ schema:
+ type: string
+ - name: crossName
+ in: query
+ description: Search for Cross with this human readable name
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/SeedLotListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ post:
+ tags:
+ - SeedLots
+ summary: Create new SeedLot
+ description: Add new SeedLot to database
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/SeedLotNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/SeedLotListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /breedingmethods/{breedingMethodDbId}:
+ get:
+ tags:
+ - Germplasm
+ summary: Get the details of a specific BreedingMethod
+ description: Get details for a BreedingMethod
+ responses:
+ "200":
+ $ref: "#/components/responses/BreedingMethodSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /crossingprojects/{crossingProjectDbId}:
+ get:
+ tags:
+ - CrossingProjects
+ summary: Get the details of a specific CrossingProject
+ description: Get details for a CrossingProject
+ responses:
+ "200":
+ $ref: "#/components/responses/CrossingProjectSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ put:
+ tags:
+ - CrossingProjects
+ summary: Update the details for an existing CrossingProject
+ description: Update the details for an existing CrossingProject
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/CrossingProjectNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/CrossingProjectSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /germplasm/{germplasmDbId}:
+ get:
+ tags:
+ - Germplasm
+ summary: Get the details of a specific Germplasm
+ description: Get details for a Germplasm
+ responses:
+ "200":
+ $ref: "#/components/responses/GermplasmSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ put:
+ tags:
+ - Germplasm
+ summary: Update the details for an existing Germplasm
+ description: Update the details for an existing Germplasm
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/GermplasmNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/GermplasmSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /attributes/{attributeDbId}:
+ get:
+ tags:
+ - GermplasmAttributes
+ summary: Get the details of a specific GermplasmAttribute
+ description: Get details for a GermplasmAttribute
+ responses:
+ "200":
+ $ref: "#/components/responses/GermplasmAttributeSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ put:
+ tags:
+ - GermplasmAttributes
+ summary: Update the details for an existing GermplasmAttribute
+ description: Update the details for an existing GermplasmAttribute
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/GermplasmAttributeNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/GermplasmAttributeSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /attributevalues/{attributeValueDbId}:
+ get:
+ tags:
+ - GermplasmAttributeValues
+ summary: Get the details of a specific GermplasmAttributeValue
+ description: Get details for a GermplasmAttributeValue
+ responses:
+ "200":
+ $ref: "#/components/responses/GermplasmAttributeValueSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ put:
+ tags:
+ - GermplasmAttributeValues
+ summary: Update the details for an existing GermplasmAttributeValue
+ description: Update the details for an existing GermplasmAttributeValue
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/GermplasmAttributeValueNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/GermplasmAttributeValueSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /seedlots/{seedLotDbId}:
+ get:
+ tags:
+ - SeedLots
+ summary: Get the details of a specific SeedLot
+ description: Get details for a SeedLot
+ responses:
+ "200":
+ $ref: "#/components/responses/SeedLotSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ put:
+ tags:
+ - SeedLots
+ summary: Update the details for an existing SeedLot
+ description: Update the details for an existing SeedLot
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/SeedLotNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/SeedLotSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/germplasm:
+ post:
+ tags:
+ - Germplasm
+ summary: Submit a search request for `Germplasm`
+ description: "Submit a search request for `Germplasm`
\nSearch requests\
+ \ allow a client to send a complex query for data. However, the server may\
+ \ not respond with the search results immediately. \nIf a server needs more\
+ \ time to process the request, it might respond with a `searchResultsDbId`.\
+ \ \nUse the corresponding `GET /search/germplasm/{searchResultsDbId}` to retrieve\
+ \ the results of the search.
\nReview the Search\
+ \ Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/GermplasmListResponse"
+ "202":
+ $ref: "#/components/responses/202AcceptedSearchResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/attributes:
+ post:
+ tags:
+ - GermplasmAttributes
+ summary: Submit a search request for `GermplasmAttribute`
+ description: "Submit a search request for `GermplasmAttribute`
\nSearch\
+ \ requests allow a client to send a complex query for data. However, the server\
+ \ may not respond with the search results immediately. \nIf a server needs\
+ \ more time to process the request, it might respond with a `searchResultsDbId`.\
+ \ \nUse the corresponding `GET /search/germplasmAttribute/{searchResultsDbId}`\
+ \ to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/GermplasmAttributeListResponse"
+ "202":
+ $ref: "#/components/responses/202AcceptedSearchResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/attributevalues:
+ post:
+ tags:
+ - GermplasmAttributeValues
+ summary: Submit a search request for `GermplasmAttributeValue`
+ description: "Submit a search request for `GermplasmAttributeValue`
\nSearch\
+ \ requests allow a client to send a complex query for data. However, the server\
+ \ may not respond with the search results immediately. \nIf a server needs\
+ \ more time to process the request, it might respond with a `searchResultsDbId`.\
+ \ \nUse the corresponding `GET /search/germplasmAttributeValue/{searchResultsDbId}`\
+ \ to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/GermplasmAttributeValueListResponse"
+ "202":
+ $ref: "#/components/responses/202AcceptedSearchResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/pedigree:
+ post:
+ tags:
+ - PedigreeNodes
+ summary: Submit a search request for `PedigreeNode`
+ description: "Submit a search request for `PedigreeNode`
\nSearch requests\
+ \ allow a client to send a complex query for data. However, the server may\
+ \ not respond with the search results immediately. \nIf a server needs more\
+ \ time to process the request, it might respond with a `searchResultsDbId`.\
+ \ \nUse the corresponding `GET /search/pedigreeNode/{searchResultsDbId}` to\
+ \ retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/PedigreeNodeListResponse"
+ "202":
+ $ref: "#/components/responses/202AcceptedSearchResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/germplasm/{searchResultsDbId}:
+ get:
+ tags:
+ - Germplasm
+ summary: "Submit a search request for `Germplasm`
\nSearch requests allow\
+ \ a client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/germplasm/{searchResultsDbId}` to retrieve the results of the\
+ \ search.
\nReview the Search Services documentation for additional implementation details."
+ description: "Get the results of a `Germplasm` search request
\nClients\
+ \ should submit a search request using the corresponding `POST /search/germplasm`\
+ \ endpoint.\nSearch requests allow a client to send a complex query for data.\
+ \ However, the server may not respond with the search results immediately.\
+ \ \nIf a server needs more time to process the request, it might respond with\
+ \ a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the\
+ \ search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/GermplasmListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/attributes/{searchResultsDbId}:
+ get:
+ tags:
+ - GermplasmAttributes
+ summary: "Submit a search request for `GermplasmAttribute`
\nSearch requests\
+ \ allow a client to send a complex query for data. However, the server may\
+ \ not respond with the search results immediately. \nIf a server needs more\
+ \ time to process the request, it might respond with a `searchResultsDbId`.\
+ \ \nUse the corresponding `GET /search/germplasmAttribute/{searchResultsDbId}`\
+ \ to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details."
+ description: "Get the results of a `GermplasmAttribute` search request
\n\
+ Clients should submit a search request using the corresponding `POST /search/germplasmAttribute`\
+ \ endpoint.\nSearch requests allow a client to send a complex query for data.\
+ \ However, the server may not respond with the search results immediately.\
+ \ \nIf a server needs more time to process the request, it might respond with\
+ \ a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the\
+ \ search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/GermplasmAttributeListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/attributevalues/{searchResultsDbId}:
+ get:
+ tags:
+ - GermplasmAttributeValues
+ summary: "Submit a search request for `GermplasmAttributeValue`
\nSearch\
+ \ requests allow a client to send a complex query for data. However, the server\
+ \ may not respond with the search results immediately. \nIf a server needs\
+ \ more time to process the request, it might respond with a `searchResultsDbId`.\
+ \ \nUse the corresponding `GET /search/germplasmAttributeValue/{searchResultsDbId}`\
+ \ to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details."
+ description: "Get the results of a `GermplasmAttributeValue` search request\
+ \
\nClients should submit a search request using the corresponding `POST\
+ \ /search/germplasmAttributeValue` endpoint.\nSearch requests allow a client\
+ \ to send a complex query for data. However, the server may not respond with\
+ \ the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse this endpoint\
+ \ to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/GermplasmAttributeValueListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/pedigree/{searchResultsDbId}:
+ get:
+ tags:
+ - PedigreeNodes
+ summary: "Submit a search request for `PedigreeNode`
\nSearch requests allow\
+ \ a client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/pedigreeNode/{searchResultsDbId}` to retrieve the results of\
+ \ the search.
\nReview the Search Services documentation for additional implementation details."
+ description: "Get the results of a `PedigreeNode` search request
\nClients\
+ \ should submit a search request using the corresponding `POST /search/pedigreeNode`\
+ \ endpoint.\nSearch requests allow a client to send a complex query for data.\
+ \ However, the server may not respond with the search results immediately.\
+ \ \nIf a server needs more time to process the request, it might respond with\
+ \ a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the\
+ \ search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/PedigreeNodeListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+components:
+ schemas:
+ AdditionalInfo:
+ type: object
+ properties:
+ additionalProperties:
+ type: string
+ 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."
+ Attribute:
+ required:
+ - attributeName
+ - method
+ - scale
+ - trait
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ attributeCategory:
+ type: string
+ attributeDbId:
+ type: string
+ attributeDescription:
+ type: string
+ attributeName:
+ type: string
+ attributePUI:
+ type: string
+ commonCropName:
+ type: string
+ contextOfUse:
+ type: array
+ items:
+ type: string
+ defaultValue:
+ type: string
+ documentationURL:
+ type: string
+ growthStage:
+ type: string
+ institution:
+ type: string
+ language:
+ type: string
+ method:
+ $ref: "#/components/schemas/Method"
+ ontologyReference:
+ $ref: "#/components/schemas/OntologyReference"
+ scale:
+ $ref: "#/components/schemas/Scale"
+ scientist:
+ type: string
+ status:
+ type: string
+ submissionTimestamp:
+ type: string
+ synonyms:
+ type: array
+ items:
+ type: string
+ trait:
+ $ref: "#/components/schemas/Trait"
+ BreedingMethod:
+ required:
+ - abbreviation
+ - breedingMethodDbId
+ - breedingMethodName
+ - description
+ type: object
+ properties:
+ abbreviation:
+ type: string
+ breedingMethodDbId:
+ type: string
+ breedingMethodName:
+ type: string
+ description:
+ type: string
+ description: The techniques and protocol used to produce a Cross or Germplasm
+ Contact:
+ required:
+ - contactDbId
+ type: object
+ properties:
+ contactDbId:
+ type: string
+ email:
+ type: string
+ instituteName:
+ type: string
+ name:
+ type: string
+ orcid:
+ type: string
+ type:
+ type: string
+ description: A persons contact information
+ ContentMixture:
+ type: object
+ properties:
+ crossDbId:
+ type: string
+ crossName:
+ type: string
+ germplasmDbId:
+ type: string
+ germplasmName:
+ type: string
+ germplasmPUI:
+ type: string
+ mixturePercentage:
+ type: integer
+ format: int32
+ seedLotDbId:
+ type: string
+ seedLotName:
+ type: string
+ description: "The mixture of germplasm present in the seed lot. \n
If this\
+ \ seed lot only contains a single germplasm, the response should contain the\
+ \ name and DbId of that germplasm with a mixturePercentage value of 100 \n\
+
If the seed lot contains a mixture of different germplasm, the response\
+ \ should contain the name and DbId every germplasm present. The mixturePercentage\
+ \ field should contain the ratio of each germplasm in the total mixture. All\
+ \ of the mixturePercentage values in this array should sum to equal 100."
+ ContentTypes:
+ type: string
+ enum:
+ - application/json
+ - text/csv
+ - text/tsv
+ - application/flapjack
+ Context:
+ title: context
+ type: array
+ description: "The JSON-LD Context is used to provide JSON-LD definitions to\
+ \ each field in a JSON object. By providing an array of context file urls,\
+ \ a BrAPI response object becomes JSON-LD compatible. \n\nFor more information,\
+ \ see https://w3c.github.io/json-ld-syntax/#the-context"
+ example:
+ - https://brapi.org/jsonld/context/metadata.jsonld
+ items:
+ type: string
+ format: uri
+ Cross:
+ required:
+ - crossDbId
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ crossName:
+ type: string
+ crossType:
+ $ref: "#/components/schemas/CrossType"
+ crossingProjectDbId:
+ type: string
+ crossingProjectName:
+ type: string
+ parent1:
+ $ref: "#/components/schemas/CrossParent"
+ parent2:
+ $ref: "#/components/schemas/CrossParent"
+ plannedCrossDbId:
+ type: string
+ plannedCrossName:
+ type: string
+ description: The identifiers and metadata represent that specific organisms
+ have mated to produce offspring with particular traits or genes. The offspring
+ of a Cross might be developed into a Germplasm if the desired traits are present.
+ CrossAttribute:
+ type: object
+ properties:
+ crossAttributeName:
+ type: string
+ crossAttributeValue:
+ type: string
+ crossDbId:
+ type: string
+ crossName:
+ type: string
+ description: "A custom attribute associated with a cross. For example, if the\
+ \ crossing event occurred on a humid day, a user might record 'crossAttributeName':'Relative\
+ \ Humidity', 'crossAttributeValue':'80%'"
+ CrossNewRequest:
+ required:
+ - crossDbId
+ - crossDbId
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ crossDbId:
+ type: string
+ crossName:
+ type: string
+ crossType:
+ $ref: "#/components/schemas/CrossType"
+ crossingProjectDbId:
+ type: string
+ crossingProjectName:
+ type: string
+ parent1:
+ $ref: "#/components/schemas/CrossParent"
+ parent2:
+ $ref: "#/components/schemas/CrossParent"
+ plannedCrossDbId:
+ type: string
+ plannedCrossName:
+ type: string
+ description: The identifiers and metadata represent that specific organisms
+ have mated to produce offspring with particular traits or genes. The offspring
+ of a Cross might be developed into a Germplasm if the desired traits are present.
+ CrossParent:
+ type: object
+ properties:
+ germplasm:
+ $ref: "#/components/schemas/Germplasm"
+ observationUnitDbId:
+ type: string
+ observationUnitName:
+ type: string
+ observationUnitPUI:
+ type: string
+ parentType:
+ $ref: "#/components/schemas/ParentType"
+ description: The identifying information gor the parent material of a cross.
+ CrossType:
+ type: string
+ description: "The type of cross make. Accepted values for this field are 'BIPARENTAL',\
+ \ 'SELF', 'OPEN_POLLINATED', 'BULK', 'BULK_SELFED', 'BULK_OPEN_POLLINATED'\
+ \ and 'DOUBLE_HAPLOID'."
+ enum:
+ - BIPARENTAL
+ - SELF
+ - OPEN_POLLINATED
+ - BULK
+ - BULK_SELFED
+ - BULK_OPEN_POLLINATED
+ - DOUBLE_HAPLOID
+ CrossingProject:
+ required:
+ - crossingProjectDbId
+ - crossingProjectName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ commonCropName:
+ type: string
+ crossingProjectDescription:
+ type: string
+ crossingProjectName:
+ type: string
+ programDbId:
+ type: string
+ programName:
+ type: string
+ description: "A project structure where a list of PlannedCrosses is generated,\
+ \ the crossing events occur in the field, and the resulting actual Crosses\
+ \ can documented."
+ CrossingProjectNewRequest:
+ required:
+ - crossingProjectDbId
+ - crossingProjectDbId
+ - crossingProjectName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ commonCropName:
+ type: string
+ crossingProjectDbId:
+ type: string
+ crossingProjectDescription:
+ type: string
+ crossingProjectName:
+ type: string
+ programDbId:
+ type: string
+ programName:
+ type: string
+ description: "A project structure where a list of PlannedCrosses is generated,\
+ \ the crossing events occur in the field, and the resulting actual Crosses\
+ \ can documented."
+ Donor:
+ type: object
+ properties:
+ donorAccessionNumber:
+ type: string
+ donorInstituteCode:
+ type: string
+ germplasmDbId:
+ type: string
+ germplasmName:
+ type: string
+ germplasmPUI:
+ type: string
+ description: Identifier assigned to an accession by the material donor.
+ ExperimentalDesign:
+ type: object
+ properties:
+ PUI:
+ type: string
+ description:
+ type: string
+ studyDbId:
+ type: string
+ studyName:
+ type: string
+ studyPUI:
+ type: string
+ description: The experimental and statistical design full description plus a
+ category PUI taken from crop research ontology or agronomy ontology
+ ExternalReference:
+ type: object
+ properties:
+ referenceId:
+ type: string
+ referenceSource:
+ type: string
+ GeoJSON:
+ type: object
+ properties:
+ geometry:
+ $ref: "#/components/schemas/GeoJSONGeometry"
+ type:
+ type: string
+ description: |-
+ One geometry as defined by GeoJSON (RFC 7946). All coordinates are decimal values on the WGS84 geographic coordinate reference system.
+
+ Copied from RFC 7946 Section 3.1.1
+
+ A position is an array of numbers. There MUST be two or more elements. The first two elements are longitude and latitude, or
+ easting and northing, precisely in that order and using decimal numbers. Altitude or elevation MAY be included as an optional third element.
+ GeoJSONGeometry:
+ oneOf:
+ - required:
+ - coordinateDbIds
+ - type
+ type: object
+ properties:
+ coordinates:
+ type: array
+ items:
+ type: number
+ type:
+ type: string
+ description: |-
+ Copied from RFC 7946 Section 3.1.1
+
+ A position is an array of numbers. There MUST be two or more elements. The first two elements are longitude and latitude, or
+ easting and northing, precisely in that order and using decimal numbers. Altitude or elevation MAY be included as an optional third element.
+ - required:
+ - coordinateDbIds
+ - type
+ type: object
+ properties:
+ coordinates:
+ type: array
+ items:
+ type: array
+ items:
+ type: array
+ items:
+ type: number
+ type:
+ type: string
+ description: "An array of Linear Rings. Each Linear Ring is an array of Points.\
+ \ \n\nA Point is an array of numbers. There MUST be two or more elements.\
+ \ The first two elements are longitude and latitude, or\neasting and northing,\
+ \ precisely in that order and using decimal numbers. Altitude or elevation\
+ \ MAY be included as an optional third element."
+ GeoJSONSearchArea:
+ type: object
+ properties:
+ geometry:
+ $ref: "#/components/schemas/GeoJSONGeometry"
+ germplasmOrigin:
+ $ref: "#/components/schemas/GermplasmOrigin"
+ imageDbId:
+ type: string
+ imageName:
+ type: string
+ observationDbId:
+ type: string
+ observationUnit:
+ $ref: "#/components/schemas/ObservationUnitPosition"
+ type:
+ type: string
+ Germplasm:
+ required:
+ - commonCropName
+ - germplasmDbId
+ - germplasmName
+ - germplasmPUI
+ type: object
+ properties:
+ accessionNumber:
+ type: string
+ acquisitionDate:
+ type: string
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ biologicalStatusOfAccessionCode:
+ type: string
+ description: "MCPD (v2.1) (SAMPSTAT) 19. The coding scheme proposed can\
+ \ be used at 3 different levels of detail: either by using the general\
+ \ codes such as 100, 200, 300, 400, or by using the more specific codes\
+ \ such as 110, 120, etc. \n\n100) Wild \n110) Natural \n120) Semi-natural/wild\
+ \ \n130) Semi-natural/sown \n200) Weedy \n300) Traditional cultivar/landrace\
+ \ \n400) Breeding/research material \n410) Breeders line \n411) Synthetic\
+ \ population \n412) Hybrid \n413) Founder stock/base population \n414)\
+ \ Inbred line (parent of hybrid cultivar) \n415) Segregating population\
+ \ \n416) Clonal selection \n420) Genetic stock \n421) Mutant (e.g. induced/insertion\
+ \ mutants, tilling populations) \n422) Cytogenetic stocks (e.g. chromosome\
+ \ addition/substitution, aneuploids, amphiploids) \n423) Other genetic\
+ \ stocks (e.g. mapping populations) \n500) Advanced or improved cultivar\
+ \ (conventional breeding methods) \n600) GMO (by genetic engineering)\
+ \ \n999) Other (Elaborate in REMARKS field)"
+ enum:
+ - "100"
+ - "110"
+ - "120"
+ - "130"
+ - "200"
+ - "300"
+ - "400"
+ - "410"
+ - "411"
+ - "412"
+ - "413"
+ - "414"
+ - "415"
+ - "416"
+ - "420"
+ - "421"
+ - "422"
+ - "423"
+ - "500"
+ - "600"
+ - "999"
+ biologicalStatusOfAccessionDescription:
+ type: string
+ breedingMethodDbId:
+ type: string
+ breedingMethodName:
+ type: string
+ collection:
+ type: string
+ commonCropName:
+ type: string
+ countryOfOriginCode:
+ type: string
+ defaultDisplayName:
+ type: string
+ documentationURL:
+ type: string
+ genus:
+ type: string
+ germplasmName:
+ type: string
+ germplasmPUI:
+ type: string
+ germplasmPreprocessing:
+ type: string
+ instituteCode:
+ type: string
+ instituteName:
+ type: string
+ pedigree:
+ type: string
+ sampleDbIds:
+ type: array
+ items:
+ type: string
+ seedSource:
+ type: string
+ seedSourceDescription:
+ type: string
+ species:
+ type: string
+ speciesAuthority:
+ type: string
+ subtaxa:
+ type: string
+ subtaxaAuthority:
+ type: string
+ description: "The conceptual identifiers and metadata describing a genetically\
+ \ unique organism that is noteworthy in some way. Depending on context, a\
+ \ Germplasm might be synonymous with Accession, Line, or Genotype. Note that\
+ \ Germplasm is conceptual data, not necessarily associated to a real physical\
+ \ object, so Seed/Inventory Lots and Observation Units become physical instantiations\
+ \ of a particular Germplasm. Note a Germplasm is unique and noteworthy, so\
+ \ a Cross may or may not create a new Germplasm, since not every Cross is\
+ \ unique or noteworthy."
+ GermplasmAttribute:
+ required:
+ - attributeDbId
+ - attributeName
+ - methodDbId
+ - methodName
+ - scaleDbId
+ - scaleName
+ - traitName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ attributeCategory:
+ type: string
+ attributeDescription:
+ type: string
+ attributeName:
+ type: string
+ attributePUI:
+ type: string
+ attributeValueDbIds:
+ type: array
+ items:
+ type: string
+ commonCropName:
+ type: string
+ defaultValue:
+ type: string
+ documentationURL:
+ type: string
+ growthStage:
+ type: string
+ institution:
+ type: string
+ language:
+ type: string
+ methodDbId:
+ type: string
+ methodName:
+ type: string
+ methodPUI:
+ type: string
+ ontologyReferenceDbId:
+ type: string
+ scaleDbId:
+ type: string
+ scaleName:
+ type: string
+ scalePUI:
+ type: string
+ scientist:
+ type: string
+ status:
+ type: string
+ submissionTimestamp:
+ type: string
+ traitDbId:
+ type: string
+ traitName:
+ type: string
+ traitPUI:
+ type: string
+ description: "The Trait-Method-Scale definition for a variable, specifically\
+ \ variables related to Germplasm. Similar to an ObservationVariable, but related\
+ \ to a Germplasm instead of an ObservationUnit"
+ GermplasmAttributeNewRequest:
+ required:
+ - attributeDbId
+ - attributeName
+ - methodDbId
+ - methodName
+ - scaleDbId
+ - scaleName
+ - traitName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ attributeCategory:
+ type: string
+ attributeDbId:
+ type: string
+ attributeDescription:
+ type: string
+ attributeName:
+ type: string
+ attributePUI:
+ type: string
+ attributeValueDbIds:
+ type: array
+ items:
+ type: string
+ commonCropName:
+ type: string
+ defaultValue:
+ type: string
+ documentationURL:
+ type: string
+ growthStage:
+ type: string
+ institution:
+ type: string
+ language:
+ type: string
+ methodDbId:
+ type: string
+ methodName:
+ type: string
+ methodPUI:
+ type: string
+ ontologyReferenceDbId:
+ type: string
+ scaleDbId:
+ type: string
+ scaleName:
+ type: string
+ scalePUI:
+ type: string
+ scientist:
+ type: string
+ status:
+ type: string
+ submissionTimestamp:
+ type: string
+ traitDbId:
+ type: string
+ traitName:
+ type: string
+ traitPUI:
+ type: string
+ description: "The Trait-Method-Scale definition for a variable, specifically\
+ \ variables related to Germplasm. Similar to an ObservationVariable, but related\
+ \ to a Germplasm instead of an ObservationUnit"
+ GermplasmAttributeSearchRequest:
+ type: object
+ properties: {}
+ description: "The Trait-Method-Scale definition for a variable, specifically\
+ \ variables related to Germplasm. Similar to an ObservationVariable, but related\
+ \ to a Germplasm instead of an ObservationUnit"
+ GermplasmAttributeValue:
+ required:
+ - attributeName
+ - attributeValueDbId
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ attributeDbId:
+ type: string
+ attributeName:
+ type: string
+ attributePUI:
+ type: string
+ determinedDate:
+ type: string
+ germplasmDbId:
+ type: string
+ germplasmName:
+ type: string
+ germplasmPUI:
+ type: string
+ value:
+ type: string
+ description: "The value recorded for a particular Trait/Attribute and a particular\
+ \ Germplasm. Similar to an Observation value, but more concrete, applying\
+ \ to the whole Germplasm instead of a single ObservationUnit."
+ GermplasmAttributeValueNewRequest:
+ required:
+ - attributeName
+ - attributeValueDbId
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ attributeDbId:
+ type: string
+ attributeName:
+ type: string
+ attributePUI:
+ type: string
+ attributeValueDbId:
+ type: string
+ determinedDate:
+ type: string
+ germplasmDbId:
+ type: string
+ germplasmName:
+ type: string
+ germplasmPUI:
+ type: string
+ value:
+ type: string
+ description: "The value recorded for a particular Trait/Attribute and a particular\
+ \ Germplasm. Similar to an Observation value, but more concrete, applying\
+ \ to the whole Germplasm instead of a single ObservationUnit."
+ GermplasmAttributeValueSearchRequest:
+ type: object
+ properties: {}
+ description: "The value recorded for a particular Trait/Attribute and a particular\
+ \ Germplasm. Similar to an Observation value, but more concrete, applying\
+ \ to the whole Germplasm instead of a single ObservationUnit."
+ GermplasmChild:
+ required:
+ - germplasmDbId
+ - germplasmName
+ - germplasmPUI
+ - parentType
+ type: object
+ properties:
+ germplasmDbId:
+ type: string
+ germplasmName:
+ type: string
+ germplasmPUI:
+ type: string
+ parentType:
+ $ref: "#/components/schemas/ParentType"
+ pedigreeNodeDbId:
+ type: string
+ description: "A germplasm reference that is a direct child of this germplasm.\
+ \ These represent edges in the tree, connecting to other nodes."
+ GermplasmNewRequest:
+ required:
+ - commonCropName
+ - germplasmDbId
+ - germplasmDbId
+ - germplasmName
+ - germplasmPUI
+ type: object
+ properties:
+ accessionNumber:
+ type: string
+ acquisitionDate:
+ type: string
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ biologicalStatusOfAccessionCode:
+ type: string
+ description: "MCPD (v2.1) (SAMPSTAT) 19. The coding scheme proposed can\
+ \ be used at 3 different levels of detail: either by using the general\
+ \ codes such as 100, 200, 300, 400, or by using the more specific codes\
+ \ such as 110, 120, etc. \n\n100) Wild \n110) Natural \n120) Semi-natural/wild\
+ \ \n130) Semi-natural/sown \n200) Weedy \n300) Traditional cultivar/landrace\
+ \ \n400) Breeding/research material \n410) Breeders line \n411) Synthetic\
+ \ population \n412) Hybrid \n413) Founder stock/base population \n414)\
+ \ Inbred line (parent of hybrid cultivar) \n415) Segregating population\
+ \ \n416) Clonal selection \n420) Genetic stock \n421) Mutant (e.g. induced/insertion\
+ \ mutants, tilling populations) \n422) Cytogenetic stocks (e.g. chromosome\
+ \ addition/substitution, aneuploids, amphiploids) \n423) Other genetic\
+ \ stocks (e.g. mapping populations) \n500) Advanced or improved cultivar\
+ \ (conventional breeding methods) \n600) GMO (by genetic engineering)\
+ \ \n999) Other (Elaborate in REMARKS field)"
+ enum:
+ - "100"
+ - "110"
+ - "120"
+ - "130"
+ - "200"
+ - "300"
+ - "400"
+ - "410"
+ - "411"
+ - "412"
+ - "413"
+ - "414"
+ - "415"
+ - "416"
+ - "420"
+ - "421"
+ - "422"
+ - "423"
+ - "500"
+ - "600"
+ - "999"
+ biologicalStatusOfAccessionDescription:
+ type: string
+ breedingMethodDbId:
+ type: string
+ breedingMethodName:
+ type: string
+ collection:
+ type: string
+ commonCropName:
+ type: string
+ countryOfOriginCode:
+ type: string
+ defaultDisplayName:
+ type: string
+ documentationURL:
+ type: string
+ genus:
+ type: string
+ germplasmDbId:
+ type: string
+ germplasmName:
+ type: string
+ germplasmPUI:
+ type: string
+ germplasmPreprocessing:
+ type: string
+ instituteCode:
+ type: string
+ instituteName:
+ type: string
+ pedigree:
+ type: string
+ sampleDbIds:
+ type: array
+ items:
+ type: string
+ seedSource:
+ type: string
+ seedSourceDescription:
+ type: string
+ species:
+ type: string
+ speciesAuthority:
+ type: string
+ subtaxa:
+ type: string
+ subtaxaAuthority:
+ type: string
+ description: "The conceptual identifiers and metadata describing a genetically\
+ \ unique organism that is noteworthy in some way. Depending on context, a\
+ \ Germplasm might be synonymous with Accession, Line, or Genotype. Note that\
+ \ Germplasm is conceptual data, not necessarily associated to a real physical\
+ \ object, so Seed/Inventory Lots and Observation Units become physical instantiations\
+ \ of a particular Germplasm. Note a Germplasm is unique and noteworthy, so\
+ \ a Cross may or may not create a new Germplasm, since not every Cross is\
+ \ unique or noteworthy."
+ GermplasmOrigin:
+ type: object
+ properties:
+ coordinateUncertainty:
+ type: string
+ germplasmDbId:
+ type: string
+ germplasmName:
+ type: string
+ germplasmPUI:
+ type: string
+ description: "Information for material (orchard, natural sites, ...). Geographic\
+ \ identification of the plants from which seeds or cutting have been taken\
+ \ to produce that germplasm."
+ GermplasmParent:
+ required:
+ - germplasmDbId
+ - germplasmName
+ - germplasmPUI
+ - parentType
+ type: object
+ properties:
+ germplasmDbId:
+ type: string
+ germplasmName:
+ type: string
+ germplasmPUI:
+ type: string
+ parentType:
+ $ref: "#/components/schemas/ParentType"
+ pedigreeNodeDbId:
+ type: string
+ description: "A germplasm reference that is a direct parent of this germplasm.\
+ \ These represent edges in the tree, connecting to other nodes."
+ GermplasmSearchRequest:
+ type: object
+ properties: {}
+ description: "The conceptual identifiers and metadata describing a genetically\
+ \ unique organism that is noteworthy in some way. Depending on context, a\
+ \ Germplasm might be synonymous with Accession, Line, or Genotype. Note that\
+ \ Germplasm is conceptual data, not necessarily associated to a real physical\
+ \ object, so Seed/Inventory Lots and Observation Units become physical instantiations\
+ \ of a particular Germplasm. Note a Germplasm is unique and noteworthy, so\
+ \ a Cross may or may not create a new Germplasm, since not every Cross is\
+ \ unique or noteworthy."
+ GrowthFacility:
+ type: object
+ properties:
+ PUI:
+ type: string
+ description:
+ type: string
+ studyDbId:
+ type: string
+ studyName:
+ type: string
+ studyPUI:
+ type: string
+ description: Short description of the facility in which the study was carried
+ out.
+ ListType:
+ type: string
+ description: The type of objects that are referenced in a List
+ enum:
+ - germplasm
+ - markers
+ - variants
+ - programs
+ - trials
+ - studies
+ - observationUnits
+ - observations
+ - observationVariables
+ - samples
+ Method:
+ required:
+ - methodDbId
+ - methodName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ bibliographicalReference:
+ type: string
+ description:
+ type: string
+ formula:
+ type: string
+ methodClass:
+ type: string
+ methodDbId:
+ type: string
+ methodName:
+ type: string
+ methodPUI:
+ type: string
+ ontologyReferenceDbId:
+ type: string
+ description: "A description of the way an Observation should be collected. \n\
+
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\". "
+ ObservationUnitHierarchyLevel:
+ type: object
+ properties:
+ levelName:
+ type: string
+ levelOrder:
+ type: integer
+ format: int32
+ description: "The exact level and level code of an observation unit. \n\nFor\
+ \ more information on Observation Levels, please review the Observation\
+ \ Levels documentation. \n\nMIAPPE V1.1 DM-71 Observation unit type \"\
+ Type of observation unit in textual form, usually one of the following: study,\
+ \ block, sub-block, plot, sub-plot, pot, plant. Use of other observation unit\
+ \ types is possible but not recommended. \nThe observation unit type can not\
+ \ be used to indicate sub-plant levels. However, observations can still be\
+ \ made on the sub-plant level, as long as the details are indicated in the\
+ \ associated observed variable (see observed variables). \nAlternatively,\
+ \ it is possible to use samples for more detailed tracing of sub-plant units,\
+ \ attaching the observations to them instead.\" "
+ ObservationUnitPosition:
+ type: object
+ properties:
+ entryType:
+ type: string
+ description: "The type of entry for this observation unit. ex. \"CHECK\"\
+ , \"TEST\", \"FILLER\""
+ enum:
+ - CHECK
+ - TEST
+ - FILLER
+ observationLevel:
+ $ref: "#/components/schemas/ObservationUnitLevel"
+ observationUnitDbId:
+ type: string
+ observationUnitName:
+ type: string
+ observationUnitPUI:
+ type: string
+ positionCoordinateX:
+ type: string
+ positionCoordinateXType:
+ $ref: "#/components/schemas/PositionCoordinateType"
+ positionCoordinateY:
+ type: string
+ positionCoordinateYType:
+ $ref: "#/components/schemas/PositionCoordinateType"
+ description: All positional and layout information related to this Observation
+ Unit
+ OntologyReference:
+ required:
+ - ontology
+ type: object
+ properties:
+ ontology:
+ $ref: "#/components/schemas/Ontology"
+ ontologyReferenceDbId:
+ type: string
+ version:
+ type: string
+ description: "MIAPPE V1.1 (DM-85) Variable accession number - Accession number\
+ \ of the variable in the Crop Ontology \nMIAPPE V1.1 (DM-87) Trait accession\
+ \ number - Accession number of the trait in a suitable controlled vocabulary\
+ \ (Crop Ontology, Trait Ontology).\nMIAPPE V1.1 (DM-89) Method accession number\
+ \ - Accession number of the method in a suitable controlled vocabulary (Crop\
+ \ Ontology, Trait Ontology).\nMIAPPE V1.1 (DM-93) Scale accession number -\
+ \ Accession number of the scale in a suitable controlled vocabulary (Crop\
+ \ Ontology)."
+ OntologyTerm:
+ type: object
+ properties:
+ term:
+ type: string
+ termURI:
+ type: string
+ description: A pointer to an ontology used by a genomic reference
+ ParentType:
+ type: string
+ description: "The type of parent used during crossing. Accepted values for this\
+ \ field are 'MALE', 'FEMALE', 'SELF', 'POPULATION', and 'CLONAL'. \\n\\nIn\
+ \ a pedigree record, the 'parentType' describes each parent of a particular\
+ \ germplasm. \\n\\nIn a progeny record, the 'parentType' is used to describe\
+ \ how this germplasm was crossed to generate a particular progeny. \\nFor\
+ \ example, given a record for germplasm A, having a progeny B and C. The 'parentType'\
+ \ field for progeny B item refers \\nto the 'parentType' of A toward B. The\
+ \ 'parentType' field for progeny C item refers to the 'parentType' of A toward\
+ \ C.\\nIn this way, A could be a male parent to B, but a female parent to\
+ \ C. "
+ enum:
+ - MALE
+ - FEMALE
+ - SELF
+ - POPULATION
+ - CLONAL
+ PedigreeNode:
+ required:
+ - germplasmDbId
+ - germplasmName
+ - germplasmPUI
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ breedingMethodDbId:
+ type: string
+ breedingMethodName:
+ type: string
+ crossingProjectDbId:
+ type: string
+ crossingProjectName:
+ type: string
+ crossingYear:
+ type: integer
+ format: int32
+ defaultDisplayName:
+ type: string
+ familyCode:
+ type: string
+ germplasmDbId:
+ type: string
+ germplasmName:
+ type: string
+ germplasmPUI:
+ type: string
+ pedigreeNodeDbId:
+ type: string
+ pedigreeString:
+ type: string
+ siblingDbIds:
+ type: array
+ items:
+ type: string
+ description: "A representation of a particular Germplasm within a pedigree tree,\
+ \ and all the links to its parents, siblings, and children. From a list of\
+ \ PedigreeNode objects, a client application should have all the information\
+ \ it needs to draw a pedigree tree visualization, or calculate genetic distances."
+ PedigreeNodeSearchRequest:
+ type: object
+ properties:
+ includeFullTree:
+ type: boolean
+ includeParents:
+ type: boolean
+ includeProgeny:
+ type: boolean
+ includeSiblings:
+ type: boolean
+ pedigreeDepth:
+ type: integer
+ format: int32
+ progenyDepth:
+ type: integer
+ format: int32
+ description: "A representation of a particular Germplasm within a pedigree tree,\
+ \ and all the links to its parents, siblings, and children. From a list of\
+ \ PedigreeNode objects, a client application should have all the information\
+ \ it needs to draw a pedigree tree visualization, or calculate genetic distances."
+ PlannedCross:
+ required:
+ - plannedCrossDbId
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ crossType:
+ $ref: "#/components/schemas/CrossType"
+ crossingProjectDbId:
+ type: string
+ crossingProjectName:
+ type: string
+ parent1:
+ $ref: "#/components/schemas/CrossParent"
+ parent2:
+ $ref: "#/components/schemas/CrossParent"
+ plannedCrossDbId:
+ type: string
+ plannedCrossName:
+ type: string
+ status:
+ type: string
+ description: "The status of this planned cross. Is it waiting to be performed\
+ \ ('TODO'), has it been completed successfully ('DONE'), or has it not\
+ \ been done on purpose ('SKIPPED')."
+ enum:
+ - TODO
+ - DONE
+ - SKIPPED
+ description: Information regarding the intention to mate specific organisms
+ together to produce offspring with desired traits. A PlannedCross becomes
+ an actual Cross when the desired mating event actually occurs in the field.
+ PollinationEvent:
+ type: object
+ properties:
+ crossDbId:
+ type: string
+ crossName:
+ type: string
+ pollinationNumber:
+ type: string
+ pollinationSuccessful:
+ type: boolean
+ pollinationTimeStamp:
+ type: string
+ description: A Pollination Event that was used or attempted for a Cross.
+ Scale:
+ required:
+ - scaleDbId
+ - scaleName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ dataType:
+ type: string
+ description: |-
+ Class of the scale, entries can be
+ "Code" - This scale class is exceptionally used to express complex traits. Code is a nominal scale that combines the expressions of the different traits composing the complex trait. For example a severity trait might be expressed by a 2 digit and 2 character code. The first 2 digits are the percentage of the plant covered by a fungus and the 2 characters refer to the delay in development, e.g. "75VD" means "75 %" of the plant is infected and the plant is very delayed.
+ "Date" - The date class is for events expressed in a time format, See ISO 8601
+ "Duration" - The Duration class is for time elapsed between two events expressed in a time format, e.g. days, hours, months
+ "Nominal" - Categorical scale that can take one of a limited and fixed number of categories. There is no intrinsic ordering to the categories
+ "Numerical" - Numerical scales express the trait with real numbers. The numerical scale defines the unit e.g. centimeter, ton per hectare, branches
+ "Ordinal" - Ordinal scales are scales composed of ordered categories
+ "Text" - A free text is used to express the trait.
+ enum:
+ - Code
+ - Date
+ - Duration
+ - Nominal
+ - Numerical
+ - Ordinal
+ - Text
+ decimalPlaces:
+ type: integer
+ format: int32
+ ontologyReferenceDbId:
+ type: string
+ scaleDbId:
+ type: string
+ scaleName:
+ type: string
+ scalePUI:
+ type: string
+ units:
+ type: string
+ validValues:
+ $ref: "#/components/schemas/ValidValues"
+ description: "A Scale describes the units and acceptable values for an ObservationVariable.\
+ \ \n
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\"."
+ SeedLot:
+ required:
+ - seedLotDbId
+ - seedLotName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ amount:
+ type: number
+ createdDate:
+ type: string
+ lastUpdated:
+ type: string
+ locationDbId:
+ type: string
+ locationName:
+ type: string
+ programDbId:
+ type: string
+ programName:
+ type: string
+ seedLotDescription:
+ type: string
+ seedLotName:
+ type: string
+ sourceCollection:
+ type: string
+ storageLocation:
+ type: string
+ units:
+ type: string
+ description: "A SeedLot, also known as an InventoryLot, is a collection of starting\
+ \ material (seeds, bulbs, root-stock, etc) for a particular Germplasm. The\
+ \ amount of material available for each Germplasm can be increased by seed\
+ \ production and decreased by planting or trading with another breeding Program."
+ SeedLotNewRequest:
+ required:
+ - seedLotDbId
+ - seedLotDbId
+ - seedLotName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ amount:
+ type: number
+ createdDate:
+ type: string
+ lastUpdated:
+ type: string
+ locationDbId:
+ type: string
+ locationName:
+ type: string
+ programDbId:
+ type: string
+ programName:
+ type: string
+ seedLotDbId:
+ type: string
+ seedLotDescription:
+ type: string
+ seedLotName:
+ type: string
+ sourceCollection:
+ type: string
+ storageLocation:
+ type: string
+ units:
+ type: string
+ description: "A SeedLot, also known as an InventoryLot, is a collection of starting\
+ \ material (seeds, bulbs, root-stock, etc) for a particular Germplasm. The\
+ \ amount of material available for each Germplasm can be increased by seed\
+ \ production and decreased by planting or trading with another breeding Program."
+ SeedLotTransaction:
+ required:
+ - transactionDbId
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ amount:
+ type: number
+ seedLotDbId:
+ type: string
+ seedLotName:
+ type: string
+ transactionDbId:
+ type: string
+ transactionDescription:
+ type: string
+ transactionTimestamp:
+ type: string
+ units:
+ type: string
+ description: The record of an event where material was moved in or out of a
+ particular SeedLot
+ StorageType:
+ type: object
+ properties:
+ code:
+ type: string
+ description: "The 2 digit code representing the type of storage this germplasm\
+ \ is kept in at a genebank. \n\nMCPD (v2.1) (STORAGE) 26. If germplasm\
+ \ is maintained under different types of storage, multiple choices are\
+ \ allowed, separated by a semicolon (e.g. 20;30). (Refer to FAO/IPGRI\
+ \ Genebank Standards 1994 for details on storage type.) \n\n10) Seed collection\
+ \ \n11) Short term \n12) Medium term \n13) Long term \n20) Field collection\
+ \ \n30) In vitro collection \n40) Cryo-preserved collection \n50) DNA\
+ \ collection \n99) Other (elaborate in REMARKS field)"
+ enum:
+ - "10"
+ - "11"
+ - "12"
+ - "13"
+ - "20"
+ - "30"
+ - "40"
+ - "50"
+ - "99"
+ description:
+ type: string
+ germplasmDbId:
+ type: string
+ germplasmName:
+ type: string
+ germplasmPUI:
+ type: string
+ description: The type of storage this germplasm is kept in at a genebank.
+ Synonym:
+ type: object
+ properties:
+ germplasmDbId:
+ type: string
+ germplasmName:
+ type: string
+ germplasmPUI:
+ type: string
+ synonym:
+ type: string
+ type:
+ type: string
+ description: Alternative names or IDs used to reference this germplasm
+ TaxonId:
+ required:
+ - sourceName
+ - taxonId
+ type: object
+ properties:
+ germplasmDbId:
+ type: string
+ germplasmName:
+ type: string
+ germplasmPUI:
+ type: string
+ sourceName:
+ type: string
+ taxonId:
+ type: string
+ description: "The list of IDs for this SPECIES from different sources. If present,\
+ \ NCBI Taxon should be always listed as \"ncbiTaxon\" preferably with a purl.\
+ \ The rank of this ID should be species. \n\nMIAPPE V1.1 (DM-42) Organism\
+ \ - An identifier for the organism at the species level. Use of the NCBI taxon\
+ \ ID is recommended."
+ Trait:
+ required:
+ - traitName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ attribute:
+ type: string
+ attributePUI:
+ type: string
+ entity:
+ type: string
+ entityPUI:
+ type: string
+ mainAbbreviation:
+ type: string
+ ontologyReferenceDbId:
+ type: string
+ status:
+ type: string
+ traitClass:
+ type: string
+ traitDbId:
+ type: string
+ traitDescription:
+ type: string
+ traitName:
+ type: string
+ traitPUI:
+ type: string
+ description: "A Trait describes what property is being observed. \n
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\"\
+ . "
+ TraitDataType:
+ type: string
+ description: |-
+ Class of the scale, entries can be
+ "Code" - This scale class is exceptionally used to express complex traits. Code is a nominal scale that combines the expressions of the different traits composing the complex trait. For example a severity trait might be expressed by a 2 digit and 2 character code. The first 2 digits are the percentage of the plant covered by a fungus and the 2 characters refer to the delay in development, e.g. "75VD" means "75 %" of the plant is infected and the plant is very delayed.
+ "Date" - The date class is for events expressed in a time format, See ISO 8601
+ "Duration" - The Duration class is for time elapsed between two events expressed in a time format, e.g. days, hours, months
+ "Nominal" - Categorical scale that can take one of a limited and fixed number of categories. There is no intrinsic ordering to the categories
+ "Numerical" - Numerical scales express the trait with real numbers. The numerical scale defines the unit e.g. centimeter, ton per hectare, branches
+ "Ordinal" - Ordinal scales are scales composed of ordered categories
+ "Text" - A free text is used to express the trait.
+ enum:
+ - Code
+ - Date
+ - Duration
+ - Nominal
+ - Numerical
+ - Ordinal
+ - Text
+ Variable:
+ required:
+ - method
+ - scale
+ - trait
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ commonCropName:
+ type: string
+ contextOfUse:
+ type: array
+ items:
+ type: string
+ defaultValue:
+ type: string
+ documentationURL:
+ type: string
+ growthStage:
+ type: string
+ institution:
+ type: string
+ language:
+ type: string
+ method:
+ $ref: "#/components/schemas/Method"
+ ontologyReference:
+ $ref: "#/components/schemas/OntologyReference"
+ scale:
+ $ref: "#/components/schemas/Scale"
+ scientist:
+ type: string
+ status:
+ type: string
+ submissionTimestamp:
+ type: string
+ synonyms:
+ type: array
+ items:
+ type: string
+ trait:
+ $ref: "#/components/schemas/Trait"
+ description: "A unique combination of Trait, Method, and Scale to define a clear\
+ \ context for an Observation."
+ basePagination:
+ required:
+ - currentPage
+ - pageSize
+ type: object
+ properties:
+ currentPage:
+ type: integer
+ description: The index number for the returned page of data. This should
+ always match the requested page number or the default page (0).
+ example: 0
+ default: 0
+ pageSize:
+ type: integer
+ description: "The number of data elements returned, aka the size of the\
+ \ current page. If the requested page does not have enough elements to\
+ \ fill a page at the requested page size, this field should indicate the\
+ \ actual number of elements returned."
+ example: 1000
+ default: 1000
+ totalCount:
+ type: integer
+ description: The total number of elements that are available on the server
+ and match the requested query parameters.
+ example: 10
+ totalPages:
+ type: integer
+ description: "The total number of pages of elements available on the server.\
+ \ This should be calculated with the following formula. \n
totalPages\
+ \ = CEILING( totalCount / requested_page_size)"
+ example: 1
+ description: "The pagination object is applicable only when the payload contains\
+ \ a \"data\" key. It describes the pagination of the data contained in the\
+ \ \"data\" array, as a way to identify which subset of data is being returned.\
+ \ \n
Pages are zero indexed, so the first page will be page 0 (zero)."
+ dataFile:
+ required:
+ - fileURL
+ type: object
+ properties:
+ fileURL:
+ type: string
+ description: The absolute URL where the file is located
+ format: uri
+ example: https://wiki.brapi.org/examples/datafile.xlsx
+ fileName:
+ type: string
+ description: The name of the file
+ example: datafile.xlsx
+ fileSize:
+ type: integer
+ description: The size of the file in bytes
+ example: 4398
+ fileDescription:
+ type: string
+ description: A human readable description of the file contents
+ example: This is an Excel data file
+ fileType:
+ type: string
+ description: The type or format of the file. Preferably MIME Type.
+ example: application/vnd.ms-excel
+ fileMD5Hash:
+ type: string
+ description: The MD5 Hash of the file contents to be used as a check sum
+ example: c2365e900c81a89cf74d83dab60df146
+ description: A dataFile contains a URL and the relevant file metadata to represent
+ a file
+ metadata:
+ allOf:
+ - $ref: "#/components/schemas/metadataBase"
+ - type: object
+ properties:
+ pagination:
+ $ref: "#/components/schemas/basePagination"
+ metadataBase:
+ type: object
+ properties:
+ datafiles:
+ type: array
+ description: "The datafiles contains a list of file URLs and metadata. \n\
+ These files contain additional information related to the returned object\
+ \ and can be retrieved by a subsequent call. \nThis could be a supplementary\
+ \ data file, an informational file, the uploaded file where the data originated\
+ \ from, a generated file representing the whole dataset in a particular\
+ \ format, or any other related file. "
+ example: []
+ items:
+ $ref: "#/components/schemas/dataFile"
+ status:
+ type: array
+ description: "The status field contains a list of informational status messages\
+ \ from the server. \nIf no status is reported, an empty list should be\
+ \ returned. See Error Reporting for more information."
+ items:
+ $ref: "#/components/schemas/status"
+ description: "An object in the BrAPI standard response model that describes\
+ \ some information about the service call being performed. This includes supplementary\
+ \ data, status log messages, and pagination information."
+ metadataTokenPagination:
+ allOf:
+ - $ref: "#/components/schemas/metadataBase"
+ - type: object
+ properties:
+ pagination:
+ $ref: "#/components/schemas/tokenPagination"
+ status:
+ required:
+ - message
+ - messageType
+ type: object
+ properties:
+ message:
+ type: string
+ description: A short message concerning the status of this request/response
+ example: "Request accepted, response successful"
+ messageType:
+ type: string
+ description: The logging level for the attached message
+ example: INFO
+ enum:
+ - DEBUG
+ - ERROR
+ - WARNING
+ - INFO
+ description: An array of status messages to convey technical logging information
+ from the server to the client.
+ tokenPagination:
+ allOf:
+ - $ref: "#/components/schemas/basePagination"
+ - required:
+ - nextPageToken
+ type: object
+ properties:
+ nextPageToken:
+ type: string
+ description: "**Deprecated in v2.1** Please use `page`. Github issue number\
+ \ #451 \n
The string token used to query the next page of data."
+ example: cb668f63
+ deprecated: true
+ currentPageToken:
+ type: string
+ description: "**Deprecated in v2.1** Please use `page`. Github issue number\
+ \ #451 \n
The string token used to query the current page of data."
+ example: 48bc6ac1
+ deprecated: true
+ prevPageToken:
+ type: string
+ description: "**Deprecated in v2.1** Please use `page`. Github issue number\
+ \ #451 \n
The string token used to query the previous page of data."
+ example: 9659857e
+ deprecated: true
+ description: "**Deprecated in v2.1** Please use `page`. Github issue number\
+ \ #451 \n
The pagination object is applicable only when the payload contains\
+ \ a \"data\" key. It describes the pagination of the data contained in the\
+ \ \"data\" array, as a way to identify which subset of data is being returned.\
+ \ \n
Tokenized pages are for large data sets which can not be efficiently\
+ \ broken into indexed pages. Use the nextPageToken and prevPageToken to\
+ \ construct an additional query and move to the next or previous page respectively.\
+ \ "
+ example:
+ currentPage: 0
+ pageSize: 1000
+ totalCount: 10
+ totalPages: 1
+ responses:
+ "401Unauthorized":
+ description: Unauthorized
+ content:
+ application/json:
+ schema:
+ type: string
+ example: ERROR - 2018-10-08T18:15:11Z - Missing or expired authorization
+ token
+ GermplasmAttributeListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: GermplasmAttributeListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/GermplasmAttribute"
+ GermplasmListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: GermplasmListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Germplasm"
+ SeedLotSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: SeedLotSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/SeedLot"
+ "202AcceptedSearchResponse":
+ description: Accepted
+ content:
+ application/json:
+ schema:
+ title: 202AcceptedSearchResponse
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ type: object
+ properties:
+ searchResultsDbId:
+ type: string
+ example: 551ae08c
+ StudySingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: StudySingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Study"
+ CrossingProjectSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: CrossingProjectSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/CrossingProject"
+ TrialListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: TrialListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Trial"
+ SeedLotListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: SeedLotListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/SeedLot"
+ TrialSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: TrialSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Trial"
+ GermplasmSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: GermplasmSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Germplasm"
+ SeasonSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: SeasonSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Season"
+ "404NotFound":
+ description: Not Found
+ content:
+ application/json:
+ schema:
+ type: string
+ example: ERROR - 2018-10-08T18:15:11Z - The requested object DbId is not
+ found
+ StudyListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: StudyListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Study"
+ CrossListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: CrossListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Cross"
+ BreedingMethodSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: BreedingMethodSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/BreedingMethod"
+ LocationSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: LocationSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Location"
+ SeasonListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: SeasonListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Season"
+ PersonSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: PersonSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Person"
+ PersonListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: PersonListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Person"
+ PlannedCrossListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: PlannedCrossListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/PlannedCross"
+ LocationListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: LocationListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Location"
+ GermplasmAttributeValueListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: GermplasmAttributeValueListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/GermplasmAttributeValue"
+ "403Forbidden":
+ description: Forbidden
+ content:
+ application/json:
+ schema:
+ type: string
+ example: ERROR - 2018-10-08T18:15:11Z - User does not have permission to
+ perform this action
+ BreedingMethodListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: BreedingMethodListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/BreedingMethod"
+ GermplasmAttributeValueSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: GermplasmAttributeValueSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/GermplasmAttributeValue"
+ ProgramListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ProgramListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Program"
+ ListListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ListListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/List"
+ "400BadRequest":
+ description: Bad Request
+ content:
+ application/json:
+ schema:
+ type: string
+ example: |-
+ ERROR - 2018-10-08T18:15:11Z - Malformed JSON Request Object
+
+ ERROR - 2018-10-08T18:15:11Z - Invalid query parameter
+
+ ERROR - 2018-10-08T18:15:11Z - Required parameter is missing
+ CrossingProjectListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: CrossingProjectListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/CrossingProject"
+ PedigreeNodeListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: PedigreeNodeListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/PedigreeNode"
+ ListSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ListSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/List"
+ ProgramSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ProgramSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Program"
+ GermplasmAttributeSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: GermplasmAttributeSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/GermplasmAttribute"
+ parameters:
+ externalReferenceID:
+ name: externalReferenceID
+ in: query
+ description: "**Deprecated in v2.1** Please use `externalReferenceId`. Github\
+ \ issue number #460 \n
An external reference ID. Could be a simple string\
+ \ or a URI. (use with `externalReferenceSource` parameter)"
+ required: false
+ deprecated: true
+ style: form
+ explode: true
+ schema:
+ type: string
+ externalReferenceId:
+ name: externalReferenceId
+ in: query
+ description: An external reference ID. Could be a simple string or a URI. (use
+ with `externalReferenceSource` parameter)
+ required: false
+ style: form
+ explode: true
+ schema:
+ type: string
+ externalReferenceSource:
+ name: externalReferenceSource
+ in: query
+ description: An identifier for the source system or database of an external
+ reference (use with `externalReferenceId` parameter)
+ required: false
+ style: form
+ explode: true
+ schema:
+ type: string
+ acceptHeader:
+ name: Accept
+ in: header
+ description: "A standard HTTP request header that is used to request a specific\
+ \ content type (JSON, CSV, etc) which is \"acceptable\" to the client and\
+ \ should be returned by the server"
+ required: true
+ style: simple
+ explode: false
+ schema:
+ $ref: "#/components/schemas/ContentTypes"
+ example: application/json
+ searchResultsDbId:
+ name: searchResultsDbId
+ in: path
+ description: Unique identifier which references the search results
+ required: true
+ style: simple
+ explode: false
+ schema:
+ type: string
+ pageSize:
+ name: pageSize
+ in: query
+ description: The size of the pages to be returned. Default is `1000`.
+ required: false
+ style: form
+ explode: true
+ schema:
+ type: integer
+ example: 1000
+ page:
+ name: page
+ in: query
+ description: |-
+ Used to request a specific page of data to be returned.
+
+ The page indexing starts at 0 (the first page is 'page'= 0). Default is `0`.
+ required: false
+ style: form
+ explode: true
+ schema:
+ type: integer
+ example: "0"
+ pageToken:
+ name: pageToken
+ in: query
+ description: "**Deprecated in v2.1** Please use `page`. Github issue number\
+ \ #451 \n
Used to request a specific page of data to be returned.\n
\
+ \ Tokenized pages are for large data sets which can not be efficiently broken\
+ \ into indexed pages. Use the nextPageToken and prevPageToken from a prior\
+ \ response to construct a query and move to the next or previous page respectively. "
+ required: false
+ deprecated: true
+ style: form
+ explode: true
+ schema:
+ type: string
+ example: 33c27874
+ authorizationHeader:
+ name: Authorization
+ in: header
+ description: "HTTP HEADER - Token used for Authorization \n\n Bearer\
+ \ {token_string} "
+ required: false
+ style: simple
+ explode: false
+ schema:
+ pattern: ^Bearer .*$
+ type: string
+ example: Bearer XXXX
+ securitySchemes:
+ AuthorizationToken:
+ type: http
+ description: OAuth Bearer Token - A valid Bearer token to prove authorization
+ scheme: bearer
+ bearerFormat: nonce token or JWT
diff --git a/Specification/Generated/BrAPI-Phenotyping.yaml b/Specification/Generated/BrAPI-Phenotyping.yaml
new file mode 100644
index 00000000..d7a04c78
--- /dev/null
+++ b/Specification/Generated/BrAPI-Phenotyping.yaml
@@ -0,0 +1,4871 @@
+openapi: 3.0.1
+info:
+ title: BrAPI-Phenotyping
+ version: "2.1"
+paths:
+ /events:
+ get:
+ tags:
+ - Events
+ summary: Get a filtered list of Event
+ description: Get a list of Event
+ parameters:
+ - name: studyDbId
+ in: query
+ description: List of study identifiers to search for
+ required: false
+ schema:
+ type: string
+ - name: studyName
+ in: query
+ description: List of study names to filter search results
+ required: false
+ schema:
+ type: string
+ - name: observationUnitDbId
+ in: query
+ description: The ID which uniquely identifies an observation unit.
+ required: false
+ schema:
+ type: string
+ - name: eventDbId
+ in: query
+ description: Filter based on an Event DbId.
+ required: false
+ schema:
+ type: string
+ - name: eventType
+ in: query
+ description: Filter based on an Event Type
+ required: false
+ schema:
+ type: string
+ - name: dateRangeStart
+ in: query
+ description: Filter based on an Event start date.
+ required: false
+ schema:
+ type: string
+ - name: dateRangeEnd
+ in: query
+ description: Filter based on an Event start date.
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/EventListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /images:
+ get:
+ tags:
+ - Images
+ summary: Get a filtered list of Image
+ description: Get a list of Image
+ parameters:
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: descriptiveOntologyTerm
+ in: query
+ description: "A list of terms to formally describe the image to search for.\
+ \ Each item could be a simple Tag, an Ontology reference Id, or a full ontology\
+ \ URL."
+ required: false
+ schema:
+ type: string
+ - name: imageFileName
+ in: query
+ description: Image file names to search for.
+ required: false
+ schema:
+ type: string
+ - name: imageFileSizeMax
+ in: query
+ description: A maximum image file size to search for.
+ required: false
+ schema:
+ type: integer
+ format: int32
+ - name: imageFileSizeMin
+ in: query
+ description: A minimum image file size to search for.
+ required: false
+ schema:
+ type: integer
+ format: int32
+ - name: imageHeightMax
+ in: query
+ description: A maximum image height to search for.
+ required: false
+ schema:
+ type: integer
+ format: int32
+ - name: imageHeightMin
+ in: query
+ description: A minimum image height to search for.
+ required: false
+ schema:
+ type: integer
+ format: int32
+ - name: imageLocation
+ in: query
+ required: false
+ schema:
+ $ref: "#/components/schemas/GeoJSONSearchArea"
+ - name: imageName
+ in: query
+ description: Human readable names to search for.
+ required: false
+ schema:
+ type: string
+ - name: imageTimeStampRangeEnd
+ in: query
+ description: The latest timestamp to search for.
+ required: false
+ schema:
+ type: string
+ - name: imageTimeStampRangeStart
+ in: query
+ description: The earliest timestamp to search for.
+ required: false
+ schema:
+ type: string
+ - name: imageWidthMax
+ in: query
+ description: A maximum image width to search for.
+ required: false
+ schema:
+ type: integer
+ format: int32
+ - name: imageWidthMin
+ in: query
+ description: A minimum image width to search for.
+ required: false
+ schema:
+ type: integer
+ format: int32
+ - name: mimeType
+ in: query
+ description: A set of image file types to search for.
+ required: false
+ schema:
+ type: string
+ - name: observationDbId
+ in: query
+ description: A list of observation Ids this image is associated with to search
+ for
+ required: false
+ schema:
+ type: string
+ - name: imageDbId
+ in: query
+ description: A list of image Ids to search for
+ required: false
+ schema:
+ type: string
+ - name: observationUnitDbId
+ in: query
+ description: A set of observation unit identifiers to search for.
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/ImageListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ post:
+ tags:
+ - Images
+ summary: Create new Image
+ description: Add new Image to database
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ImageNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/ImageListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /methods:
+ get:
+ tags:
+ - Methods
+ summary: Get a filtered list of Method
+ description: Get a list of Method
+ parameters:
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: ontologyDbId
+ in: query
+ description: "The unique identifier for an ontology definition. Use this parameter\
+ \ to filter results based on a specific ontology \n\n Use `GET /ontologies`\
+ \ to find the list of available ontologies on a server."
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: scaleDbId
+ in: query
+ description: The unique identifier for a method.
+ required: false
+ schema:
+ type: string
+ - name: observationVariableDbId
+ in: query
+ description: The unique identifier for an observation variable.
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/MethodListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ post:
+ tags:
+ - Methods
+ summary: Create new Method
+ description: Add new Method to database
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/MethodNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/MethodListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /observations:
+ get:
+ tags:
+ - Observations
+ summary: Get a filtered list of Observation
+ description: Get a list of Observation
+ parameters:
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: germplasmDbId
+ in: query
+ description: List of IDs which uniquely identify germplasm to search for
+ required: false
+ schema:
+ type: string
+ - name: germplasmName
+ in: query
+ description: List of human readable names to identify germplasm to search
+ for
+ required: false
+ schema:
+ type: string
+ - name: locationDbId
+ in: query
+ description: The location ids to search for
+ required: false
+ schema:
+ type: string
+ - name: locationName
+ in: query
+ description: A human readable names to search for
+ required: false
+ schema:
+ type: string
+ - name: observationVariableDbId
+ in: query
+ description: The DbIds of Variables to search for
+ required: false
+ schema:
+ type: string
+ - name: observationVariableName
+ in: query
+ description: The names of Variables to search for
+ required: false
+ schema:
+ type: string
+ - name: observationVariablePUI
+ in: query
+ description: "The Permanent Unique Identifier of an Observation Variable,\
+ \ usually in the form of a URI"
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: studyDbId
+ in: query
+ description: List of study identifiers to search for
+ required: false
+ schema:
+ type: string
+ - name: studyName
+ in: query
+ description: List of study names to filter search results
+ required: false
+ schema:
+ type: string
+ - name: trialDbId
+ in: query
+ description: The ID which uniquely identifies a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: trialName
+ in: query
+ description: The human readable name of a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: observationDbId
+ in: query
+ description: The unique id of an Observation
+ required: false
+ schema:
+ type: string
+ - name: observationUnitDbId
+ in: query
+ description: The unique id of an Observation Unit
+ required: false
+ schema:
+ type: string
+ - name: observationLevel
+ in: query
+ description: Searches for values in ObservationUnit->observationUnitPosition->observationLevel
+ required: false
+ schema:
+ $ref: "#/components/schemas/ObservationUnitLevel"
+ - name: observationLevelRelationship
+ in: query
+ description: Searches for values in ObservationUnit->observationUnitPosition->observationLevelRelationships
+ required: false
+ schema:
+ $ref: "#/components/schemas/ObservationUnitLevelRelationship"
+ - name: observationTimeStampRangeEnd
+ in: query
+ description: Timestamp range end
+ required: false
+ schema:
+ type: string
+ - name: observationTimeStampRangeStart
+ in: query
+ description: Timestamp range start
+ required: false
+ schema:
+ type: string
+ - name: seasonDbId
+ in: query
+ description: "The year or Phenotyping campaign of a multi-annual study (trees,\
+ \ grape, ...)"
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/ObservationListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ put:
+ tags:
+ - Observations
+ summary: Update the details for an existing Observation
+ description: Update the details for an existing Observation
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ObservationNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/ObservationListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ post:
+ tags:
+ - Observations
+ summary: Create new Observation
+ description: Add new Observation to database
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ObservationNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/ObservationListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /observationunits:
+ get:
+ tags:
+ - ObservationUnits
+ summary: Get a filtered list of ObservationUnit
+ description: Get a list of ObservationUnit
+ parameters:
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: germplasmDbId
+ in: query
+ description: List of IDs which uniquely identify germplasm to search for
+ required: false
+ schema:
+ type: string
+ - name: germplasmName
+ in: query
+ description: List of human readable names to identify germplasm to search
+ for
+ required: false
+ schema:
+ type: string
+ - name: locationDbId
+ in: query
+ description: The location ids to search for
+ required: false
+ schema:
+ type: string
+ - name: locationName
+ in: query
+ description: A human readable names to search for
+ required: false
+ schema:
+ type: string
+ - name: studyDbId
+ in: query
+ description: List of study identifiers to search for
+ required: false
+ schema:
+ type: string
+ - name: studyName
+ in: query
+ description: List of study names to filter search results
+ required: false
+ schema:
+ type: string
+ - name: observationVariableDbId
+ in: query
+ description: The DbIds of Variables to search for
+ required: false
+ schema:
+ type: string
+ - name: observationVariableName
+ in: query
+ description: The names of Variables to search for
+ required: false
+ schema:
+ type: string
+ - name: observationVariablePUI
+ in: query
+ description: "The Permanent Unique Identifier of an Observation Variable,\
+ \ usually in the form of a URI"
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: trialDbId
+ in: query
+ description: The ID which uniquely identifies a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: trialName
+ in: query
+ description: The human readable name of a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: observationUnitDbId
+ in: query
+ description: The unique id of an observation unit
+ required: false
+ schema:
+ type: string
+ - name: observationUnitName
+ in: query
+ description: The human readable identifier for an Observation Unit
+ required: false
+ schema:
+ type: string
+ - name: observationLevel
+ in: query
+ description: Searches for values in ObservationUnit->observationUnitPosition->observationLevel
+ required: false
+ schema:
+ $ref: "#/components/schemas/ObservationUnitLevel"
+ - name: observationLevelRelationship
+ in: query
+ description: Searches for values in ObservationUnit->observationUnitPosition->observationLevelRelationships
+ required: false
+ schema:
+ $ref: "#/components/schemas/ObservationUnitLevelRelationship"
+ - name: includeObservation
+ in: query
+ description: "Use this parameter to include a list of observations embedded\
+ \ in each ObservationUnit object. \n\nCAUTION - Use this parameter at your\
+ \ own risk. It may return large, unpaginated lists of observation data.\
+ \ Only set this value to True if you are sure you need to."
+ required: false
+ schema:
+ type: boolean
+ - name: seasonDbId
+ in: query
+ description: "The year or Phenotyping campaign of a multi-annual study (trees,\
+ \ grape, ...)"
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/ObservationUnitListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ put:
+ tags:
+ - ObservationUnits
+ summary: Update the details for an existing ObservationUnit
+ description: Update the details for an existing ObservationUnit
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ObservationUnitNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/ObservationUnitListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ post:
+ tags:
+ - ObservationUnits
+ summary: Create new ObservationUnit
+ description: Add new ObservationUnit to database
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ObservationUnitNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/ObservationUnitListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /variables:
+ get:
+ tags:
+ - ObservationVariables
+ summary: Get a filtered list of ObservationVariable
+ description: Get a list of ObservationVariable
+ parameters:
+ - name: observationVariableDbId
+ in: query
+ description: The DbIds of Variables to search for
+ required: false
+ schema:
+ type: string
+ - name: observationVariableName
+ in: query
+ description: The names of Variables to search for
+ required: false
+ schema:
+ type: string
+ - name: observationVariablePUI
+ in: query
+ description: "The Permanent Unique Identifier of an Observation Variable,\
+ \ usually in the form of a URI"
+ required: false
+ schema:
+ type: string
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: studyDbId
+ in: query
+ description: List of study identifiers to search for
+ required: false
+ schema:
+ type: string
+ - name: studyName
+ in: query
+ description: List of study names to filter search results
+ required: false
+ schema:
+ type: string
+ - name: trialDbId
+ in: query
+ description: The ID which uniquely identifies a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: trialName
+ in: query
+ description: The human readable name of a trial to search for
+ required: false
+ schema:
+ type: string
+ - name: studyDbId
+ in: query
+ description: "**Deprecated in v2.1** Please use `studyDbIds`. Github issue\
+ \ number #483 \n
The unique ID of a studies to filter on"
+ required: false
+ schema:
+ type: string
+ - name: ontologyDbId
+ in: query
+ description: List of ontology IDs to search for
+ required: false
+ schema:
+ type: string
+ - name: methodDbId
+ in: query
+ description: List of methods to filter search results
+ required: false
+ schema:
+ type: string
+ - name: methodName
+ in: query
+ description: |-
+ Human readable name for the method
+
MIAPPE V1.1 (DM-88) Method Name of the method of observation
+ required: false
+ schema:
+ type: string
+ - name: methodPUI
+ in: query
+ description: "The Permanent Unique Identifier of a Method, usually in the\
+ \ form of a URI"
+ required: false
+ schema:
+ type: string
+ - name: scaleDbId
+ in: query
+ description: The unique identifier for a Scale
+ required: false
+ schema:
+ type: string
+ - name: scaleName
+ in: query
+ description: |-
+ Name of the scale
+
MIAPPE V1.1 (DM-92) Scale Name of the scale associated with the variable
+ required: false
+ schema:
+ type: string
+ - name: scalePUI
+ in: query
+ description: "The Permanent Unique Identifier of a Scale, usually in the form\
+ \ of a URI"
+ required: false
+ schema:
+ type: string
+ - name: dataType
+ in: query
+ description: List of scale data types to filter search results
+ required: false
+ schema:
+ $ref: "#/components/schemas/TraitDataType"
+ - name: traitClass
+ in: query
+ description: List of trait classes to filter search results
+ required: false
+ schema:
+ type: string
+ - name: traitDbId
+ in: query
+ description: The unique identifier for a Trait
+ required: false
+ schema:
+ type: string
+ - name: traitName
+ in: query
+ description: |-
+ The human readable name of a trait
+
MIAPPE V1.1 (DM-86) Trait - Name of the (plant or environmental) trait under observation
+ required: false
+ schema:
+ type: string
+ - name: traitPUI
+ in: query
+ description: "The Permanent Unique Identifier of a Trait, usually in the form\
+ \ of a URI"
+ required: false
+ schema:
+ type: string
+ - name: traitAttribute
+ in: query
+ 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\""
+ required: false
+ schema:
+ type: string
+ - name: traitAttributePUI
+ in: query
+ description: |-
+ The Permanent Unique Identifier of a Trait Attribute, usually in the form of a URI
+
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"
+ required: false
+ schema:
+ type: string
+ - name: traitEntity
+ in: query
+ description: "A trait can be decomposed as \"Trait\" = \"Entity\" + \"Attribute\"\
+ , the entity is the part of the plant that the trait refers to e.g., for\
+ \ \"grain colour\", entity = \"grain\""
+ required: false
+ schema:
+ type: string
+ - name: traitEntityPUI
+ in: query
+ description: "The Permanent Unique Identifier of a Trait Entity, usually in\
+ \ the form of a URI\n
A trait can be decomposed as \"Trait\" = \"Entity\"\
+ \ + \"Attribute\", the entity is the part of the plant that the trait refers\
+ \ to e.g., for \"grain colour\", entity = \"grain\" "
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/ObservationVariableListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ post:
+ tags:
+ - ObservationVariables
+ summary: Create new ObservationVariable
+ description: Add new ObservationVariable to database
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ObservationVariableNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/ObservationVariableListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /ontologies:
+ get:
+ tags:
+ - Ontologies
+ summary: Get a filtered list of Ontology
+ description: Get a list of Ontology
+ parameters:
+ - name: ontologyDbId
+ in: query
+ description: "The unique identifier for an ontology definition. Use this parameter\
+ \ to filter results based on a specific ontology \n\n Use `GET /ontologies`\
+ \ to find the list of available ontologies on a server."
+ required: false
+ schema:
+ type: string
+ - name: ontologyName
+ in: query
+ description: The human readable identifier for an ontology definition.
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/OntologyListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ post:
+ tags:
+ - Ontologies
+ summary: Create new Ontology
+ description: Add new Ontology to database
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/OntologyNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/OntologyListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /scales:
+ get:
+ tags:
+ - Scales
+ summary: Get a filtered list of Scale
+ description: Get a list of Scale
+ parameters:
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: ontologyDbId
+ in: query
+ description: "The unique identifier for an ontology definition. Use this parameter\
+ \ to filter results based on a specific ontology \n\n Use `GET /ontologies`\
+ \ to find the list of available ontologies on a server."
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: scaleDbId
+ in: query
+ description: The unique identifier for a scale.
+ required: false
+ schema:
+ type: string
+ - name: observationVariableDbId
+ in: query
+ description: The unique identifier for an observation variable.
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/ScaleListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ post:
+ tags:
+ - Scales
+ summary: Create new Scale
+ description: Add new Scale to database
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ScaleNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/ScaleListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /traits:
+ get:
+ tags:
+ - Traits
+ summary: Get a filtered list of Trait
+ description: Get a list of Trait
+ parameters:
+ - name: commonCropName
+ in: query
+ description: "The BrAPI Common Crop Name is the simple, generalized, widely\
+ \ accepted name of the organism being researched. It is most often used\
+ \ in multi-crop systems where digital resources need to be divided at a\
+ \ high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common\
+ \ crop names.\n\nUse this parameter to only return results associated with\
+ \ the given crops. \n\nUse `GET /commoncropnames` to find the list of available\
+ \ crops on a server."
+ required: false
+ schema:
+ type: string
+ - name: ontologyDbId
+ in: query
+ description: "The unique identifier for an ontology definition. Use this parameter\
+ \ to filter results based on a specific ontology \n\n Use `GET /ontologies`\
+ \ to find the list of available ontologies on a server."
+ required: false
+ schema:
+ type: string
+ - name: programDbId
+ in: query
+ description: "A BrAPI Program represents the high level organization or group\
+ \ who is responsible for conducting trials and studies. Things like Breeding\
+ \ Programs and Funded Projects are considered BrAPI Programs. \n\nUse this\
+ \ parameter to only return results associated with the given programs. \n\
+ \nUse `GET /programs` to find the list of available programs on a server."
+ required: false
+ schema:
+ type: string
+ - name: programName
+ in: query
+ description: |-
+ Use this parameter to only return results associated with the given program names. Program names are not required to be unique.
+
+ Use `GET /programs` to find the list of available programs on a server.
+ required: false
+ schema:
+ type: string
+ - name: traitDbId
+ in: query
+ description: The unique identifier for a trait.
+ required: false
+ schema:
+ type: string
+ - name: observationVariableDbId
+ in: query
+ description: The unique identifier for an observation variable.
+ required: false
+ schema:
+ type: string
+ - $ref: "#/components/parameters/externalReferenceID"
+ - $ref: "#/components/parameters/externalReferenceId"
+ - $ref: "#/components/parameters/externalReferenceSource"
+ - $ref: "#/components/parameters/page"
+ - $ref: "#/components/parameters/pageSize"
+ - $ref: "#/components/parameters/authorizationHeader"
+ responses:
+ "200":
+ $ref: "#/components/responses/TraitListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ post:
+ tags:
+ - Traits
+ summary: Create new Trait
+ description: Add new Trait to database
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/TraitNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/TraitListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /images/{imageDbId}:
+ get:
+ tags:
+ - Images
+ summary: Get the details of a specific Image
+ description: Get details for a Image
+ responses:
+ "200":
+ $ref: "#/components/responses/ImageSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ put:
+ tags:
+ - Images
+ summary: Update the details for an existing Image
+ description: Update the details for an existing Image
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ImageNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/ImageSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /methods/{methodDbId}:
+ get:
+ tags:
+ - Methods
+ summary: Get the details of a specific Method
+ description: Get details for a Method
+ responses:
+ "200":
+ $ref: "#/components/responses/MethodSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ put:
+ tags:
+ - Methods
+ summary: Update the details for an existing Method
+ description: Update the details for an existing Method
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/MethodNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/MethodSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /observations/{observationDbId}:
+ get:
+ tags:
+ - Observations
+ summary: Get the details of a specific Observation
+ description: Get details for a Observation
+ responses:
+ "200":
+ $ref: "#/components/responses/ObservationSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /observationunits/{observationUnitDbId}:
+ get:
+ tags:
+ - ObservationUnits
+ summary: Get the details of a specific ObservationUnit
+ description: Get details for a ObservationUnit
+ responses:
+ "200":
+ $ref: "#/components/responses/ObservationUnitSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /variables/{observationVariableDbId}:
+ get:
+ tags:
+ - ObservationVariables
+ summary: Get the details of a specific ObservationVariable
+ description: Get details for a ObservationVariable
+ responses:
+ "200":
+ $ref: "#/components/responses/ObservationVariableSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ put:
+ tags:
+ - ObservationVariables
+ summary: Update the details for an existing ObservationVariable
+ description: Update the details for an existing ObservationVariable
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ObservationVariableNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/ObservationVariableSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /ontologies/{ontologyDbId}:
+ get:
+ tags:
+ - Ontologies
+ summary: Get the details of a specific Ontology
+ description: Get details for a Ontology
+ responses:
+ "200":
+ $ref: "#/components/responses/OntologySingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ put:
+ tags:
+ - Ontologies
+ summary: Update the details for an existing Ontology
+ description: Update the details for an existing Ontology
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/OntologyNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/OntologySingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /scales/{scaleDbId}:
+ get:
+ tags:
+ - Scales
+ summary: Get the details of a specific Scale
+ description: Get details for a Scale
+ responses:
+ "200":
+ $ref: "#/components/responses/ScaleSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ put:
+ tags:
+ - Scales
+ summary: Update the details for an existing Scale
+ description: Update the details for an existing Scale
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ScaleNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/ScaleSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /traits/{traitDbId}:
+ get:
+ tags:
+ - Traits
+ summary: Get the details of a specific Trait
+ description: Get details for a Trait
+ responses:
+ "200":
+ $ref: "#/components/responses/TraitSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ put:
+ tags:
+ - Traits
+ summary: Update the details for an existing Trait
+ description: Update the details for an existing Trait
+ parameters:
+ - $ref: "#/components/parameters/authorizationHeader"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/TraitNewRequest"
+ responses:
+ "200":
+ $ref: "#/components/responses/TraitSingleResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/images:
+ post:
+ tags:
+ - Images
+ summary: Submit a search request for `Image`
+ description: "Submit a search request for `Image`
\nSearch requests allow\
+ \ a client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/image/{searchResultsDbId}` to retrieve the results of the search.\
+ \
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/ImageListResponse"
+ "202":
+ $ref: "#/components/responses/202AcceptedSearchResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/observations:
+ post:
+ tags:
+ - Observations
+ summary: Submit a search request for `Observation`
+ description: "Submit a search request for `Observation`
\nSearch requests\
+ \ allow a client to send a complex query for data. However, the server may\
+ \ not respond with the search results immediately. \nIf a server needs more\
+ \ time to process the request, it might respond with a `searchResultsDbId`.\
+ \ \nUse the corresponding `GET /search/observation/{searchResultsDbId}` to\
+ \ retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/ObservationListResponse"
+ "202":
+ $ref: "#/components/responses/202AcceptedSearchResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/observationunits:
+ post:
+ tags:
+ - ObservationUnits
+ summary: Submit a search request for `ObservationUnit`
+ description: "Submit a search request for `ObservationUnit`
\nSearch requests\
+ \ allow a client to send a complex query for data. However, the server may\
+ \ not respond with the search results immediately. \nIf a server needs more\
+ \ time to process the request, it might respond with a `searchResultsDbId`.\
+ \ \nUse the corresponding `GET /search/observationUnit/{searchResultsDbId}`\
+ \ to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/ObservationUnitListResponse"
+ "202":
+ $ref: "#/components/responses/202AcceptedSearchResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/variables:
+ post:
+ tags:
+ - ObservationVariables
+ summary: Submit a search request for `ObservationVariable`
+ description: "Submit a search request for `ObservationVariable`
\nSearch\
+ \ requests allow a client to send a complex query for data. However, the server\
+ \ may not respond with the search results immediately. \nIf a server needs\
+ \ more time to process the request, it might respond with a `searchResultsDbId`.\
+ \ \nUse the corresponding `GET /search/observationVariable/{searchResultsDbId}`\
+ \ to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/ObservationVariableListResponse"
+ "202":
+ $ref: "#/components/responses/202AcceptedSearchResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/images/{searchResultsDbId}:
+ get:
+ tags:
+ - Images
+ summary: "Submit a search request for `Image`
\nSearch requests allow a\
+ \ client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/image/{searchResultsDbId}` to retrieve the results of the search.\
+ \
\nReview the Search Services documentation for additional implementation details."
+ description: "Get the results of a `Image` search request
\nClients should\
+ \ submit a search request using the corresponding `POST /search/image` endpoint.\n\
+ Search requests allow a client to send a complex query for data. However,\
+ \ the server may not respond with the search results immediately. \nIf a server\
+ \ needs more time to process the request, it might respond with a `searchResultsDbId`.\
+ \ \nUse this endpoint to retrieve the results of the search.
\nReview\
+ \ the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/ImageListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/observations/{searchResultsDbId}:
+ get:
+ tags:
+ - Observations
+ summary: "Submit a search request for `Observation`
\nSearch requests allow\
+ \ a client to send a complex query for data. However, the server may not respond\
+ \ with the search results immediately. \nIf a server needs more time to process\
+ \ the request, it might respond with a `searchResultsDbId`. \nUse the corresponding\
+ \ `GET /search/observation/{searchResultsDbId}` to retrieve the results of\
+ \ the search.
\nReview the Search Services documentation for additional implementation details."
+ description: "Get the results of a `Observation` search request
\nClients\
+ \ should submit a search request using the corresponding `POST /search/observation`\
+ \ endpoint.\nSearch requests allow a client to send a complex query for data.\
+ \ However, the server may not respond with the search results immediately.\
+ \ \nIf a server needs more time to process the request, it might respond with\
+ \ a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the\
+ \ search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/ObservationListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/observationunits/{searchResultsDbId}:
+ get:
+ tags:
+ - ObservationUnits
+ summary: "Submit a search request for `ObservationUnit`
\nSearch requests\
+ \ allow a client to send a complex query for data. However, the server may\
+ \ not respond with the search results immediately. \nIf a server needs more\
+ \ time to process the request, it might respond with a `searchResultsDbId`.\
+ \ \nUse the corresponding `GET /search/observationUnit/{searchResultsDbId}`\
+ \ to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details."
+ description: "Get the results of a `ObservationUnit` search request
\n\
+ Clients should submit a search request using the corresponding `POST /search/observationUnit`\
+ \ endpoint.\nSearch requests allow a client to send a complex query for data.\
+ \ However, the server may not respond with the search results immediately.\
+ \ \nIf a server needs more time to process the request, it might respond with\
+ \ a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the\
+ \ search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/ObservationUnitListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+ /search/variables/{searchResultsDbId}:
+ get:
+ tags:
+ - ObservationVariables
+ summary: "Submit a search request for `ObservationVariable`
\nSearch requests\
+ \ allow a client to send a complex query for data. However, the server may\
+ \ not respond with the search results immediately. \nIf a server needs more\
+ \ time to process the request, it might respond with a `searchResultsDbId`.\
+ \ \nUse the corresponding `GET /search/observationVariable/{searchResultsDbId}`\
+ \ to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details."
+ description: "Get the results of a `ObservationVariable` search request
\n\
+ Clients should submit a search request using the corresponding `POST /search/observationVariable`\
+ \ endpoint.\nSearch requests allow a client to send a complex query for data.\
+ \ However, the server may not respond with the search results immediately.\
+ \ \nIf a server needs more time to process the request, it might respond with\
+ \ a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the\
+ \ search.
\nReview the Search Services documentation for additional implementation details."
+ responses:
+ "200":
+ $ref: "#/components/responses/ObservationVariableListResponse"
+ "400":
+ $ref: "#/components/responses/400BadRequest"
+ "401":
+ $ref: "#/components/responses/401Unauthorized"
+ "403":
+ $ref: "#/components/responses/403Forbidden"
+components:
+ schemas:
+ AdditionalInfo:
+ type: object
+ properties:
+ additionalProperties:
+ type: string
+ 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."
+ AlleleMatrix:
+ required:
+ - callSetDbIds
+ - variantSetDbIds
+ type: object
+ properties:
+ callSetDbIds:
+ type: array
+ items:
+ type: string
+ expandHomozygotes:
+ type: boolean
+ sepPhased:
+ type: string
+ sepUnphased:
+ type: string
+ unknownString:
+ type: string
+ variantDbIds:
+ type: array
+ items:
+ type: string
+ variantSetDbIds:
+ type: array
+ items:
+ type: string
+ description: "The AlleleMatrix object is used to describe a matrix of genotyping\
+ \ results. This 2d array of data reduces the overall size of the response\
+ \ for larger datasets, when compared to the Calls endpoints. This makes genotype\
+ \ data retrieval faster and easier."
+ Attribute:
+ required:
+ - attributeName
+ - method
+ - scale
+ - trait
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ attributeCategory:
+ type: string
+ attributeDbId:
+ type: string
+ attributeDescription:
+ type: string
+ attributeName:
+ type: string
+ attributePUI:
+ type: string
+ commonCropName:
+ type: string
+ contextOfUse:
+ type: array
+ items:
+ type: string
+ defaultValue:
+ type: string
+ documentationURL:
+ type: string
+ growthStage:
+ type: string
+ institution:
+ type: string
+ language:
+ type: string
+ method:
+ $ref: "#/components/schemas/Method"
+ ontologyReference:
+ $ref: "#/components/schemas/OntologyReference"
+ scale:
+ $ref: "#/components/schemas/Scale"
+ scientist:
+ type: string
+ status:
+ type: string
+ submissionTimestamp:
+ type: string
+ synonyms:
+ type: array
+ items:
+ type: string
+ trait:
+ $ref: "#/components/schemas/Trait"
+ Call:
+ required:
+ - callSetDbId
+ - variantDbId
+ - variantSetDbId
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ callSetDbId:
+ type: string
+ callSetName:
+ type: string
+ genotypeValue:
+ type: string
+ phaseSet:
+ type: string
+ variantDbId:
+ type: string
+ variantSetDbId:
+ type: string
+ variantSetName:
+ type: string
+ description: "A `Call` represents the determination of genotype with respect\
+ \ to a particular `Variant`. \n\nIt may include associated information such\
+ \ as quality and phasing. For example, a call might assign a probability of\
+ \ 0.32 to the occurrence of a SNP named RS_1234 in a call set with the name\
+ \ NA_12345."
+ Contact:
+ required:
+ - contactDbId
+ type: object
+ properties:
+ contactDbId:
+ type: string
+ email:
+ type: string
+ instituteName:
+ type: string
+ name:
+ type: string
+ orcid:
+ type: string
+ type:
+ type: string
+ description: A persons contact information
+ ContentTypes:
+ type: string
+ enum:
+ - application/json
+ - text/csv
+ - text/tsv
+ - application/flapjack
+ Context:
+ title: context
+ type: array
+ description: "The JSON-LD Context is used to provide JSON-LD definitions to\
+ \ each field in a JSON object. By providing an array of context file urls,\
+ \ a BrAPI response object becomes JSON-LD compatible. \n\nFor more information,\
+ \ see https://w3c.github.io/json-ld-syntax/#the-context"
+ example:
+ - https://brapi.org/jsonld/context/metadata.jsonld
+ items:
+ type: string
+ format: uri
+ CrossParent:
+ type: object
+ properties:
+ germplasm:
+ $ref: "#/components/schemas/Germplasm"
+ observationUnitDbId:
+ type: string
+ observationUnitName:
+ type: string
+ observationUnitPUI:
+ type: string
+ parentType:
+ $ref: "#/components/schemas/ParentType"
+ description: The identifying information gor the parent material of a cross.
+ CrossType:
+ type: string
+ description: "The type of cross make. Accepted values for this field are 'BIPARENTAL',\
+ \ 'SELF', 'OPEN_POLLINATED', 'BULK', 'BULK_SELFED', 'BULK_OPEN_POLLINATED'\
+ \ and 'DOUBLE_HAPLOID'."
+ enum:
+ - BIPARENTAL
+ - SELF
+ - OPEN_POLLINATED
+ - BULK
+ - BULK_SELFED
+ - BULK_OPEN_POLLINATED
+ - DOUBLE_HAPLOID
+ DocumentationLink:
+ type: object
+ properties:
+ URL:
+ type: string
+ ontologyReferenceDbId:
+ type: string
+ type:
+ type: string
+ description: "The type of documentation, which can be OBO Foundry, an RDF\
+ \ term or a webpage."
+ enum:
+ - OBO
+ - RDF
+ - WEBPAGE
+ description: Links to various ontology documentation
+ Event:
+ required:
+ - eventDbId
+ - eventType
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ eventDbId:
+ type: string
+ eventDescription:
+ type: string
+ eventType:
+ type: string
+ eventTypeDbId:
+ type: string
+ observationUnitDbIds:
+ type: array
+ items:
+ type: string
+ studyDbId:
+ type: string
+ studyName:
+ type: string
+ studyPUI:
+ type: string
+ description: "An event is discrete occurrence at a particular time in the experiment.\
+ \ Events may be the realization of Treatments or parts of Treatments, or may\
+ \ be confounding to Treatments. \n
ICASA Management Events allow for the\
+ \ following types -> planting, fertilizer, irrigation, tillage, organic_material,\
+ \ harvest, bed_prep, inorg_mulch, inorg_mul_rem, chemicals, mowing, observation,\
+ \ weeding, puddling, flood_level, other"
+ EventDateRange:
+ type: object
+ properties:
+ discreteDates:
+ type: array
+ items:
+ type: string
+ endDate:
+ type: string
+ eventDbId:
+ type: string
+ startDate:
+ type: string
+ description: "An object describing when a particular Event has taken place.\
+ \ An Event can occur at one or more discrete time points (`discreteDates`)\
+ \ or an event can happen continuously over a longer period of time (`startDate`,\
+ \ `endDate`)"
+ EventParameter:
+ type: object
+ properties:
+ code:
+ type: string
+ description:
+ type: string
+ eventDbId:
+ type: string
+ name:
+ type: string
+ units:
+ type: string
+ value:
+ type: string
+ valueDescription:
+ type: string
+ valuesByDate:
+ type: array
+ items:
+ type: string
+ description: "Additional metadata to describe an event, based on the ICASA standard\
+ \ model. For example, 'Tillage Implement' (tiimp), 'Tillage Depth' (tidep),\
+ \ and 'Tillage Mix Effectiveness' (timix) might all be recorded parameters\
+ \ for a Tillage event."
+ ExperimentalDesign:
+ type: object
+ properties:
+ PUI:
+ type: string
+ description:
+ type: string
+ studyDbId:
+ type: string
+ studyName:
+ type: string
+ studyPUI:
+ type: string
+ description: The experimental and statistical design full description plus a
+ category PUI taken from crop research ontology or agronomy ontology
+ ExternalReference:
+ type: object
+ properties:
+ referenceId:
+ type: string
+ referenceSource:
+ type: string
+ GeoJSON:
+ type: object
+ properties:
+ geometry:
+ $ref: "#/components/schemas/GeoJSONGeometry"
+ type:
+ type: string
+ description: |-
+ One geometry as defined by GeoJSON (RFC 7946). All coordinates are decimal values on the WGS84 geographic coordinate reference system.
+
+ Copied from RFC 7946 Section 3.1.1
+
+ A position is an array of numbers. There MUST be two or more elements. The first two elements are longitude and latitude, or
+ easting and northing, precisely in that order and using decimal numbers. Altitude or elevation MAY be included as an optional third element.
+ GeoJSONGeometry:
+ oneOf:
+ - required:
+ - coordinateDbIds
+ - type
+ type: object
+ properties:
+ coordinates:
+ type: array
+ items:
+ type: number
+ type:
+ type: string
+ description: |-
+ Copied from RFC 7946 Section 3.1.1
+
+ A position is an array of numbers. There MUST be two or more elements. The first two elements are longitude and latitude, or
+ easting and northing, precisely in that order and using decimal numbers. Altitude or elevation MAY be included as an optional third element.
+ - required:
+ - coordinateDbIds
+ - type
+ type: object
+ properties:
+ coordinates:
+ type: array
+ items:
+ type: array
+ items:
+ type: array
+ items:
+ type: number
+ type:
+ type: string
+ description: "An array of Linear Rings. Each Linear Ring is an array of Points.\
+ \ \n\nA Point is an array of numbers. There MUST be two or more elements.\
+ \ The first two elements are longitude and latitude, or\neasting and northing,\
+ \ precisely in that order and using decimal numbers. Altitude or elevation\
+ \ MAY be included as an optional third element."
+ GeoJSONSearchArea:
+ type: object
+ properties:
+ geometry:
+ $ref: "#/components/schemas/GeoJSONGeometry"
+ germplasmOrigin:
+ $ref: "#/components/schemas/GermplasmOrigin"
+ imageDbId:
+ type: string
+ imageName:
+ type: string
+ observationDbId:
+ type: string
+ observationUnit:
+ $ref: "#/components/schemas/ObservationUnitPosition"
+ type:
+ type: string
+ Germplasm:
+ required:
+ - commonCropName
+ - germplasmDbId
+ - germplasmName
+ - germplasmPUI
+ type: object
+ properties:
+ accessionNumber:
+ type: string
+ acquisitionDate:
+ type: string
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ biologicalStatusOfAccessionCode:
+ type: string
+ description: "MCPD (v2.1) (SAMPSTAT) 19. The coding scheme proposed can\
+ \ be used at 3 different levels of detail: either by using the general\
+ \ codes such as 100, 200, 300, 400, or by using the more specific codes\
+ \ such as 110, 120, etc. \n\n100) Wild \n110) Natural \n120) Semi-natural/wild\
+ \ \n130) Semi-natural/sown \n200) Weedy \n300) Traditional cultivar/landrace\
+ \ \n400) Breeding/research material \n410) Breeders line \n411) Synthetic\
+ \ population \n412) Hybrid \n413) Founder stock/base population \n414)\
+ \ Inbred line (parent of hybrid cultivar) \n415) Segregating population\
+ \ \n416) Clonal selection \n420) Genetic stock \n421) Mutant (e.g. induced/insertion\
+ \ mutants, tilling populations) \n422) Cytogenetic stocks (e.g. chromosome\
+ \ addition/substitution, aneuploids, amphiploids) \n423) Other genetic\
+ \ stocks (e.g. mapping populations) \n500) Advanced or improved cultivar\
+ \ (conventional breeding methods) \n600) GMO (by genetic engineering)\
+ \ \n999) Other (Elaborate in REMARKS field)"
+ enum:
+ - "100"
+ - "110"
+ - "120"
+ - "130"
+ - "200"
+ - "300"
+ - "400"
+ - "410"
+ - "411"
+ - "412"
+ - "413"
+ - "414"
+ - "415"
+ - "416"
+ - "420"
+ - "421"
+ - "422"
+ - "423"
+ - "500"
+ - "600"
+ - "999"
+ biologicalStatusOfAccessionDescription:
+ type: string
+ breedingMethodDbId:
+ type: string
+ breedingMethodName:
+ type: string
+ collection:
+ type: string
+ commonCropName:
+ type: string
+ countryOfOriginCode:
+ type: string
+ defaultDisplayName:
+ type: string
+ documentationURL:
+ type: string
+ genus:
+ type: string
+ germplasmDbId:
+ type: string
+ germplasmName:
+ type: string
+ germplasmPUI:
+ type: string
+ germplasmPreprocessing:
+ type: string
+ instituteCode:
+ type: string
+ instituteName:
+ type: string
+ pedigree:
+ type: string
+ sampleDbIds:
+ type: array
+ items:
+ type: string
+ seedSource:
+ type: string
+ seedSourceDescription:
+ type: string
+ species:
+ type: string
+ speciesAuthority:
+ type: string
+ subtaxa:
+ type: string
+ subtaxaAuthority:
+ type: string
+ description: "The conceptual identifiers and metadata describing a genetically\
+ \ unique organism that is noteworthy in some way. Depending on context, a\
+ \ Germplasm might be synonymous with Accession, Line, or Genotype. Note that\
+ \ Germplasm is conceptual data, not necessarily associated to a real physical\
+ \ object, so Seed/Inventory Lots and Observation Units become physical instantiations\
+ \ of a particular Germplasm. Note a Germplasm is unique and noteworthy, so\
+ \ a Cross may or may not create a new Germplasm, since not every Cross is\
+ \ unique or noteworthy."
+ GermplasmOrigin:
+ type: object
+ properties:
+ coordinateUncertainty:
+ type: string
+ germplasmDbId:
+ type: string
+ germplasmName:
+ type: string
+ germplasmPUI:
+ type: string
+ description: "Information for material (orchard, natural sites, ...). Geographic\
+ \ identification of the plants from which seeds or cutting have been taken\
+ \ to produce that germplasm."
+ GrowthFacility:
+ type: object
+ properties:
+ PUI:
+ type: string
+ description:
+ type: string
+ studyDbId:
+ type: string
+ studyName:
+ type: string
+ studyPUI:
+ type: string
+ description: Short description of the facility in which the study was carried
+ out.
+ Image:
+ required:
+ - imageDbId
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ copyright:
+ type: string
+ description:
+ type: string
+ imageFileName:
+ type: string
+ imageFileSize:
+ type: integer
+ format: int32
+ imageHeight:
+ type: integer
+ format: int32
+ imageLocation:
+ $ref: "#/components/schemas/GeoJSON"
+ imageName:
+ type: string
+ imageTimeStamp:
+ type: string
+ imageURL:
+ type: string
+ imageWidth:
+ type: integer
+ format: int32
+ mimeType:
+ type: string
+ observationDbIds:
+ type: array
+ items:
+ type: string
+ observationUnitDbId:
+ type: string
+ observationUnitName:
+ type: string
+ observationUnitPUI:
+ type: string
+ description: The metadata for an image file that is connected to some phenotypic
+ observation data.
+ ImageNewRequest:
+ required:
+ - imageDbId
+ - imageDbId
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ copyright:
+ type: string
+ description:
+ type: string
+ imageDbId:
+ type: string
+ imageFileName:
+ type: string
+ imageFileSize:
+ type: integer
+ format: int32
+ imageHeight:
+ type: integer
+ format: int32
+ imageLocation:
+ $ref: "#/components/schemas/GeoJSON"
+ imageName:
+ type: string
+ imageTimeStamp:
+ type: string
+ imageURL:
+ type: string
+ imageWidth:
+ type: integer
+ format: int32
+ mimeType:
+ type: string
+ observationDbIds:
+ type: array
+ items:
+ type: string
+ observationUnitDbId:
+ type: string
+ observationUnitName:
+ type: string
+ observationUnitPUI:
+ type: string
+ description: The metadata for an image file that is connected to some phenotypic
+ observation data.
+ ImageSearchRequest:
+ type: object
+ properties:
+ imageFileSizeMax:
+ type: integer
+ format: int32
+ imageFileSizeMin:
+ type: integer
+ format: int32
+ imageHeightMax:
+ type: integer
+ format: int32
+ imageHeightMin:
+ type: integer
+ format: int32
+ imageLocation:
+ $ref: "#/components/schemas/GeoJSONSearchArea"
+ imageTimeStampRangeEnd:
+ type: string
+ imageTimeStampRangeStart:
+ type: string
+ imageWidthMax:
+ type: integer
+ format: int32
+ imageWidthMin:
+ type: integer
+ format: int32
+ description: The metadata for an image file that is connected to some phenotypic
+ observation data.
+ ListType:
+ type: string
+ description: The type of objects that are referenced in a List
+ enum:
+ - germplasm
+ - markers
+ - variants
+ - programs
+ - trials
+ - studies
+ - observationUnits
+ - observations
+ - observationVariables
+ - samples
+ Method:
+ required:
+ - methodDbId
+ - methodName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ bibliographicalReference:
+ type: string
+ description:
+ type: string
+ formula:
+ type: string
+ methodClass:
+ type: string
+ methodName:
+ type: string
+ methodPUI:
+ type: string
+ ontologyReferenceDbId:
+ type: string
+ description: "A description of the way an Observation should be collected. \n\
+
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\". "
+ MethodNewRequest:
+ required:
+ - methodDbId
+ - methodDbId
+ - methodName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ bibliographicalReference:
+ type: string
+ description:
+ type: string
+ formula:
+ type: string
+ methodClass:
+ type: string
+ methodDbId:
+ type: string
+ methodName:
+ type: string
+ methodPUI:
+ type: string
+ ontologyReferenceDbId:
+ type: string
+ description: "A description of the way an Observation should be collected. \n\
+
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\". "
+ Observation:
+ required:
+ - observationDbId
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ collector:
+ type: string
+ geoCoordinates:
+ $ref: "#/components/schemas/GeoJSON"
+ germplasmDbId:
+ type: string
+ germplasmName:
+ type: string
+ germplasmPUI:
+ type: string
+ observationTimeStamp:
+ type: string
+ observationUnitDbId:
+ type: string
+ observationUnitName:
+ type: string
+ observationUnitPUI:
+ type: string
+ observationVariableDbId:
+ type: string
+ observationVariableName:
+ type: string
+ observationVariablePUI:
+ type: string
+ seasonDbId:
+ type: string
+ seasonName:
+ type: string
+ studyDbId:
+ type: string
+ studyName:
+ type: string
+ studyPUI:
+ type: string
+ uploadedBy:
+ type: string
+ value:
+ type: string
+ description: A value assigned for a specific ObservationVariable when observing
+ a specific ObservationUnit.
+ ObservationNewRequest:
+ required:
+ - observationDbId
+ - observationDbId
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ collector:
+ type: string
+ geoCoordinates:
+ $ref: "#/components/schemas/GeoJSON"
+ germplasmDbId:
+ type: string
+ germplasmName:
+ type: string
+ germplasmPUI:
+ type: string
+ observationDbId:
+ type: string
+ observationTimeStamp:
+ type: string
+ observationUnitDbId:
+ type: string
+ observationUnitName:
+ type: string
+ observationUnitPUI:
+ type: string
+ observationVariableDbId:
+ type: string
+ observationVariableName:
+ type: string
+ observationVariablePUI:
+ type: string
+ seasonDbId:
+ type: string
+ seasonName:
+ type: string
+ studyDbId:
+ type: string
+ studyName:
+ type: string
+ studyPUI:
+ type: string
+ uploadedBy:
+ type: string
+ value:
+ type: string
+ description: A value assigned for a specific ObservationVariable when observing
+ a specific ObservationUnit.
+ ObservationSearchRequest:
+ type: object
+ properties:
+ observationTimeStampRangeEnd:
+ type: string
+ observationTimeStampRangeStart:
+ type: string
+ description: A value assigned for a specific ObservationVariable when observing
+ a specific ObservationUnit.
+ ObservationTreatment:
+ type: object
+ properties:
+ factor:
+ type: string
+ modality:
+ type: string
+ observationUnitDbId:
+ type: string
+ observationUnitName:
+ type: string
+ observationUnitPUI:
+ type: string
+ description: A Treatment applied an Observation Unit at a given Modality/Level
+ for a specific Factor.
+ ObservationUnit:
+ required:
+ - observationUnitDbId
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ crossDbId:
+ type: string
+ crossName:
+ type: string
+ germplasmDbId:
+ type: string
+ germplasmName:
+ type: string
+ germplasmPUI:
+ type: string
+ locationDbId:
+ type: string
+ locationName:
+ type: string
+ observationUnitName:
+ type: string
+ observationUnitPUI:
+ type: string
+ programDbId:
+ type: string
+ programName:
+ type: string
+ seedLotDbId:
+ type: string
+ seedLotName:
+ type: string
+ studyDbId:
+ type: string
+ studyName:
+ type: string
+ studyPUI:
+ type: string
+ trialDbId:
+ type: string
+ trialName:
+ type: string
+ trialPUI:
+ type: string
+ description: "A representation of the physical entity being observed during\
+ \ a phenotype data collection process. Typically, this is a Plot or a Plant,\
+ \ but it could include things like Fields, Blocks, or Samples."
+ ObservationUnitHierarchyLevel:
+ type: object
+ properties:
+ levelName:
+ type: string
+ levelOrder:
+ type: integer
+ format: int32
+ description: "The exact level and level code of an observation unit. \n\nFor\
+ \ more information on Observation Levels, please review the Observation\
+ \ Levels documentation. \n\nMIAPPE V1.1 DM-71 Observation unit type \"\
+ Type of observation unit in textual form, usually one of the following: study,\
+ \ block, sub-block, plot, sub-plot, pot, plant. Use of other observation unit\
+ \ types is possible but not recommended. \nThe observation unit type can not\
+ \ be used to indicate sub-plant levels. However, observations can still be\
+ \ made on the sub-plant level, as long as the details are indicated in the\
+ \ associated observed variable (see observed variables). \nAlternatively,\
+ \ it is possible to use samples for more detailed tracing of sub-plant units,\
+ \ attaching the observations to them instead.\" "
+ ObservationUnitLevel:
+ type: object
+ properties:
+ levelCode:
+ type: string
+ levelName:
+ type: string
+ levelOrder:
+ type: integer
+ format: int32
+ description: "The exact level and level code of an observation unit. \n\nFor\
+ \ more information on Observation Levels, please review the Observation\
+ \ Levels documentation. \n\nMIAPPE V1.1 DM-71 Observation unit type \"\
+ Type of observation unit in textual form, usually one of the following: study,\
+ \ block, sub-block, plot, sub-plot, pot, plant. Use of other observation unit\
+ \ types is possible but not recommended. \nThe observation unit type can not\
+ \ be used to indicate sub-plant levels. However, observations can still be\
+ \ made on the sub-plant level, as long as the details are indicated in the\
+ \ associated observed variable (see observed variables). \nAlternatively,\
+ \ it is possible to use samples for more detailed tracing of sub-plant units,\
+ \ attaching the observations to them instead.\" "
+ ObservationUnitLevelRelationship:
+ type: object
+ properties:
+ levelCode:
+ type: string
+ levelName:
+ type: string
+ levelOrder:
+ type: integer
+ format: int32
+ observationUnit:
+ $ref: "#/components/schemas/ObservationUnit"
+ description: "Observation levels indicate the granularity level at which the\
+ \ measurements are taken. `levelName` \ndefines the level, `levelOrder` defines\
+ \ where that level exists in the hierarchy of levels. \n`levelOrder`s lower\
+ \ numbers are at the top of the hierarchy (ie field > 0) and higher numbers\
+ \ are \nat the bottom of the hierarchy (ie plant > 6). `levelCode` is an ID\
+ \ code for this level tag. Identify \nthis observation unit by each level\
+ \ of the hierarchy where it exists. \n\nFor more information on Observation\
+ \ Levels, please review the Observation Levels documentation. \n\n**Standard Level Names: study,\
+ \ field, entry, rep, block, sub-block, plot, sub-plot, plant, pot, sample** "
+ ObservationUnitNewRequest:
+ required:
+ - observationUnitDbId
+ - observationUnitDbId
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ crossDbId:
+ type: string
+ crossName:
+ type: string
+ germplasmDbId:
+ type: string
+ germplasmName:
+ type: string
+ germplasmPUI:
+ type: string
+ locationDbId:
+ type: string
+ locationName:
+ type: string
+ observationUnitDbId:
+ type: string
+ observationUnitName:
+ type: string
+ observationUnitPUI:
+ type: string
+ programDbId:
+ type: string
+ programName:
+ type: string
+ seedLotDbId:
+ type: string
+ seedLotName:
+ type: string
+ studyDbId:
+ type: string
+ studyName:
+ type: string
+ studyPUI:
+ type: string
+ trialDbId:
+ type: string
+ trialName:
+ type: string
+ trialPUI:
+ type: string
+ description: "A representation of the physical entity being observed during\
+ \ a phenotype data collection process. Typically, this is a Plot or a Plant,\
+ \ but it could include things like Fields, Blocks, or Samples."
+ ObservationUnitPosition:
+ type: object
+ properties:
+ entryType:
+ type: string
+ description: "The type of entry for this observation unit. ex. \"CHECK\"\
+ , \"TEST\", \"FILLER\""
+ enum:
+ - CHECK
+ - TEST
+ - FILLER
+ observationLevel:
+ $ref: "#/components/schemas/ObservationUnitLevel"
+ observationUnitDbId:
+ type: string
+ observationUnitName:
+ type: string
+ observationUnitPUI:
+ type: string
+ positionCoordinateX:
+ type: string
+ positionCoordinateXType:
+ $ref: "#/components/schemas/PositionCoordinateType"
+ positionCoordinateY:
+ type: string
+ positionCoordinateYType:
+ $ref: "#/components/schemas/PositionCoordinateType"
+ description: All positional and layout information related to this Observation
+ Unit
+ ObservationUnitSearchRequest:
+ type: object
+ properties:
+ includeObservations:
+ type: boolean
+ description: "A representation of the physical entity being observed during\
+ \ a phenotype data collection process. Typically, this is a Plot or a Plant,\
+ \ but it could include things like Fields, Blocks, or Samples."
+ ObservationVariable:
+ required:
+ - methodDbId
+ - methodName
+ - observationVariableDbId
+ - observationVariableName
+ - scaleDbId
+ - scaleName
+ - traitName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ commonCropName:
+ type: string
+ defaultValue:
+ type: string
+ documentationURL:
+ type: string
+ growthStage:
+ type: string
+ institution:
+ type: string
+ language:
+ type: string
+ methodDbId:
+ type: string
+ methodName:
+ type: string
+ methodPUI:
+ type: string
+ observationVariableName:
+ type: string
+ observationVariablePUI:
+ type: string
+ ontologyReferenceDbId:
+ type: string
+ scaleDbId:
+ type: string
+ scaleName:
+ type: string
+ scalePUI:
+ type: string
+ scientist:
+ type: string
+ status:
+ type: string
+ submissionTimestamp:
+ type: string
+ traitDbId:
+ type: string
+ traitName:
+ type: string
+ traitPUI:
+ type: string
+ ObservationVariableNewRequest:
+ required:
+ - methodDbId
+ - methodName
+ - observationVariableDbId
+ - observationVariableDbId
+ - observationVariableName
+ - scaleDbId
+ - scaleName
+ - traitName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ commonCropName:
+ type: string
+ defaultValue:
+ type: string
+ documentationURL:
+ type: string
+ growthStage:
+ type: string
+ institution:
+ type: string
+ language:
+ type: string
+ methodDbId:
+ type: string
+ methodName:
+ type: string
+ methodPUI:
+ type: string
+ observationVariableDbId:
+ type: string
+ observationVariableName:
+ type: string
+ observationVariablePUI:
+ type: string
+ ontologyReferenceDbId:
+ type: string
+ scaleDbId:
+ type: string
+ scaleName:
+ type: string
+ scalePUI:
+ type: string
+ scientist:
+ type: string
+ status:
+ type: string
+ submissionTimestamp:
+ type: string
+ traitDbId:
+ type: string
+ traitName:
+ type: string
+ traitPUI:
+ type: string
+ ObservationVariableSearchRequest:
+ type: object
+ properties: {}
+ Ontology:
+ required:
+ - ontologyDbId
+ - ontologyName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ authors:
+ type: string
+ copyright:
+ type: string
+ description:
+ type: string
+ documentationURL:
+ type: string
+ licence:
+ type: string
+ ontologyName:
+ type: string
+ version:
+ type: string
+ description: The identifier and metadata needed to reference an external controlled
+ vocabulary
+ OntologyNewRequest:
+ required:
+ - ontologyDbId
+ - ontologyDbId
+ - ontologyName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ authors:
+ type: string
+ copyright:
+ type: string
+ description:
+ type: string
+ documentationURL:
+ type: string
+ licence:
+ type: string
+ ontologyDbId:
+ type: string
+ ontologyName:
+ type: string
+ version:
+ type: string
+ description: The identifier and metadata needed to reference an external controlled
+ vocabulary
+ OntologyReference:
+ required:
+ - ontology
+ type: object
+ properties:
+ ontology:
+ $ref: "#/components/schemas/Ontology"
+ ontologyReferenceDbId:
+ type: string
+ version:
+ type: string
+ description: "MIAPPE V1.1 (DM-85) Variable accession number - Accession number\
+ \ of the variable in the Crop Ontology \nMIAPPE V1.1 (DM-87) Trait accession\
+ \ number - Accession number of the trait in a suitable controlled vocabulary\
+ \ (Crop Ontology, Trait Ontology).\nMIAPPE V1.1 (DM-89) Method accession number\
+ \ - Accession number of the method in a suitable controlled vocabulary (Crop\
+ \ Ontology, Trait Ontology).\nMIAPPE V1.1 (DM-93) Scale accession number -\
+ \ Accession number of the scale in a suitable controlled vocabulary (Crop\
+ \ Ontology)."
+ OntologyTerm:
+ type: object
+ properties:
+ term:
+ type: string
+ termURI:
+ type: string
+ description: A pointer to an ontology used by a genomic reference
+ ParentType:
+ type: string
+ description: "The type of parent used during crossing. Accepted values for this\
+ \ field are 'MALE', 'FEMALE', 'SELF', 'POPULATION', and 'CLONAL'. \\n\\nIn\
+ \ a pedigree record, the 'parentType' describes each parent of a particular\
+ \ germplasm. \\n\\nIn a progeny record, the 'parentType' is used to describe\
+ \ how this germplasm was crossed to generate a particular progeny. \\nFor\
+ \ example, given a record for germplasm A, having a progeny B and C. The 'parentType'\
+ \ field for progeny B item refers \\nto the 'parentType' of A toward B. The\
+ \ 'parentType' field for progeny C item refers to the 'parentType' of A toward\
+ \ C.\\nIn this way, A could be a male parent to B, but a female parent to\
+ \ C. "
+ enum:
+ - MALE
+ - FEMALE
+ - SELF
+ - POPULATION
+ - CLONAL
+ PositionCoordinateType:
+ type: string
+ description: "The type of positional coordinate. Must be one of the following\
+ \ values \n\nLONGITUDE - ISO 6709 standard, WGS84 geodetic datum. See 'Location\
+ \ Coordinate Encoding' for details \n\nLATITUDE - ISO 6709 standard, WGS84\
+ \ geodetic datum. See 'Location Coordinate Encoding' for details \n\nPLANTED_ROW\
+ \ - The physical planted row number \n\nPLANTED_INDIVIDUAL - The physical\
+ \ counted number, could be independent or within a planted row \n\nGRID_ROW\
+ \ - The row index number of a square grid overlay \n\nGRID_COL - The column\
+ \ index number of a square grid overlay \n\nMEASURED_ROW - The distance in\
+ \ meters from a defined 0-th row \n\nMEASURED_COL - The distance in meters\
+ \ from a defined 0-th column "
+ enum:
+ - LONGITUDE
+ - LATITUDE
+ - PLANTED_ROW
+ - PLANTED_INDIVIDUAL
+ - GRID_ROW
+ - GRID_COL
+ - MEASURED_ROW
+ - MEASURED_COL
+ Scale:
+ required:
+ - scaleDbId
+ - scaleName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ dataType:
+ type: string
+ description: |-
+ Class of the scale, entries can be
+ "Code" - This scale class is exceptionally used to express complex traits. Code is a nominal scale that combines the expressions of the different traits composing the complex trait. For example a severity trait might be expressed by a 2 digit and 2 character code. The first 2 digits are the percentage of the plant covered by a fungus and the 2 characters refer to the delay in development, e.g. "75VD" means "75 %" of the plant is infected and the plant is very delayed.
+ "Date" - The date class is for events expressed in a time format, See ISO 8601
+ "Duration" - The Duration class is for time elapsed between two events expressed in a time format, e.g. days, hours, months
+ "Nominal" - Categorical scale that can take one of a limited and fixed number of categories. There is no intrinsic ordering to the categories
+ "Numerical" - Numerical scales express the trait with real numbers. The numerical scale defines the unit e.g. centimeter, ton per hectare, branches
+ "Ordinal" - Ordinal scales are scales composed of ordered categories
+ "Text" - A free text is used to express the trait.
+ enum:
+ - Code
+ - Date
+ - Duration
+ - Nominal
+ - Numerical
+ - Ordinal
+ - Text
+ decimalPlaces:
+ type: integer
+ format: int32
+ ontologyReferenceDbId:
+ type: string
+ scaleName:
+ type: string
+ scalePUI:
+ type: string
+ units:
+ type: string
+ validValues:
+ $ref: "#/components/schemas/ValidValues"
+ description: "A Scale describes the units and acceptable values for an ObservationVariable.\
+ \ \n
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\"."
+ ScaleNewRequest:
+ required:
+ - scaleDbId
+ - scaleDbId
+ - scaleName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ dataType:
+ type: string
+ description: |-
+ Class of the scale, entries can be
+ "Code" - This scale class is exceptionally used to express complex traits. Code is a nominal scale that combines the expressions of the different traits composing the complex trait. For example a severity trait might be expressed by a 2 digit and 2 character code. The first 2 digits are the percentage of the plant covered by a fungus and the 2 characters refer to the delay in development, e.g. "75VD" means "75 %" of the plant is infected and the plant is very delayed.
+ "Date" - The date class is for events expressed in a time format, See ISO 8601
+ "Duration" - The Duration class is for time elapsed between two events expressed in a time format, e.g. days, hours, months
+ "Nominal" - Categorical scale that can take one of a limited and fixed number of categories. There is no intrinsic ordering to the categories
+ "Numerical" - Numerical scales express the trait with real numbers. The numerical scale defines the unit e.g. centimeter, ton per hectare, branches
+ "Ordinal" - Ordinal scales are scales composed of ordered categories
+ "Text" - A free text is used to express the trait.
+ enum:
+ - Code
+ - Date
+ - Duration
+ - Nominal
+ - Numerical
+ - Ordinal
+ - Text
+ decimalPlaces:
+ type: integer
+ format: int32
+ ontologyReferenceDbId:
+ type: string
+ scaleDbId:
+ type: string
+ scaleName:
+ type: string
+ scalePUI:
+ type: string
+ units:
+ type: string
+ validValues:
+ $ref: "#/components/schemas/ValidValues"
+ description: "A Scale describes the units and acceptable values for an ObservationVariable.\
+ \ \n
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\"."
+ Trait:
+ required:
+ - traitDbId
+ - traitName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ attribute:
+ type: string
+ attributePUI:
+ type: string
+ entity:
+ type: string
+ entityPUI:
+ type: string
+ mainAbbreviation:
+ type: string
+ ontologyReferenceDbId:
+ type: string
+ status:
+ type: string
+ traitClass:
+ type: string
+ traitDescription:
+ type: string
+ traitName:
+ type: string
+ traitPUI:
+ type: string
+ description: "A Trait describes what property is being observed. \n
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\"\
+ . "
+ TraitDataType:
+ type: string
+ description: |-
+ Class of the scale, entries can be
+ "Code" - This scale class is exceptionally used to express complex traits. Code is a nominal scale that combines the expressions of the different traits composing the complex trait. For example a severity trait might be expressed by a 2 digit and 2 character code. The first 2 digits are the percentage of the plant covered by a fungus and the 2 characters refer to the delay in development, e.g. "75VD" means "75 %" of the plant is infected and the plant is very delayed.
+ "Date" - The date class is for events expressed in a time format, See ISO 8601
+ "Duration" - The Duration class is for time elapsed between two events expressed in a time format, e.g. days, hours, months
+ "Nominal" - Categorical scale that can take one of a limited and fixed number of categories. There is no intrinsic ordering to the categories
+ "Numerical" - Numerical scales express the trait with real numbers. The numerical scale defines the unit e.g. centimeter, ton per hectare, branches
+ "Ordinal" - Ordinal scales are scales composed of ordered categories
+ "Text" - A free text is used to express the trait.
+ enum:
+ - Code
+ - Date
+ - Duration
+ - Nominal
+ - Numerical
+ - Ordinal
+ - Text
+ TraitNewRequest:
+ required:
+ - traitDbId
+ - traitName
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ attribute:
+ type: string
+ attributePUI:
+ type: string
+ entity:
+ type: string
+ entityPUI:
+ type: string
+ mainAbbreviation:
+ type: string
+ ontologyReferenceDbId:
+ type: string
+ status:
+ type: string
+ traitClass:
+ type: string
+ traitDbId:
+ type: string
+ traitDescription:
+ type: string
+ traitName:
+ type: string
+ traitPUI:
+ type: string
+ description: "A Trait describes what property is being observed. \n
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\"\
+ . "
+ ValidValues:
+ type: object
+ properties:
+ maximumValue:
+ type: string
+ minimumValue:
+ type: string
+ scaleDbId:
+ type: string
+ scaleName:
+ type: string
+ scalePUI:
+ type: string
+ description: Metadata describing the acceptable values for this Scale
+ ValidValuesCategory:
+ type: object
+ properties:
+ label:
+ type: string
+ validValues:
+ $ref: "#/components/schemas/ValidValues"
+ value:
+ type: string
+ description: "If the Scale is a categorical type, these objects define the valid\
+ \ options"
+ Variable:
+ required:
+ - method
+ - scale
+ - trait
+ type: object
+ properties:
+ additionalInfo:
+ $ref: "#/components/schemas/AdditionalInfo"
+ commonCropName:
+ type: string
+ contextOfUse:
+ type: array
+ items:
+ type: string
+ defaultValue:
+ type: string
+ documentationURL:
+ type: string
+ growthStage:
+ type: string
+ institution:
+ type: string
+ language:
+ type: string
+ method:
+ $ref: "#/components/schemas/Method"
+ ontologyReference:
+ $ref: "#/components/schemas/OntologyReference"
+ scale:
+ $ref: "#/components/schemas/Scale"
+ scientist:
+ type: string
+ status:
+ type: string
+ submissionTimestamp:
+ type: string
+ synonyms:
+ type: array
+ items:
+ type: string
+ trait:
+ $ref: "#/components/schemas/Trait"
+ description: "A unique combination of Trait, Method, and Scale to define a clear\
+ \ context for an Observation."
+ basePagination:
+ required:
+ - currentPage
+ - pageSize
+ type: object
+ properties:
+ currentPage:
+ type: integer
+ description: The index number for the returned page of data. This should
+ always match the requested page number or the default page (0).
+ example: 0
+ default: 0
+ pageSize:
+ type: integer
+ description: "The number of data elements returned, aka the size of the\
+ \ current page. If the requested page does not have enough elements to\
+ \ fill a page at the requested page size, this field should indicate the\
+ \ actual number of elements returned."
+ example: 1000
+ default: 1000
+ totalCount:
+ type: integer
+ description: The total number of elements that are available on the server
+ and match the requested query parameters.
+ example: 10
+ totalPages:
+ type: integer
+ description: "The total number of pages of elements available on the server.\
+ \ This should be calculated with the following formula. \n
totalPages\
+ \ = CEILING( totalCount / requested_page_size)"
+ example: 1
+ description: "The pagination object is applicable only when the payload contains\
+ \ a \"data\" key. It describes the pagination of the data contained in the\
+ \ \"data\" array, as a way to identify which subset of data is being returned.\
+ \ \n
Pages are zero indexed, so the first page will be page 0 (zero)."
+ dataFile:
+ required:
+ - fileURL
+ type: object
+ properties:
+ fileURL:
+ type: string
+ description: The absolute URL where the file is located
+ format: uri
+ example: https://wiki.brapi.org/examples/datafile.xlsx
+ fileName:
+ type: string
+ description: The name of the file
+ example: datafile.xlsx
+ fileSize:
+ type: integer
+ description: The size of the file in bytes
+ example: 4398
+ fileDescription:
+ type: string
+ description: A human readable description of the file contents
+ example: This is an Excel data file
+ fileType:
+ type: string
+ description: The type or format of the file. Preferably MIME Type.
+ example: application/vnd.ms-excel
+ fileMD5Hash:
+ type: string
+ description: The MD5 Hash of the file contents to be used as a check sum
+ example: c2365e900c81a89cf74d83dab60df146
+ description: A dataFile contains a URL and the relevant file metadata to represent
+ a file
+ metadata:
+ allOf:
+ - $ref: "#/components/schemas/metadataBase"
+ - type: object
+ properties:
+ pagination:
+ $ref: "#/components/schemas/basePagination"
+ metadataBase:
+ type: object
+ properties:
+ datafiles:
+ type: array
+ description: "The datafiles contains a list of file URLs and metadata. \n\
+ These files contain additional information related to the returned object\
+ \ and can be retrieved by a subsequent call. \nThis could be a supplementary\
+ \ data file, an informational file, the uploaded file where the data originated\
+ \ from, a generated file representing the whole dataset in a particular\
+ \ format, or any other related file. "
+ example: []
+ items:
+ $ref: "#/components/schemas/dataFile"
+ status:
+ type: array
+ description: "The status field contains a list of informational status messages\
+ \ from the server. \nIf no status is reported, an empty list should be\
+ \ returned. See Error Reporting for more information."
+ items:
+ $ref: "#/components/schemas/status"
+ description: "An object in the BrAPI standard response model that describes\
+ \ some information about the service call being performed. This includes supplementary\
+ \ data, status log messages, and pagination information."
+ metadataTokenPagination:
+ allOf:
+ - $ref: "#/components/schemas/metadataBase"
+ - type: object
+ properties:
+ pagination:
+ $ref: "#/components/schemas/tokenPagination"
+ status:
+ required:
+ - message
+ - messageType
+ type: object
+ properties:
+ message:
+ type: string
+ description: A short message concerning the status of this request/response
+ example: "Request accepted, response successful"
+ messageType:
+ type: string
+ description: The logging level for the attached message
+ example: INFO
+ enum:
+ - DEBUG
+ - ERROR
+ - WARNING
+ - INFO
+ description: An array of status messages to convey technical logging information
+ from the server to the client.
+ tokenPagination:
+ allOf:
+ - $ref: "#/components/schemas/basePagination"
+ - required:
+ - nextPageToken
+ type: object
+ properties:
+ nextPageToken:
+ type: string
+ description: "**Deprecated in v2.1** Please use `page`. Github issue number\
+ \ #451 \n
The string token used to query the next page of data."
+ example: cb668f63
+ deprecated: true
+ currentPageToken:
+ type: string
+ description: "**Deprecated in v2.1** Please use `page`. Github issue number\
+ \ #451 \n
The string token used to query the current page of data."
+ example: 48bc6ac1
+ deprecated: true
+ prevPageToken:
+ type: string
+ description: "**Deprecated in v2.1** Please use `page`. Github issue number\
+ \ #451 \n
The string token used to query the previous page of data."
+ example: 9659857e
+ deprecated: true
+ description: "**Deprecated in v2.1** Please use `page`. Github issue number\
+ \ #451 \n
The pagination object is applicable only when the payload contains\
+ \ a \"data\" key. It describes the pagination of the data contained in the\
+ \ \"data\" array, as a way to identify which subset of data is being returned.\
+ \ \n
Tokenized pages are for large data sets which can not be efficiently\
+ \ broken into indexed pages. Use the nextPageToken and prevPageToken to\
+ \ construct an additional query and move to the next or previous page respectively.\
+ \ "
+ example:
+ currentPage: 0
+ pageSize: 1000
+ totalCount: 10
+ totalPages: 1
+ responses:
+ ObservationVariableSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ObservationVariableSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/ObservationVariable"
+ SeedLotSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: SeedLotSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/SeedLot"
+ VariantSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: VariantSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Variant"
+ "202AcceptedSearchResponse":
+ description: Accepted
+ content:
+ application/json:
+ schema:
+ title: 202AcceptedSearchResponse
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ type: object
+ properties:
+ searchResultsDbId:
+ type: string
+ example: 551ae08c
+ StudySingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: StudySingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Study"
+ MarkerPositionListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: MarkerPositionListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/MarkerPosition"
+ TrialListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: TrialListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Trial"
+ MethodSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: MethodSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Method"
+ SeedLotListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: SeedLotListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/SeedLot"
+ VariantSetListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: VariantSetListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/VariantSet"
+ SampleSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: SampleSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Sample"
+ CallSetListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: CallSetListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/CallSet"
+ CallSetSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: CallSetSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/CallSet"
+ VariantSetSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: VariantSetSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/VariantSet"
+ ReferenceSetSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ReferenceSetSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/ReferenceSet"
+ ObservationVariableListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ObservationVariableListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/ObservationVariable"
+ CrossListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: CrossListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Cross"
+ ImageSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ImageSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Image"
+ PlateListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: PlateListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Plate"
+ SeasonListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: SeasonListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Season"
+ ObservationUnitListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ObservationUnitListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/ObservationUnit"
+ ReferenceListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ReferenceListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Reference"
+ ObservationListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ObservationListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Observation"
+ AlleleMatrixListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: AlleleMatrixListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/AlleleMatrix"
+ GenomeMapSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: GenomeMapSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/GenomeMap"
+ PersonListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: PersonListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Person"
+ PlannedCrossListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: PlannedCrossListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/PlannedCross"
+ LocationListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: LocationListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Location"
+ "403Forbidden":
+ description: Forbidden
+ content:
+ application/json:
+ schema:
+ type: string
+ example: ERROR - 2018-10-08T18:15:11Z - User does not have permission to
+ perform this action
+ OntologySingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: OntologySingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Ontology"
+ ProgramListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ProgramListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Program"
+ ObservationUnitSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ObservationUnitSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/ObservationUnit"
+ ScaleListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ScaleListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Scale"
+ ListListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ListListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/List"
+ "400BadRequest":
+ description: Bad Request
+ content:
+ application/json:
+ schema:
+ type: string
+ example: |-
+ ERROR - 2018-10-08T18:15:11Z - Malformed JSON Request Object
+
+ ERROR - 2018-10-08T18:15:11Z - Invalid query parameter
+
+ ERROR - 2018-10-08T18:15:11Z - Required parameter is missing
+ MethodListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: MethodListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Method"
+ CrossingProjectListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: CrossingProjectListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/CrossingProject"
+ GermplasmAttributeSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: GermplasmAttributeSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/GermplasmAttribute"
+ TraitSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: TraitSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Trait"
+ "401Unauthorized":
+ description: Unauthorized
+ content:
+ application/json:
+ schema:
+ type: string
+ example: ERROR - 2018-10-08T18:15:11Z - Missing or expired authorization
+ token
+ GermplasmAttributeListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: GermplasmAttributeListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/GermplasmAttribute"
+ GermplasmListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: GermplasmListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Germplasm"
+ CrossingProjectSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: CrossingProjectSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/CrossingProject"
+ EventListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: EventListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Event"
+ TraitListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: TraitListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Trait"
+ SampleListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: SampleListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Sample"
+ ReferenceSetListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ReferenceSetListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/ReferenceSet"
+ TrialSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: TrialSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Trial"
+ GermplasmSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: GermplasmSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Germplasm"
+ SeasonSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: SeasonSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Season"
+ ReferenceSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ReferenceSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Reference"
+ OntologyListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: OntologyListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Ontology"
+ "404NotFound":
+ description: Not Found
+ content:
+ application/json:
+ schema:
+ type: string
+ example: ERROR - 2018-10-08T18:15:11Z - The requested object DbId is not
+ found
+ StudyListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: StudyListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Study"
+ ScaleSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ScaleSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Scale"
+ BreedingMethodSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: BreedingMethodSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/BreedingMethod"
+ CallListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: CallListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Call"
+ LocationSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: LocationSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Location"
+ PersonSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: PersonSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Person"
+ ImageListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ImageListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Image"
+ VariantListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: VariantListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/Variant"
+ PlateSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: PlateSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Plate"
+ GermplasmAttributeValueListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: GermplasmAttributeValueListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/GermplasmAttributeValue"
+ BreedingMethodListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: BreedingMethodListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/BreedingMethod"
+ GermplasmAttributeValueSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: GermplasmAttributeValueSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/GermplasmAttributeValue"
+ GenomeMapListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: GenomeMapListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/GenomeMap"
+ PedigreeNodeListResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: PedigreeNodeListResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ required:
+ - data
+ type: object
+ properties:
+ data:
+ type: array
+ items:
+ $ref: "#/components/schemas/PedigreeNode"
+ ObservationSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ObservationSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Observation"
+ ListSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ListSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/List"
+ ProgramSingleResponse:
+ description: OK
+ content:
+ application/json:
+ schema:
+ title: ProgramSingleResponse
+ required:
+ - metadata
+ - result
+ type: object
+ properties:
+ '@context':
+ $ref: "#/components/schemas/Context"
+ metadata:
+ $ref: "#/components/schemas/metadata"
+ result:
+ $ref: "#/components/schemas/Program"
+ parameters:
+ externalReferenceID:
+ name: externalReferenceID
+ in: query
+ description: "**Deprecated in v2.1** Please use `externalReferenceId`. Github\
+ \ issue number #460 \n
An external reference ID. Could be a simple string\
+ \ or a URI. (use with `externalReferenceSource` parameter)"
+ required: false
+ deprecated: true
+ style: form
+ explode: true
+ schema:
+ type: string
+ externalReferenceId:
+ name: externalReferenceId
+ in: query
+ description: An external reference ID. Could be a simple string or a URI. (use
+ with `externalReferenceSource` parameter)
+ required: false
+ style: form
+ explode: true
+ schema:
+ type: string
+ externalReferenceSource:
+ name: externalReferenceSource
+ in: query
+ description: An identifier for the source system or database of an external
+ reference (use with `externalReferenceId` parameter)
+ required: false
+ style: form
+ explode: true
+ schema:
+ type: string
+ acceptHeader:
+ name: Accept
+ in: header
+ description: "A standard HTTP request header that is used to request a specific\
+ \ content type (JSON, CSV, etc) which is \"acceptable\" to the client and\
+ \ should be returned by the server"
+ required: true
+ style: simple
+ explode: false
+ schema:
+ $ref: "#/components/schemas/ContentTypes"
+ example: application/json
+ searchResultsDbId:
+ name: searchResultsDbId
+ in: path
+ description: Unique identifier which references the search results
+ required: true
+ style: simple
+ explode: false
+ schema:
+ type: string
+ pageSize:
+ name: pageSize
+ in: query
+ description: The size of the pages to be returned. Default is `1000`.
+ required: false
+ style: form
+ explode: true
+ schema:
+ type: integer
+ example: 1000
+ page:
+ name: page
+ in: query
+ description: |-
+ Used to request a specific page of data to be returned.
+
+ The page indexing starts at 0 (the first page is 'page'= 0). Default is `0`.
+ required: false
+ style: form
+ explode: true
+ schema:
+ type: integer
+ example: "0"
+ pageToken:
+ name: pageToken
+ in: query
+ description: "**Deprecated in v2.1** Please use `page`. Github issue number\
+ \ #451 \n
Used to request a specific page of data to be returned.\n
\
+ \ Tokenized pages are for large data sets which can not be efficiently broken\
+ \ into indexed pages. Use the nextPageToken and prevPageToken from a prior\
+ \ response to construct a query and move to the next or previous page respectively. "
+ required: false
+ deprecated: true
+ style: form
+ explode: true
+ schema:
+ type: string
+ example: 33c27874
+ authorizationHeader:
+ name: Authorization
+ in: header
+ description: "HTTP HEADER - Token used for Authorization \n\n Bearer\
+ \ {token_string} "
+ required: false
+ style: simple
+ explode: false
+ schema:
+ pattern: ^Bearer .*$
+ type: string
+ example: Bearer XXXX
+ securitySchemes:
+ AuthorizationToken:
+ type: http
+ description: OAuth Bearer Token - A valid Bearer token to prove authorization
+ scheme: bearer
+ bearerFormat: nonce token or JWT
diff --git a/Specification/Generated/README.md b/Specification/Generated/README.md
index a02590a3..88f3155d 100644
--- a/Specification/Generated/README.md
+++ b/Specification/Generated/README.md
@@ -1,6 +1,32 @@
# Generated
-The files in this directory are automatically generated by the [Schema Tools](../../generator/README.md) using
+The files in this directory are automatically generated by the [Schema Tools](https://github.com/plantbreeding/brapi-schema-tools) using
a github [action](../../.github/workflows/generate-schema.yml).
+## Open API
+
+The generated OpenAPI YAML files by module are
+* [BrAPI-Core.yaml](BrAPI-Core.yaml)
+* [BrAPI-Genotyping.yaml](BrAPI-Genotyping.yaml)
+* [BrAPI-Germplasm.yaml](BrAPI-Germplasm.yaml)
+* [BrAPI-Phenotyping.yaml](BrAPI-Phenotyping.yaml)
+
+The generated single JSON file from the [JSON Schema](../BrAPI-Schema) is
+* [brapi_generated.json](brapi_generated.json)
+
+The compiled single JSON file from the [YML specification files](../) is
+* [brapi_generated.json](brapi_generated.json)
+
+The comparison between the generated and compiled JSON file can be found here
+* [brapi_openapi_comparison.md](brapi_openapi_comparison.md)
+
+## GraphQL
+
+The generated GraphQL file from the [JSON Schema](../BrAPI-Schema) is
+* [brapi_generated.graphqls](brapi_generated.graphqls)
+
+## OWL Turtle
+
+The generated OWL Turtle from the [JSON Schema](../BrAPI-Schema) is
+* [brapi_generated.ttl](brapi_generated.ttl)
diff --git a/Specification/Generated/brapi_generated.graphqls b/Specification/Generated/brapi_generated.graphqls
index 4cfd68aa..2886e710 100644
--- a/Specification/Generated/brapi_generated.graphqls
+++ b/Specification/Generated/brapi_generated.graphqls
@@ -118,6 +118,7 @@ interface ObservationUnitHierarchyLevel {
levelOrder: Int
}
+"A unique combination of Trait, Method, and Scale to define a clear context for an Observation."
interface Variable {
"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."
additionalInfo: AdditionalInfo
@@ -178,9 +179,11 @@ union GeoJSONGeometry = GeoJSONPoint | GeoJSONPolygon
"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."
type AdditionalInfo {
+ "A free space containing any additional information related to a particular object."
additionalProperties: String
}
+"The AlleleMatrix object is used to describe a matrix of genotyping results. This 2d array of data reduces the overall size of the response for larger datasets, when compared to the Calls endpoints. This makes genotype data retrieval faster and easier."
type AlleleMatrix {
"A list of unique identifiers for the CallSets contained in the matrix response. This array should match the ordering for columns in the matrix. A CallSet is a unique combination of a Sample and a sequencing event. CallSets often have a 1-to-1 relationship with Samples, but this is not always the case."
callSets(callSetsInput: CallSetsInput, paging: PageInput): CallSetListResponse
@@ -207,6 +210,7 @@ type AlleleMatrixListResponse {
page: PageInfo
}
+"An analysis contains an interpretation of one or several experiments. (e.g. SNVs, copy number variations, methylation status) together with information about the methodology used."
type Analysis {
"Unique identifier for this analysis description"
analysisDbId: String
@@ -226,6 +230,7 @@ type Analysis {
variantSet: VariantSet
}
+"Each 'availableFormat' object is a pairing of dataFormat and fileFormat. These must be communicated in pairs because they are not independent parameters and sometimes one influences the other."
type AvailableFormat {
"dataFormat defines the structure of the data within a file (ie DartSeq, VCF, Hapmap, tabular, etc)"
dataFormat: DataFormat
@@ -245,6 +250,7 @@ type AvailableFormat {
variantSet: VariantSet
}
+"The techniques and protocol used to produce a Cross or Germplasm"
type BreedingMethod {
"A shortened version of the human readable name for a Breeding Method"
abbreviation: String
@@ -260,6 +266,11 @@ type BreedingMethodListResponse {
data: [BreedingMethod]
}
+"""
+A `Call` represents the determination of genotype with respect to a particular `Variant`.
+
+It may include associated information such as quality and phasing. For example, a call might assign a probability of 0.32 to the occurrence of a SNP named RS_1234 in a call set with the name NA_12345.
+"""
type Call {
"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."
additionalInfo: AdditionalInfo
@@ -289,6 +300,7 @@ type CallListResponse {
page: PageInfo
}
+"A CallSet is a collection of Calls that were generated by the same analysis of the same Sample"
type CallSet {
"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."
additionalInfo: AdditionalInfo
@@ -327,6 +339,7 @@ type CallsSearchResponse {
searchResultsDbId: String
}
+"A persons contact information"
type Contact {
"""
The ID which uniquely identifies this contact
@@ -366,6 +379,11 @@ type Contact {
type: String
}
+"""
+The mixture of germplasm present in the seed lot.
+
If this seed lot only contains a single germplasm, the response should contain the name and DbId of that germplasm with a mixturePercentage value of 100
+
If the seed lot contains a mixture of different germplasm, the response should contain the name and DbId every germplasm present. The mixturePercentage field should contain the ratio of each germplasm in the total mixture. All of the mixturePercentage values in this array should sum to equal 100.
+"""
type ContentMixture {
"The cross for the germplasm using in this content mixture"
cross: Cross
@@ -377,6 +395,7 @@ type ContentMixture {
seedLot: SeedLot
}
+"The identifiers and metadata represent that specific organisms have mated to produce offspring with particular traits or genes. The offspring of a Cross might be developed into a Germplasm if the desired traits are present."
type Cross {
"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."
additionalInfo: AdditionalInfo
@@ -396,12 +415,13 @@ type Cross {
parent1: CrossParent
"the second parent used in the cross"
parent2: CrossParent
- "the unique identifier for a planned cross"
+ "The Cross that was used in the planning of this one."
plannedCross: PlannedCross
- "The list of pollination events that occurred for this cross"
+ "The list of pollination events that occurred for this cross."
pollinationEvents: [PollinationEvent]
}
+"A custom attribute associated with a cross. For example, if the crossing event occurred on a humid day, a user might record 'crossAttributeName':'Relative Humidity', 'crossAttributeValue':'80%'"
type CrossAttribute {
"a custom attributes associated with a cross"
cross: Cross
@@ -416,6 +436,7 @@ type CrossListResponse {
page: PageInfo
}
+"The identifying information gor the parent material of a cross."
type CrossParent {
"the germplasm of the cross parent"
germplasm: Germplasm
@@ -425,6 +446,7 @@ type CrossParent {
parentType: ParentType
}
+"A project structure where a list of PlannedCrosses is generated, the crossing events occur in the field, and the resulting actual Crosses can documented."
type CrossingProject {
"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."
additionalInfo: AdditionalInfo
@@ -457,6 +479,7 @@ type CrossingProjectsSearchResponse {
searchResultsDbId: String
}
+"A link to extra data files associated with this study. Extra data could include notes, images, and reference data."
type DataLink {
"""
The structure of the data within a file. For example - VCF, table, image archive, multispectral image archives in EDAM ontology (used in Galaxy)
@@ -500,6 +523,7 @@ type DataLink {
version: String
}
+"A two dimensional array that holds allele data or associated metadata. Each matrix should be the same size and orientation, aligned with the \"callSetDbIds\" as columns and the \"variantDbIds\" as rows."
type DataMatrix {
"Data matrices associated with an alleleMatrix"
alleleMatrix: AlleleMatrix
@@ -519,6 +543,7 @@ type DataMatrix {
dataType: DataType
}
+"License and citation information for the data in this trial"
type DatasetAuthorships {
"The DOI or other permanent unique identifier for this published dataset"
datasetPUI: String
@@ -532,13 +557,17 @@ type DatasetAuthorships {
trial: Trial
}
+"Links to various ontology documentation"
type DocumentationLink {
+ "The URL or URI to the documentation"
URL: String
"associated ontology reference"
ontologyReference: OntologyReference
- type: Type
+ "The type of documentation, which can be OBO Foundry, an RDF term or a webpage."
+ type: DocumentationLinkType
}
+"Identifier assigned to an accession by the material donor."
type Donor {
"""
The accession number assigned by the donor
@@ -551,11 +580,16 @@ type Donor {
MCPD (v2.1) (DONORCODE) 22. FAO WIEWS code of the donor institute. Follows INSTCODE standard.
"""
donorInstituteCode: String
- "donoers associated with a germplasm"
+ "donors associated with a germplasm"
germplasm: Germplasm
}
-type EnvironmentParameters {
+"""
+Environmental parameters that were kept constant throughout the study and did not change between observation units.
+
+MIAPPE V1.1 (DM-57) Environment - Environmental parameters that were kept constant throughout the study and did not change between observation units or assays. Environment characteristics that vary over time, i.e. environmental variables, should be recorded as Observed Variables (see below).
+"""
+type EnvironmentParameter {
"Human-readable value of the environment parameter (defined above) constant within the experiment"
description: String
"Human-readable value of the environment parameter (defined above) constant within the experiment"
@@ -584,6 +618,10 @@ type EnvironmentParameters {
valuePUI: String
}
+"""
+An event is discrete occurrence at a particular time in the experiment. Events may be the realization of Treatments or parts of Treatments, or may be confounding to Treatments.
+
ICASA Management Events allow for the following types -> planting, fertilizer, irrigation, tillage, organic_material, harvest, bed_prep, inorg_mulch, inorg_mul_rem, chemicals, mowing, observation, weeding, puddling, flood_level, other
+"""
type Event {
"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."
additionalInfo: AdditionalInfo
@@ -616,6 +654,7 @@ type Event {
study: Study
}
+"An object describing when a particular Event has taken place. An Event can occur at one or more discrete time points (`discreteDates`) or an event can happen continuously over a longer period of time (`startDate`, `endDate`)"
type EventDateRange {
"""
A list of dates when the event occurred
@@ -641,6 +680,7 @@ type EventListResponse {
page: PageInfo
}
+"Additional metadata to describe an event, based on the ICASA standard model. For example, 'Tillage Implement' (tiimp), 'Tillage Depth' (tidep), and 'Tillage Mix Effectiveness' (timix) might all be recorded parameters for a Tillage event."
type EventParameter {
"""
The shortened code name of an event parameter
@@ -677,6 +717,7 @@ type EventsSearchResponse {
searchResultsDbId: String
}
+"The experimental and statistical design full description plus a category PUI taken from crop research ontology or agronomy ontology"
type ExperimentalDesign {
"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."
PUI: String
@@ -693,6 +734,7 @@ type ExternalReference {
referenceSource: String
}
+"The GenomeMap represents the metadata associated with a reference map of a particular species genome. A GenomeMap can either represent a physical map or genetic map."
type GenomeMap {
"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."
additionalInfo: AdditionalInfo
@@ -734,6 +776,7 @@ type GenomeMapsSearchResponse {
searchResultsDbId: String
}
+"Genotype Metadata are additional layers of metadata associated with each genotype."
type GenotypeMetadata {
"Genotype metadata associated with a call"
call: Call
@@ -794,6 +837,7 @@ type GeoJSONPolygon {
type: String
}
+"The conceptual identifiers and metadata describing a genetically unique organism that is noteworthy in some way. Depending on context, a Germplasm might be synonymous with Accession, Line, or Genotype. Note that Germplasm is conceptual data, not necessarily associated to a real physical object, so Seed/Inventory Lots and Observation Units become physical instantiations of a particular Germplasm. Note a Germplasm is unique and noteworthy, so a Cross may or may not create a new Germplasm, since not every Cross is unique or noteworthy."
type Germplasm {
"""
The unique identifier for a material or germplasm within a genebank
@@ -871,7 +915,7 @@ type Germplasm {
genus: String
"""
The ID which uniquely identifies a germplasm within the given database server
-
MIAPPE V1.1 (DM-41) Biological material ID - Code used to identify the biological material in the data file. Should be unique within the Investigation. Can correspond to experimental plant ID, seed lot ID, etc. This material identification is different from a BiosampleID which corresponds to Observation Unit or Samples sections below.
+
MIAPPE V1.1 (DM-41) Biological material ID - Code used to identify the biological material in the data file. Should be unique within the Investigation. Can correspond to experimental plant ID, inventory lot ID, etc. This material identification is different from a BiosampleID which corresponds to Observation Unit or Samples sections below.
"""
germplasmDbId: String
"""
@@ -885,7 +929,7 @@ type Germplasm {
"""
The Permanent Unique Identifier which represents a germplasm
- MIAPPE V1.1 (DM-41) Biological material ID - Code used to identify the biological material in the data file. Should be unique within the Investigation. Can correspond to experimental plant ID, seed lot ID, etc This material identification is different from a BiosampleID which corresponds to Observation Unit or Samples sections below.
+ MIAPPE V1.1 (DM-41) Biological material ID - Code used to identify the biological material in the data file. Should be unique within the Investigation. Can correspond to experimental plant ID, inventory lot ID, etc This material identification is different from a BiosampleID which corresponds to Observation Unit or Samples sections below.
MIAPPE V1.1 (DM-51) Material source DOI - Digital Object Identifier (DOI) of the material source
@@ -963,6 +1007,7 @@ type Germplasm {
taxonIds: [TaxonId]
}
+"The Trait-Method-Scale definition for a variable, specifically variables related to Germplasm. Similar to an ObservationVariable, but related to a Germplasm instead of an ObservationUnit"
type GermplasmAttribute {
"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."
additionalInfo: AdditionalInfo
@@ -1036,6 +1081,7 @@ type GermplasmAttributeListResponse {
page: PageInfo
}
+"The value recorded for a particular Trait/Attribute and a particular Germplasm. Similar to an Observation value, but more concrete, applying to the whole Germplasm instead of a single ObservationUnit."
type GermplasmAttributeValue {
"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."
additionalInfo: AdditionalInfo
@@ -1068,6 +1114,7 @@ type GermplasmAttributesSearchResponse {
searchResultsDbId: String
}
+"A germplasm reference that is a direct child of this germplasm. These represent edges in the tree, connecting to other nodes."
type GermplasmChild {
"The child germplasm"
childGermplasm: Germplasm
@@ -1091,6 +1138,7 @@ type GermplasmListResponse {
page: PageInfo
}
+"Information for material (orchard, natural sites, ...). Geographic identification of the plants from which seeds or cutting have been taken to produce that germplasm."
type GermplasmOrigin {
"Uncertainty associated with the coordinates in meters. Leave the value empty if the uncertainty is unknown."
coordinateUncertainty: String
@@ -1107,6 +1155,7 @@ type GermplasmOrigin {
germplasm: Germplasm
}
+"A germplasm reference that is a direct parent of this germplasm. These represent edges in the tree, connecting to other nodes."
type GermplasmParent {
"The parent germplasm"
parentGermplasm: Germplasm
@@ -1130,6 +1179,7 @@ type GermplasmSearchResponse {
searchResultsDbId: String
}
+"Short description of the facility in which the study was carried out."
type GrowthFacility {
"MIAPPE V1.1 (DM-27) Type of growth facility - Type of growth facility in which the study was carried out, in the form of an accession number from the Crop Ontology."
PUI: String
@@ -1139,6 +1189,7 @@ type GrowthFacility {
study: Study
}
+"The metadata for an image file that is connected to some phenotypic observation data."
type Image {
"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."
additionalInfo: AdditionalInfo
@@ -1193,15 +1244,19 @@ type ImagesSearchResponse {
searchResultsDbId: String
}
+"The date and time when this study was last modified"
type LastUpdate {
"The date and time when this study was last modified"
lastUpdateDbId: String
"Last update associated with a study"
study: Study
+ "The timestamp of the update."
timestamp: String
+ "The version of the update."
version: String
}
+"A List represents a collection of other BrAPI data objects. Typically these are custom lists generated by a user to keep track of interesting data. For example, a user might build a List of Germplasm that they have manually marked for further study."
type List {
"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."
additionalInfo: AdditionalInfo
@@ -1241,6 +1296,7 @@ type ListsSearchResponse {
searchResultsDbId: String
}
+"A geographic Location on earth. This is usually used to describe the general area where an experiment took place. For example, a natural site, an experimental field, a greenhouse, a phenotyping facility, etc."
type Location {
"A shortened version of the human readable name for a Location"
abbreviation: String
@@ -1321,6 +1377,7 @@ type LocationsSearchResponse {
searchResultsDbId: String
}
+"A MarkerPosition describes a particular genetic marker at a specific position on a GenomeMap. A collection of MarkerPositions make up the data to represent a full GenomeMap."
type MarkerPosition {
"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."
additionalInfo: AdditionalInfo
@@ -1350,6 +1407,10 @@ type MarkerPositionsSearchResponse {
searchResultsDbId: String
}
+"""
+Indicates which types of genotyping data and metadata are available in the VariantSet.
+
When possible, these field names and abbreviations should follow the VCF standard
+"""
type MetadataField {
"The type of field represented in this Genotype Field. This is intended to help parse the data out of JSON."
dataType: DataType
@@ -1361,6 +1422,10 @@ type MetadataField {
variantSet: VariantSet
}
+"""
+A description of the way an Observation should be collected.
+
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".
+"""
type Method {
"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."
additionalInfo: AdditionalInfo
@@ -1515,6 +1580,7 @@ type Mutation {
updateVariantSet(variantSetInput: VariantSetInput): VariantSet
}
+"A value assigned for a specific ObservationVariable when observing a specific ObservationUnit."
type Observation {
"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."
additionalInfo: AdditionalInfo
@@ -1541,6 +1607,7 @@ type Observation {
observationUnit: ObservationUnit
"The ID which uniquely identifies an observation variable"
observationVariable: ObservationVariable
+ "The season for this Observation"
season: Season
"The ID which uniquely identifies a study within the given database server"
study: Study
@@ -1555,6 +1622,25 @@ type ObservationListResponse {
page: PageInfo
}
+"A Treatment applied an Observation Unit at a given Modality/Level for a specific Factor."
+type ObservationTreatment {
+ """
+ The type of treatment/factor. ex. 'fertilizer', 'inoculation', 'irrigation', etc
+
+ MIAPPE V1.1 (DM-61) Experimental Factor type - Name/Acronym of the experimental factor.
+ """
+ factor: String
+ """
+ The treatment/factor description. ex. 'low fertilizer', 'yellow rust inoculation', 'high water', etc
+
+ 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.
+ """
+ modality: String
+ "associated observation Unit"
+ observationUnit: ObservationUnit
+}
+
+"A representation of the physical entity being observed during a phenotype data collection process. Typically, this is a Plot or a Plant, but it could include things like Fields, Blocks, or Samples."
type ObservationUnit {
"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."
additionalInfo: AdditionalInfo
@@ -1599,7 +1685,7 @@ type ObservationUnit {
MIAPPE V1.1 (DM-74) Observation Unit factor value - List of values for each factor applied to the observation unit.
"""
- treatments: [Treatment]
+ treatments: [ObservationTreatment]
"The ID which uniquely identifies a trial"
trial: Trial
}
@@ -1683,6 +1769,7 @@ type ObservationUnitListResponse {
page: PageInfo
}
+"All positional and layout information related to this Observation Unit"
type ObservationUnitPosition {
"The type of entry for this observation unit. ex. \"CHECK\", \"TEST\", \"FILLER\""
entryType: EntryType
@@ -1721,48 +1808,12 @@ type ObservationUnitPosition {
observationUnit: ObservationUnit
"The X position coordinate for an observation unit. Different systems may use different coordinate systems."
positionCoordinateX: String
- """
- The type of positional coordinate used. Must be one of the following values
-
- LONGITUDE - ISO 6709 standard, WGS84 geodetic datum. See 'Location Coordinate Encoding' for details
-
- LATITUDE - ISO 6709 standard, WGS84 geodetic datum. See 'Location Coordinate Encoding' for details
-
- PLANTED_ROW - The physical planted row number
-
- PLANTED_INDIVIDUAL - The physical counted number, could be independent or within a planted row
-
- GRID_ROW - The row index number of a square grid overlay
-
- GRID_COL - The column index number of a square grid overlay
-
- MEASURED_ROW - The distance in meters from a defined 0-th row
-
- MEASURED_COL - The distance in meters from a defined 0-th column
- """
- positionCoordinateXType: PositionCoordinateXType
+ "The type of positional coordinate used for the X coordinate of the position."
+ positionCoordinateXType: PositionCoordinateType
"The Y position coordinate for an observation unit. Different systems may use different coordinate systems."
positionCoordinateY: String
- """
- The type of positional coordinate used. Must be one of the following values
-
- LONGITUDE - ISO 6709 standard, WGS84 geodetic datum. See 'Location Coordinate Encoding' for details
-
- LATITUDE - ISO 6709 standard, WGS84 geodetic datum. See 'Location Coordinate Encoding' for details
-
- PLANTED_ROW - The physical planted row number
-
- PLANTED_INDIVIDUAL - The physical counted number, could be independent or within a planted row
-
- GRID_ROW - The row index number of a square grid overlay
-
- GRID_COL - The column index number of a square grid overlay
-
- MEASURED_ROW - The distance in meters from a defined 0-th row
-
- MEASURED_COL - The distance in meters from a defined 0-th column
- """
- positionCoordinateYType: PositionCoordinateYType
+ "The type of positional coordinate used for the Y coordinate of the position."
+ positionCoordinateYType: PositionCoordinateType
}
type ObservationUnitsSearchResponse {
@@ -1855,6 +1906,7 @@ type ObservationsSearchResponse {
searchResultsDbId: String
}
+"The identifier and metadata needed to reference an external controlled vocabulary"
type Ontology {
"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."
additionalInfo: AdditionalInfo
@@ -1881,6 +1933,12 @@ type OntologyListResponse {
page: PageInfo
}
+"""
+MIAPPE V1.1 (DM-85) Variable accession number - Accession number of the variable in the Crop Ontology
+MIAPPE V1.1 (DM-87) Trait accession number - Accession number of the trait in a suitable controlled vocabulary (Crop Ontology, Trait Ontology).
+MIAPPE V1.1 (DM-89) Method accession number - Accession number of the method in a suitable controlled vocabulary (Crop Ontology, Trait Ontology).
+MIAPPE V1.1 (DM-93) Scale accession number - Accession number of the scale in a suitable controlled vocabulary (Crop Ontology).
+"""
type OntologyReference {
"links to various ontology documentation"
documentationLinks: [DocumentationLink]
@@ -1892,6 +1950,7 @@ type OntologyReference {
version: String
}
+"A pointer to an ontology used by a genomic reference"
type OntologyTerm {
"Ontology term - the label of the ontology term the termId is pointing to."
term: String
@@ -1906,6 +1965,7 @@ type PageInfo {
totalPages: Int
}
+"Pagination info for the matrix"
type Pagination {
"Pagination associated with an alleleMatrix"
alleleMatrix: AlleleMatrix
@@ -1924,6 +1984,7 @@ type Pagination {
totalPages: Int
}
+"A representation of a particular Germplasm within a pedigree tree, and all the links to its parents, siblings, and children. From a list of PedigreeNode objects, a client application should have all the information it needs to draw a pedigree tree visualization, or calculate genetic distances."
type PedigreeNode {
"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."
additionalInfo: AdditionalInfo
@@ -1981,6 +2042,7 @@ type PeopleSearchResponse {
searchResultsDbId: String
}
+"A generic object used to maintain the metadata needed to describe a human. The Person might be a software user, a field technician, or a primary contact for a Program."
type Person {
"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."
additionalInfo: AdditionalInfo
@@ -2011,6 +2073,7 @@ type PersonListResponse {
page: PageInfo
}
+"Information regarding the intention to mate specific organisms together to produce offspring with desired traits. A PlannedCross becomes an actual Cross when the desired mating event actually occurs in the field."
type PlannedCross {
"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."
additionalInfo: AdditionalInfo
@@ -2042,6 +2105,7 @@ type PlannedCrossesSearchResponse {
searchResultsDbId: String
}
+"A Plate represents the metadata for a collection of Samples. The physical Plate being represented might be a plastic tray full of Samples, or a group of Samples stored in individual containers ie bags, test tubes, etc. Whatever the container is, the Samples in a Plate should be related by the same physical space, though they may or may not be related as part of the same experiment or analysis."
type Plate {
"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."
additionalInfo: AdditionalInfo
@@ -2075,8 +2139,9 @@ type PlatesSearchResponse {
searchResultsDbId: String
}
+"A Pollination Event that was used or attempted for a Cross."
type PollinationEvent {
- "Pollination events associated with a cross"
+ "The Cross associated with this Pollination Event"
cross: Cross
"The unique identifier for this pollination event"
pollinationNumber: String
@@ -2086,6 +2151,7 @@ type PollinationEvent {
pollinationTimeStamp: String
}
+"A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. A Program can contain multiple Trials. A Trial can contain multiple Studies."
type Program {
"A shortened version of the human readable name for a Program"
abbreviation: String
@@ -2125,8 +2191,11 @@ type ProgramsSearchResponse {
searchResultsDbId: String
}
+"MIAPPE V1.1 (DM-9) Associated publication - An identifier for a literature publication where the investigation is described. Use of DOIs is recommended."
type Publication {
+ "The permanent unique identifier of the publication."
publicationPUI: String
+ "The publication reference."
publicationReference: String
"Publications associated with a trial"
trial: Trial
@@ -2321,6 +2390,7 @@ type Query {
variantsSearch(variantInput: VariantsInput): VariantsSearchResponse
}
+"A `Reference` is a canonical assembled contig, intended to act as a reference coordinate space for other genomic annotations. A single `Reference` might represent the human chromosome 1, for instance. `References` are designed to be immutable."
type Reference {
"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."
additionalInfo: AdditionalInfo
@@ -2359,6 +2429,7 @@ type ReferenceListResponse {
page: PageInfo
}
+"A `ReferenceSet` is a set of `Reference` s which typically comprise a reference assembly, such as `GRCH_38`. A `ReferenceSet` defines a common coordinate space for comparing reference-aligned experimental data."
type ReferenceSet {
"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."
additionalInfo: AdditionalInfo
@@ -2416,6 +2487,7 @@ type ReferencesSearchResponse {
searchResultsDbId: String
}
+"The identifiers and metadata associated with a physical piece of biological material collected from the field for external analysis. A Sample can take many forms (leaf clipping, seed, DNA, etc) and might be used for a variety of analysis procedures (spectra, genotyping, etc)."
type Sample {
"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."
additionalInfo: AdditionalInfo
@@ -2487,6 +2559,10 @@ type SamplesSearchResponse {
searchResultsDbId: String
}
+"""
+A Scale describes the units and acceptable values for an ObservationVariable.
+
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".
+"""
type Scale {
"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."
additionalInfo: AdditionalInfo
@@ -2540,6 +2616,7 @@ type ScaleListResponse {
page: PageInfo
}
+"A Season defines a period in time. A Season is made of two parts; (1) the primary year and (2) a term which defines a segment of the year. This term could be a traditional season, like \"Spring\" or \"Summer\", or this term could be a month, like \"May\" or \"June\", or this could be an arbitrary season name which is meaningful to the breeding Program like \"PlantingTime_3\" or \"Season E\"."
type Season {
"The ID which uniquely identifies a season. For backward compatibility it can be a string like '2012', '1957-2004'"
seasonDbId: String
@@ -2559,6 +2636,7 @@ type SeasonsSearchResponse {
searchResultsDbId: String
}
+"A SeedLot, also known as an InventoryLot, is a collection of starting material (seeds, bulbs, root-stock, etc) for a particular Germplasm. The amount of material available for each Germplasm can be increased by seed production and decreased by planting or trading with another breeding Program."
type SeedLot {
"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."
additionalInfo: AdditionalInfo
@@ -2609,6 +2687,7 @@ type SeedLotListResponse {
page: PageInfo
}
+"The record of an event where material was moved in or out of a particular SeedLot"
type SeedLotTransaction {
"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."
additionalInfo: AdditionalInfo
@@ -2635,6 +2714,7 @@ type SeedLotsSearchResponse {
searchResultsDbId: String
}
+"The type of storage this germplasm is kept in at a genebank."
type StorageType {
"""
The 2 digit code representing the type of storage this germplasm is kept in at a genebank.
@@ -2663,6 +2743,7 @@ type StudiesSearchResponse {
searchResultsDbId: String
}
+"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."
type Study {
"A flag to indicate if a Study is currently active and ongoing"
active: Boolean
@@ -2689,7 +2770,7 @@ type Study {
MIAPPE V1.1 (DM-57) Environment - Environmental parameters that were kept constant throughout the study and did not change between observation units or assays. Environment characteristics that vary over time, i.e. environmental variables, should be recorded as Observed Variables (see below).
"""
- environmentParameters: [EnvironmentParameters]
+ environmentParameters: [EnvironmentParameter]
"The experimental and statistical design full description plus a category PUI taken from crop research ontology or agronomy ontology"
experimentalDesign: ExperimentalDesign
"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."
@@ -2762,6 +2843,7 @@ type StudyListResponse {
page: PageInfo
}
+"Alternative names or IDs used to reference this germplasm"
type Synonym {
"associated germplasm"
germplasm: Germplasm
@@ -2771,6 +2853,11 @@ type Synonym {
type: String
}
+"""
+The list of IDs for this SPECIES from different sources. If present, NCBI Taxon should be always listed as "ncbiTaxon" preferably with a purl. The rank of this ID should be species.
+
+MIAPPE V1.1 (DM-42) Organism - An identifier for the organism at the species level. Use of the NCBI taxon ID is recommended.
+"""
type TaxonId {
"associated germplasm"
germplasm: Germplasm
@@ -2780,6 +2867,10 @@ type TaxonId {
taxonId: String
}
+"""
+A Trait describes what property is being observed.
+
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".
+"""
type Trait {
"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."
additionalInfo: AdditionalInfo
@@ -2842,23 +2933,7 @@ type TraitListResponse {
page: PageInfo
}
-type Treatment {
- """
- The type of treatment/factor. ex. 'fertilizer', 'inoculation', 'irrigation', etc
-
- MIAPPE V1.1 (DM-61) Experimental Factor type - Name/Acronym of the experimental factor.
- """
- factor: String
- """
- The treatment/factor description. ex. 'low fertilizer', 'yellow rust inoculation', 'high water', etc
-
- 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.
- """
- modality: String
- "associated observation Unit"
- observationUnit: ObservationUnit
-}
-
+"A Trial represents a collection of Study objects, and the metadata associated with that collection. A Trial could represent a multi-location experiment, and could contain information related to publications and data licensing."
type Trial {
"A flag to indicate if a Trial is currently active and ongoing"
active: Boolean
@@ -2915,6 +2990,7 @@ type TrialsSearchResponse {
searchResultsDbId: String
}
+"Metadata describing the acceptable values for this Scale"
type ValidValues {
"List of possible values with optional labels"
categories: [ValidValuesCategory]
@@ -2926,6 +3002,7 @@ type ValidValues {
scale: Scale
}
+"If the Scale is a categorical type, these objects define the valid options"
type ValidValuesCategory {
"A text label for a category"
label: String
@@ -2935,6 +3012,7 @@ type ValidValuesCategory {
value: String
}
+"A `Variant` represents a change in DNA sequence relative to some reference. For example, a variant could represent a classic marker, a SNP, or an insertion. This is equivalent to a row in VCF."
type Variant {
"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."
additionalInfo: AdditionalInfo
@@ -3007,6 +3085,7 @@ type VariantListResponse {
page: PageInfo
}
+"A VariantSet is a collection of variants and variant calls intended to be analyzed together."
type VariantSet {
"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."
additionalInfo: AdditionalInfo
@@ -3148,6 +3227,13 @@ enum Dimension {
VARIANTS
}
+"The type of documentation, which can be OBO Foundry, an RDF term or a webpage."
+enum DocumentationLinkType {
+ OBO
+ RDF
+ WEBPAGE
+}
+
"The type of entry for this observation unit. ex. \"CHECK\", \"TEST\", \"FILLER\""
enum EntryType {
CHECK
@@ -3201,7 +3287,7 @@ enum PlateFormat {
}
"""
-The type of positional coordinate used. Must be one of the following values
+The type of positional coordinate. Must be one of the following values
LONGITUDE - ISO 6709 standard, WGS84 geodetic datum. See 'Location Coordinate Encoding' for details
@@ -3219,37 +3305,7 @@ MEASURED_ROW - The distance in meters from a defined 0-th row
MEASURED_COL - The distance in meters from a defined 0-th column
"""
-enum PositionCoordinateXType {
- GRID_COL
- GRID_ROW
- LATITUDE
- LONGITUDE
- MEASURED_COL
- MEASURED_ROW
- PLANTED_INDIVIDUAL
- PLANTED_ROW
-}
-
-"""
-The type of positional coordinate used. Must be one of the following values
-
-LONGITUDE - ISO 6709 standard, WGS84 geodetic datum. See 'Location Coordinate Encoding' for details
-
-LATITUDE - ISO 6709 standard, WGS84 geodetic datum. See 'Location Coordinate Encoding' for details
-
-PLANTED_ROW - The physical planted row number
-
-PLANTED_INDIVIDUAL - The physical counted number, could be independent or within a planted row
-
-GRID_ROW - The row index number of a square grid overlay
-
-GRID_COL - The column index number of a square grid overlay
-
-MEASURED_ROW - The distance in meters from a defined 0-th row
-
-MEASURED_COL - The distance in meters from a defined 0-th column
-"""
-enum PositionCoordinateYType {
+enum PositionCoordinateType {
GRID_COL
GRID_ROW
LATITUDE
@@ -3325,17 +3381,13 @@ enum TraitDataType {
Text
}
-enum Type {
- OBO
- RDF
- WEBPAGE
-}
-
"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."
input AdditionalInfoInput {
+ "A free space containing any additional information related to a particular object."
additionalProperties: String
}
+"The AlleleMatrix object is used to describe a matrix of genotyping results. This 2d array of data reduces the overall size of the response for larger datasets, when compared to the Calls endpoints. This makes genotype data retrieval faster and easier."
input AlleleMatrixInput {
"A list of unique identifiers for the CallSets contained in the matrix response. This array should match the ordering for columns in the matrix. A CallSet is a unique combination of a Sample and a sequencing event. CallSets often have a 1-to-1 relationship with Samples, but this is not always the case."
callSets: [CallSetInput]
@@ -3357,6 +3409,7 @@ input AlleleMatrixInput {
variants: [VariantInput]
}
+"An analysis contains an interpretation of one or several experiments. (e.g. SNVs, copy number variations, methylation status) together with information about the methodology used."
input AnalysisInput {
"Unique identifier for this analysis description"
analysisDbId: String
@@ -3376,6 +3429,7 @@ input AnalysisInput {
variantSet: VariantSetInput
}
+"Each 'availableFormat' object is a pairing of dataFormat and fileFormat. These must be communicated in pairs because they are not independent parameters and sometimes one influences the other."
input AvailableFormatInput {
"dataFormat defines the structure of the data within a file (ie DartSeq, VCF, Hapmap, tabular, etc)"
dataFormat: DataFormat
@@ -3395,6 +3449,7 @@ input AvailableFormatInput {
variantSet: VariantSetInput
}
+"The techniques and protocol used to produce a Cross or Germplasm"
input BreedingMethodInput {
"A shortened version of the human readable name for a Breeding Method"
abbreviation: String
@@ -3410,6 +3465,11 @@ input BreedingMethodInput {
pedigreeNodes: [PedigreeNodeInput]
}
+"""
+A `Call` represents the determination of genotype with respect to a particular `Variant`.
+
+It may include associated information such as quality and phasing. For example, a call might assign a probability of 0.32 to the occurrence of a SNP named RS_1234 in a call set with the name NA_12345.
+"""
input CallInput {
"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."
additionalInfo: AdditionalInfoInput
@@ -3434,6 +3494,7 @@ input CallInput {
variantSet: VariantSetInput
}
+"A CallSet is a collection of Calls that were generated by the same analysis of the same Sample"
input CallSetInput {
"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."
additionalInfo: AdditionalInfoInput
@@ -3521,6 +3582,7 @@ input CallsInput {
variantSetDbIds: [String]
}
+"A persons contact information"
input ContactInput {
"""
The ID which uniquely identifies this contact
@@ -3560,6 +3622,11 @@ input ContactInput {
type: String
}
+"""
+The mixture of germplasm present in the seed lot.
+
If this seed lot only contains a single germplasm, the response should contain the name and DbId of that germplasm with a mixturePercentage value of 100
+
If the seed lot contains a mixture of different germplasm, the response should contain the name and DbId every germplasm present. The mixturePercentage field should contain the ratio of each germplasm in the total mixture. All of the mixturePercentage values in this array should sum to equal 100.
+"""
input ContentMixtureInput {
"The cross for the germplasm using in this content mixture"
cross: CrossInput
@@ -3571,6 +3638,7 @@ input ContentMixtureInput {
seedLot: SeedLotInput
}
+"A custom attribute associated with a cross. For example, if the crossing event occurred on a humid day, a user might record 'crossAttributeName':'Relative Humidity', 'crossAttributeValue':'80%'"
input CrossAttributeInput {
"a custom attributes associated with a cross"
cross: CrossInput
@@ -3580,6 +3648,7 @@ input CrossAttributeInput {
crossAttributeValue: String
}
+"The identifiers and metadata represent that specific organisms have mated to produce offspring with particular traits or genes. The offspring of a Cross might be developed into a Germplasm if the desired traits are present."
input CrossInput {
"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."
additionalInfo: AdditionalInfoInput
@@ -3601,12 +3670,13 @@ input CrossInput {
parent1: CrossParentInput
"the second parent used in the cross"
parent2: CrossParentInput
- "the unique identifier for a planned cross"
+ "The Cross that was used in the planning of this one."
plannedCross: PlannedCrossInput
- "The list of pollination events that occurred for this cross"
+ "The list of pollination events that occurred for this cross."
pollinationEvents: [PollinationEventInput]
}
+"The identifying information gor the parent material of a cross."
input CrossParentInput {
"the germplasm of the cross parent"
germplasm: GermplasmInput
@@ -3649,6 +3719,7 @@ input CrossesInput {
programNames: [String]
}
+"A project structure where a list of PlannedCrosses is generated, the crossing events occur in the field, and the resulting actual Crosses can documented."
input CrossingProjectInput {
"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."
additionalInfo: AdditionalInfoInput
@@ -3708,6 +3779,7 @@ input CrossingProjectsInput {
programNames: [String]
}
+"A link to extra data files associated with this study. Extra data could include notes, images, and reference data."
input DataLinkInput {
"""
The structure of the data within a file. For example - VCF, table, image archive, multispectral image archives in EDAM ontology (used in Galaxy)
@@ -3751,6 +3823,7 @@ input DataLinkInput {
version: String
}
+"A two dimensional array that holds allele data or associated metadata. Each matrix should be the same size and orientation, aligned with the \"callSetDbIds\" as columns and the \"variantDbIds\" as rows."
input DataMatrixInput {
"Data matrices associated with an alleleMatrix"
alleleMatrix: AlleleMatrixInput
@@ -3770,6 +3843,7 @@ input DataMatrixInput {
dataType: DataType
}
+"License and citation information for the data in this trial"
input DatasetAuthorshipsInput {
"The DOI or other permanent unique identifier for this published dataset"
datasetPUI: String
@@ -3783,13 +3857,17 @@ input DatasetAuthorshipsInput {
trial: TrialInput
}
+"Links to various ontology documentation"
input DocumentationLinkInput {
+ "The URL or URI to the documentation"
URL: String
"associated ontology reference"
ontologyReference: OntologyReferenceInput
- type: Type
+ "The type of documentation, which can be OBO Foundry, an RDF term or a webpage."
+ type: DocumentationLinkType
}
+"Identifier assigned to an accession by the material donor."
input DonorInput {
"""
The accession number assigned by the donor
@@ -3802,11 +3880,16 @@ input DonorInput {
MCPD (v2.1) (DONORCODE) 22. FAO WIEWS code of the donor institute. Follows INSTCODE standard.
"""
donorInstituteCode: String
- "donoers associated with a germplasm"
+ "donors associated with a germplasm"
germplasm: GermplasmInput
}
-input EnvironmentParametersInput {
+"""
+Environmental parameters that were kept constant throughout the study and did not change between observation units.
+
+MIAPPE V1.1 (DM-57) Environment - Environmental parameters that were kept constant throughout the study and did not change between observation units or assays. Environment characteristics that vary over time, i.e. environmental variables, should be recorded as Observed Variables (see below).
+"""
+input EnvironmentParameterInput {
"Human-readable value of the environment parameter (defined above) constant within the experiment"
description: String
"Human-readable value of the environment parameter (defined above) constant within the experiment"
@@ -3835,6 +3918,7 @@ input EnvironmentParametersInput {
valuePUI: String
}
+"An object describing when a particular Event has taken place. An Event can occur at one or more discrete time points (`discreteDates`) or an event can happen continuously over a longer period of time (`startDate`, `endDate`)"
input EventDateRangeInput {
"""
A list of dates when the event occurred
@@ -3855,6 +3939,10 @@ input EventDateRangeInput {
startDate: String
}
+"""
+An event is discrete occurrence at a particular time in the experiment. Events may be the realization of Treatments or parts of Treatments, or may be confounding to Treatments.
+
ICASA Management Events allow for the following types -> planting, fertilizer, irrigation, tillage, organic_material, harvest, bed_prep, inorg_mulch, inorg_mul_rem, chemicals, mowing, observation, weeding, puddling, flood_level, other
+"""
input EventInput {
"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."
additionalInfo: AdditionalInfoInput
@@ -3887,6 +3975,7 @@ input EventInput {
study: StudyInput
}
+"Additional metadata to describe an event, based on the ICASA standard model. For example, 'Tillage Implement' (tiimp), 'Tillage Depth' (tidep), and 'Tillage Mix Effectiveness' (timix) might all be recorded parameters for a Tillage event."
input EventParameterInput {
"""
The shortened code name of an event parameter
@@ -3935,6 +4024,7 @@ input EventsInput {
studyNames: [String]
}
+"The experimental and statistical design full description plus a category PUI taken from crop research ontology or agronomy ontology"
input ExperimentalDesignInput {
"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."
PUI: String
@@ -3951,6 +4041,7 @@ input ExternalReferenceInput {
referenceSource: String
}
+"The GenomeMap represents the metadata associated with a reference map of a particular species genome. A GenomeMap can either represent a physical map or genetic map."
input GenomeMapInput {
"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."
additionalInfo: AdditionalInfoInput
@@ -4023,6 +4114,7 @@ input GenomeMapsInput {
types: [String]
}
+"Genotype Metadata are additional layers of metadata associated with each genotype."
input GenotypeMetadataInput {
"Genotype metadata associated with a call"
call: CallInput
@@ -4113,6 +4205,7 @@ input GeoJSONSearchAreaInput {
type: String
}
+"The Trait-Method-Scale definition for a variable, specifically variables related to Germplasm. Similar to an ObservationVariable, but related to a Germplasm instead of an ObservationUnit"
input GermplasmAttributeInput {
"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."
additionalInfo: AdditionalInfoInput
@@ -4181,6 +4274,7 @@ input GermplasmAttributeInput {
trait: TraitInput
}
+"The value recorded for a particular Trait/Attribute and a particular Germplasm. Similar to an Observation value, but more concrete, applying to the whole Germplasm instead of a single ObservationUnit."
input GermplasmAttributeValueInput {
"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."
additionalInfo: AdditionalInfoInput
@@ -4342,6 +4436,7 @@ input GermplasmAttributesInput {
trialNames: [String]
}
+"A germplasm reference that is a direct child of this germplasm. These represent edges in the tree, connecting to other nodes."
input GermplasmChildInput {
"The child germplasm"
childGermplasm: GermplasmInput
@@ -4360,6 +4455,7 @@ input GermplasmChildInput {
pedigreeNode: PedigreeNodeInput
}
+"The conceptual identifiers and metadata describing a genetically unique organism that is noteworthy in some way. Depending on context, a Germplasm might be synonymous with Accession, Line, or Genotype. Note that Germplasm is conceptual data, not necessarily associated to a real physical object, so Seed/Inventory Lots and Observation Units become physical instantiations of a particular Germplasm. Note a Germplasm is unique and noteworthy, so a Cross may or may not create a new Germplasm, since not every Cross is unique or noteworthy."
input GermplasmInput {
"""
The unique identifier for a material or germplasm within a genebank
@@ -4439,7 +4535,7 @@ input GermplasmInput {
genus: String
"""
The ID which uniquely identifies a germplasm within the given database server
-
MIAPPE V1.1 (DM-41) Biological material ID - Code used to identify the biological material in the data file. Should be unique within the Investigation. Can correspond to experimental plant ID, seed lot ID, etc. This material identification is different from a BiosampleID which corresponds to Observation Unit or Samples sections below.
+
MIAPPE V1.1 (DM-41) Biological material ID - Code used to identify the biological material in the data file. Should be unique within the Investigation. Can correspond to experimental plant ID, inventory lot ID, etc. This material identification is different from a BiosampleID which corresponds to Observation Unit or Samples sections below.
"""
germplasmDbId: String
"""
@@ -4453,7 +4549,7 @@ input GermplasmInput {
"""
The Permanent Unique Identifier which represents a germplasm
- MIAPPE V1.1 (DM-41) Biological material ID - Code used to identify the biological material in the data file. Should be unique within the Investigation. Can correspond to experimental plant ID, seed lot ID, etc This material identification is different from a BiosampleID which corresponds to Observation Unit or Samples sections below.
+ MIAPPE V1.1 (DM-41) Biological material ID - Code used to identify the biological material in the data file. Should be unique within the Investigation. Can correspond to experimental plant ID, inventory lot ID, etc This material identification is different from a BiosampleID which corresponds to Observation Unit or Samples sections below.
MIAPPE V1.1 (DM-51) Material source DOI - Digital Object Identifier (DOI) of the material source
@@ -4547,6 +4643,7 @@ input GermplasmInput {
taxonIds: [TaxonIdInput]
}
+"Information for material (orchard, natural sites, ...). Geographic identification of the plants from which seeds or cutting have been taken to produce that germplasm."
input GermplasmOriginInput {
"Uncertainty associated with the coordinates in meters. Leave the value empty if the uncertainty is unknown."
coordinateUncertainty: String
@@ -4563,6 +4660,7 @@ input GermplasmOriginInput {
germplasm: GermplasmInput
}
+"A germplasm reference that is a direct parent of this germplasm. These represent edges in the tree, connecting to other nodes."
input GermplasmParentInput {
"The parent germplasm"
parentGermplasm: GermplasmInput
@@ -4581,6 +4679,7 @@ input GermplasmParentInput {
pedigreeNode: PedigreeNodeInput
}
+"Short description of the facility in which the study was carried out."
input GrowthFacilityInput {
"MIAPPE V1.1 (DM-27) Type of growth facility - Type of growth facility in which the study was carried out, in the form of an accession number from the Crop Ontology."
PUI: String
@@ -4590,6 +4689,7 @@ input GrowthFacilityInput {
study: StudyInput
}
+"The metadata for an image file that is connected to some phenotypic observation data."
input ImageInput {
"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."
additionalInfo: AdditionalInfoInput
@@ -4690,15 +4790,19 @@ input ImagesInput {
programNames: [String]
}
+"The date and time when this study was last modified"
input LastUpdateInput {
"The date and time when this study was last modified"
lastUpdateDbId: String
"Last update associated with a study"
study: StudyInput
+ "The timestamp of the update."
timestamp: String
+ "The version of the update."
version: String
}
+"A List represents a collection of other BrAPI data objects. Typically these are custom lists generated by a user to keep track of interesting data. For example, a user might build a List of Germplasm that they have manually marked for further study."
input ListInput {
"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."
additionalInfo: AdditionalInfoInput
@@ -4750,6 +4854,7 @@ input ListsInput {
listType: ListType
}
+"A geographic Location on earth. This is usually used to describe the general area where an experiment took place. For example, a natural site, an experimental field, a greenhouse, a phenotyping facility, etc."
input LocationInput {
"A shortened version of the human readable name for a Location"
abbreviation: String
@@ -4883,6 +4988,7 @@ input LocationsInput {
programNames: [String]
}
+"A MarkerPosition describes a particular genetic marker at a specific position on a GenomeMap. A collection of MarkerPositions make up the data to represent a full GenomeMap."
input MarkerPositionInput {
"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."
additionalInfo: AdditionalInfoInput
@@ -4915,6 +5021,10 @@ input MarkerPositionsInput {
variantDbIds: [String]
}
+"""
+Indicates which types of genotyping data and metadata are available in the VariantSet.
+
When possible, these field names and abbreviations should follow the VCF standard
+"""
input MetadataFieldInput {
"The type of field represented in this Genotype Field. This is intended to help parse the data out of JSON."
dataType: DataType
@@ -4926,6 +5036,10 @@ input MetadataFieldInput {
variantSet: VariantSetInput
}
+"""
+A description of the way an Observation should be collected.
+
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".
+"""
input MethodInput {
"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."
additionalInfo: AdditionalInfoInput
@@ -5003,6 +5117,7 @@ input MethodsInput {
scaleDbIds: [String]
}
+"A value assigned for a specific ObservationVariable when observing a specific ObservationUnit."
input ObservationInput {
"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."
additionalInfo: AdditionalInfoInput
@@ -5031,6 +5146,7 @@ input ObservationInput {
observationUnit: ObservationUnitInput
"The ID which uniquely identifies an observation variable"
observationVariable: ObservationVariableInput
+ "The season for this Observation"
season: SeasonInput
"The ID which uniquely identifies a study within the given database server"
study: StudyInput
@@ -5040,6 +5156,24 @@ input ObservationInput {
value: String
}
+"A Treatment applied an Observation Unit at a given Modality/Level for a specific Factor."
+input ObservationTreatmentInput {
+ """
+ The type of treatment/factor. ex. 'fertilizer', 'inoculation', 'irrigation', etc
+
+ MIAPPE V1.1 (DM-61) Experimental Factor type - Name/Acronym of the experimental factor.
+ """
+ factor: String
+ """
+ The treatment/factor description. ex. 'low fertilizer', 'yellow rust inoculation', 'high water', etc
+
+ 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.
+ """
+ modality: String
+ "associated observation Unit"
+ observationUnit: ObservationUnitInput
+}
+
"""
The exact level and level code of an observation unit.
@@ -5067,6 +5201,7 @@ input ObservationUnitHierarchyLevelInput {
levelOrder: Int
}
+"A representation of the physical entity being observed during a phenotype data collection process. Typically, this is a Plot or a Plant, but it could include things like Fields, Blocks, or Samples."
input ObservationUnitInput {
"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."
additionalInfo: AdditionalInfoInput
@@ -5119,7 +5254,7 @@ input ObservationUnitInput {
MIAPPE V1.1 (DM-74) Observation Unit factor value - List of values for each factor applied to the observation unit.
"""
- treatments: [TreatmentInput]
+ treatments: [ObservationTreatmentInput]
"The ID which uniquely identifies a trial"
trial: TrialInput
}
@@ -5198,6 +5333,7 @@ input ObservationUnitLevelRelationshipInput {
observationUnit: ObservationUnitInput
}
+"All positional and layout information related to this Observation Unit"
input ObservationUnitPositionInput {
"The type of entry for this observation unit. ex. \"CHECK\", \"TEST\", \"FILLER\""
entryType: EntryType
@@ -5236,48 +5372,12 @@ input ObservationUnitPositionInput {
observationUnit: ObservationUnitInput
"The X position coordinate for an observation unit. Different systems may use different coordinate systems."
positionCoordinateX: String
- """
- The type of positional coordinate used. Must be one of the following values
-
- LONGITUDE - ISO 6709 standard, WGS84 geodetic datum. See 'Location Coordinate Encoding' for details
-
- LATITUDE - ISO 6709 standard, WGS84 geodetic datum. See 'Location Coordinate Encoding' for details
-
- PLANTED_ROW - The physical planted row number
-
- PLANTED_INDIVIDUAL - The physical counted number, could be independent or within a planted row
-
- GRID_ROW - The row index number of a square grid overlay
-
- GRID_COL - The column index number of a square grid overlay
-
- MEASURED_ROW - The distance in meters from a defined 0-th row
-
- MEASURED_COL - The distance in meters from a defined 0-th column
- """
- positionCoordinateXType: PositionCoordinateXType
+ "The type of positional coordinate used for the X coordinate of the position."
+ positionCoordinateXType: PositionCoordinateType
"The Y position coordinate for an observation unit. Different systems may use different coordinate systems."
positionCoordinateY: String
- """
- The type of positional coordinate used. Must be one of the following values
-
- LONGITUDE - ISO 6709 standard, WGS84 geodetic datum. See 'Location Coordinate Encoding' for details
-
- LATITUDE - ISO 6709 standard, WGS84 geodetic datum. See 'Location Coordinate Encoding' for details
-
- PLANTED_ROW - The physical planted row number
-
- PLANTED_INDIVIDUAL - The physical counted number, could be independent or within a planted row
-
- GRID_ROW - The row index number of a square grid overlay
-
- GRID_COL - The column index number of a square grid overlay
-
- MEASURED_ROW - The distance in meters from a defined 0-th row
-
- MEASURED_COL - The distance in meters from a defined 0-th column
- """
- positionCoordinateYType: PositionCoordinateYType
+ "The type of positional coordinate used for the Y coordinate of the position."
+ positionCoordinateYType: PositionCoordinateType
}
input ObservationUnitsInput {
@@ -5579,6 +5679,7 @@ input OntologiesInput {
ontologyNames: [String]
}
+"The identifier and metadata needed to reference an external controlled vocabulary"
input OntologyInput {
"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."
additionalInfo: AdditionalInfoInput
@@ -5600,6 +5701,12 @@ input OntologyInput {
version: String
}
+"""
+MIAPPE V1.1 (DM-85) Variable accession number - Accession number of the variable in the Crop Ontology
+MIAPPE V1.1 (DM-87) Trait accession number - Accession number of the trait in a suitable controlled vocabulary (Crop Ontology, Trait Ontology).
+MIAPPE V1.1 (DM-89) Method accession number - Accession number of the method in a suitable controlled vocabulary (Crop Ontology, Trait Ontology).
+MIAPPE V1.1 (DM-93) Scale accession number - Accession number of the scale in a suitable controlled vocabulary (Crop Ontology).
+"""
input OntologyReferenceInput {
"links to various ontology documentation"
documentationLinks: [DocumentationLinkInput]
@@ -5611,6 +5718,7 @@ input OntologyReferenceInput {
version: String
}
+"A pointer to an ontology used by a genomic reference"
input OntologyTermInput {
"Species associated with a reference"
reference: ReferenceInput
@@ -5627,6 +5735,7 @@ input PageInput {
pageSize: Int
}
+"Pagination info for the matrix"
input PaginationInput {
"Pagination associated with an alleleMatrix"
alleleMatrix: AlleleMatrixInput
@@ -5645,6 +5754,7 @@ input PaginationInput {
totalPages: Int
}
+"A representation of a particular Germplasm within a pedigree tree, and all the links to its parents, siblings, and children. From a list of PedigreeNode objects, a client application should have all the information it needs to draw a pedigree tree visualization, or calculate genetic distances."
input PedigreeNodeInput {
"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."
additionalInfo: AdditionalInfoInput
@@ -5802,6 +5912,7 @@ input PeopleInput {
userIDs: [String]
}
+"A generic object used to maintain the metadata needed to describe a human. The Person might be a software user, a field technician, or a primary contact for a Program."
input PersonInput {
"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."
additionalInfo: AdditionalInfoInput
@@ -5829,6 +5940,7 @@ input PersonInput {
userID: String
}
+"Information regarding the intention to mate specific organisms together to produce offspring with desired traits. A PlannedCross becomes an actual Cross when the desired mating event actually occurs in the field."
input PlannedCrossInput {
"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."
additionalInfo: AdditionalInfoInput
@@ -5887,6 +5999,7 @@ input PlannedCrossesInput {
statuses: [CrossStatus]
}
+"A Plate represents the metadata for a collection of Samples. The physical Plate being represented might be a plastic tray full of Samples, or a group of Samples stored in individual containers ie bags, test tubes, etc. Whatever the container is, the Samples in a Plate should be related by the same physical space, though they may or may not be related as part of the same experiment or analysis."
input PlateInput {
"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."
additionalInfo: AdditionalInfoInput
@@ -5963,8 +6076,9 @@ input PlatesInput {
trialNames: [String]
}
+"A Pollination Event that was used or attempted for a Cross."
input PollinationEventInput {
- "Pollination events associated with a cross"
+ "The Cross associated with this Pollination Event"
cross: CrossInput
"The unique identifier for this pollination event"
pollinationNumber: String
@@ -5974,6 +6088,7 @@ input PollinationEventInput {
pollinationTimeStamp: String
}
+"A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. A Program can contain multiple Trials. A Trial can contain multiple Studies."
input ProgramInput {
"A shortened version of the human readable name for a Program"
abbreviation: String
@@ -6053,13 +6168,17 @@ input ProgramsInput {
programTypes: [ProgramType]
}
+"MIAPPE V1.1 (DM-9) Associated publication - An identifier for a literature publication where the investigation is described. Use of DOIs is recommended."
input PublicationInput {
+ "The permanent unique identifier of the publication."
publicationPUI: String
+ "The publication reference."
publicationReference: String
"Publications associated with a trial"
trial: TrialInput
}
+"A `Reference` is a canonical assembled contig, intended to act as a reference coordinate space for other genomic annotations. A single `Reference` might represent the human chromosome 1, for instance. `References` are designed to be immutable."
input ReferenceInput {
"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."
additionalInfo: AdditionalInfoInput
@@ -6093,6 +6212,7 @@ input ReferenceInput {
variants: [VariantInput]
}
+"A `ReferenceSet` is a set of `Reference` s which typically comprise a reference assembly, such as `GRCH_38`. A `ReferenceSet` defines a common coordinate space for comparing reference-aligned experimental data."
input ReferenceSetInput {
"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."
additionalInfo: AdditionalInfoInput
@@ -6231,6 +6351,7 @@ input ReferencesInput {
trialNames: [String]
}
+"The identifiers and metadata associated with a physical piece of biological material collected from the field for external analysis. A Sample can take many forms (leaf clipping, seed, DNA, etc) and might be used for a variety of analysis procedures (spectra, genotyping, etc)."
input SampleInput {
"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."
additionalInfo: AdditionalInfoInput
@@ -6341,6 +6462,10 @@ input SamplesInput {
trialNames: [String]
}
+"""
+A Scale describes the units and acceptable values for an ObservationVariable.
+
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".
+"""
input ScaleInput {
"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."
additionalInfo: AdditionalInfoInput
@@ -6424,6 +6549,7 @@ input ScalesInput {
scaleDbIds: [String]
}
+"A Season defines a period in time. A Season is made of two parts; (1) the primary year and (2) a term which defines a segment of the year. This term could be a traditional season, like \"Spring\" or \"Summer\", or this term could be a month, like \"May\" or \"June\", or this could be an arbitrary season name which is meaningful to the breeding Program like \"PlantingTime_3\" or \"Season E\"."
input SeasonInput {
"The ID which uniquely identifies a season. For backward compatibility it can be a string like '2012', '1957-2004'"
seasonDbId: String
@@ -6444,6 +6570,7 @@ input SeasonsInput {
years: [String]
}
+"A SeedLot, also known as an InventoryLot, is a collection of starting material (seeds, bulbs, root-stock, etc) for a particular Germplasm. The amount of material available for each Germplasm can be increased by seed production and decreased by planting or trading with another breeding Program."
input SeedLotInput {
"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."
additionalInfo: AdditionalInfoInput
@@ -6491,6 +6618,7 @@ input SeedLotInput {
units: String
}
+"The record of an event where material was moved in or out of a particular SeedLot"
input SeedLotTransactionInput {
"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."
additionalInfo: AdditionalInfoInput
@@ -6547,6 +6675,7 @@ input SeedLotsInput {
seedLotDbIds: [String]
}
+"The type of storage this germplasm is kept in at a genebank."
input StorageTypeInput {
"""
The 2 digit code representing the type of storage this germplasm is kept in at a genebank.
@@ -6627,6 +6756,7 @@ input StudiesInput {
trialNames: [String]
}
+"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."
input StudyInput {
"A flag to indicate if a Study is currently active and ongoing"
active: Boolean
@@ -6654,7 +6784,7 @@ input StudyInput {
MIAPPE V1.1 (DM-57) Environment - Environmental parameters that were kept constant throughout the study and did not change between observation units or assays. Environment characteristics that vary over time, i.e. environmental variables, should be recorded as Observed Variables (see below).
"""
- environmentParameters: [EnvironmentParametersInput]
+ environmentParameters: [EnvironmentParameterInput]
"events"
events: [EventInput]
"The experimental and statistical design full description plus a category PUI taken from crop research ontology or agronomy ontology"
@@ -6734,6 +6864,7 @@ input StudyInput {
variantSets: [VariantSetInput]
}
+"Alternative names or IDs used to reference this germplasm"
input SynonymInput {
"associated germplasm"
germplasm: GermplasmInput
@@ -6743,6 +6874,11 @@ input SynonymInput {
type: String
}
+"""
+The list of IDs for this SPECIES from different sources. If present, NCBI Taxon should be always listed as "ncbiTaxon" preferably with a purl. The rank of this ID should be species.
+
+MIAPPE V1.1 (DM-42) Organism - An identifier for the organism at the species level. Use of the NCBI taxon ID is recommended.
+"""
input TaxonIdInput {
"associated germplasm"
germplasm: GermplasmInput
@@ -6752,6 +6888,10 @@ input TaxonIdInput {
taxonId: String
}
+"""
+A Trait describes what property is being observed.
+
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".
+"""
input TraitInput {
"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."
additionalInfo: AdditionalInfoInput
@@ -6844,23 +6984,7 @@ input TraitsInput {
traitDbIds: [String]
}
-input TreatmentInput {
- """
- The type of treatment/factor. ex. 'fertilizer', 'inoculation', 'irrigation', etc
-
- MIAPPE V1.1 (DM-61) Experimental Factor type - Name/Acronym of the experimental factor.
- """
- factor: String
- """
- The treatment/factor description. ex. 'low fertilizer', 'yellow rust inoculation', 'high water', etc
-
- 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.
- """
- modality: String
- "associated observation Unit"
- observationUnit: ObservationUnitInput
-}
-
+"A Trial represents a collection of Study objects, and the metadata associated with that collection. A Trial could represent a multi-location experiment, and could contain information related to publications and data licensing."
input TrialInput {
"A flag to indicate if a Trial is currently active and ongoing"
active: Boolean
@@ -6990,6 +7114,7 @@ input TrialsInput {
trialPUIs: [String]
}
+"If the Scale is a categorical type, these objects define the valid options"
input ValidValuesCategoryInput {
"A text label for a category"
label: String
@@ -6999,6 +7124,7 @@ input ValidValuesCategoryInput {
value: String
}
+"Metadata describing the acceptable values for this Scale"
input ValidValuesInput {
"List of possible values with optional labels"
categories: [ValidValuesCategoryInput]
@@ -7010,6 +7136,7 @@ input ValidValuesInput {
scale: ScaleInput
}
+"A `Variant` represents a change in DNA sequence relative to some reference. For example, a variant could represent a classic marker, a SNP, or an insertion. This is equivalent to a row in VCF."
input VariantInput {
"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."
additionalInfo: AdditionalInfoInput
@@ -7077,6 +7204,7 @@ input VariantInput {
variantType: String
}
+"A VariantSet is a collection of variants and variant calls intended to be analyzed together."
input VariantSetInput {
"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."
additionalInfo: AdditionalInfoInput
diff --git a/Specification/Generated/brapi_generated.json b/Specification/Generated/brapi_generated.json
index aa9ff676..f7370c40 100644
--- a/Specification/Generated/brapi_generated.json
+++ b/Specification/Generated/brapi_generated.json
@@ -1,15101 +1,16914 @@
{
- "openapi" : "3.0.1",
- "info" : {
- "title" : "BrAPI",
- "version" : "0.0.0"
- },
- "paths" : {
- "/breedingmethods" : {
- "get" : {
- "tags" : [ "Germplasm" ],
- "summary" : "Get a filtered list of BreedingMethod",
- "description" : "Get a list of BreedingMethod",
- "parameters" : [ ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/BreedingMethodListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/calls" : {
- "get" : {
- "tags" : [ "Calls" ],
- "summary" : "Get a filtered list of Call",
- "description" : "Get a list of Call",
- "parameters" : [ {
- "name" : "callSetDbId",
- "in" : "query",
- "description" : "A list of IDs which uniquely identify `CallSets` within the given database server",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "variantDbId",
- "in" : "query",
- "description" : "A list of IDs which uniquely identify `Variant` within the given database server",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "variantSetDbId",
- "in" : "query",
- "description" : "A list of IDs which uniquely identify `VariantSets` within the given database server",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "expandHomozygote",
- "in" : "query",
- "description" : "Should homozygotes be expanded (true) or collapsed into a single occurrence (false)",
- "required" : false,
- "schema" : {
- "type" : "boolean"
- }
- }, {
- "name" : "sepPhased",
- "in" : "query",
- "description" : "The string used as a separator for phased allele calls.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "sepUnphased",
- "in" : "query",
- "description" : "The string used as a separator for unphased allele calls.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "unknownString",
- "in" : "query",
- "description" : "The string used as a representation for missing data.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/CallListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/callsets" : {
- "get" : {
- "tags" : [ "CallSets" ],
- "summary" : "Get a filtered list of CallSet",
- "description" : "Get a list of CallSet",
- "parameters" : [ {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmDbId",
- "in" : "query",
- "description" : "List of IDs which uniquely identify germplasm to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmName",
- "in" : "query",
- "description" : "List of human readable names to identify germplasm to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyDbId",
- "in" : "query",
- "description" : "List of study identifiers to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyName",
- "in" : "query",
- "description" : "List of study names to filter search results",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialDbId",
- "in" : "query",
- "description" : "The ID which uniquely identifies a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialName",
- "in" : "query",
- "description" : "The human readable name of a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "sampleDbId",
- "in" : "query",
- "description" : "A list of IDs which uniquely identify `Samples` within the given database server",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "sampleName",
- "in" : "query",
- "description" : "A list of human readable names associated with `Samples`",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "callSetDbId",
- "in" : "query",
- "description" : "A list of IDs which uniquely identify `CallSets` within the given database server",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "callSetName",
- "in" : "query",
- "description" : "A list of human readable names associated with `CallSets`",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "variantSetDbId",
- "in" : "query",
- "description" : "A list of IDs which uniquely identify `VariantSets` within the given database server",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/CallSetListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
+ "openapi" : "3.0.1",
+ "info" : {
+ "title" : "BrAPI",
+ "version" : "2.1"
},
- "/crosses" : {
- "get" : {
- "tags" : [ "Crosses" ],
- "summary" : "Get a filtered list of Cross",
- "description" : "Get a list of Cross",
- "parameters" : [ {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "crossingProjectDbId",
- "in" : "query",
- "description" : "Search for Crossing Projects with this unique id",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "crossingProjectName",
- "in" : "query",
- "description" : "The human readable name for a crossing project",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "crossDbId",
- "in" : "query",
- "description" : "Search for Cross with this unique id",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "crossName",
- "in" : "query",
- "description" : "Search for Cross with this human readable name",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/CrossListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "put" : {
- "tags" : [ "Crosses" ],
- "summary" : "Update the details for an existing Cross",
- "description" : "Update the details for an existing Cross",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/CrossNewRequest"
- }
+ "paths" : {
+ "/breedingmethods" : {
+ "get" : {
+ "tags" : [
+ "Germplasm"
+ ],
+ "summary" : "Get a filtered list of BreedingMethod",
+ "description" : "Get a list of BreedingMethod",
+ "parameters" : [ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/BreedingMethodListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/CrossListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "post" : {
- "tags" : [ "Crosses" ],
- "summary" : "Create new Cross",
- "description" : "Add new Cross to database",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/CrossNewRequest"
- }
+ "/calls" : {
+ "get" : {
+ "tags" : [
+ "Calls"
+ ],
+ "summary" : "Get a filtered list of Call",
+ "description" : "Get a list of Call",
+ "parameters" : [
+ {
+ "name" : "callSetDbId",
+ "in" : "query",
+ "description" : "A list of IDs which uniquely identify `CallSets` within the given database server",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "variantDbId",
+ "in" : "query",
+ "description" : "A list of IDs which uniquely identify `Variant` within the given database server",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "variantSetDbId",
+ "in" : "query",
+ "description" : "A list of IDs which uniquely identify `VariantSets` within the given database server",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "expandHomozygote",
+ "in" : "query",
+ "description" : "Should homozygotes be expanded (true) or collapsed into a single occurrence (false)",
+ "required" : false,
+ "schema" : {
+ "type" : "boolean"
+ }
+ },
+ {
+ "name" : "sepPhased",
+ "in" : "query",
+ "description" : "The string used as a separator for phased allele calls.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "sepUnphased",
+ "in" : "query",
+ "description" : "The string used as a separator for unphased allele calls.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "unknownString",
+ "in" : "query",
+ "description" : "The string used as a representation for missing data.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/CallListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/CrossListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/crossingprojects" : {
- "get" : {
- "tags" : [ "CrossingProjects" ],
- "summary" : "Get a filtered list of CrossingProject",
- "description" : "Get a list of CrossingProject",
- "parameters" : [ {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "crossingProjectDbId",
- "in" : "query",
- "description" : "Search for Crossing Projects with this unique id",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "crossingProjectName",
- "in" : "query",
- "description" : "The human readable name for a crossing project",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "includePotentialParent",
- "in" : "query",
- "description" : "If the parameter 'includePotentialParents' is false, the array 'potentialParents' should be empty, null, or excluded from the response object.",
- "required" : false,
- "schema" : {
- "type" : "boolean"
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/CrossingProjectListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "post" : {
- "tags" : [ "CrossingProjects" ],
- "summary" : "Create new CrossingProject",
- "description" : "Add new CrossingProject to database",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/CrossingProjectNewRequest"
- }
+ "/callsets" : {
+ "get" : {
+ "tags" : [
+ "CallSets"
+ ],
+ "summary" : "Get a filtered list of CallSet",
+ "description" : "Get a list of CallSet",
+ "parameters" : [
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmDbId",
+ "in" : "query",
+ "description" : "List of IDs which uniquely identify germplasm to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmName",
+ "in" : "query",
+ "description" : "List of human readable names to identify germplasm to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyDbId",
+ "in" : "query",
+ "description" : "List of study identifiers to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyName",
+ "in" : "query",
+ "description" : "List of study names to filter search results",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialDbId",
+ "in" : "query",
+ "description" : "The ID which uniquely identifies a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialName",
+ "in" : "query",
+ "description" : "The human readable name of a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "sampleDbId",
+ "in" : "query",
+ "description" : "A list of IDs which uniquely identify `Samples` within the given database server",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "sampleName",
+ "in" : "query",
+ "description" : "A list of human readable names associated with `Samples`",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "callSetDbId",
+ "in" : "query",
+ "description" : "A list of IDs which uniquely identify `CallSets` within the given database server",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "callSetName",
+ "in" : "query",
+ "description" : "A list of human readable names associated with `CallSets`",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "variantSetDbId",
+ "in" : "query",
+ "description" : "A list of IDs which uniquely identify `VariantSets` within the given database server",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/CallSetListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/CrossingProjectListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/events" : {
- "get" : {
- "tags" : [ "Events" ],
- "summary" : "Get a filtered list of Event",
- "description" : "Get a list of Event",
- "parameters" : [ {
- "name" : "studyDbId",
- "in" : "query",
- "description" : "List of study identifiers to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyName",
- "in" : "query",
- "description" : "List of study names to filter search results",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationUnitDbId",
- "in" : "query",
- "description" : "The ID which uniquely identifies an observation unit.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "eventDbId",
- "in" : "query",
- "description" : "Filter based on an Event DbId.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "eventType",
- "in" : "query",
- "description" : "Filter based on an Event Type",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "dateRangeStart",
- "in" : "query",
- "description" : "Filter based on an Event start date.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "dateRangeEnd",
- "in" : "query",
- "description" : "Filter based on an Event start date.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/EventListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/maps" : {
- "get" : {
- "tags" : [ "GenomeMaps" ],
- "summary" : "Get a filtered list of GenomeMap",
- "description" : "Get a list of GenomeMap",
- "parameters" : [ {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyDbId",
- "in" : "query",
- "description" : "List of study identifiers to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyName",
- "in" : "query",
- "description" : "List of study names to filter search results",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialDbId",
- "in" : "query",
- "description" : "The ID which uniquely identifies a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialName",
- "in" : "query",
- "description" : "The human readable name of a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "mapDbId",
- "in" : "query",
- "description" : "The ID which uniquely identifies a `GenomeMap`",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "mapPUI",
- "in" : "query",
- "description" : "The DOI or other permanent identifier for a `GenomeMap`",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "scientificName",
- "in" : "query",
- "description" : "Full scientific binomial format name. This includes Genus, Species, and Sub-species",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "type",
- "in" : "query",
- "description" : "The type of map, usually \"Genetic\" or \"Physical\"",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/GenomeMapListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/germplasm" : {
- "get" : {
- "tags" : [ "Germplasm" ],
- "summary" : "Get a filtered list of Germplasm",
- "description" : "Get a list of Germplasm",
- "parameters" : [ {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmDbId",
- "in" : "query",
- "description" : "List of IDs which uniquely identify germplasm to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmName",
- "in" : "query",
- "description" : "List of human readable names to identify germplasm to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyDbId",
- "in" : "query",
- "description" : "List of study identifiers to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyName",
- "in" : "query",
- "description" : "List of study names to filter search results",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialDbId",
- "in" : "query",
- "description" : "The ID which uniquely identifies a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialName",
- "in" : "query",
- "description" : "The human readable name of a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmPUI",
- "in" : "query",
- "description" : "List of Permanent Unique Identifiers to identify germplasm",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "accessionNumber",
- "in" : "query",
- "description" : "A collection of unique identifiers for materials or germplasm within a genebank\n\nMCPD (v2.1) (ACCENUMB) 2. This is the unique identifier for accessions within a genebank, and is assigned when a sample is entered into the genebank collection (e.g. \"PI 113869\").",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "collection",
- "in" : "query",
- "description" : "A specific panel/collection/population name this germplasm belongs to.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "familyCode",
- "in" : "query",
- "description" : "A familyCode representing the family this germplasm belongs to.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "instituteCode",
- "in" : "query",
- "description" : "The code for the institute that maintains the material. \n
MCPD (v2.1) (INSTCODE) 1. FAO WIEWS code of the institute where the accession is maintained. The codes consist of the 3-letter ISO 3166 country code of the country where the institute is located plus a number (e.g. PER001). The current set of institute codes is available from http://www.fao.org/wiews. For those institutes not yet having an FAO Code, or for those with \"obsolete\" codes, see \"Common formatting rules (v)\".",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "binomialName",
- "in" : "query",
- "description" : "List of the full binomial name (scientific name) to identify a germplasm",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "genu",
- "in" : "query",
- "description" : "List of Genus names to identify germplasm",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "specy",
- "in" : "query",
- "description" : "List of Species names to identify germplasm",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "synonym",
- "in" : "query",
- "description" : "List of alternative names or IDs used to reference this germplasm",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "parentDbId",
- "in" : "query",
- "description" : "Search for Germplasm with these parents",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "progenyDbId",
- "in" : "query",
- "description" : "Search for Germplasm with these children",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/GermplasmListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "post" : {
- "tags" : [ "Germplasm" ],
- "summary" : "Create new Germplasm",
- "description" : "Add new Germplasm to database",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/GermplasmNewRequest"
- }
+ "/crosses" : {
+ "get" : {
+ "tags" : [
+ "Crosses"
+ ],
+ "summary" : "Get a filtered list of Cross",
+ "description" : "Get a list of Cross",
+ "parameters" : [
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "crossingProjectDbId",
+ "in" : "query",
+ "description" : "Search for Crossing Projects with this unique id",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "crossingProjectName",
+ "in" : "query",
+ "description" : "The human readable name for a crossing project",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "crossDbId",
+ "in" : "query",
+ "description" : "Search for Cross with this unique id",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "crossName",
+ "in" : "query",
+ "description" : "Search for Cross with this human readable name",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/CrossListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "put" : {
+ "tags" : [
+ "Crosses"
+ ],
+ "summary" : "Update the details for an existing Cross",
+ "description" : "Update the details for an existing Cross",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/CrossNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/CrossListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "post" : {
+ "tags" : [
+ "Crosses"
+ ],
+ "summary" : "Create new Cross",
+ "description" : "Add new Cross to database",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/CrossNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/CrossListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/GermplasmListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/attributes" : {
- "get" : {
- "tags" : [ "GermplasmAttributes" ],
- "summary" : "Get a filtered list of GermplasmAttribute",
- "description" : "Get a list of GermplasmAttribute",
- "parameters" : [ {
- "name" : "germplasmDbId",
- "in" : "query",
- "description" : "List of IDs which uniquely identify germplasm to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "methodDbId",
- "in" : "query",
- "description" : "List of methods to filter search results",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "methodName",
- "in" : "query",
- "description" : "Human readable name for the method\n
MIAPPE V1.1 (DM-88) Method Name of the method of observation",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "methodPUI",
- "in" : "query",
- "description" : "The Permanent Unique Identifier of a Method, usually in the form of a URI",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "scaleDbId",
- "in" : "query",
- "description" : "The unique identifier for a Scale",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "scaleName",
- "in" : "query",
- "description" : "Name of the scale\n
MIAPPE V1.1 (DM-92) Scale Name of the scale associated with the variable",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "scalePUI",
- "in" : "query",
- "description" : "The Permanent Unique Identifier of a Scale, usually in the form of a URI",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "traitDbId",
- "in" : "query",
- "description" : "The unique identifier for a Trait",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "traitName",
- "in" : "query",
- "description" : "The human readable name of a trait\n
MIAPPE V1.1 (DM-86) Trait - Name of the (plant or environmental) trait under observation",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "traitPUI",
- "in" : "query",
- "description" : "The Permanent Unique Identifier of a Trait, usually in the form of a URI",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "attributeDbId",
- "in" : "query",
- "description" : "List of Germplasm Attribute IDs to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "attributeName",
- "in" : "query",
- "description" : "List of human readable Germplasm Attribute names to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "attributePUI",
- "in" : "query",
- "description" : "The Permanent Unique Identifier of an Attribute, usually in the form of a URI",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "attributeCategory",
- "in" : "query",
- "description" : "General category for the attribute. very similar to Trait class.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/GermplasmAttributeListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "post" : {
- "tags" : [ "GermplasmAttributes" ],
- "summary" : "Create new GermplasmAttribute",
- "description" : "Add new GermplasmAttribute to database",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/GermplasmAttributeNewRequest"
- }
+ "/crossingprojects" : {
+ "get" : {
+ "tags" : [
+ "CrossingProjects"
+ ],
+ "summary" : "Get a filtered list of CrossingProject",
+ "description" : "Get a list of CrossingProject",
+ "parameters" : [
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "crossingProjectDbId",
+ "in" : "query",
+ "description" : "Search for Crossing Projects with this unique id",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "crossingProjectName",
+ "in" : "query",
+ "description" : "The human readable name for a crossing project",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "includePotentialParent",
+ "in" : "query",
+ "description" : "If the parameter 'includePotentialParents' is false, the array 'potentialParents' should be empty, null, or excluded from the response object.",
+ "required" : false,
+ "schema" : {
+ "type" : "boolean"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/CrossingProjectListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "post" : {
+ "tags" : [
+ "CrossingProjects"
+ ],
+ "summary" : "Create new CrossingProject",
+ "description" : "Add new CrossingProject to database",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/CrossingProjectNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/CrossingProjectListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/GermplasmAttributeListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/attributevalues" : {
- "get" : {
- "tags" : [ "GermplasmAttributeValues" ],
- "summary" : "Get a filtered list of GermplasmAttributeValue",
- "description" : "Get a list of GermplasmAttributeValue",
- "parameters" : [ {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmDbId",
- "in" : "query",
- "description" : "List of IDs which uniquely identify germplasm to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmName",
- "in" : "query",
- "description" : "List of human readable names to identify germplasm to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "attributeValueDbId",
- "in" : "query",
- "description" : "List of Germplasm Attribute Value IDs to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "attributeDbId",
- "in" : "query",
- "description" : "List of Germplasm Attribute IDs to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "attributeName",
- "in" : "query",
- "description" : "List of human readable Germplasm Attribute names to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "ontologyDbId",
- "in" : "query",
- "description" : "List of ontology IDs to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "methodDbId",
- "in" : "query",
- "description" : "List of methods to filter search results",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "scaleDbId",
- "in" : "query",
- "description" : "List of scales to filter search results",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "traitDbId",
- "in" : "query",
- "description" : "List of trait unique ID to filter search results",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "traitClass",
- "in" : "query",
- "description" : "List of trait classes to filter search results",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "dataType",
- "in" : "query",
- "description" : "List of scale data types to filter search results",
- "required" : false,
- "schema" : {
- "$ref" : "#/components/schemas/TraitDataType"
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/GermplasmAttributeValueListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "post" : {
- "tags" : [ "GermplasmAttributeValues" ],
- "summary" : "Create new GermplasmAttributeValue",
- "description" : "Add new GermplasmAttributeValue to database",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/GermplasmAttributeValueNewRequest"
- }
+ "/events" : {
+ "get" : {
+ "tags" : [
+ "Events"
+ ],
+ "summary" : "Get a filtered list of Event",
+ "description" : "Get a list of Event",
+ "parameters" : [
+ {
+ "name" : "studyDbId",
+ "in" : "query",
+ "description" : "List of study identifiers to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyName",
+ "in" : "query",
+ "description" : "List of study names to filter search results",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationUnitDbId",
+ "in" : "query",
+ "description" : "The ID which uniquely identifies an observation unit.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "eventDbId",
+ "in" : "query",
+ "description" : "Filter based on an Event DbId.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "eventType",
+ "in" : "query",
+ "description" : "Filter based on an Event Type",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "dateRangeStart",
+ "in" : "query",
+ "description" : "Filter based on an Event start date.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "dateRangeEnd",
+ "in" : "query",
+ "description" : "Filter based on an Event start date.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/EventListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/GermplasmAttributeValueListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/images" : {
- "get" : {
- "tags" : [ "Images" ],
- "summary" : "Get a filtered list of Image",
- "description" : "Get a list of Image",
- "parameters" : [ {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "descriptiveOntologyTerm",
- "in" : "query",
- "description" : "A list of terms to formally describe the image to search for. Each item could be a simple Tag, an Ontology reference Id, or a full ontology URL.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "imageFileName",
- "in" : "query",
- "description" : "Image file names to search for.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "imageFileSizeMax",
- "in" : "query",
- "description" : "A maximum image file size to search for.",
- "required" : false,
- "schema" : {
- "type" : "integer",
- "format" : "int32"
- }
- }, {
- "name" : "imageFileSizeMin",
- "in" : "query",
- "description" : "A minimum image file size to search for.",
- "required" : false,
- "schema" : {
- "type" : "integer",
- "format" : "int32"
- }
- }, {
- "name" : "imageHeightMax",
- "in" : "query",
- "description" : "A maximum image height to search for.",
- "required" : false,
- "schema" : {
- "type" : "integer",
- "format" : "int32"
- }
- }, {
- "name" : "imageHeightMin",
- "in" : "query",
- "description" : "A minimum image height to search for.",
- "required" : false,
- "schema" : {
- "type" : "integer",
- "format" : "int32"
- }
- }, {
- "name" : "imageLocation",
- "in" : "query",
- "required" : false,
- "schema" : {
- "$ref" : "#/components/schemas/GeoJSONSearchArea"
- }
- }, {
- "name" : "imageName",
- "in" : "query",
- "description" : "Human readable names to search for.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "imageTimeStampRangeEnd",
- "in" : "query",
- "description" : "The latest timestamp to search for.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "imageTimeStampRangeStart",
- "in" : "query",
- "description" : "The earliest timestamp to search for.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "imageWidthMax",
- "in" : "query",
- "description" : "A maximum image width to search for.",
- "required" : false,
- "schema" : {
- "type" : "integer",
- "format" : "int32"
- }
- }, {
- "name" : "imageWidthMin",
- "in" : "query",
- "description" : "A minimum image width to search for.",
- "required" : false,
- "schema" : {
- "type" : "integer",
- "format" : "int32"
- }
- }, {
- "name" : "mimeType",
- "in" : "query",
- "description" : "A set of image file types to search for.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationDbId",
- "in" : "query",
- "description" : "A list of observation Ids this image is associated with to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "imageDbId",
- "in" : "query",
- "description" : "A list of image Ids to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationUnitDbId",
- "in" : "query",
- "description" : "A set of observation unit identifiers to search for.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ImageListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "post" : {
- "tags" : [ "Images" ],
- "summary" : "Create new Image",
- "description" : "Add new Image to database",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/ImageNewRequest"
- }
+ "/maps" : {
+ "get" : {
+ "tags" : [
+ "GenomeMaps"
+ ],
+ "summary" : "Get a filtered list of GenomeMap",
+ "description" : "Get a list of GenomeMap",
+ "parameters" : [
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyDbId",
+ "in" : "query",
+ "description" : "List of study identifiers to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyName",
+ "in" : "query",
+ "description" : "List of study names to filter search results",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialDbId",
+ "in" : "query",
+ "description" : "The ID which uniquely identifies a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialName",
+ "in" : "query",
+ "description" : "The human readable name of a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "mapDbId",
+ "in" : "query",
+ "description" : "The ID which uniquely identifies a `GenomeMap`",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "mapPUI",
+ "in" : "query",
+ "description" : "The DOI or other permanent identifier for a `GenomeMap`",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "scientificName",
+ "in" : "query",
+ "description" : "Full scientific binomial format name. This includes Genus, Species, and Sub-species",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "type",
+ "in" : "query",
+ "description" : "The type of map, usually \"Genetic\" or \"Physical\"",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/GenomeMapListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ImageListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/lists" : {
- "get" : {
- "tags" : [ "Lists" ],
- "summary" : "Get a filtered list of List",
- "description" : "Get a list of List",
- "parameters" : [ {
- "name" : "dateCreatedRangeStart",
- "in" : "query",
- "description" : "Define the beginning for an interval of time and only include Lists that are created within this interval.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "dateCreatedRangeEnd",
- "in" : "query",
- "description" : "Define the end for an interval of time and only include Lists that are created within this interval.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "dateModifiedRangeStart",
- "in" : "query",
- "description" : "Define the beginning for an interval of time and only include Lists that are modified within this interval.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "dateModifiedRangeEnd",
- "in" : "query",
- "description" : "Define the end for an interval of time and only include Lists that are modified within this interval.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "listDbId",
- "in" : "query",
- "description" : "An array of primary database identifiers to identify a set of Lists",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "listName",
- "in" : "query",
- "description" : "An array of human readable names to identify a set of Lists",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "listOwnerName",
- "in" : "query",
- "description" : "An array of names for the people or entities who are responsible for a set of Lists",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "listOwnerPersonDbId",
- "in" : "query",
- "description" : "An array of primary database identifiers to identify people or entities who are responsible for a set of Lists",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "listSource",
- "in" : "query",
- "description" : "An array of terms identifying lists from different sources (ie 'USER', 'SYSTEM', etc)",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "listType",
- "in" : "query",
- "required" : false,
- "schema" : {
- "$ref" : "#/components/schemas/ListType"
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ListListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "post" : {
- "tags" : [ "Lists" ],
- "summary" : "Create new List",
- "description" : "Add new List to database",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/ListNewRequest"
- }
+ "/germplasm" : {
+ "get" : {
+ "tags" : [
+ "Germplasm"
+ ],
+ "summary" : "Get a filtered list of Germplasm",
+ "description" : "Get a list of Germplasm",
+ "parameters" : [
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmDbId",
+ "in" : "query",
+ "description" : "List of IDs which uniquely identify germplasm to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmName",
+ "in" : "query",
+ "description" : "List of human readable names to identify germplasm to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyDbId",
+ "in" : "query",
+ "description" : "List of study identifiers to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyName",
+ "in" : "query",
+ "description" : "List of study names to filter search results",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialDbId",
+ "in" : "query",
+ "description" : "The ID which uniquely identifies a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialName",
+ "in" : "query",
+ "description" : "The human readable name of a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmPUI",
+ "in" : "query",
+ "description" : "List of Permanent Unique Identifiers to identify germplasm",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "accessionNumber",
+ "in" : "query",
+ "description" : "A collection of unique identifiers for materials or germplasm within a genebank\n\nMCPD (v2.1) (ACCENUMB) 2. This is the unique identifier for accessions within a genebank, and is assigned when a sample is entered into the genebank collection (e.g. \"PI 113869\").",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "collection",
+ "in" : "query",
+ "description" : "A specific panel/collection/population name this germplasm belongs to.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "familyCode",
+ "in" : "query",
+ "description" : "A familyCode representing the family this germplasm belongs to.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "instituteCode",
+ "in" : "query",
+ "description" : "The code for the institute that maintains the material. \n
MCPD (v2.1) (INSTCODE) 1. FAO WIEWS code of the institute where the accession is maintained. The codes consist of the 3-letter ISO 3166 country code of the country where the institute is located plus a number (e.g. PER001). The current set of institute codes is available from http://www.fao.org/wiews. For those institutes not yet having an FAO Code, or for those with \"obsolete\" codes, see \"Common formatting rules (v)\".",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "binomialName",
+ "in" : "query",
+ "description" : "List of the full binomial name (scientific name) to identify a germplasm",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "genu",
+ "in" : "query",
+ "description" : "List of Genus names to identify germplasm",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "specy",
+ "in" : "query",
+ "description" : "List of Species names to identify germplasm",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "synonym",
+ "in" : "query",
+ "description" : "List of alternative names or IDs used to reference this germplasm",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "parentDbId",
+ "in" : "query",
+ "description" : "Search for Germplasm with these parents",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "progenyDbId",
+ "in" : "query",
+ "description" : "Search for Germplasm with these children",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/GermplasmListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "post" : {
+ "tags" : [
+ "Germplasm"
+ ],
+ "summary" : "Create new Germplasm",
+ "description" : "Add new Germplasm to database",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/GermplasmNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/GermplasmListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ListListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/locations" : {
- "get" : {
- "tags" : [ "Locations" ],
- "summary" : "Get a filtered list of Location",
- "description" : "Get a list of Location",
- "parameters" : [ {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "locationDbId",
- "in" : "query",
- "description" : "The location ids to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "locationName",
- "in" : "query",
- "description" : "A human readable names to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "abbreviation",
- "in" : "query",
- "description" : "A list of shortened human readable names for a set of Locations",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "altitudeMin",
- "in" : "query",
- "description" : "The minimum altitude to search for",
- "required" : false,
- "schema" : {
- "type" : "number"
- }
- }, {
- "name" : "altitudeMax",
- "in" : "query",
- "description" : "The maximum altitude to search for",
- "required" : false,
- "schema" : {
- "type" : "number"
- }
- }, {
- "name" : "countryCode",
- "in" : "query",
- "description" : "[ISO_3166-1_alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) spec",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "countryName",
- "in" : "query",
- "description" : "The full name of the country to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "coordinate",
- "in" : "query",
- "required" : false,
- "schema" : {
- "$ref" : "#/components/schemas/GeoJSONSearchArea"
- }
- }, {
- "name" : "instituteAddress",
- "in" : "query",
- "description" : "The street address of the institute to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "instituteName",
- "in" : "query",
- "description" : "The name of the institute to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "locationType",
- "in" : "query",
- "description" : "The type of location this represents (ex. Breeding Location, Storage Location, etc)",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "parentLocationDbId",
- "in" : "query",
- "description" : "The unique identifier for a Location\n
The Parent Location defines the encompassing location that this location belongs to. \nFor example, an Institution might have multiple Field Stations inside it and each Field Station might have multiple Fields.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "parentLocationName",
- "in" : "query",
- "description" : "A human readable name for a location\n
The Parent Location defines the encompassing location that this location belongs to. \nFor example, an Institution might have multiple Field Stations inside it and each Field Station might have multiple Fields.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/LocationListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "post" : {
- "tags" : [ "Locations" ],
- "summary" : "Create new Location",
- "description" : "Add new Location to database",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/LocationNewRequest"
- }
+ "/attributes" : {
+ "get" : {
+ "tags" : [
+ "GermplasmAttributes"
+ ],
+ "summary" : "Get a filtered list of GermplasmAttribute",
+ "description" : "Get a list of GermplasmAttribute",
+ "parameters" : [
+ {
+ "name" : "germplasmDbId",
+ "in" : "query",
+ "description" : "List of IDs which uniquely identify germplasm to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "methodDbId",
+ "in" : "query",
+ "description" : "List of methods to filter search results",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "methodName",
+ "in" : "query",
+ "description" : "Human readable name for the method\n
MIAPPE V1.1 (DM-88) Method Name of the method of observation",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "methodPUI",
+ "in" : "query",
+ "description" : "The Permanent Unique Identifier of a Method, usually in the form of a URI",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "scaleDbId",
+ "in" : "query",
+ "description" : "The unique identifier for a Scale",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "scaleName",
+ "in" : "query",
+ "description" : "Name of the scale\n
MIAPPE V1.1 (DM-92) Scale Name of the scale associated with the variable",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "scalePUI",
+ "in" : "query",
+ "description" : "The Permanent Unique Identifier of a Scale, usually in the form of a URI",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "traitDbId",
+ "in" : "query",
+ "description" : "The unique identifier for a Trait",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "traitName",
+ "in" : "query",
+ "description" : "The human readable name of a trait\n
MIAPPE V1.1 (DM-86) Trait - Name of the (plant or environmental) trait under observation",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "traitPUI",
+ "in" : "query",
+ "description" : "The Permanent Unique Identifier of a Trait, usually in the form of a URI",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "attributeDbId",
+ "in" : "query",
+ "description" : "List of Germplasm Attribute IDs to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "attributeName",
+ "in" : "query",
+ "description" : "List of human readable Germplasm Attribute names to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "attributePUI",
+ "in" : "query",
+ "description" : "The Permanent Unique Identifier of an Attribute, usually in the form of a URI",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "attributeCategory",
+ "in" : "query",
+ "description" : "General category for the attribute. very similar to Trait class.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/GermplasmAttributeListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "post" : {
+ "tags" : [
+ "GermplasmAttributes"
+ ],
+ "summary" : "Create new GermplasmAttribute",
+ "description" : "Add new GermplasmAttribute to database",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/GermplasmAttributeNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/GermplasmAttributeListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/LocationListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/markerpositions" : {
- "get" : {
- "tags" : [ "MarkerPositions" ],
- "summary" : "Get a filtered list of MarkerPosition",
- "description" : "Get a list of MarkerPosition",
- "parameters" : [ {
- "name" : "mapDbId",
- "in" : "query",
- "description" : "A list of IDs which uniquely identify `GenomeMaps` within the given database server",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "linkageGroupName",
- "in" : "query",
- "description" : "A list of Uniquely Identifiable linkage group names",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "variantDbId",
- "in" : "query",
- "description" : "A list of IDs which uniquely identify `Variants` within the given database server",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "minPosition",
- "in" : "query",
- "description" : "The minimum position of markers in a given map",
- "required" : false,
- "schema" : {
- "type" : "integer",
- "format" : "int32"
- }
- }, {
- "name" : "maxPosition",
- "in" : "query",
- "description" : "The maximum position of markers in a given map",
- "required" : false,
- "schema" : {
- "type" : "integer",
- "format" : "int32"
- }
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/MarkerPositionListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/methods" : {
- "get" : {
- "tags" : [ "Methods" ],
- "summary" : "Get a filtered list of Method",
- "description" : "Get a list of Method",
- "parameters" : [ {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "ontologyDbId",
- "in" : "query",
- "description" : "The unique identifier for an ontology definition. Use this parameter to filter results based on a specific ontology \n\n Use `GET /ontologies` to find the list of available ontologies on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "scaleDbId",
- "in" : "query",
- "description" : "The unique identifier for a method.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationVariableDbId",
- "in" : "query",
- "description" : "The unique identifier for an observation variable.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/MethodListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "post" : {
- "tags" : [ "Methods" ],
- "summary" : "Create new Method",
- "description" : "Add new Method to database",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/MethodNewRequest"
- }
+ "/attributevalues" : {
+ "get" : {
+ "tags" : [
+ "GermplasmAttributeValues"
+ ],
+ "summary" : "Get a filtered list of GermplasmAttributeValue",
+ "description" : "Get a list of GermplasmAttributeValue",
+ "parameters" : [
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmDbId",
+ "in" : "query",
+ "description" : "List of IDs which uniquely identify germplasm to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmName",
+ "in" : "query",
+ "description" : "List of human readable names to identify germplasm to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "attributeValueDbId",
+ "in" : "query",
+ "description" : "List of Germplasm Attribute Value IDs to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "attributeDbId",
+ "in" : "query",
+ "description" : "List of Germplasm Attribute IDs to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "attributeName",
+ "in" : "query",
+ "description" : "List of human readable Germplasm Attribute names to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "ontologyDbId",
+ "in" : "query",
+ "description" : "List of ontology IDs to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "methodDbId",
+ "in" : "query",
+ "description" : "List of methods to filter search results",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "scaleDbId",
+ "in" : "query",
+ "description" : "List of scales to filter search results",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "traitDbId",
+ "in" : "query",
+ "description" : "List of trait unique ID to filter search results",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "traitClass",
+ "in" : "query",
+ "description" : "List of trait classes to filter search results",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "dataType",
+ "in" : "query",
+ "description" : "List of scale data types to filter search results",
+ "required" : false,
+ "schema" : {
+ "$ref" : "#/components/schemas/TraitDataType"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/GermplasmAttributeValueListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "post" : {
+ "tags" : [
+ "GermplasmAttributeValues"
+ ],
+ "summary" : "Create new GermplasmAttributeValue",
+ "description" : "Add new GermplasmAttributeValue to database",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/GermplasmAttributeValueNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/GermplasmAttributeValueListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/MethodListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/observations" : {
- "get" : {
- "tags" : [ "Observations" ],
- "summary" : "Get a filtered list of Observation",
- "description" : "Get a list of Observation",
- "parameters" : [ {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmDbId",
- "in" : "query",
- "description" : "List of IDs which uniquely identify germplasm to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmName",
- "in" : "query",
- "description" : "List of human readable names to identify germplasm to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "locationDbId",
- "in" : "query",
- "description" : "The location ids to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "locationName",
- "in" : "query",
- "description" : "A human readable names to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationVariableDbId",
- "in" : "query",
- "description" : "The DbIds of Variables to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationVariableName",
- "in" : "query",
- "description" : "The names of Variables to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationVariablePUI",
- "in" : "query",
- "description" : "The Permanent Unique Identifier of an Observation Variable, usually in the form of a URI",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyDbId",
- "in" : "query",
- "description" : "List of study identifiers to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyName",
- "in" : "query",
- "description" : "List of study names to filter search results",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialDbId",
- "in" : "query",
- "description" : "The ID which uniquely identifies a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialName",
- "in" : "query",
- "description" : "The human readable name of a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationDbId",
- "in" : "query",
- "description" : "The unique id of an Observation",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationUnitDbId",
- "in" : "query",
- "description" : "The unique id of an Observation Unit",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationLevel",
- "in" : "query",
- "description" : "Searches for values in ObservationUnit->observationUnitPosition->observationLevel",
- "required" : false,
- "schema" : {
- "$ref" : "#/components/schemas/ObservationUnitLevel"
- }
- }, {
- "name" : "observationLevelRelationship",
- "in" : "query",
- "description" : "Searches for values in ObservationUnit->observationUnitPosition->observationLevelRelationships",
- "required" : false,
- "schema" : {
- "$ref" : "#/components/schemas/ObservationUnitLevelRelationship"
- }
- }, {
- "name" : "observationTimeStampRangeEnd",
- "in" : "query",
- "description" : "Timestamp range end",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationTimeStampRangeStart",
- "in" : "query",
- "description" : "Timestamp range start",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "seasonDbId",
- "in" : "query",
- "description" : "The year or Phenotyping campaign of a multi-annual study (trees, grape, ...)",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ObservationListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "put" : {
- "tags" : [ "Observations" ],
- "summary" : "Update the details for an existing Observation",
- "description" : "Update the details for an existing Observation",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/ObservationNewRequest"
- }
+ "/images" : {
+ "get" : {
+ "tags" : [
+ "Images"
+ ],
+ "summary" : "Get a filtered list of Image",
+ "description" : "Get a list of Image",
+ "parameters" : [
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "descriptiveOntologyTerm",
+ "in" : "query",
+ "description" : "A list of terms to formally describe the image to search for. Each item could be a simple Tag, an Ontology reference Id, or a full ontology URL.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "imageFileName",
+ "in" : "query",
+ "description" : "Image file names to search for.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "imageFileSizeMax",
+ "in" : "query",
+ "description" : "A maximum image file size to search for.",
+ "required" : false,
+ "schema" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ },
+ {
+ "name" : "imageFileSizeMin",
+ "in" : "query",
+ "description" : "A minimum image file size to search for.",
+ "required" : false,
+ "schema" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ },
+ {
+ "name" : "imageHeightMax",
+ "in" : "query",
+ "description" : "A maximum image height to search for.",
+ "required" : false,
+ "schema" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ },
+ {
+ "name" : "imageHeightMin",
+ "in" : "query",
+ "description" : "A minimum image height to search for.",
+ "required" : false,
+ "schema" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ },
+ {
+ "name" : "imageLocation",
+ "in" : "query",
+ "required" : false,
+ "schema" : {
+ "$ref" : "#/components/schemas/GeoJSONSearchArea"
+ }
+ },
+ {
+ "name" : "imageName",
+ "in" : "query",
+ "description" : "Human readable names to search for.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "imageTimeStampRangeEnd",
+ "in" : "query",
+ "description" : "The latest timestamp to search for.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "imageTimeStampRangeStart",
+ "in" : "query",
+ "description" : "The earliest timestamp to search for.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "imageWidthMax",
+ "in" : "query",
+ "description" : "A maximum image width to search for.",
+ "required" : false,
+ "schema" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ },
+ {
+ "name" : "imageWidthMin",
+ "in" : "query",
+ "description" : "A minimum image width to search for.",
+ "required" : false,
+ "schema" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ },
+ {
+ "name" : "mimeType",
+ "in" : "query",
+ "description" : "A set of image file types to search for.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationDbId",
+ "in" : "query",
+ "description" : "A list of observation Ids this image is associated with to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "imageDbId",
+ "in" : "query",
+ "description" : "A list of image Ids to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationUnitDbId",
+ "in" : "query",
+ "description" : "A set of observation unit identifiers to search for.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ImageListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "post" : {
+ "tags" : [
+ "Images"
+ ],
+ "summary" : "Create new Image",
+ "description" : "Add new Image to database",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ImageNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ImageListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ObservationListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "post" : {
- "tags" : [ "Observations" ],
- "summary" : "Create new Observation",
- "description" : "Add new Observation to database",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/ObservationNewRequest"
- }
+ "/lists" : {
+ "get" : {
+ "tags" : [
+ "Lists"
+ ],
+ "summary" : "Get a filtered list of List",
+ "description" : "Get a list of List",
+ "parameters" : [
+ {
+ "name" : "dateCreatedRangeStart",
+ "in" : "query",
+ "description" : "Define the beginning for an interval of time and only include Lists that are created within this interval.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "dateCreatedRangeEnd",
+ "in" : "query",
+ "description" : "Define the end for an interval of time and only include Lists that are created within this interval.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "dateModifiedRangeStart",
+ "in" : "query",
+ "description" : "Define the beginning for an interval of time and only include Lists that are modified within this interval.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "dateModifiedRangeEnd",
+ "in" : "query",
+ "description" : "Define the end for an interval of time and only include Lists that are modified within this interval.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "listDbId",
+ "in" : "query",
+ "description" : "An array of primary database identifiers to identify a set of Lists",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "listName",
+ "in" : "query",
+ "description" : "An array of human readable names to identify a set of Lists",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "listOwnerName",
+ "in" : "query",
+ "description" : "An array of names for the people or entities who are responsible for a set of Lists",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "listOwnerPersonDbId",
+ "in" : "query",
+ "description" : "An array of primary database identifiers to identify people or entities who are responsible for a set of Lists",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "listSource",
+ "in" : "query",
+ "description" : "An array of terms identifying lists from different sources (ie 'USER', 'SYSTEM', etc)",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "listType",
+ "in" : "query",
+ "required" : false,
+ "schema" : {
+ "$ref" : "#/components/schemas/ListType"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ListListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "post" : {
+ "tags" : [
+ "Lists"
+ ],
+ "summary" : "Create new List",
+ "description" : "Add new List to database",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ListNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ListListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ObservationListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/observationunits" : {
- "get" : {
- "tags" : [ "ObservationUnits" ],
- "summary" : "Get a filtered list of ObservationUnit",
- "description" : "Get a list of ObservationUnit",
- "parameters" : [ {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmDbId",
- "in" : "query",
- "description" : "List of IDs which uniquely identify germplasm to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmName",
- "in" : "query",
- "description" : "List of human readable names to identify germplasm to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "locationDbId",
- "in" : "query",
- "description" : "The location ids to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "locationName",
- "in" : "query",
- "description" : "A human readable names to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyDbId",
- "in" : "query",
- "description" : "List of study identifiers to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyName",
- "in" : "query",
- "description" : "List of study names to filter search results",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationVariableDbId",
- "in" : "query",
- "description" : "The DbIds of Variables to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationVariableName",
- "in" : "query",
- "description" : "The names of Variables to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationVariablePUI",
- "in" : "query",
- "description" : "The Permanent Unique Identifier of an Observation Variable, usually in the form of a URI",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialDbId",
- "in" : "query",
- "description" : "The ID which uniquely identifies a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialName",
- "in" : "query",
- "description" : "The human readable name of a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationUnitDbId",
- "in" : "query",
- "description" : "The unique id of an observation unit",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationUnitName",
- "in" : "query",
- "description" : "The human readable identifier for an Observation Unit",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationLevel",
- "in" : "query",
- "description" : "Searches for values in ObservationUnit->observationUnitPosition->observationLevel",
- "required" : false,
- "schema" : {
- "$ref" : "#/components/schemas/ObservationUnitLevel"
- }
- }, {
- "name" : "observationLevelRelationship",
- "in" : "query",
- "description" : "Searches for values in ObservationUnit->observationUnitPosition->observationLevelRelationships",
- "required" : false,
- "schema" : {
- "$ref" : "#/components/schemas/ObservationUnitLevelRelationship"
- }
- }, {
- "name" : "includeObservation",
- "in" : "query",
- "description" : "Use this parameter to include a list of observations embedded in each ObservationUnit object. \n\nCAUTION - Use this parameter at your own risk. It may return large, unpaginated lists of observation data. Only set this value to True if you are sure you need to.",
- "required" : false,
- "schema" : {
- "type" : "boolean"
- }
- }, {
- "name" : "seasonDbId",
- "in" : "query",
- "description" : "The year or Phenotyping campaign of a multi-annual study (trees, grape, ...)",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ObservationUnitListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "put" : {
- "tags" : [ "ObservationUnits" ],
- "summary" : "Update the details for an existing ObservationUnit",
- "description" : "Update the details for an existing ObservationUnit",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/ObservationUnitNewRequest"
- }
+ "/locations" : {
+ "get" : {
+ "tags" : [
+ "Locations"
+ ],
+ "summary" : "Get a filtered list of Location",
+ "description" : "Get a list of Location",
+ "parameters" : [
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "locationDbId",
+ "in" : "query",
+ "description" : "The location ids to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "locationName",
+ "in" : "query",
+ "description" : "A human readable names to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "abbreviation",
+ "in" : "query",
+ "description" : "A list of shortened human readable names for a set of Locations",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "altitudeMin",
+ "in" : "query",
+ "description" : "The minimum altitude to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "number"
+ }
+ },
+ {
+ "name" : "altitudeMax",
+ "in" : "query",
+ "description" : "The maximum altitude to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "number"
+ }
+ },
+ {
+ "name" : "countryCode",
+ "in" : "query",
+ "description" : "[ISO_3166-1_alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) spec",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "countryName",
+ "in" : "query",
+ "description" : "The full name of the country to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "coordinate",
+ "in" : "query",
+ "required" : false,
+ "schema" : {
+ "$ref" : "#/components/schemas/GeoJSONSearchArea"
+ }
+ },
+ {
+ "name" : "instituteAddress",
+ "in" : "query",
+ "description" : "The street address of the institute to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "instituteName",
+ "in" : "query",
+ "description" : "The name of the institute to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "locationType",
+ "in" : "query",
+ "description" : "The type of location this represents (ex. Breeding Location, Storage Location, etc)",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "parentLocationDbId",
+ "in" : "query",
+ "description" : "The unique identifier for a Location\n
The Parent Location defines the encompassing location that this location belongs to. \nFor example, an Institution might have multiple Field Stations inside it and each Field Station might have multiple Fields.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "parentLocationName",
+ "in" : "query",
+ "description" : "A human readable name for a location\n
The Parent Location defines the encompassing location that this location belongs to. \nFor example, an Institution might have multiple Field Stations inside it and each Field Station might have multiple Fields.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/LocationListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "post" : {
+ "tags" : [
+ "Locations"
+ ],
+ "summary" : "Create new Location",
+ "description" : "Add new Location to database",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/LocationNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/LocationListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ObservationUnitListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "post" : {
- "tags" : [ "ObservationUnits" ],
- "summary" : "Create new ObservationUnit",
- "description" : "Add new ObservationUnit to database",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/ObservationUnitNewRequest"
- }
+ "/markerpositions" : {
+ "get" : {
+ "tags" : [
+ "MarkerPositions"
+ ],
+ "summary" : "Get a filtered list of MarkerPosition",
+ "description" : "Get a list of MarkerPosition",
+ "parameters" : [
+ {
+ "name" : "mapDbId",
+ "in" : "query",
+ "description" : "A list of IDs which uniquely identify `GenomeMaps` within the given database server",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "linkageGroupName",
+ "in" : "query",
+ "description" : "A list of Uniquely Identifiable linkage group names",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "variantDbId",
+ "in" : "query",
+ "description" : "A list of IDs which uniquely identify `Variants` within the given database server",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "minPosition",
+ "in" : "query",
+ "description" : "The minimum position of markers in a given map",
+ "required" : false,
+ "schema" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ },
+ {
+ "name" : "maxPosition",
+ "in" : "query",
+ "description" : "The maximum position of markers in a given map",
+ "required" : false,
+ "schema" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/MarkerPositionListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ObservationUnitListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/variables" : {
- "get" : {
- "tags" : [ "ObservationVariables" ],
- "summary" : "Get a filtered list of ObservationVariable",
- "description" : "Get a list of ObservationVariable",
- "parameters" : [ {
- "name" : "observationVariableDbId",
- "in" : "query",
- "description" : "The DbIds of Variables to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationVariableName",
- "in" : "query",
- "description" : "The names of Variables to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationVariablePUI",
- "in" : "query",
- "description" : "The Permanent Unique Identifier of an Observation Variable, usually in the form of a URI",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyDbId",
- "in" : "query",
- "description" : "List of study identifiers to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyName",
- "in" : "query",
- "description" : "List of study names to filter search results",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialDbId",
- "in" : "query",
- "description" : "The ID which uniquely identifies a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialName",
- "in" : "query",
- "description" : "The human readable name of a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyDbId",
- "in" : "query",
- "description" : "**Deprecated in v2.1** Please use `studyDbIds`. Github issue number #483 \n
The unique ID of a studies to filter on",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "ontologyDbId",
- "in" : "query",
- "description" : "List of ontology IDs to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "methodDbId",
- "in" : "query",
- "description" : "List of methods to filter search results",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "methodName",
- "in" : "query",
- "description" : "Human readable name for the method\n
MIAPPE V1.1 (DM-88) Method Name of the method of observation",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "methodPUI",
- "in" : "query",
- "description" : "The Permanent Unique Identifier of a Method, usually in the form of a URI",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "scaleDbId",
- "in" : "query",
- "description" : "The unique identifier for a Scale",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "scaleName",
- "in" : "query",
- "description" : "Name of the scale\n
MIAPPE V1.1 (DM-92) Scale Name of the scale associated with the variable",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "scalePUI",
- "in" : "query",
- "description" : "The Permanent Unique Identifier of a Scale, usually in the form of a URI",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "dataType",
- "in" : "query",
- "description" : "List of scale data types to filter search results",
- "required" : false,
- "schema" : {
- "$ref" : "#/components/schemas/TraitDataType"
- }
- }, {
- "name" : "traitClass",
- "in" : "query",
- "description" : "List of trait classes to filter search results",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "traitDbId",
- "in" : "query",
- "description" : "The unique identifier for a Trait",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "traitName",
- "in" : "query",
- "description" : "The human readable name of a trait\n
MIAPPE V1.1 (DM-86) Trait - Name of the (plant or environmental) trait under observation",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "traitPUI",
- "in" : "query",
- "description" : "The Permanent Unique Identifier of a Trait, usually in the form of a URI",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "traitAttribute",
- "in" : "query",
- "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\"",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "traitAttributePUI",
- "in" : "query",
- "description" : "The Permanent Unique Identifier of a Trait Attribute, usually in the form of a URI\n
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\"",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "traitEntity",
- "in" : "query",
- "description" : "A trait can be decomposed as \"Trait\" = \"Entity\" + \"Attribute\", the entity is the part of the plant that the trait refers to e.g., for \"grain colour\", entity = \"grain\"",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "traitEntityPUI",
- "in" : "query",
- "description" : "The Permanent Unique Identifier of a Trait Entity, usually in the form of a URI\n
A trait can be decomposed as \"Trait\" = \"Entity\" + \"Attribute\", the entity is the part of the plant that the trait refers to e.g., for \"grain colour\", entity = \"grain\" ",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ObservationVariableListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "post" : {
- "tags" : [ "ObservationVariables" ],
- "summary" : "Create new ObservationVariable",
- "description" : "Add new ObservationVariable to database",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/ObservationVariableNewRequest"
- }
+ "/methods" : {
+ "get" : {
+ "tags" : [
+ "Methods"
+ ],
+ "summary" : "Get a filtered list of Method",
+ "description" : "Get a list of Method",
+ "parameters" : [
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "ontologyDbId",
+ "in" : "query",
+ "description" : "The unique identifier for an ontology definition. Use this parameter to filter results based on a specific ontology \n\n Use `GET /ontologies` to find the list of available ontologies on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "scaleDbId",
+ "in" : "query",
+ "description" : "The unique identifier for a method.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationVariableDbId",
+ "in" : "query",
+ "description" : "The unique identifier for an observation variable.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/MethodListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "post" : {
+ "tags" : [
+ "Methods"
+ ],
+ "summary" : "Create new Method",
+ "description" : "Add new Method to database",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/MethodNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/MethodListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ObservationVariableListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/ontologies" : {
- "get" : {
- "tags" : [ "Ontologies" ],
- "summary" : "Get a filtered list of Ontology",
- "description" : "Get a list of Ontology",
- "parameters" : [ {
- "name" : "ontologyDbId",
- "in" : "query",
- "description" : "The unique identifier for an ontology definition. Use this parameter to filter results based on a specific ontology \n\n Use `GET /ontologies` to find the list of available ontologies on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "ontologyName",
- "in" : "query",
- "description" : "The human readable identifier for an ontology definition.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/OntologyListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "post" : {
- "tags" : [ "Ontologies" ],
- "summary" : "Create new Ontology",
- "description" : "Add new Ontology to database",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/OntologyNewRequest"
- }
+ "/observations" : {
+ "get" : {
+ "tags" : [
+ "Observations"
+ ],
+ "summary" : "Get a filtered list of Observation",
+ "description" : "Get a list of Observation",
+ "parameters" : [
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmDbId",
+ "in" : "query",
+ "description" : "List of IDs which uniquely identify germplasm to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmName",
+ "in" : "query",
+ "description" : "List of human readable names to identify germplasm to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "locationDbId",
+ "in" : "query",
+ "description" : "The location ids to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "locationName",
+ "in" : "query",
+ "description" : "A human readable names to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationVariableDbId",
+ "in" : "query",
+ "description" : "The DbIds of Variables to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationVariableName",
+ "in" : "query",
+ "description" : "The names of Variables to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationVariablePUI",
+ "in" : "query",
+ "description" : "The Permanent Unique Identifier of an Observation Variable, usually in the form of a URI",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyDbId",
+ "in" : "query",
+ "description" : "List of study identifiers to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyName",
+ "in" : "query",
+ "description" : "List of study names to filter search results",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialDbId",
+ "in" : "query",
+ "description" : "The ID which uniquely identifies a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialName",
+ "in" : "query",
+ "description" : "The human readable name of a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationDbId",
+ "in" : "query",
+ "description" : "The unique id of an Observation",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationUnitDbId",
+ "in" : "query",
+ "description" : "The unique id of an Observation Unit",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationLevel",
+ "in" : "query",
+ "description" : "Searches for values in ObservationUnit->observationUnitPosition->observationLevel",
+ "required" : false,
+ "schema" : {
+ "$ref" : "#/components/schemas/ObservationUnitLevel"
+ }
+ },
+ {
+ "name" : "observationLevelRelationship",
+ "in" : "query",
+ "description" : "Searches for values in ObservationUnit->observationUnitPosition->observationLevelRelationships",
+ "required" : false,
+ "schema" : {
+ "$ref" : "#/components/schemas/ObservationUnitLevelRelationship"
+ }
+ },
+ {
+ "name" : "observationTimeStampRangeEnd",
+ "in" : "query",
+ "description" : "Timestamp range end",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationTimeStampRangeStart",
+ "in" : "query",
+ "description" : "Timestamp range start",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "seasonDbId",
+ "in" : "query",
+ "description" : "The year or Phenotyping campaign of a multi-annual study (trees, grape, ...)",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ObservationListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "put" : {
+ "tags" : [
+ "Observations"
+ ],
+ "summary" : "Update the details for an existing Observation",
+ "description" : "Update the details for an existing Observation",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ObservationNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ObservationListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "post" : {
+ "tags" : [
+ "Observations"
+ ],
+ "summary" : "Create new Observation",
+ "description" : "Add new Observation to database",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ObservationNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ObservationListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/OntologyListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/pedigree" : {
- "get" : {
- "tags" : [ "PedigreeNodes" ],
- "summary" : "Get a filtered list of PedigreeNode",
- "description" : "Get a list of PedigreeNode",
- "parameters" : [ {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmDbId",
- "in" : "query",
- "description" : "List of IDs which uniquely identify germplasm to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmName",
- "in" : "query",
- "description" : "List of human readable names to identify germplasm to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyDbId",
- "in" : "query",
- "description" : "List of study identifiers to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyName",
- "in" : "query",
- "description" : "List of study names to filter search results",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialDbId",
- "in" : "query",
- "description" : "The ID which uniquely identifies a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialName",
- "in" : "query",
- "description" : "The human readable name of a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmPUI",
- "in" : "query",
- "description" : "List of Permanent Unique Identifiers to identify germplasm",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "accessionNumber",
- "in" : "query",
- "description" : "A collection of unique identifiers for materials or germplasm within a genebank\n\nMCPD (v2.1) (ACCENUMB) 2. This is the unique identifier for accessions within a genebank, and is assigned when a sample is entered into the genebank collection (e.g. \"PI 113869\").",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "collection",
- "in" : "query",
- "description" : "A specific panel/collection/population name this germplasm belongs to.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "familyCode",
- "in" : "query",
- "description" : "A familyCode representing the family this germplasm belongs to.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "instituteCode",
- "in" : "query",
- "description" : "The code for the institute that maintains the material. \n
MCPD (v2.1) (INSTCODE) 1. FAO WIEWS code of the institute where the accession is maintained. The codes consist of the 3-letter ISO 3166 country code of the country where the institute is located plus a number (e.g. PER001). The current set of institute codes is available from http://www.fao.org/wiews. For those institutes not yet having an FAO Code, or for those with \"obsolete\" codes, see \"Common formatting rules (v)\".",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "binomialName",
- "in" : "query",
- "description" : "List of the full binomial name (scientific name) to identify a germplasm",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "genu",
- "in" : "query",
- "description" : "List of Genus names to identify germplasm",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "specy",
- "in" : "query",
- "description" : "List of Species names to identify germplasm",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "synonym",
- "in" : "query",
- "description" : "List of alternative names or IDs used to reference this germplasm",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "includeParent",
- "in" : "query",
- "description" : "If this parameter is true, include the array of parents in the response",
- "required" : false,
- "schema" : {
- "type" : "boolean"
- }
- }, {
- "name" : "includeSibling",
- "in" : "query",
- "description" : "If this parameter is true, include the array of siblings in the response",
- "required" : false,
- "schema" : {
- "type" : "boolean"
- }
- }, {
- "name" : "includeProgeny",
- "in" : "query",
- "description" : "If this parameter is true, include the array of progeny in the response",
- "required" : false,
- "schema" : {
- "type" : "boolean"
- }
- }, {
- "name" : "includeFullTree",
- "in" : "query",
- "description" : "If this parameter is true, recursively include ALL of the nodes available in this pedigree tree",
- "required" : false,
- "schema" : {
- "type" : "boolean"
- }
- }, {
- "name" : "pedigreeDepth",
- "in" : "query",
- "description" : "Recursively include this number of levels up the tree in the response (parents, grand-parents, great-grand-parents, etc)",
- "required" : false,
- "schema" : {
- "type" : "integer",
- "format" : "int32"
- }
- }, {
- "name" : "progenyDepth",
- "in" : "query",
- "description" : "Recursively include this number of levels down the tree in the response (children, grand-children, great-grand-children, etc)",
- "required" : false,
- "schema" : {
- "type" : "integer",
- "format" : "int32"
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/PedigreeNodeListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "post" : {
- "tags" : [ "PedigreeNodes" ],
- "summary" : "Create new PedigreeNode",
- "description" : "Add new PedigreeNode to database",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/PedigreeNode"
- }
+ "/observationunits" : {
+ "get" : {
+ "tags" : [
+ "ObservationUnits"
+ ],
+ "summary" : "Get a filtered list of ObservationUnit",
+ "description" : "Get a list of ObservationUnit",
+ "parameters" : [
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmDbId",
+ "in" : "query",
+ "description" : "List of IDs which uniquely identify germplasm to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmName",
+ "in" : "query",
+ "description" : "List of human readable names to identify germplasm to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "locationDbId",
+ "in" : "query",
+ "description" : "The location ids to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "locationName",
+ "in" : "query",
+ "description" : "A human readable names to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyDbId",
+ "in" : "query",
+ "description" : "List of study identifiers to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyName",
+ "in" : "query",
+ "description" : "List of study names to filter search results",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationVariableDbId",
+ "in" : "query",
+ "description" : "The DbIds of Variables to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationVariableName",
+ "in" : "query",
+ "description" : "The names of Variables to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationVariablePUI",
+ "in" : "query",
+ "description" : "The Permanent Unique Identifier of an Observation Variable, usually in the form of a URI",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialDbId",
+ "in" : "query",
+ "description" : "The ID which uniquely identifies a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialName",
+ "in" : "query",
+ "description" : "The human readable name of a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationUnitDbId",
+ "in" : "query",
+ "description" : "The unique id of an observation unit",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationUnitName",
+ "in" : "query",
+ "description" : "The human readable identifier for an Observation Unit",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationLevel",
+ "in" : "query",
+ "description" : "Searches for values in ObservationUnit->observationUnitPosition->observationLevel",
+ "required" : false,
+ "schema" : {
+ "$ref" : "#/components/schemas/ObservationUnitLevel"
+ }
+ },
+ {
+ "name" : "observationLevelRelationship",
+ "in" : "query",
+ "description" : "Searches for values in ObservationUnit->observationUnitPosition->observationLevelRelationships",
+ "required" : false,
+ "schema" : {
+ "$ref" : "#/components/schemas/ObservationUnitLevelRelationship"
+ }
+ },
+ {
+ "name" : "includeObservation",
+ "in" : "query",
+ "description" : "Use this parameter to include a list of observations embedded in each ObservationUnit object. \n\nCAUTION - Use this parameter at your own risk. It may return large, unpaginated lists of observation data. Only set this value to True if you are sure you need to.",
+ "required" : false,
+ "schema" : {
+ "type" : "boolean"
+ }
+ },
+ {
+ "name" : "seasonDbId",
+ "in" : "query",
+ "description" : "The year or Phenotyping campaign of a multi-annual study (trees, grape, ...)",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ObservationUnitListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "put" : {
+ "tags" : [
+ "ObservationUnits"
+ ],
+ "summary" : "Update the details for an existing ObservationUnit",
+ "description" : "Update the details for an existing ObservationUnit",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ObservationUnitNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ObservationUnitListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "post" : {
+ "tags" : [
+ "ObservationUnits"
+ ],
+ "summary" : "Create new ObservationUnit",
+ "description" : "Add new ObservationUnit to database",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ObservationUnitNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ObservationUnitListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/PedigreeNodeListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/people" : {
- "get" : {
- "tags" : [ "People" ],
- "summary" : "Get a filtered list of Person",
- "description" : "Get a list of Person",
- "parameters" : [ {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "emailAddress",
- "in" : "query",
- "description" : "email address for this person",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "firstName",
- "in" : "query",
- "description" : "Persons first name",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "lastName",
- "in" : "query",
- "description" : "Persons last name",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "mailingAddress",
- "in" : "query",
- "description" : "physical address of this person",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "middleName",
- "in" : "query",
- "description" : "Persons middle name",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "personDbId",
- "in" : "query",
- "description" : "Unique ID for this person",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "phoneNumber",
- "in" : "query",
- "description" : "phone number of this person",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "userID",
- "in" : "query",
- "description" : "A systems user ID associated with this person. Different from personDbId because you could have a person who is not a user of the system.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/PersonListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "post" : {
- "tags" : [ "People" ],
- "summary" : "Create new Person",
- "description" : "Add new Person to database",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/PersonNewRequest"
- }
+ "/variables" : {
+ "get" : {
+ "tags" : [
+ "ObservationVariables"
+ ],
+ "summary" : "Get a filtered list of ObservationVariable",
+ "description" : "Get a list of ObservationVariable",
+ "parameters" : [
+ {
+ "name" : "observationVariableDbId",
+ "in" : "query",
+ "description" : "The DbIds of Variables to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationVariableName",
+ "in" : "query",
+ "description" : "The names of Variables to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationVariablePUI",
+ "in" : "query",
+ "description" : "The Permanent Unique Identifier of an Observation Variable, usually in the form of a URI",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyDbId",
+ "in" : "query",
+ "description" : "List of study identifiers to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyName",
+ "in" : "query",
+ "description" : "List of study names to filter search results",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialDbId",
+ "in" : "query",
+ "description" : "The ID which uniquely identifies a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialName",
+ "in" : "query",
+ "description" : "The human readable name of a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyDbId",
+ "in" : "query",
+ "description" : "**Deprecated in v2.1** Please use `studyDbIds`. Github issue number #483 \n
The unique ID of a studies to filter on",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "ontologyDbId",
+ "in" : "query",
+ "description" : "List of ontology IDs to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "methodDbId",
+ "in" : "query",
+ "description" : "List of methods to filter search results",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "methodName",
+ "in" : "query",
+ "description" : "Human readable name for the method\n
MIAPPE V1.1 (DM-88) Method Name of the method of observation",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "methodPUI",
+ "in" : "query",
+ "description" : "The Permanent Unique Identifier of a Method, usually in the form of a URI",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "scaleDbId",
+ "in" : "query",
+ "description" : "The unique identifier for a Scale",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "scaleName",
+ "in" : "query",
+ "description" : "Name of the scale\n
MIAPPE V1.1 (DM-92) Scale Name of the scale associated with the variable",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "scalePUI",
+ "in" : "query",
+ "description" : "The Permanent Unique Identifier of a Scale, usually in the form of a URI",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "dataType",
+ "in" : "query",
+ "description" : "List of scale data types to filter search results",
+ "required" : false,
+ "schema" : {
+ "$ref" : "#/components/schemas/TraitDataType"
+ }
+ },
+ {
+ "name" : "traitClass",
+ "in" : "query",
+ "description" : "List of trait classes to filter search results",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "traitDbId",
+ "in" : "query",
+ "description" : "The unique identifier for a Trait",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "traitName",
+ "in" : "query",
+ "description" : "The human readable name of a trait\n
MIAPPE V1.1 (DM-86) Trait - Name of the (plant or environmental) trait under observation",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "traitPUI",
+ "in" : "query",
+ "description" : "The Permanent Unique Identifier of a Trait, usually in the form of a URI",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "traitAttribute",
+ "in" : "query",
+ "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\"",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "traitAttributePUI",
+ "in" : "query",
+ "description" : "The Permanent Unique Identifier of a Trait Attribute, usually in the form of a URI\n
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\"",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "traitEntity",
+ "in" : "query",
+ "description" : "A trait can be decomposed as \"Trait\" = \"Entity\" + \"Attribute\", the entity is the part of the plant that the trait refers to e.g., for \"grain colour\", entity = \"grain\"",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "traitEntityPUI",
+ "in" : "query",
+ "description" : "The Permanent Unique Identifier of a Trait Entity, usually in the form of a URI\n
A trait can be decomposed as \"Trait\" = \"Entity\" + \"Attribute\", the entity is the part of the plant that the trait refers to e.g., for \"grain colour\", entity = \"grain\" ",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ObservationVariableListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "post" : {
+ "tags" : [
+ "ObservationVariables"
+ ],
+ "summary" : "Create new ObservationVariable",
+ "description" : "Add new ObservationVariable to database",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ObservationVariableNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ObservationVariableListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/PersonListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/plannedcrosses" : {
- "get" : {
- "tags" : [ "Crosses" ],
- "summary" : "Get a filtered list of PlannedCross",
- "description" : "Get a list of PlannedCross",
- "parameters" : [ {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "crossingProjectDbId",
- "in" : "query",
- "description" : "Search for Crossing Projects with this unique id",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "crossingProjectName",
- "in" : "query",
- "description" : "The human readable name for a crossing project",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "plannedCrossDbId",
- "in" : "query",
- "description" : "Search for Planned Cross with this unique id",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "plannedCrossName",
- "in" : "query",
- "description" : "Search for Planned Cross with this human readable name",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "status",
- "in" : "query",
- "description" : "The status of this planned cross. Is it waiting to be performed ('TODO'), has it been completed successfully ('DONE'), or has it not been done on purpose ('SKIPPED').",
- "required" : false,
- "schema" : {
- "type" : "string",
- "enum" : [ "TODO", "DONE", "SKIPPED" ]
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/PlannedCrossListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "put" : {
- "tags" : [ "Crosses" ],
- "summary" : "Update the details for an existing PlannedCross",
- "description" : "Update the details for an existing PlannedCross",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/PlannedCross"
- }
+ "/ontologies" : {
+ "get" : {
+ "tags" : [
+ "Ontologies"
+ ],
+ "summary" : "Get a filtered list of Ontology",
+ "description" : "Get a list of Ontology",
+ "parameters" : [
+ {
+ "name" : "ontologyDbId",
+ "in" : "query",
+ "description" : "The unique identifier for an ontology definition. Use this parameter to filter results based on a specific ontology \n\n Use `GET /ontologies` to find the list of available ontologies on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "ontologyName",
+ "in" : "query",
+ "description" : "The human readable identifier for an ontology definition.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/OntologyListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "post" : {
+ "tags" : [
+ "Ontologies"
+ ],
+ "summary" : "Create new Ontology",
+ "description" : "Add new Ontology to database",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/OntologyNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/OntologyListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/PlannedCrossListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "post" : {
- "tags" : [ "Crosses" ],
- "summary" : "Create new PlannedCross",
- "description" : "Add new PlannedCross to database",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/PlannedCross"
- }
+ "/pedigree" : {
+ "get" : {
+ "tags" : [
+ "PedigreeNodes"
+ ],
+ "summary" : "Get a filtered list of PedigreeNode",
+ "description" : "Get a list of PedigreeNode",
+ "parameters" : [
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmDbId",
+ "in" : "query",
+ "description" : "List of IDs which uniquely identify germplasm to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmName",
+ "in" : "query",
+ "description" : "List of human readable names to identify germplasm to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyDbId",
+ "in" : "query",
+ "description" : "List of study identifiers to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyName",
+ "in" : "query",
+ "description" : "List of study names to filter search results",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialDbId",
+ "in" : "query",
+ "description" : "The ID which uniquely identifies a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialName",
+ "in" : "query",
+ "description" : "The human readable name of a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmPUI",
+ "in" : "query",
+ "description" : "List of Permanent Unique Identifiers to identify germplasm",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "accessionNumber",
+ "in" : "query",
+ "description" : "A collection of unique identifiers for materials or germplasm within a genebank\n\nMCPD (v2.1) (ACCENUMB) 2. This is the unique identifier for accessions within a genebank, and is assigned when a sample is entered into the genebank collection (e.g. \"PI 113869\").",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "collection",
+ "in" : "query",
+ "description" : "A specific panel/collection/population name this germplasm belongs to.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "familyCode",
+ "in" : "query",
+ "description" : "A familyCode representing the family this germplasm belongs to.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "instituteCode",
+ "in" : "query",
+ "description" : "The code for the institute that maintains the material. \n
MCPD (v2.1) (INSTCODE) 1. FAO WIEWS code of the institute where the accession is maintained. The codes consist of the 3-letter ISO 3166 country code of the country where the institute is located plus a number (e.g. PER001). The current set of institute codes is available from http://www.fao.org/wiews. For those institutes not yet having an FAO Code, or for those with \"obsolete\" codes, see \"Common formatting rules (v)\".",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "binomialName",
+ "in" : "query",
+ "description" : "List of the full binomial name (scientific name) to identify a germplasm",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "genu",
+ "in" : "query",
+ "description" : "List of Genus names to identify germplasm",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "specy",
+ "in" : "query",
+ "description" : "List of Species names to identify germplasm",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "synonym",
+ "in" : "query",
+ "description" : "List of alternative names or IDs used to reference this germplasm",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "includeParent",
+ "in" : "query",
+ "description" : "If this parameter is true, include the array of parents in the response",
+ "required" : false,
+ "schema" : {
+ "type" : "boolean"
+ }
+ },
+ {
+ "name" : "includeSibling",
+ "in" : "query",
+ "description" : "If this parameter is true, include the array of siblings in the response",
+ "required" : false,
+ "schema" : {
+ "type" : "boolean"
+ }
+ },
+ {
+ "name" : "includeProgeny",
+ "in" : "query",
+ "description" : "If this parameter is true, include the array of progeny in the response",
+ "required" : false,
+ "schema" : {
+ "type" : "boolean"
+ }
+ },
+ {
+ "name" : "includeFullTree",
+ "in" : "query",
+ "description" : "If this parameter is true, recursively include ALL of the nodes available in this pedigree tree",
+ "required" : false,
+ "schema" : {
+ "type" : "boolean"
+ }
+ },
+ {
+ "name" : "pedigreeDepth",
+ "in" : "query",
+ "description" : "Recursively include this number of levels up the tree in the response (parents, grand-parents, great-grand-parents, etc)",
+ "required" : false,
+ "schema" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ },
+ {
+ "name" : "progenyDepth",
+ "in" : "query",
+ "description" : "Recursively include this number of levels down the tree in the response (children, grand-children, great-grand-children, etc)",
+ "required" : false,
+ "schema" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/PedigreeNodeListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "post" : {
+ "tags" : [
+ "PedigreeNodes"
+ ],
+ "summary" : "Create new PedigreeNode",
+ "description" : "Add new PedigreeNode to database",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PedigreeNode"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/PedigreeNodeListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/PlannedCrossListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/plates" : {
- "get" : {
- "tags" : [ "Plates" ],
- "summary" : "Get a filtered list of Plate",
- "description" : "Get a list of Plate",
- "parameters" : [ {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmDbId",
- "in" : "query",
- "description" : "List of IDs which uniquely identify germplasm to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmName",
- "in" : "query",
- "description" : "List of human readable names to identify germplasm to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyDbId",
- "in" : "query",
- "description" : "List of study identifiers to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyName",
- "in" : "query",
- "description" : "List of study names to filter search results",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialDbId",
- "in" : "query",
- "description" : "The ID which uniquely identifies a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialName",
- "in" : "query",
- "description" : "The human readable name of a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationUnitDbId",
- "in" : "query",
- "description" : "The ID which uniquely identifies an observation unit",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "plateDbId",
- "in" : "query",
- "description" : "The ID which uniquely identifies a plate of samples",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "plateName",
- "in" : "query",
- "description" : "The human readable name of a plate of samples",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "plateBarcode",
- "in" : "query",
- "description" : "A unique identifier physically attached to the plate",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "sampleDbId",
- "in" : "query",
- "description" : "The ID which uniquely identifies a sample",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "sampleName",
- "in" : "query",
- "description" : "The human readable name of the sample",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "sampleGroupDbId",
- "in" : "query",
- "description" : "The unique identifier for a group of related Samples",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmDbId",
- "in" : "query",
- "description" : "The ID which uniquely identifies a germplasm",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/PlateListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "post" : {
- "tags" : [ "Plates" ],
- "summary" : "Create new Plate",
- "description" : "Add new Plate to database",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/PlateNewRequest"
- }
+ "/people" : {
+ "get" : {
+ "tags" : [
+ "People"
+ ],
+ "summary" : "Get a filtered list of Person",
+ "description" : "Get a list of Person",
+ "parameters" : [
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "emailAddress",
+ "in" : "query",
+ "description" : "email address for this person",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "firstName",
+ "in" : "query",
+ "description" : "Persons first name",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "lastName",
+ "in" : "query",
+ "description" : "Persons last name",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "mailingAddress",
+ "in" : "query",
+ "description" : "physical address of this person",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "middleName",
+ "in" : "query",
+ "description" : "Persons middle name",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "personDbId",
+ "in" : "query",
+ "description" : "Unique ID for this person",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "phoneNumber",
+ "in" : "query",
+ "description" : "phone number of this person",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "userID",
+ "in" : "query",
+ "description" : "A systems user ID associated with this person. Different from personDbId because you could have a person who is not a user of the system.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/PersonListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "post" : {
+ "tags" : [
+ "People"
+ ],
+ "summary" : "Create new Person",
+ "description" : "Add new Person to database",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PersonNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/PersonListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/PlateListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/programs" : {
- "get" : {
- "tags" : [ "Programs" ],
- "summary" : "Get a filtered list of Program",
- "description" : "Get a list of Program",
- "parameters" : [ {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "abbreviation",
- "in" : "query",
- "description" : "A list of shortened human readable names for a set of Programs",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "leadPersonDbId",
- "in" : "query",
- "description" : "The person DbIds of the program leader to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "leadPersonName",
- "in" : "query",
- "description" : "The names of the program leader to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "objectife",
- "in" : "query",
- "description" : "A program objective to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programType",
- "in" : "query",
- "description" : "The type of program entity this object represents\n
'STANDARD' represents a standard, permanent breeding program\n
'PROJECT' represents a short term project, usually with a set time limit based on funding ",
- "required" : false,
- "schema" : {
- "type" : "string",
- "enum" : [ "STANDARD", "PROJECT" ]
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ProgramListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "post" : {
- "tags" : [ "Programs" ],
- "summary" : "Create new Program",
- "description" : "Add new Program to database",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/ProgramNewRequest"
- }
+ "/plannedcrosses" : {
+ "get" : {
+ "tags" : [
+ "Crosses"
+ ],
+ "summary" : "Get a filtered list of PlannedCross",
+ "description" : "Get a list of PlannedCross",
+ "parameters" : [
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "crossingProjectDbId",
+ "in" : "query",
+ "description" : "Search for Crossing Projects with this unique id",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "crossingProjectName",
+ "in" : "query",
+ "description" : "The human readable name for a crossing project",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "plannedCrossDbId",
+ "in" : "query",
+ "description" : "Search for Planned Cross with this unique id",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "plannedCrossName",
+ "in" : "query",
+ "description" : "Search for Planned Cross with this human readable name",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "status",
+ "in" : "query",
+ "description" : "The status of this planned cross. Is it waiting to be performed ('TODO'), has it been completed successfully ('DONE'), or has it not been done on purpose ('SKIPPED').",
+ "required" : false,
+ "schema" : {
+ "type" : "string",
+ "enum" : [
+ "TODO",
+ "DONE",
+ "SKIPPED"
+ ]
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/PlannedCrossListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "put" : {
+ "tags" : [
+ "Crosses"
+ ],
+ "summary" : "Update the details for an existing PlannedCross",
+ "description" : "Update the details for an existing PlannedCross",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PlannedCross"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/PlannedCrossListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "post" : {
+ "tags" : [
+ "Crosses"
+ ],
+ "summary" : "Create new PlannedCross",
+ "description" : "Add new PlannedCross to database",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PlannedCross"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/PlannedCrossListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ProgramListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/references" : {
- "get" : {
- "tags" : [ "References" ],
- "summary" : "Get a filtered list of Reference",
- "description" : "Get a list of Reference",
- "parameters" : [ {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmDbId",
- "in" : "query",
- "description" : "List of IDs which uniquely identify germplasm to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmName",
- "in" : "query",
- "description" : "List of human readable names to identify germplasm to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyDbId",
- "in" : "query",
- "description" : "List of study identifiers to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyName",
- "in" : "query",
- "description" : "List of study names to filter search results",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialDbId",
- "in" : "query",
- "description" : "The ID which uniquely identifies a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialName",
- "in" : "query",
- "description" : "The human readable name of a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "accession",
- "in" : "query",
- "description" : "If specified, return the references for which the `accession` matches this string (case-sensitive, exact match).",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "md5checksum",
- "in" : "query",
- "description" : "If specified, return the references for which the `md5checksum` matches this string (case-sensitive, exact match).",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "referenceDbId",
- "in" : "query",
- "description" : "A list of IDs which uniquely identify `References` within the given database server",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "referenceSetDbId",
- "in" : "query",
- "description" : "A list of IDs which uniquely identify `ReferenceSets` within the given database server",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "isDerived",
- "in" : "query",
- "description" : "A sequence X is said to be derived from source sequence Y, if X and Y are of the same length and the per-base sequence divergence at A/C/G/T bases is sufficiently small. Two sequences derived from the same official sequence share the same coordinates and annotations, and can be replaced with the official sequence for certain use cases.",
- "required" : false,
- "schema" : {
- "type" : "boolean"
- }
- }, {
- "name" : "minLength",
- "in" : "query",
- "description" : "The minimum length of this `References` sequence.",
- "required" : false,
- "schema" : {
- "type" : "integer",
- "format" : "int32"
- }
- }, {
- "name" : "maxLength",
- "in" : "query",
- "description" : "The minimum length of this `References` sequence.",
- "required" : false,
- "schema" : {
- "type" : "integer",
- "format" : "int32"
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ReferenceListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/referencesets" : {
- "get" : {
- "tags" : [ "ReferenceSets" ],
- "summary" : "Get a filtered list of ReferenceSet",
- "description" : "Get a list of ReferenceSet",
- "parameters" : [ {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmDbId",
- "in" : "query",
- "description" : "List of IDs which uniquely identify germplasm to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmName",
- "in" : "query",
- "description" : "List of human readable names to identify germplasm to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyDbId",
- "in" : "query",
- "description" : "List of study identifiers to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyName",
- "in" : "query",
- "description" : "List of study names to filter search results",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialDbId",
- "in" : "query",
- "description" : "The ID which uniquely identifies a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialName",
- "in" : "query",
- "description" : "The human readable name of a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "accession",
- "in" : "query",
- "description" : "If set, return the reference sets for which the `accession` matches this string (case-sensitive, exact match).",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "assemblyPUI",
- "in" : "query",
- "description" : "If set, return the reference sets for which the `assemblyId` matches this string (case-sensitive, exact match).",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "md5checksum",
- "in" : "query",
- "description" : "If set, return the reference sets for which the `md5checksum` matches this string (case-sensitive, exact match).",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "referenceSetDbId",
- "in" : "query",
- "description" : "The `ReferenceSets` to search.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ReferenceSetListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/samples" : {
- "get" : {
- "tags" : [ "Samples" ],
- "summary" : "Get a filtered list of Sample",
- "description" : "Get a list of Sample",
- "parameters" : [ {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmDbId",
- "in" : "query",
- "description" : "List of IDs which uniquely identify germplasm to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmName",
- "in" : "query",
- "description" : "List of human readable names to identify germplasm to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyDbId",
- "in" : "query",
- "description" : "List of study identifiers to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyName",
- "in" : "query",
- "description" : "List of study names to filter search results",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialDbId",
- "in" : "query",
- "description" : "The ID which uniquely identifies a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialName",
- "in" : "query",
- "description" : "The human readable name of a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationUnitDbId",
- "in" : "query",
- "description" : "The ID which uniquely identifies an `ObservationUnit`",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "plateDbId",
- "in" : "query",
- "description" : "The ID which uniquely identifies a `Plate` of `Samples`",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "plateName",
- "in" : "query",
- "description" : "The human readable name of a `Plate` of `Samples`",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "sampleDbId",
- "in" : "query",
- "description" : "The ID which uniquely identifies a `Sample`",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "sampleName",
- "in" : "query",
- "description" : "The human readable name of the `Sample`",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "sampleGroupDbId",
- "in" : "query",
- "description" : "The unique identifier for a group of related `Samples`",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmDbId",
- "in" : "query",
- "description" : "The ID which uniquely identifies a `Germplasm`",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/SampleListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "put" : {
- "tags" : [ "Samples" ],
- "summary" : "Update the details for an existing Sample",
- "description" : "Update the details for an existing Sample",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/SampleNewRequest"
- }
+ "/plates" : {
+ "get" : {
+ "tags" : [
+ "Plates"
+ ],
+ "summary" : "Get a filtered list of Plate",
+ "description" : "Get a list of Plate",
+ "parameters" : [
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmDbId",
+ "in" : "query",
+ "description" : "List of IDs which uniquely identify germplasm to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmName",
+ "in" : "query",
+ "description" : "List of human readable names to identify germplasm to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyDbId",
+ "in" : "query",
+ "description" : "List of study identifiers to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyName",
+ "in" : "query",
+ "description" : "List of study names to filter search results",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialDbId",
+ "in" : "query",
+ "description" : "The ID which uniquely identifies a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialName",
+ "in" : "query",
+ "description" : "The human readable name of a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationUnitDbId",
+ "in" : "query",
+ "description" : "The ID which uniquely identifies an observation unit",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "plateDbId",
+ "in" : "query",
+ "description" : "The ID which uniquely identifies a plate of samples",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "plateName",
+ "in" : "query",
+ "description" : "The human readable name of a plate of samples",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "plateBarcode",
+ "in" : "query",
+ "description" : "A unique identifier physically attached to the plate",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "sampleDbId",
+ "in" : "query",
+ "description" : "The ID which uniquely identifies a sample",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "sampleName",
+ "in" : "query",
+ "description" : "The human readable name of the sample",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "sampleGroupDbId",
+ "in" : "query",
+ "description" : "The unique identifier for a group of related Samples",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmDbId",
+ "in" : "query",
+ "description" : "The ID which uniquely identifies a germplasm",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/PlateListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "post" : {
+ "tags" : [
+ "Plates"
+ ],
+ "summary" : "Create new Plate",
+ "description" : "Add new Plate to database",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PlateNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/PlateListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/SampleListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "post" : {
- "tags" : [ "Samples" ],
- "summary" : "Create new Sample",
- "description" : "Add new Sample to database",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/SampleNewRequest"
- }
+ "/programs" : {
+ "get" : {
+ "tags" : [
+ "Programs"
+ ],
+ "summary" : "Get a filtered list of Program",
+ "description" : "Get a list of Program",
+ "parameters" : [
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "abbreviation",
+ "in" : "query",
+ "description" : "A list of shortened human readable names for a set of Programs",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "leadPersonDbId",
+ "in" : "query",
+ "description" : "The person DbIds of the program leader to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "leadPersonName",
+ "in" : "query",
+ "description" : "The names of the program leader to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "objectife",
+ "in" : "query",
+ "description" : "A program objective to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programType",
+ "in" : "query",
+ "description" : "The type of program entity this object represents\n
'STANDARD' represents a standard, permanent breeding program\n
'PROJECT' represents a short term project, usually with a set time limit based on funding ",
+ "required" : false,
+ "schema" : {
+ "type" : "string",
+ "enum" : [
+ "STANDARD",
+ "PROJECT"
+ ]
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ProgramListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "post" : {
+ "tags" : [
+ "Programs"
+ ],
+ "summary" : "Create new Program",
+ "description" : "Add new Program to database",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProgramNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ProgramListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/SampleListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/scales" : {
- "get" : {
- "tags" : [ "Scales" ],
- "summary" : "Get a filtered list of Scale",
- "description" : "Get a list of Scale",
- "parameters" : [ {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "ontologyDbId",
- "in" : "query",
- "description" : "The unique identifier for an ontology definition. Use this parameter to filter results based on a specific ontology \n\n Use `GET /ontologies` to find the list of available ontologies on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "scaleDbId",
- "in" : "query",
- "description" : "The unique identifier for a scale.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationVariableDbId",
- "in" : "query",
- "description" : "The unique identifier for an observation variable.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ScaleListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "post" : {
- "tags" : [ "Scales" ],
- "summary" : "Create new Scale",
- "description" : "Add new Scale to database",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/ScaleNewRequest"
- }
+ "/references" : {
+ "get" : {
+ "tags" : [
+ "References"
+ ],
+ "summary" : "Get a filtered list of Reference",
+ "description" : "Get a list of Reference",
+ "parameters" : [
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmDbId",
+ "in" : "query",
+ "description" : "List of IDs which uniquely identify germplasm to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmName",
+ "in" : "query",
+ "description" : "List of human readable names to identify germplasm to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyDbId",
+ "in" : "query",
+ "description" : "List of study identifiers to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyName",
+ "in" : "query",
+ "description" : "List of study names to filter search results",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialDbId",
+ "in" : "query",
+ "description" : "The ID which uniquely identifies a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialName",
+ "in" : "query",
+ "description" : "The human readable name of a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "accession",
+ "in" : "query",
+ "description" : "If specified, return the references for which the `accession` matches this string (case-sensitive, exact match).",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "md5checksum",
+ "in" : "query",
+ "description" : "If specified, return the references for which the `md5checksum` matches this string (case-sensitive, exact match).",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "referenceDbId",
+ "in" : "query",
+ "description" : "A list of IDs which uniquely identify `References` within the given database server",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "referenceSetDbId",
+ "in" : "query",
+ "description" : "A list of IDs which uniquely identify `ReferenceSets` within the given database server",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "isDerived",
+ "in" : "query",
+ "description" : "A sequence X is said to be derived from source sequence Y, if X and Y are of the same length and the per-base sequence divergence at A/C/G/T bases is sufficiently small. Two sequences derived from the same official sequence share the same coordinates and annotations, and can be replaced with the official sequence for certain use cases.",
+ "required" : false,
+ "schema" : {
+ "type" : "boolean"
+ }
+ },
+ {
+ "name" : "minLength",
+ "in" : "query",
+ "description" : "The minimum length of this `References` sequence.",
+ "required" : false,
+ "schema" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ },
+ {
+ "name" : "maxLength",
+ "in" : "query",
+ "description" : "The minimum length of this `References` sequence.",
+ "required" : false,
+ "schema" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ReferenceListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ScaleListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/seasons" : {
- "get" : {
- "tags" : [ "Seasons" ],
- "summary" : "Get a filtered list of Season",
- "description" : "Get a list of Season",
- "parameters" : [ {
- "name" : "seasonDbId",
- "in" : "query",
- "description" : "The unique identifier for a season. For backward compatibility it can be a string like '2012', '1957-2004'.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "season",
- "in" : "query",
- "description" : "The term to describe a given season. Example \"Spring\" OR \"May\" OR \"Planting_Time_7\".",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "seasonName",
- "in" : "query",
- "description" : "The term to describe a given season. Example \"Spring\" OR \"May\" OR \"Planting_Time_7\".",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "year",
- "in" : "query",
- "description" : "The 4 digit year of a season. Example \"2017\"",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/SeasonListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "post" : {
- "tags" : [ "Seasons" ],
- "summary" : "Create new Season",
- "description" : "Add new Season to database",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/Season"
- }
+ "/referencesets" : {
+ "get" : {
+ "tags" : [
+ "ReferenceSets"
+ ],
+ "summary" : "Get a filtered list of ReferenceSet",
+ "description" : "Get a list of ReferenceSet",
+ "parameters" : [
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmDbId",
+ "in" : "query",
+ "description" : "List of IDs which uniquely identify germplasm to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmName",
+ "in" : "query",
+ "description" : "List of human readable names to identify germplasm to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyDbId",
+ "in" : "query",
+ "description" : "List of study identifiers to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyName",
+ "in" : "query",
+ "description" : "List of study names to filter search results",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialDbId",
+ "in" : "query",
+ "description" : "The ID which uniquely identifies a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialName",
+ "in" : "query",
+ "description" : "The human readable name of a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "accession",
+ "in" : "query",
+ "description" : "If set, return the reference sets for which the `accession` matches this string (case-sensitive, exact match).",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "assemblyPUI",
+ "in" : "query",
+ "description" : "If set, return the reference sets for which the `assemblyId` matches this string (case-sensitive, exact match).",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "md5checksum",
+ "in" : "query",
+ "description" : "If set, return the reference sets for which the `md5checksum` matches this string (case-sensitive, exact match).",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "referenceSetDbId",
+ "in" : "query",
+ "description" : "The `ReferenceSets` to search.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ReferenceSetListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/SeasonListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/seedlots" : {
- "get" : {
- "tags" : [ "SeedLots" ],
- "summary" : "Get a filtered list of SeedLot",
- "description" : "Get a list of SeedLot",
- "parameters" : [ {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmDbId",
- "in" : "query",
- "description" : "List of IDs which uniquely identify germplasm to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmName",
- "in" : "query",
- "description" : "List of human readable names to identify germplasm to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "seedLotDbId",
- "in" : "query",
- "description" : "Unique id for a seed lot on this server",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "crossDbId",
- "in" : "query",
- "description" : "Search for Cross with this unique id",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "crossName",
- "in" : "query",
- "description" : "Search for Cross with this human readable name",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/SeedLotListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "post" : {
- "tags" : [ "SeedLots" ],
- "summary" : "Create new SeedLot",
- "description" : "Add new SeedLot to database",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/SeedLotNewRequest"
- }
+ "/samples" : {
+ "get" : {
+ "tags" : [
+ "Samples"
+ ],
+ "summary" : "Get a filtered list of Sample",
+ "description" : "Get a list of Sample",
+ "parameters" : [
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmDbId",
+ "in" : "query",
+ "description" : "List of IDs which uniquely identify germplasm to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmName",
+ "in" : "query",
+ "description" : "List of human readable names to identify germplasm to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyDbId",
+ "in" : "query",
+ "description" : "List of study identifiers to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyName",
+ "in" : "query",
+ "description" : "List of study names to filter search results",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialDbId",
+ "in" : "query",
+ "description" : "The ID which uniquely identifies a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialName",
+ "in" : "query",
+ "description" : "The human readable name of a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationUnitDbId",
+ "in" : "query",
+ "description" : "The ID which uniquely identifies an `ObservationUnit`",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "plateDbId",
+ "in" : "query",
+ "description" : "The ID which uniquely identifies a `Plate` of `Samples`",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "plateName",
+ "in" : "query",
+ "description" : "The human readable name of a `Plate` of `Samples`",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "sampleDbId",
+ "in" : "query",
+ "description" : "The ID which uniquely identifies a `Sample`",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "sampleName",
+ "in" : "query",
+ "description" : "The human readable name of the `Sample`",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "sampleGroupDbId",
+ "in" : "query",
+ "description" : "The unique identifier for a group of related `Samples`",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmDbId",
+ "in" : "query",
+ "description" : "The ID which uniquely identifies a `Germplasm`",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/SampleListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "put" : {
+ "tags" : [
+ "Samples"
+ ],
+ "summary" : "Update the details for an existing Sample",
+ "description" : "Update the details for an existing Sample",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/SampleNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/SampleListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "post" : {
+ "tags" : [
+ "Samples"
+ ],
+ "summary" : "Create new Sample",
+ "description" : "Add new Sample to database",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/SampleNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/SampleListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/SeedLotListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/studies" : {
- "get" : {
- "tags" : [ "Studies" ],
- "summary" : "Get a filtered list of Study",
- "description" : "Get a list of Study",
- "parameters" : [ {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmDbId",
- "in" : "query",
- "description" : "List of IDs which uniquely identify germplasm to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmName",
- "in" : "query",
- "description" : "List of human readable names to identify germplasm to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "locationDbId",
- "in" : "query",
- "description" : "The location ids to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "locationName",
- "in" : "query",
- "description" : "A human readable names to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyDbId",
- "in" : "query",
- "description" : "List of study identifiers to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyName",
- "in" : "query",
- "description" : "List of study names to filter search results",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialDbId",
- "in" : "query",
- "description" : "The ID which uniquely identifies a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialName",
- "in" : "query",
- "description" : "The human readable name of a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationVariableDbId",
- "in" : "query",
- "description" : "The DbIds of Variables to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationVariableName",
- "in" : "query",
- "description" : "The names of Variables to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationVariablePUI",
- "in" : "query",
- "description" : "The Permanent Unique Identifier of an Observation Variable, usually in the form of a URI",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "actife",
- "in" : "query",
- "description" : "A flag to indicate if a Study is currently active and ongoing",
- "required" : false,
- "schema" : {
- "type" : "boolean"
- }
- }, {
- "name" : "seasonDbId",
- "in" : "query",
- "description" : "The ID which uniquely identifies a season",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyType",
- "in" : "query",
- "description" : "The type of study being performed. ex. \"Yield Trial\", etc",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyCode",
- "in" : "query",
- "description" : "A short human readable code for a study",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyPUI",
- "in" : "query",
- "description" : "Permanent unique identifier associated with study data. For example, a URI or DOI",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/StudyListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "post" : {
- "tags" : [ "Studies" ],
- "summary" : "Create new Study",
- "description" : "Add new Study to database",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/StudyNewRequest"
- }
+ "/scales" : {
+ "get" : {
+ "tags" : [
+ "Scales"
+ ],
+ "summary" : "Get a filtered list of Scale",
+ "description" : "Get a list of Scale",
+ "parameters" : [
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "ontologyDbId",
+ "in" : "query",
+ "description" : "The unique identifier for an ontology definition. Use this parameter to filter results based on a specific ontology \n\n Use `GET /ontologies` to find the list of available ontologies on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "scaleDbId",
+ "in" : "query",
+ "description" : "The unique identifier for a scale.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationVariableDbId",
+ "in" : "query",
+ "description" : "The unique identifier for an observation variable.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ScaleListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "post" : {
+ "tags" : [
+ "Scales"
+ ],
+ "summary" : "Create new Scale",
+ "description" : "Add new Scale to database",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ScaleNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ScaleListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/StudyListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/traits" : {
- "get" : {
- "tags" : [ "Traits" ],
- "summary" : "Get a filtered list of Trait",
- "description" : "Get a list of Trait",
- "parameters" : [ {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "ontologyDbId",
- "in" : "query",
- "description" : "The unique identifier for an ontology definition. Use this parameter to filter results based on a specific ontology \n\n Use `GET /ontologies` to find the list of available ontologies on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "traitDbId",
- "in" : "query",
- "description" : "The unique identifier for a trait.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationVariableDbId",
- "in" : "query",
- "description" : "The unique identifier for an observation variable.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/TraitListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "post" : {
- "tags" : [ "Traits" ],
- "summary" : "Create new Trait",
- "description" : "Add new Trait to database",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/TraitNewRequest"
- }
+ "/seasons" : {
+ "get" : {
+ "tags" : [
+ "Seasons"
+ ],
+ "summary" : "Get a filtered list of Season",
+ "description" : "Get a list of Season",
+ "parameters" : [
+ {
+ "name" : "seasonDbId",
+ "in" : "query",
+ "description" : "The unique identifier for a season. For backward compatibility it can be a string like '2012', '1957-2004'.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "season",
+ "in" : "query",
+ "description" : "The term to describe a given season. Example \"Spring\" OR \"May\" OR \"Planting_Time_7\".",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "seasonName",
+ "in" : "query",
+ "description" : "The term to describe a given season. Example \"Spring\" OR \"May\" OR \"Planting_Time_7\".",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "year",
+ "in" : "query",
+ "description" : "The 4 digit year of a season. Example \"2017\"",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/SeasonListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "post" : {
+ "tags" : [
+ "Seasons"
+ ],
+ "summary" : "Create new Season",
+ "description" : "Add new Season to database",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/Season"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/SeasonListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/TraitListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/trials" : {
- "get" : {
- "tags" : [ "Trials" ],
- "summary" : "Get a filtered list of Trial",
- "description" : "Get a list of Trial",
- "parameters" : [ {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "locationDbId",
- "in" : "query",
- "description" : "The location ids to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "locationName",
- "in" : "query",
- "description" : "A human readable names to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationVariableDbId",
- "in" : "query",
- "description" : "The DbIds of Variables to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationVariableName",
- "in" : "query",
- "description" : "The names of Variables to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "observationVariablePUI",
- "in" : "query",
- "description" : "The Permanent Unique Identifier of an Observation Variable, usually in the form of a URI",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyDbId",
- "in" : "query",
- "description" : "List of study identifiers to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyName",
- "in" : "query",
- "description" : "List of study names to filter search results",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialDbId",
- "in" : "query",
- "description" : "The ID which uniquely identifies a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialName",
- "in" : "query",
- "description" : "The human readable name of a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "actife",
- "in" : "query",
- "description" : "A flag to indicate if a Trial is currently active and ongoing",
- "required" : false,
- "schema" : {
- "type" : "boolean"
- }
- }, {
- "name" : "contactDbId",
- "in" : "query",
- "description" : "List of contact entities associated with this trial",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "searchDateRangeStart",
- "in" : "query",
- "description" : "The start of the overlapping search date range. `searchDateRangeStart` must be before `searchDateRangeEnd`.\n\nReturn a Trial entity if any of the following cases are true\n\n- `searchDateRangeStart` is before `trial.endDate` AND `searchDateRangeEnd` is null \n\n- `searchDateRangeStart` is before `trial.endDate` AND `searchDateRangeEnd` is after `trial.startDate`\n\n- `searchDateRangeEnd` is after `trial.startDate` AND `searchDateRangeStart` is null\n\n- `searchDateRangeEnd` is after `trial.startDate` AND `searchDateRangeStart` is before `trial.endDate`",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "searchDateRangeEnd",
- "in" : "query",
- "description" : "The end of the overlapping search date range. `searchDateRangeStart` must be before `searchDateRangeEnd`.\n\nReturn a Trial entity if any of the following cases are true\n\n- `searchDateRangeStart` is before `trial.endDate` AND `searchDateRangeEnd` is null \n\n- `searchDateRangeStart` is before `trial.endDate` AND `searchDateRangeEnd` is after `trial.startDate`\n\n- `searchDateRangeEnd` is after `trial.startDate` AND `searchDateRangeStart` is null\n\n- `searchDateRangeEnd` is after `trial.startDate` AND `searchDateRangeStart` is before `trial.endDate`",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialPUI",
- "in" : "query",
- "description" : "A permanent identifier for a trial. Could be DOI or other URI formatted identifier.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/TrialListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "post" : {
- "tags" : [ "Trials" ],
- "summary" : "Create new Trial",
- "description" : "Add new Trial to database",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "array",
- "$ref" : "#/components/schemas/TrialNewRequest"
- }
+ "/seedlots" : {
+ "get" : {
+ "tags" : [
+ "SeedLots"
+ ],
+ "summary" : "Get a filtered list of SeedLot",
+ "description" : "Get a list of SeedLot",
+ "parameters" : [
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmDbId",
+ "in" : "query",
+ "description" : "List of IDs which uniquely identify germplasm to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmName",
+ "in" : "query",
+ "description" : "List of human readable names to identify germplasm to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "seedLotDbId",
+ "in" : "query",
+ "description" : "Unique id for a seed lot on this server",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "crossDbId",
+ "in" : "query",
+ "description" : "Search for Cross with this unique id",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "crossName",
+ "in" : "query",
+ "description" : "Search for Cross with this human readable name",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/SeedLotListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "post" : {
+ "tags" : [
+ "SeedLots"
+ ],
+ "summary" : "Create new SeedLot",
+ "description" : "Add new SeedLot to database",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/SeedLotNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/SeedLotListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/TrialListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/variants" : {
- "get" : {
- "tags" : [ "Variants" ],
- "summary" : "Get a filtered list of Variant",
- "description" : "Get a list of Variant",
- "parameters" : [ {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyDbId",
- "in" : "query",
- "description" : "List of study identifiers to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyName",
- "in" : "query",
- "description" : "List of study names to filter search results",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialDbId",
- "in" : "query",
- "description" : "The ID which uniquely identifies a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialName",
- "in" : "query",
- "description" : "The human readable name of a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "callSetDbId",
- "in" : "query",
- "description" : "**Deprecated in v2.1** Parameter unnecessary. Github issue number #474 \n
Only return variant calls which belong to call sets with these IDs. If unspecified, return all variants and no variant call objects.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "end",
- "in" : "query",
- "description" : "The end of the window (0-based, exclusive) for which overlapping variants should be returned.",
- "required" : false,
- "schema" : {
- "type" : "integer",
- "format" : "int32"
- }
- }, {
- "name" : "referenceDbId",
- "in" : "query",
- "description" : "**Deprecated in v2.1** Please use `referenceDbIds`. Github issue number #472\n
Only return variants on this reference.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "referenceDbId",
- "in" : "query",
- "description" : "The unique identifier representing a genotype `Reference`",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "referenceSetDbId",
- "in" : "query",
- "description" : "The unique identifier representing a genotype `ReferenceSet`",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "start",
- "in" : "query",
- "description" : "The beginning of the window (0-based, inclusive) for which overlapping variants should be returned. Genomic positions are non-negative integers less than reference length. Requests spanning the join of circular genomes are represented as two requests one on each side of the join (position 0).",
- "required" : false,
- "schema" : {
- "type" : "integer",
- "format" : "int32"
- }
- }, {
- "name" : "variantDbId",
- "in" : "query",
- "description" : "A list of IDs which uniquely identify `Variants`",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "variantSetDbId",
- "in" : "query",
- "description" : "A list of IDs which uniquely identify `VariantSets`",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/VariantListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/variantsets" : {
- "get" : {
- "tags" : [ "VariantSets" ],
- "summary" : "Get a filtered list of VariantSet",
- "description" : "Get a list of VariantSet",
- "parameters" : [ {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyDbId",
- "in" : "query",
- "description" : "List of study identifiers to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyName",
- "in" : "query",
- "description" : "List of study names to filter search results",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialDbId",
- "in" : "query",
- "description" : "The ID which uniquely identifies a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialName",
- "in" : "query",
- "description" : "The human readable name of a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "callSetDbId",
- "in" : "query",
- "description" : "The unique identifier representing a CallSet",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "variantDbId",
- "in" : "query",
- "description" : "The unique identifier representing a Variant",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "variantSetDbId",
- "in" : "query",
- "description" : "The unique identifier representing a VariantSet",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "referenceDbId",
- "in" : "query",
- "description" : "The unique identifier representing a genotype Reference",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "referenceSetDbId",
- "in" : "query",
- "description" : "The unique identifier representing a genotype ReferenceSet",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/VariantSetListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/breedingmethods/{breedingMethodDbId}" : {
- "get" : {
- "tags" : [ "Germplasm" ],
- "summary" : "Get the details of a specific BreedingMethod",
- "description" : "Get details for a BreedingMethod",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/BreedingMethodSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/callsets/{callSetDbId}" : {
- "get" : {
- "tags" : [ "CallSets" ],
- "summary" : "Get the details of a specific CallSet",
- "description" : "Get details for a CallSet",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/CallSetSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/callsets/{callSetDbId}/calls" : {
- "get" : {
- "tags" : [ "Calls" ],
- "summary" : "Get a filtered list of Call",
- "description" : "Get a list of Call",
- "parameters" : [ {
- "name" : "callSetDbId",
- "in" : "query",
- "description" : "A list of IDs which uniquely identify `CallSets` within the given database server",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "variantDbId",
- "in" : "query",
- "description" : "A list of IDs which uniquely identify `Variant` within the given database server",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "variantSetDbId",
- "in" : "query",
- "description" : "A list of IDs which uniquely identify `VariantSets` within the given database server",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "expandHomozygote",
- "in" : "query",
- "description" : "Should homozygotes be expanded (true) or collapsed into a single occurrence (false)",
- "required" : false,
- "schema" : {
- "type" : "boolean"
- }
- }, {
- "name" : "sepPhased",
- "in" : "query",
- "description" : "The string used as a separator for phased allele calls.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "sepUnphased",
- "in" : "query",
- "description" : "The string used as a separator for unphased allele calls.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "unknownString",
- "in" : "query",
- "description" : "The string used as a representation for missing data.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/CallListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/crossingprojects/{crossingProjectDbId}" : {
- "get" : {
- "tags" : [ "CrossingProjects" ],
- "summary" : "Get the details of a specific CrossingProject",
- "description" : "Get details for a CrossingProject",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/CrossingProjectSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "put" : {
- "tags" : [ "CrossingProjects" ],
- "summary" : "Update the details for an existing CrossingProject",
- "description" : "Update the details for an existing CrossingProject",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/CrossingProjectNewRequest"
- }
+ "/studies" : {
+ "get" : {
+ "tags" : [
+ "Studies"
+ ],
+ "summary" : "Get a filtered list of Study",
+ "description" : "Get a list of Study",
+ "parameters" : [
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmDbId",
+ "in" : "query",
+ "description" : "List of IDs which uniquely identify germplasm to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmName",
+ "in" : "query",
+ "description" : "List of human readable names to identify germplasm to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "locationDbId",
+ "in" : "query",
+ "description" : "The location ids to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "locationName",
+ "in" : "query",
+ "description" : "A human readable names to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyDbId",
+ "in" : "query",
+ "description" : "List of study identifiers to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyName",
+ "in" : "query",
+ "description" : "List of study names to filter search results",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialDbId",
+ "in" : "query",
+ "description" : "The ID which uniquely identifies a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialName",
+ "in" : "query",
+ "description" : "The human readable name of a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationVariableDbId",
+ "in" : "query",
+ "description" : "The DbIds of Variables to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationVariableName",
+ "in" : "query",
+ "description" : "The names of Variables to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationVariablePUI",
+ "in" : "query",
+ "description" : "The Permanent Unique Identifier of an Observation Variable, usually in the form of a URI",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "actife",
+ "in" : "query",
+ "description" : "A flag to indicate if a Study is currently active and ongoing",
+ "required" : false,
+ "schema" : {
+ "type" : "boolean"
+ }
+ },
+ {
+ "name" : "seasonDbId",
+ "in" : "query",
+ "description" : "The ID which uniquely identifies a season",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyType",
+ "in" : "query",
+ "description" : "The type of study being performed. ex. \"Yield Trial\", etc",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyCode",
+ "in" : "query",
+ "description" : "A short human readable code for a study",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyPUI",
+ "in" : "query",
+ "description" : "Permanent unique identifier associated with study data. For example, a URI or DOI",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/StudyListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "post" : {
+ "tags" : [
+ "Studies"
+ ],
+ "summary" : "Create new Study",
+ "description" : "Add new Study to database",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/StudyNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/StudyListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/CrossingProjectSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/maps/{mapDbId}" : {
- "get" : {
- "tags" : [ "GenomeMaps" ],
- "summary" : "Get the details of a specific GenomeMap",
- "description" : "Get details for a GenomeMap",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/GenomeMapSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/germplasm/{germplasmDbId}" : {
- "get" : {
- "tags" : [ "Germplasm" ],
- "summary" : "Get the details of a specific Germplasm",
- "description" : "Get details for a Germplasm",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/GermplasmSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "put" : {
- "tags" : [ "Germplasm" ],
- "summary" : "Update the details for an existing Germplasm",
- "description" : "Update the details for an existing Germplasm",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/GermplasmNewRequest"
- }
+ "/traits" : {
+ "get" : {
+ "tags" : [
+ "Traits"
+ ],
+ "summary" : "Get a filtered list of Trait",
+ "description" : "Get a list of Trait",
+ "parameters" : [
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "ontologyDbId",
+ "in" : "query",
+ "description" : "The unique identifier for an ontology definition. Use this parameter to filter results based on a specific ontology \n\n Use `GET /ontologies` to find the list of available ontologies on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "traitDbId",
+ "in" : "query",
+ "description" : "The unique identifier for a trait.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationVariableDbId",
+ "in" : "query",
+ "description" : "The unique identifier for an observation variable.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/TraitListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "post" : {
+ "tags" : [
+ "Traits"
+ ],
+ "summary" : "Create new Trait",
+ "description" : "Add new Trait to database",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/TraitNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/TraitListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/GermplasmSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/attributes/{attributeDbId}" : {
- "get" : {
- "tags" : [ "GermplasmAttributes" ],
- "summary" : "Get the details of a specific GermplasmAttribute",
- "description" : "Get details for a GermplasmAttribute",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/GermplasmAttributeSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "put" : {
- "tags" : [ "GermplasmAttributes" ],
- "summary" : "Update the details for an existing GermplasmAttribute",
- "description" : "Update the details for an existing GermplasmAttribute",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/GermplasmAttributeNewRequest"
- }
+ "/trials" : {
+ "get" : {
+ "tags" : [
+ "Trials"
+ ],
+ "summary" : "Get a filtered list of Trial",
+ "description" : "Get a list of Trial",
+ "parameters" : [
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "locationDbId",
+ "in" : "query",
+ "description" : "The location ids to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "locationName",
+ "in" : "query",
+ "description" : "A human readable names to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationVariableDbId",
+ "in" : "query",
+ "description" : "The DbIds of Variables to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationVariableName",
+ "in" : "query",
+ "description" : "The names of Variables to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "observationVariablePUI",
+ "in" : "query",
+ "description" : "The Permanent Unique Identifier of an Observation Variable, usually in the form of a URI",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyDbId",
+ "in" : "query",
+ "description" : "List of study identifiers to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyName",
+ "in" : "query",
+ "description" : "List of study names to filter search results",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialDbId",
+ "in" : "query",
+ "description" : "The ID which uniquely identifies a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialName",
+ "in" : "query",
+ "description" : "The human readable name of a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "actife",
+ "in" : "query",
+ "description" : "A flag to indicate if a Trial is currently active and ongoing",
+ "required" : false,
+ "schema" : {
+ "type" : "boolean"
+ }
+ },
+ {
+ "name" : "contactDbId",
+ "in" : "query",
+ "description" : "List of contact entities associated with this trial",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "searchDateRangeStart",
+ "in" : "query",
+ "description" : "The start of the overlapping search date range. `searchDateRangeStart` must be before `searchDateRangeEnd`.\n\nReturn a Trial entity if any of the following cases are true\n\n- `searchDateRangeStart` is before `trial.endDate` AND `searchDateRangeEnd` is null \n\n- `searchDateRangeStart` is before `trial.endDate` AND `searchDateRangeEnd` is after `trial.startDate`\n\n- `searchDateRangeEnd` is after `trial.startDate` AND `searchDateRangeStart` is null\n\n- `searchDateRangeEnd` is after `trial.startDate` AND `searchDateRangeStart` is before `trial.endDate`",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "searchDateRangeEnd",
+ "in" : "query",
+ "description" : "The end of the overlapping search date range. `searchDateRangeStart` must be before `searchDateRangeEnd`.\n\nReturn a Trial entity if any of the following cases are true\n\n- `searchDateRangeStart` is before `trial.endDate` AND `searchDateRangeEnd` is null \n\n- `searchDateRangeStart` is before `trial.endDate` AND `searchDateRangeEnd` is after `trial.startDate`\n\n- `searchDateRangeEnd` is after `trial.startDate` AND `searchDateRangeStart` is null\n\n- `searchDateRangeEnd` is after `trial.startDate` AND `searchDateRangeStart` is before `trial.endDate`",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialPUI",
+ "in" : "query",
+ "description" : "A permanent identifier for a trial. Could be DOI or other URI formatted identifier.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/TrialListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "post" : {
+ "tags" : [
+ "Trials"
+ ],
+ "summary" : "Create new Trial",
+ "description" : "Add new Trial to database",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/TrialNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/TrialListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/GermplasmAttributeSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/attributevalues/{attributeValueDbId}" : {
- "get" : {
- "tags" : [ "GermplasmAttributeValues" ],
- "summary" : "Get the details of a specific GermplasmAttributeValue",
- "description" : "Get details for a GermplasmAttributeValue",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/GermplasmAttributeValueSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "put" : {
- "tags" : [ "GermplasmAttributeValues" ],
- "summary" : "Update the details for an existing GermplasmAttributeValue",
- "description" : "Update the details for an existing GermplasmAttributeValue",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/GermplasmAttributeValueNewRequest"
- }
+ "/variants" : {
+ "get" : {
+ "tags" : [
+ "Variants"
+ ],
+ "summary" : "Get a filtered list of Variant",
+ "description" : "Get a list of Variant",
+ "parameters" : [
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyDbId",
+ "in" : "query",
+ "description" : "List of study identifiers to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyName",
+ "in" : "query",
+ "description" : "List of study names to filter search results",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialDbId",
+ "in" : "query",
+ "description" : "The ID which uniquely identifies a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialName",
+ "in" : "query",
+ "description" : "The human readable name of a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "callSetDbId",
+ "in" : "query",
+ "description" : "**Deprecated in v2.1** Parameter unnecessary. Github issue number #474 \n
Only return variant calls which belong to call sets with these IDs. If unspecified, return all variants and no variant call objects.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "end",
+ "in" : "query",
+ "description" : "The end of the window (0-based, exclusive) for which overlapping variants should be returned.",
+ "required" : false,
+ "schema" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ },
+ {
+ "name" : "referenceDbId",
+ "in" : "query",
+ "description" : "**Deprecated in v2.1** Please use `referenceDbIds`. Github issue number #472\n
Only return variants on this reference.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "referenceDbId",
+ "in" : "query",
+ "description" : "The unique identifier representing a genotype `Reference`",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "referenceSetDbId",
+ "in" : "query",
+ "description" : "The unique identifier representing a genotype `ReferenceSet`",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "start",
+ "in" : "query",
+ "description" : "The beginning of the window (0-based, inclusive) for which overlapping variants should be returned. Genomic positions are non-negative integers less than reference length. Requests spanning the join of circular genomes are represented as two requests one on each side of the join (position 0).",
+ "required" : false,
+ "schema" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ },
+ {
+ "name" : "variantDbId",
+ "in" : "query",
+ "description" : "A list of IDs which uniquely identify `Variants`",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "variantSetDbId",
+ "in" : "query",
+ "description" : "A list of IDs which uniquely identify `VariantSets`",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/VariantListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/GermplasmAttributeValueSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/images/{imageDbId}" : {
- "get" : {
- "tags" : [ "Images" ],
- "summary" : "Get the details of a specific Image",
- "description" : "Get details for a Image",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ImageSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "put" : {
- "tags" : [ "Images" ],
- "summary" : "Update the details for an existing Image",
- "description" : "Update the details for an existing Image",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ImageNewRequest"
- }
+ "/variantsets" : {
+ "get" : {
+ "tags" : [
+ "VariantSets"
+ ],
+ "summary" : "Get a filtered list of VariantSet",
+ "description" : "Get a list of VariantSet",
+ "parameters" : [
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyDbId",
+ "in" : "query",
+ "description" : "List of study identifiers to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyName",
+ "in" : "query",
+ "description" : "List of study names to filter search results",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialDbId",
+ "in" : "query",
+ "description" : "The ID which uniquely identifies a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialName",
+ "in" : "query",
+ "description" : "The human readable name of a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "callSetDbId",
+ "in" : "query",
+ "description" : "The unique identifier representing a CallSet",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "variantDbId",
+ "in" : "query",
+ "description" : "The unique identifier representing a Variant",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "variantSetDbId",
+ "in" : "query",
+ "description" : "The unique identifier representing a VariantSet",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "referenceDbId",
+ "in" : "query",
+ "description" : "The unique identifier representing a genotype Reference",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "referenceSetDbId",
+ "in" : "query",
+ "description" : "The unique identifier representing a genotype ReferenceSet",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/VariantSetListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ImageSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/lists/{listDbId}" : {
- "get" : {
- "tags" : [ "Lists" ],
- "summary" : "Get the details of a specific List",
- "description" : "Get details for a List",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ListSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "put" : {
- "tags" : [ "Lists" ],
- "summary" : "Update the details for an existing List",
- "description" : "Update the details for an existing List",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ListNewRequest"
- }
+ "/breedingmethods/{breedingMethodDbId}" : {
+ "get" : {
+ "tags" : [
+ "Germplasm"
+ ],
+ "summary" : "Get the details of a specific BreedingMethod",
+ "description" : "Get details for a BreedingMethod",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/BreedingMethodSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ListSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/locations/{locationDbId}" : {
- "get" : {
- "tags" : [ "Locations" ],
- "summary" : "Get the details of a specific Location",
- "description" : "Get details for a Location",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/LocationSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "put" : {
- "tags" : [ "Locations" ],
- "summary" : "Update the details for an existing Location",
- "description" : "Update the details for an existing Location",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/LocationNewRequest"
- }
+ "/callsets/{callSetDbId}" : {
+ "get" : {
+ "tags" : [
+ "CallSets"
+ ],
+ "summary" : "Get the details of a specific CallSet",
+ "description" : "Get details for a CallSet",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/CallSetSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/LocationSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/methods/{methodDbId}" : {
- "get" : {
- "tags" : [ "Methods" ],
- "summary" : "Get the details of a specific Method",
- "description" : "Get details for a Method",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/MethodSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "put" : {
- "tags" : [ "Methods" ],
- "summary" : "Update the details for an existing Method",
- "description" : "Update the details for an existing Method",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/MethodNewRequest"
- }
+ "/callsets/{callSetDbId}/calls" : {
+ "get" : {
+ "tags" : [
+ "Calls"
+ ],
+ "summary" : "Get a filtered list of Call",
+ "description" : "Get a list of Call",
+ "parameters" : [
+ {
+ "name" : "callSetDbId",
+ "in" : "query",
+ "description" : "A list of IDs which uniquely identify `CallSets` within the given database server",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "variantDbId",
+ "in" : "query",
+ "description" : "A list of IDs which uniquely identify `Variant` within the given database server",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "variantSetDbId",
+ "in" : "query",
+ "description" : "A list of IDs which uniquely identify `VariantSets` within the given database server",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "expandHomozygote",
+ "in" : "query",
+ "description" : "Should homozygotes be expanded (true) or collapsed into a single occurrence (false)",
+ "required" : false,
+ "schema" : {
+ "type" : "boolean"
+ }
+ },
+ {
+ "name" : "sepPhased",
+ "in" : "query",
+ "description" : "The string used as a separator for phased allele calls.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "sepUnphased",
+ "in" : "query",
+ "description" : "The string used as a separator for unphased allele calls.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "unknownString",
+ "in" : "query",
+ "description" : "The string used as a representation for missing data.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/CallListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/MethodSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/observations/{observationDbId}" : {
- "get" : {
- "tags" : [ "Observations" ],
- "summary" : "Get the details of a specific Observation",
- "description" : "Get details for a Observation",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ObservationSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/observationunits/{observationUnitDbId}" : {
- "get" : {
- "tags" : [ "ObservationUnits" ],
- "summary" : "Get the details of a specific ObservationUnit",
- "description" : "Get details for a ObservationUnit",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ObservationUnitSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/variables/{observationVariableDbId}" : {
- "get" : {
- "tags" : [ "ObservationVariables" ],
- "summary" : "Get the details of a specific ObservationVariable",
- "description" : "Get details for a ObservationVariable",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ObservationVariableSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "put" : {
- "tags" : [ "ObservationVariables" ],
- "summary" : "Update the details for an existing ObservationVariable",
- "description" : "Update the details for an existing ObservationVariable",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ObservationVariableNewRequest"
- }
+ "/crossingprojects/{crossingProjectDbId}" : {
+ "get" : {
+ "tags" : [
+ "CrossingProjects"
+ ],
+ "summary" : "Get the details of a specific CrossingProject",
+ "description" : "Get details for a CrossingProject",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/CrossingProjectSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "put" : {
+ "tags" : [
+ "CrossingProjects"
+ ],
+ "summary" : "Update the details for an existing CrossingProject",
+ "description" : "Update the details for an existing CrossingProject",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/CrossingProjectNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/CrossingProjectSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ObservationVariableSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/ontologies/{ontologyDbId}" : {
- "get" : {
- "tags" : [ "Ontologies" ],
- "summary" : "Get the details of a specific Ontology",
- "description" : "Get details for a Ontology",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/OntologySingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "put" : {
- "tags" : [ "Ontologies" ],
- "summary" : "Update the details for an existing Ontology",
- "description" : "Update the details for an existing Ontology",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/OntologyNewRequest"
- }
+ "/maps/{mapDbId}" : {
+ "get" : {
+ "tags" : [
+ "GenomeMaps"
+ ],
+ "summary" : "Get the details of a specific GenomeMap",
+ "description" : "Get details for a GenomeMap",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/GenomeMapSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/OntologySingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/people/{personDbId}" : {
- "get" : {
- "tags" : [ "People" ],
- "summary" : "Get the details of a specific Person",
- "description" : "Get details for a Person",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/PersonSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "put" : {
- "tags" : [ "People" ],
- "summary" : "Update the details for an existing Person",
- "description" : "Update the details for an existing Person",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/PersonNewRequest"
- }
+ "/germplasm/{germplasmDbId}" : {
+ "get" : {
+ "tags" : [
+ "Germplasm"
+ ],
+ "summary" : "Get the details of a specific Germplasm",
+ "description" : "Get details for a Germplasm",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/GermplasmSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "put" : {
+ "tags" : [
+ "Germplasm"
+ ],
+ "summary" : "Update the details for an existing Germplasm",
+ "description" : "Update the details for an existing Germplasm",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/GermplasmNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/GermplasmSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/PersonSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/plates/{plateDbId}" : {
- "get" : {
- "tags" : [ "Plates" ],
- "summary" : "Get the details of a specific Plate",
- "description" : "Get details for a Plate",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/PlateSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/programs/{programDbId}" : {
- "get" : {
- "tags" : [ "Programs" ],
- "summary" : "Get the details of a specific Program",
- "description" : "Get details for a Program",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ProgramSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "put" : {
- "tags" : [ "Programs" ],
- "summary" : "Update the details for an existing Program",
- "description" : "Update the details for an existing Program",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ProgramNewRequest"
- }
+ "/attributes/{attributeDbId}" : {
+ "get" : {
+ "tags" : [
+ "GermplasmAttributes"
+ ],
+ "summary" : "Get the details of a specific GermplasmAttribute",
+ "description" : "Get details for a GermplasmAttribute",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/GermplasmAttributeSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "put" : {
+ "tags" : [
+ "GermplasmAttributes"
+ ],
+ "summary" : "Update the details for an existing GermplasmAttribute",
+ "description" : "Update the details for an existing GermplasmAttribute",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/GermplasmAttributeNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/GermplasmAttributeSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ProgramSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/references/{referenceDbId}" : {
- "get" : {
- "tags" : [ "References" ],
- "summary" : "Get the details of a specific Reference",
- "description" : "Get details for a Reference",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ReferenceSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/referencesets/{referenceSetDbId}" : {
- "get" : {
- "tags" : [ "ReferenceSets" ],
- "summary" : "Get the details of a specific ReferenceSet",
- "description" : "Get details for a ReferenceSet",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ReferenceSetSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/samples/{sampleDbId}" : {
- "get" : {
- "tags" : [ "Samples" ],
- "summary" : "Get the details of a specific Sample",
- "description" : "Get details for a Sample",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/SampleSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/scales/{scaleDbId}" : {
- "get" : {
- "tags" : [ "Scales" ],
- "summary" : "Get the details of a specific Scale",
- "description" : "Get details for a Scale",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ScaleSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "put" : {
- "tags" : [ "Scales" ],
- "summary" : "Update the details for an existing Scale",
- "description" : "Update the details for an existing Scale",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ScaleNewRequest"
- }
+ "/attributevalues/{attributeValueDbId}" : {
+ "get" : {
+ "tags" : [
+ "GermplasmAttributeValues"
+ ],
+ "summary" : "Get the details of a specific GermplasmAttributeValue",
+ "description" : "Get details for a GermplasmAttributeValue",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/GermplasmAttributeValueSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "put" : {
+ "tags" : [
+ "GermplasmAttributeValues"
+ ],
+ "summary" : "Update the details for an existing GermplasmAttributeValue",
+ "description" : "Update the details for an existing GermplasmAttributeValue",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/GermplasmAttributeValueNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/GermplasmAttributeValueSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ScaleSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/seasons/{seasonDbId}" : {
- "get" : {
- "tags" : [ "Seasons" ],
- "summary" : "Get the details of a specific Season",
- "description" : "Get details for a Season",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/SeasonSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "put" : {
- "tags" : [ "Seasons" ],
- "summary" : "Update the details for an existing Season",
- "description" : "Update the details for an existing Season",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/Season"
- }
+ "/images/{imageDbId}" : {
+ "get" : {
+ "tags" : [
+ "Images"
+ ],
+ "summary" : "Get the details of a specific Image",
+ "description" : "Get details for a Image",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ImageSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "put" : {
+ "tags" : [
+ "Images"
+ ],
+ "summary" : "Update the details for an existing Image",
+ "description" : "Update the details for an existing Image",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ImageNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ImageSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/SeasonSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/seedlots/{seedLotDbId}" : {
- "get" : {
- "tags" : [ "SeedLots" ],
- "summary" : "Get the details of a specific SeedLot",
- "description" : "Get details for a SeedLot",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/SeedLotSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "put" : {
- "tags" : [ "SeedLots" ],
- "summary" : "Update the details for an existing SeedLot",
- "description" : "Update the details for an existing SeedLot",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/SeedLotNewRequest"
- }
+ "/lists/{listDbId}" : {
+ "get" : {
+ "tags" : [
+ "Lists"
+ ],
+ "summary" : "Get the details of a specific List",
+ "description" : "Get details for a List",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ListSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "put" : {
+ "tags" : [
+ "Lists"
+ ],
+ "summary" : "Update the details for an existing List",
+ "description" : "Update the details for an existing List",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ListNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ListSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/SeedLotSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/studies/{studyDbId}" : {
- "get" : {
- "tags" : [ "Studies" ],
- "summary" : "Get the details of a specific Study",
- "description" : "Get details for a Study",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/StudySingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "put" : {
- "tags" : [ "Studies" ],
- "summary" : "Update the details for an existing Study",
- "description" : "Update the details for an existing Study",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/StudyNewRequest"
- }
+ "/locations/{locationDbId}" : {
+ "get" : {
+ "tags" : [
+ "Locations"
+ ],
+ "summary" : "Get the details of a specific Location",
+ "description" : "Get details for a Location",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/LocationSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "put" : {
+ "tags" : [
+ "Locations"
+ ],
+ "summary" : "Update the details for an existing Location",
+ "description" : "Update the details for an existing Location",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/LocationNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/LocationSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/StudySingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/traits/{traitDbId}" : {
- "get" : {
- "tags" : [ "Traits" ],
- "summary" : "Get the details of a specific Trait",
- "description" : "Get details for a Trait",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/TraitSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "put" : {
- "tags" : [ "Traits" ],
- "summary" : "Update the details for an existing Trait",
- "description" : "Update the details for an existing Trait",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/TraitNewRequest"
- }
+ "/methods/{methodDbId}" : {
+ "get" : {
+ "tags" : [
+ "Methods"
+ ],
+ "summary" : "Get the details of a specific Method",
+ "description" : "Get details for a Method",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/MethodSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "put" : {
+ "tags" : [
+ "Methods"
+ ],
+ "summary" : "Update the details for an existing Method",
+ "description" : "Update the details for an existing Method",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/MethodNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/MethodSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/TraitSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/trials/{trialDbId}" : {
- "get" : {
- "tags" : [ "Trials" ],
- "summary" : "Get the details of a specific Trial",
- "description" : "Get details for a Trial",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/TrialSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- },
- "put" : {
- "tags" : [ "Trials" ],
- "summary" : "Update the details for an existing Trial",
- "description" : "Update the details for an existing Trial",
- "parameters" : [ {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/TrialNewRequest"
- }
+ "/observations/{observationDbId}" : {
+ "get" : {
+ "tags" : [
+ "Observations"
+ ],
+ "summary" : "Get the details of a specific Observation",
+ "description" : "Get details for a Observation",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ObservationSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/TrialSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/variants/{variantDbId}" : {
- "get" : {
- "tags" : [ "Variants" ],
- "summary" : "Get the details of a specific Variant",
- "description" : "Get details for a Variant",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/VariantSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/variants/{variantDbId}/calls" : {
- "get" : {
- "tags" : [ "Calls" ],
- "summary" : "Get a filtered list of Call",
- "description" : "Get a list of Call",
- "parameters" : [ {
- "name" : "callSetDbId",
- "in" : "query",
- "description" : "A list of IDs which uniquely identify `CallSets` within the given database server",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "variantDbId",
- "in" : "query",
- "description" : "A list of IDs which uniquely identify `Variant` within the given database server",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "variantSetDbId",
- "in" : "query",
- "description" : "A list of IDs which uniquely identify `VariantSets` within the given database server",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "expandHomozygote",
- "in" : "query",
- "description" : "Should homozygotes be expanded (true) or collapsed into a single occurrence (false)",
- "required" : false,
- "schema" : {
- "type" : "boolean"
- }
- }, {
- "name" : "sepPhased",
- "in" : "query",
- "description" : "The string used as a separator for phased allele calls.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "sepUnphased",
- "in" : "query",
- "description" : "The string used as a separator for unphased allele calls.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "unknownString",
- "in" : "query",
- "description" : "The string used as a representation for missing data.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/CallListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/variantsets/{variantSetDbId}" : {
- "get" : {
- "tags" : [ "VariantSets" ],
- "summary" : "Get the details of a specific VariantSet",
- "description" : "Get details for a VariantSet",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/VariantSetSingleResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/variantsets/{variantSetDbId}/calls" : {
- "get" : {
- "tags" : [ "Calls" ],
- "summary" : "Get a filtered list of Call",
- "description" : "Get a list of Call",
- "parameters" : [ {
- "name" : "callSetDbId",
- "in" : "query",
- "description" : "A list of IDs which uniquely identify `CallSets` within the given database server",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "variantDbId",
- "in" : "query",
- "description" : "A list of IDs which uniquely identify `Variant` within the given database server",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "variantSetDbId",
- "in" : "query",
- "description" : "A list of IDs which uniquely identify `VariantSets` within the given database server",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "expandHomozygote",
- "in" : "query",
- "description" : "Should homozygotes be expanded (true) or collapsed into a single occurrence (false)",
- "required" : false,
- "schema" : {
- "type" : "boolean"
- }
- }, {
- "name" : "sepPhased",
- "in" : "query",
- "description" : "The string used as a separator for phased allele calls.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "sepUnphased",
- "in" : "query",
- "description" : "The string used as a separator for unphased allele calls.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "unknownString",
- "in" : "query",
- "description" : "The string used as a representation for missing data.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/CallListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/variantsets/{variantSetDbId}/callsets" : {
- "get" : {
- "tags" : [ "CallSets" ],
- "summary" : "Get a filtered list of CallSet",
- "description" : "Get a list of CallSet",
- "parameters" : [ {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmDbId",
- "in" : "query",
- "description" : "List of IDs which uniquely identify germplasm to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "germplasmName",
- "in" : "query",
- "description" : "List of human readable names to identify germplasm to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyDbId",
- "in" : "query",
- "description" : "List of study identifiers to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyName",
- "in" : "query",
- "description" : "List of study names to filter search results",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialDbId",
- "in" : "query",
- "description" : "The ID which uniquely identifies a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialName",
- "in" : "query",
- "description" : "The human readable name of a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "sampleDbId",
- "in" : "query",
- "description" : "A list of IDs which uniquely identify `Samples` within the given database server",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "sampleName",
- "in" : "query",
- "description" : "A list of human readable names associated with `Samples`",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "callSetDbId",
- "in" : "query",
- "description" : "A list of IDs which uniquely identify `CallSets` within the given database server",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "callSetName",
- "in" : "query",
- "description" : "A list of human readable names associated with `CallSets`",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "variantSetDbId",
- "in" : "query",
- "description" : "A list of IDs which uniquely identify `VariantSets` within the given database server",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/CallSetListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/variantsets/{variantSetDbId}/variants" : {
- "get" : {
- "tags" : [ "Variants" ],
- "summary" : "Get a filtered list of Variant",
- "description" : "Get a list of Variant",
- "parameters" : [ {
- "name" : "commonCropName",
- "in" : "query",
- "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programDbId",
- "in" : "query",
- "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "programName",
- "in" : "query",
- "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyDbId",
- "in" : "query",
- "description" : "List of study identifiers to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "studyName",
- "in" : "query",
- "description" : "List of study names to filter search results",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialDbId",
- "in" : "query",
- "description" : "The ID which uniquely identifies a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "trialName",
- "in" : "query",
- "description" : "The human readable name of a trial to search for",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "callSetDbId",
- "in" : "query",
- "description" : "**Deprecated in v2.1** Parameter unnecessary. Github issue number #474 \n
Only return variant calls which belong to call sets with these IDs. If unspecified, return all variants and no variant call objects.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "end",
- "in" : "query",
- "description" : "The end of the window (0-based, exclusive) for which overlapping variants should be returned.",
- "required" : false,
- "schema" : {
- "type" : "integer",
- "format" : "int32"
- }
- }, {
- "name" : "referenceDbId",
- "in" : "query",
- "description" : "**Deprecated in v2.1** Please use `referenceDbIds`. Github issue number #472\n
Only return variants on this reference.",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "referenceDbId",
- "in" : "query",
- "description" : "The unique identifier representing a genotype `Reference`",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "referenceSetDbId",
- "in" : "query",
- "description" : "The unique identifier representing a genotype `ReferenceSet`",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "start",
- "in" : "query",
- "description" : "The beginning of the window (0-based, inclusive) for which overlapping variants should be returned. Genomic positions are non-negative integers less than reference length. Requests spanning the join of circular genomes are represented as two requests one on each side of the join (position 0).",
- "required" : false,
- "schema" : {
- "type" : "integer",
- "format" : "int32"
- }
- }, {
- "name" : "variantDbId",
- "in" : "query",
- "description" : "A list of IDs which uniquely identify `Variants`",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "name" : "variantSetDbId",
- "in" : "query",
- "description" : "A list of IDs which uniquely identify `VariantSets`",
- "required" : false,
- "schema" : {
- "type" : "string"
- }
- }, {
- "$ref" : "#/components/parameters/externalReferenceID"
- }, {
- "$ref" : "#/components/parameters/externalReferenceId"
- }, {
- "$ref" : "#/components/parameters/externalReferenceSource"
- }, {
- "$ref" : "#/components/parameters/page"
- }, {
- "$ref" : "#/components/parameters/pageSize"
- }, {
- "$ref" : "#/components/parameters/authorizationHeader"
- } ],
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/VariantListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/allelematrix" : {
- "post" : {
- "tags" : [ "AlleleMatrix" ],
- "summary" : "Submit a search request for `AlleleMatrix`",
- "description" : "Submit a search request for `AlleleMatrix`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/alleleMatrix/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/AlleleMatrixListResponse"
- },
- "202" : {
- "$ref" : "#/components/responses/202AcceptedSearchResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/calls" : {
- "post" : {
- "tags" : [ "Calls" ],
- "summary" : "Submit a search request for `Call`",
- "description" : "Submit a search request for `Call`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/call/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/CallListResponse"
- },
- "202" : {
- "$ref" : "#/components/responses/202AcceptedSearchResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/callsets" : {
- "post" : {
- "tags" : [ "CallSets" ],
- "summary" : "Submit a search request for `CallSet`",
- "description" : "Submit a search request for `CallSet`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/callSet/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/CallSetListResponse"
- },
- "202" : {
- "$ref" : "#/components/responses/202AcceptedSearchResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/germplasm" : {
- "post" : {
- "tags" : [ "Germplasm" ],
- "summary" : "Submit a search request for `Germplasm`",
- "description" : "Submit a search request for `Germplasm`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/germplasm/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/GermplasmListResponse"
- },
- "202" : {
- "$ref" : "#/components/responses/202AcceptedSearchResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/attributes" : {
- "post" : {
- "tags" : [ "GermplasmAttributes" ],
- "summary" : "Submit a search request for `GermplasmAttribute`",
- "description" : "Submit a search request for `GermplasmAttribute`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/germplasmAttribute/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/GermplasmAttributeListResponse"
- },
- "202" : {
- "$ref" : "#/components/responses/202AcceptedSearchResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/attributevalues" : {
- "post" : {
- "tags" : [ "GermplasmAttributeValues" ],
- "summary" : "Submit a search request for `GermplasmAttributeValue`",
- "description" : "Submit a search request for `GermplasmAttributeValue`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/germplasmAttributeValue/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/GermplasmAttributeValueListResponse"
- },
- "202" : {
- "$ref" : "#/components/responses/202AcceptedSearchResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/images" : {
- "post" : {
- "tags" : [ "Images" ],
- "summary" : "Submit a search request for `Image`",
- "description" : "Submit a search request for `Image`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/image/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ImageListResponse"
- },
- "202" : {
- "$ref" : "#/components/responses/202AcceptedSearchResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/lists" : {
- "post" : {
- "tags" : [ "Lists" ],
- "summary" : "Submit a search request for `List`",
- "description" : "Submit a search request for `List`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/list/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ListListResponse"
- },
- "202" : {
- "$ref" : "#/components/responses/202AcceptedSearchResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/locations" : {
- "post" : {
- "tags" : [ "Locations" ],
- "summary" : "Submit a search request for `Location`",
- "description" : "Submit a search request for `Location`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/location/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/LocationListResponse"
- },
- "202" : {
- "$ref" : "#/components/responses/202AcceptedSearchResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/markerpositions" : {
- "post" : {
- "tags" : [ "MarkerPositions" ],
- "summary" : "Submit a search request for `MarkerPosition`",
- "description" : "Submit a search request for `MarkerPosition`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/markerPosition/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/MarkerPositionListResponse"
- },
- "202" : {
- "$ref" : "#/components/responses/202AcceptedSearchResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/observations" : {
- "post" : {
- "tags" : [ "Observations" ],
- "summary" : "Submit a search request for `Observation`",
- "description" : "Submit a search request for `Observation`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/observation/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ObservationListResponse"
- },
- "202" : {
- "$ref" : "#/components/responses/202AcceptedSearchResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/observationunits" : {
- "post" : {
- "tags" : [ "ObservationUnits" ],
- "summary" : "Submit a search request for `ObservationUnit`",
- "description" : "Submit a search request for `ObservationUnit`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/observationUnit/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ObservationUnitListResponse"
- },
- "202" : {
- "$ref" : "#/components/responses/202AcceptedSearchResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/variables" : {
- "post" : {
- "tags" : [ "ObservationVariables" ],
- "summary" : "Submit a search request for `ObservationVariable`",
- "description" : "Submit a search request for `ObservationVariable`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/observationVariable/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ObservationVariableListResponse"
- },
- "202" : {
- "$ref" : "#/components/responses/202AcceptedSearchResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/pedigree" : {
- "post" : {
- "tags" : [ "PedigreeNodes" ],
- "summary" : "Submit a search request for `PedigreeNode`",
- "description" : "Submit a search request for `PedigreeNode`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/pedigreeNode/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/PedigreeNodeListResponse"
- },
- "202" : {
- "$ref" : "#/components/responses/202AcceptedSearchResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/people" : {
- "post" : {
- "tags" : [ "People" ],
- "summary" : "Submit a search request for `Person`",
- "description" : "Submit a search request for `Person`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/person/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/PersonListResponse"
- },
- "202" : {
- "$ref" : "#/components/responses/202AcceptedSearchResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/plates" : {
- "post" : {
- "tags" : [ "Plates" ],
- "summary" : "Submit a search request for `Plate`",
- "description" : "Submit a search request for `Plate`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/plate/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/PlateListResponse"
- },
- "202" : {
- "$ref" : "#/components/responses/202AcceptedSearchResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/programs" : {
- "post" : {
- "tags" : [ "Programs" ],
- "summary" : "Submit a search request for `Program`",
- "description" : "Submit a search request for `Program`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/program/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ProgramListResponse"
- },
- "202" : {
- "$ref" : "#/components/responses/202AcceptedSearchResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/references" : {
- "post" : {
- "tags" : [ "References" ],
- "summary" : "Submit a search request for `Reference`",
- "description" : "Submit a search request for `Reference`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/reference/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ReferenceListResponse"
- },
- "202" : {
- "$ref" : "#/components/responses/202AcceptedSearchResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/referencesets" : {
- "post" : {
- "tags" : [ "ReferenceSets" ],
- "summary" : "Submit a search request for `ReferenceSet`",
- "description" : "Submit a search request for `ReferenceSet`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/referenceSet/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ReferenceSetListResponse"
- },
- "202" : {
- "$ref" : "#/components/responses/202AcceptedSearchResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/samples" : {
- "post" : {
- "tags" : [ "Samples" ],
- "summary" : "Submit a search request for `Sample`",
- "description" : "Submit a search request for `Sample`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/sample/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/SampleListResponse"
- },
- "202" : {
- "$ref" : "#/components/responses/202AcceptedSearchResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/studies" : {
- "post" : {
- "tags" : [ "Studies" ],
- "summary" : "Submit a search request for `Study`",
- "description" : "Submit a search request for `Study`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/study/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/StudyListResponse"
- },
- "202" : {
- "$ref" : "#/components/responses/202AcceptedSearchResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/trials" : {
- "post" : {
- "tags" : [ "Trials" ],
- "summary" : "Submit a search request for `Trial`",
- "description" : "Submit a search request for `Trial`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/trial/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/TrialListResponse"
- },
- "202" : {
- "$ref" : "#/components/responses/202AcceptedSearchResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/variants" : {
- "post" : {
- "tags" : [ "Variants" ],
- "summary" : "Submit a search request for `Variant`",
- "description" : "Submit a search request for `Variant`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/variant/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/VariantListResponse"
- },
- "202" : {
- "$ref" : "#/components/responses/202AcceptedSearchResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/variantsets" : {
- "post" : {
- "tags" : [ "VariantSets" ],
- "summary" : "Submit a search request for `VariantSet`",
- "description" : "Submit a search request for `VariantSet`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/variantSet/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/VariantSetListResponse"
- },
- "202" : {
- "$ref" : "#/components/responses/202AcceptedSearchResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/allelematrix/{searchResultsDbId}" : {
- "get" : {
- "tags" : [ "AlleleMatrix" ],
- "summary" : "Submit a search request for `AlleleMatrix`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/alleleMatrix/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "description" : "Get the results of a `AlleleMatrix` search request
\nClients should submit a search request using the corresponding `POST /search/alleleMatrix` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/AlleleMatrixListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/calls/{searchResultsDbId}" : {
- "get" : {
- "tags" : [ "Calls" ],
- "summary" : "Submit a search request for `Call`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/call/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "description" : "Get the results of a `Call` search request
\nClients should submit a search request using the corresponding `POST /search/call` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/CallListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/callsets/{searchResultsDbId}" : {
- "get" : {
- "tags" : [ "CallSets" ],
- "summary" : "Submit a search request for `CallSet`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/callSet/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "description" : "Get the results of a `CallSet` search request
\nClients should submit a search request using the corresponding `POST /search/callSet` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/CallSetListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/germplasm/{searchResultsDbId}" : {
- "get" : {
- "tags" : [ "Germplasm" ],
- "summary" : "Submit a search request for `Germplasm`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/germplasm/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "description" : "Get the results of a `Germplasm` search request
\nClients should submit a search request using the corresponding `POST /search/germplasm` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/GermplasmListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/attributes/{searchResultsDbId}" : {
- "get" : {
- "tags" : [ "GermplasmAttributes" ],
- "summary" : "Submit a search request for `GermplasmAttribute`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/germplasmAttribute/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "description" : "Get the results of a `GermplasmAttribute` search request
\nClients should submit a search request using the corresponding `POST /search/germplasmAttribute` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/GermplasmAttributeListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/attributevalues/{searchResultsDbId}" : {
- "get" : {
- "tags" : [ "GermplasmAttributeValues" ],
- "summary" : "Submit a search request for `GermplasmAttributeValue`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/germplasmAttributeValue/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "description" : "Get the results of a `GermplasmAttributeValue` search request
\nClients should submit a search request using the corresponding `POST /search/germplasmAttributeValue` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/GermplasmAttributeValueListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/images/{searchResultsDbId}" : {
- "get" : {
- "tags" : [ "Images" ],
- "summary" : "Submit a search request for `Image`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/image/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "description" : "Get the results of a `Image` search request
\nClients should submit a search request using the corresponding `POST /search/image` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ImageListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/lists/{searchResultsDbId}" : {
- "get" : {
- "tags" : [ "Lists" ],
- "summary" : "Submit a search request for `List`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/list/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "description" : "Get the results of a `List` search request
\nClients should submit a search request using the corresponding `POST /search/list` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ListListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/locations/{searchResultsDbId}" : {
- "get" : {
- "tags" : [ "Locations" ],
- "summary" : "Submit a search request for `Location`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/location/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "description" : "Get the results of a `Location` search request
\nClients should submit a search request using the corresponding `POST /search/location` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/LocationListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/markerpositions/{searchResultsDbId}" : {
- "get" : {
- "tags" : [ "MarkerPositions" ],
- "summary" : "Submit a search request for `MarkerPosition`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/markerPosition/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "description" : "Get the results of a `MarkerPosition` search request
\nClients should submit a search request using the corresponding `POST /search/markerPosition` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/MarkerPositionListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/observations/{searchResultsDbId}" : {
- "get" : {
- "tags" : [ "Observations" ],
- "summary" : "Submit a search request for `Observation`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/observation/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "description" : "Get the results of a `Observation` search request
\nClients should submit a search request using the corresponding `POST /search/observation` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ObservationListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/observationunits/{searchResultsDbId}" : {
- "get" : {
- "tags" : [ "ObservationUnits" ],
- "summary" : "Submit a search request for `ObservationUnit`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/observationUnit/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "description" : "Get the results of a `ObservationUnit` search request
\nClients should submit a search request using the corresponding `POST /search/observationUnit` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ObservationUnitListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/variables/{searchResultsDbId}" : {
- "get" : {
- "tags" : [ "ObservationVariables" ],
- "summary" : "Submit a search request for `ObservationVariable`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/observationVariable/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "description" : "Get the results of a `ObservationVariable` search request
\nClients should submit a search request using the corresponding `POST /search/observationVariable` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ObservationVariableListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/pedigree/{searchResultsDbId}" : {
- "get" : {
- "tags" : [ "PedigreeNodes" ],
- "summary" : "Submit a search request for `PedigreeNode`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/pedigreeNode/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "description" : "Get the results of a `PedigreeNode` search request
\nClients should submit a search request using the corresponding `POST /search/pedigreeNode` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/PedigreeNodeListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/people/{searchResultsDbId}" : {
- "get" : {
- "tags" : [ "People" ],
- "summary" : "Submit a search request for `Person`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/person/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "description" : "Get the results of a `Person` search request
\nClients should submit a search request using the corresponding `POST /search/person` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/PersonListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/plates/{searchResultsDbId}" : {
- "get" : {
- "tags" : [ "Plates" ],
- "summary" : "Submit a search request for `Plate`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/plate/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "description" : "Get the results of a `Plate` search request
\nClients should submit a search request using the corresponding `POST /search/plate` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/PlateListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/programs/{searchResultsDbId}" : {
- "get" : {
- "tags" : [ "Programs" ],
- "summary" : "Submit a search request for `Program`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/program/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "description" : "Get the results of a `Program` search request
\nClients should submit a search request using the corresponding `POST /search/program` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ProgramListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/references/{searchResultsDbId}" : {
- "get" : {
- "tags" : [ "References" ],
- "summary" : "Submit a search request for `Reference`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/reference/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "description" : "Get the results of a `Reference` search request
\nClients should submit a search request using the corresponding `POST /search/reference` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ReferenceListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/referencesets/{searchResultsDbId}" : {
- "get" : {
- "tags" : [ "ReferenceSets" ],
- "summary" : "Submit a search request for `ReferenceSet`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/referenceSet/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "description" : "Get the results of a `ReferenceSet` search request
\nClients should submit a search request using the corresponding `POST /search/referenceSet` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/ReferenceSetListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/samples/{searchResultsDbId}" : {
- "get" : {
- "tags" : [ "Samples" ],
- "summary" : "Submit a search request for `Sample`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/sample/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "description" : "Get the results of a `Sample` search request
\nClients should submit a search request using the corresponding `POST /search/sample` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/SampleListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/studies/{searchResultsDbId}" : {
- "get" : {
- "tags" : [ "Studies" ],
- "summary" : "Submit a search request for `Study`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/study/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "description" : "Get the results of a `Study` search request
\nClients should submit a search request using the corresponding `POST /search/study` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/StudyListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/trials/{searchResultsDbId}" : {
- "get" : {
- "tags" : [ "Trials" ],
- "summary" : "Submit a search request for `Trial`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/trial/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "description" : "Get the results of a `Trial` search request
\nClients should submit a search request using the corresponding `POST /search/trial` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/TrialListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/variants/{searchResultsDbId}" : {
- "get" : {
- "tags" : [ "Variants" ],
- "summary" : "Submit a search request for `Variant`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/variant/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "description" : "Get the results of a `Variant` search request
\nClients should submit a search request using the corresponding `POST /search/variant` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/VariantListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- },
- "/search/variantsets/{searchResultsDbId}" : {
- "get" : {
- "tags" : [ "VariantSets" ],
- "summary" : "Submit a search request for `VariantSet`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/variantSet/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "description" : "Get the results of a `VariantSet` search request
\nClients should submit a search request using the corresponding `POST /search/variantSet` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
- "responses" : {
- "200" : {
- "$ref" : "#/components/responses/VariantSetListResponse"
- },
- "400" : {
- "$ref" : "#/components/responses/400BadRequest"
- },
- "401" : {
- "$ref" : "#/components/responses/401Unauthorized"
- },
- "403" : {
- "$ref" : "#/components/responses/403Forbidden"
- }
- }
- }
- }
- },
- "components" : {
- "schemas" : {
- "AdditionalInfo" : {
- "type" : "object",
- "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.",
- "properties" : {
- "additionalProperties" : {
- "type" : "string"
- }
- }
- },
- "AlleleMatrix" : {
- "type" : "object",
- "properties" : {
- "callSetDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ "/observationunits/{observationUnitDbId}" : {
+ "get" : {
+ "tags" : [
+ "ObservationUnits"
+ ],
+ "summary" : "Get the details of a specific ObservationUnit",
+ "description" : "Get details for a ObservationUnit",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ObservationUnitSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- },
- "expandHomozygotes" : {
- "type" : "boolean"
- },
- "sepPhased" : {
- "type" : "string"
- },
- "sepUnphased" : {
- "type" : "string"
- },
- "unknownString" : {
- "type" : "string"
- },
- "variantDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ },
+ "/variables/{observationVariableDbId}" : {
+ "get" : {
+ "tags" : [
+ "ObservationVariables"
+ ],
+ "summary" : "Get the details of a specific ObservationVariable",
+ "description" : "Get details for a ObservationVariable",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ObservationVariableSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "put" : {
+ "tags" : [
+ "ObservationVariables"
+ ],
+ "summary" : "Update the details for an existing ObservationVariable",
+ "description" : "Update the details for an existing ObservationVariable",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ObservationVariableNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ObservationVariableSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- },
- "variantSetDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ },
+ "/ontologies/{ontologyDbId}" : {
+ "get" : {
+ "tags" : [
+ "Ontologies"
+ ],
+ "summary" : "Get the details of a specific Ontology",
+ "description" : "Get details for a Ontology",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/OntologySingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "put" : {
+ "tags" : [
+ "Ontologies"
+ ],
+ "summary" : "Update the details for an existing Ontology",
+ "description" : "Update the details for an existing Ontology",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/OntologyNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/OntologySingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "required" : [ "callSetDbIds", "variantSetDbIds" ]
- },
- "AlleleMatrixSearchRequest" : {
- "type" : "object",
- "properties" : {
- "expandHomozygotes" : {
- "type" : "boolean"
- },
- "preview" : {
- "type" : "boolean"
- },
- "sepPhased" : {
- "type" : "string"
- },
- "sepUnphased" : {
- "type" : "string"
- },
- "unknownString" : {
- "type" : "string"
- }
- }
- },
- "Analysis" : {
- "type" : "object",
- "properties" : {
- "analysisDbId" : {
- "type" : "string"
- },
- "analysisName" : {
- "type" : "string"
- },
- "created" : {
- "type" : "string"
- },
- "description" : {
- "type" : "string"
- },
- "software" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ "/people/{personDbId}" : {
+ "get" : {
+ "tags" : [
+ "People"
+ ],
+ "summary" : "Get the details of a specific Person",
+ "description" : "Get details for a Person",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/PersonSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "put" : {
+ "tags" : [
+ "People"
+ ],
+ "summary" : "Update the details for an existing Person",
+ "description" : "Update the details for an existing Person",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PersonNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/PersonSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- },
- "type" : {
- "type" : "string"
- },
- "updated" : {
- "type" : "string"
- },
- "variantSetDbId" : {
- "type" : "string"
- },
- "variantSetName" : {
- "type" : "string"
- }
},
- "required" : [ "analysisDbId" ]
- },
- "Attribute" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "attributeCategory" : {
- "type" : "string"
- },
- "attributeDbId" : {
- "type" : "string"
- },
- "attributeDescription" : {
- "type" : "string"
- },
- "attributeName" : {
- "type" : "string"
- },
- "attributePUI" : {
- "type" : "string"
- },
- "commonCropName" : {
- "type" : "string"
- },
- "contextOfUse" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ "/plates/{plateDbId}" : {
+ "get" : {
+ "tags" : [
+ "Plates"
+ ],
+ "summary" : "Get the details of a specific Plate",
+ "description" : "Get details for a Plate",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/PlateSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- },
- "defaultValue" : {
- "type" : "string"
- },
- "documentationURL" : {
- "type" : "string"
- },
- "growthStage" : {
- "type" : "string"
- },
- "institution" : {
- "type" : "string"
- },
- "language" : {
- "type" : "string"
- },
- "method" : {
- "$ref" : "#/components/schemas/Method"
- },
- "ontologyReference" : {
- "$ref" : "#/components/schemas/OntologyReference"
- },
- "scale" : {
- "$ref" : "#/components/schemas/Scale"
- },
- "scientist" : {
- "type" : "string"
- },
- "status" : {
- "type" : "string"
- },
- "submissionTimestamp" : {
- "type" : "string"
- },
- "synonyms" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ },
+ "/programs/{programDbId}" : {
+ "get" : {
+ "tags" : [
+ "Programs"
+ ],
+ "summary" : "Get the details of a specific Program",
+ "description" : "Get details for a Program",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ProgramSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "put" : {
+ "tags" : [
+ "Programs"
+ ],
+ "summary" : "Update the details for an existing Program",
+ "description" : "Update the details for an existing Program",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProgramNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ProgramSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- },
- "trait" : {
- "$ref" : "#/components/schemas/Trait"
- }
},
- "required" : [ "attributeName", "method", "scale", "trait" ]
- },
- "AvailableFormat" : {
- "type" : "object",
- "properties" : {
- "dataFormat" : {
- "type" : "string",
- "description" : "dataFormat defines the structure of the data within a file (ie DartSeq, VCF, Hapmap, tabular, etc)",
- "enum" : [ "DartSeq", "VCF", "Hapmap", "tabular", "JSON" ]
- },
- "expandHomozygotes" : {
- "type" : "boolean"
- },
- "fileFormat" : {
- "type" : "string",
- "description" : "fileFormat defines the MIME type of the file (ie text/csv, application/excel, application/zip). This should also be reflected in the Accept and ContentType HTTP headers for every relevant request and response.",
- "enum" : [ "text/csv", "text/tsv", "application/excel", "application/zip", "application/json" ]
- },
- "fileURL" : {
- "type" : "string"
- },
- "sepPhased" : {
- "type" : "string"
- },
- "sepUnphased" : {
- "type" : "string"
- },
- "unknownString" : {
- "type" : "string"
- },
- "variantSetDbId" : {
- "type" : "string"
- },
- "variantSetName" : {
- "type" : "string"
- }
- }
- },
- "BreedingMethod" : {
- "type" : "object",
- "properties" : {
- "abbreviation" : {
- "type" : "string"
- },
- "breedingMethodDbId" : {
- "type" : "string"
- },
- "breedingMethodName" : {
- "type" : "string"
- },
- "description" : {
- "type" : "string"
- }
+ "/references/{referenceDbId}" : {
+ "get" : {
+ "tags" : [
+ "References"
+ ],
+ "summary" : "Get the details of a specific Reference",
+ "description" : "Get details for a Reference",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ReferenceSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ }
},
- "required" : [ "abbreviation", "breedingMethodDbId", "breedingMethodName", "description" ]
- },
- "Call" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "callSetDbId" : {
- "type" : "string"
- },
- "callSetName" : {
- "type" : "string"
- },
- "genotypeValue" : {
- "type" : "string"
- },
- "phaseSet" : {
- "type" : "string"
- },
- "variantDbId" : {
- "type" : "string"
- },
- "variantSetDbId" : {
- "type" : "string"
- },
- "variantSetName" : {
- "type" : "string"
- }
+ "/referencesets/{referenceSetDbId}" : {
+ "get" : {
+ "tags" : [
+ "ReferenceSets"
+ ],
+ "summary" : "Get the details of a specific ReferenceSet",
+ "description" : "Get details for a ReferenceSet",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ReferenceSetSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ }
},
- "required" : [ "callSetDbId", "variantDbId", "variantSetDbId" ]
- },
- "CallSearchRequest" : {
- "type" : "object",
- "properties" : {
- "expandHomozygotes" : {
- "type" : "boolean"
- },
- "sepPhased" : {
- "type" : "string"
- },
- "sepUnphased" : {
- "type" : "string"
- },
- "unknownString" : {
- "type" : "string"
- }
- }
- },
- "CallSet" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "callSetDbId" : {
- "type" : "string"
- },
- "callSetName" : {
- "type" : "string"
- },
- "created" : {
- "type" : "string"
- },
- "sampleDbId" : {
- "type" : "string"
- },
- "sampleName" : {
- "type" : "string"
- },
- "samplePUI" : {
- "type" : "string"
- },
- "studyDbId" : {
- "type" : "string"
- },
- "studyName" : {
- "type" : "string"
- },
- "studyPUI" : {
- "type" : "string"
- },
- "updated" : {
- "type" : "string"
- },
- "variantSetDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ "/samples/{sampleDbId}" : {
+ "get" : {
+ "tags" : [
+ "Samples"
+ ],
+ "summary" : "Get the details of a specific Sample",
+ "description" : "Get details for a Sample",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/SampleSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "required" : [ "callSetDbId" ]
- },
- "CallSetSearchRequest" : {
- "type" : "object",
- "properties" : { }
- },
- "Contact" : {
- "type" : "object",
- "properties" : {
- "contactDbId" : {
- "type" : "string"
- },
- "email" : {
- "type" : "string"
- },
- "instituteName" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string"
- },
- "orcid" : {
- "type" : "string"
- },
- "type" : {
- "type" : "string"
- }
+ "/scales/{scaleDbId}" : {
+ "get" : {
+ "tags" : [
+ "Scales"
+ ],
+ "summary" : "Get the details of a specific Scale",
+ "description" : "Get details for a Scale",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ScaleSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "put" : {
+ "tags" : [
+ "Scales"
+ ],
+ "summary" : "Update the details for an existing Scale",
+ "description" : "Update the details for an existing Scale",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ScaleNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ScaleSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ }
},
- "required" : [ "contactDbId" ]
- },
- "ContentMixture" : {
- "type" : "object",
- "properties" : {
- "crossDbId" : {
- "type" : "string"
- },
- "crossName" : {
- "type" : "string"
- },
- "germplasmDbId" : {
- "type" : "string"
- },
- "germplasmName" : {
- "type" : "string"
- },
- "germplasmPUI" : {
- "type" : "string"
- },
- "mixturePercentage" : {
- "type" : "integer",
- "format" : "int32"
- },
- "seedLotDbId" : {
- "type" : "string"
- },
- "seedLotName" : {
- "type" : "string"
- }
- }
- },
- "ContentTypes" : {
- "type" : "string",
- "enum" : [ "application/json", "text/csv", "text/tsv", "application/flapjack" ]
- },
- "Context" : {
- "type" : "array",
- "description" : "The JSON-LD Context is used to provide JSON-LD definitions to each field in a JSON object. By providing an array of context file urls, a BrAPI response object becomes JSON-LD compatible. \n\nFor more information, see https://w3c.github.io/json-ld-syntax/#the-context",
- "example" : [ "https://brapi.org/jsonld/context/metadata.jsonld" ],
- "items" : {
- "type" : "string",
- "format" : "uri"
+ "/seasons/{seasonDbId}" : {
+ "get" : {
+ "tags" : [
+ "Seasons"
+ ],
+ "summary" : "Get the details of a specific Season",
+ "description" : "Get details for a Season",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/SeasonSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "put" : {
+ "tags" : [
+ "Seasons"
+ ],
+ "summary" : "Update the details for an existing Season",
+ "description" : "Update the details for an existing Season",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/Season"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/SeasonSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ }
},
- "title" : "context"
- },
- "Cross" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "crossName" : {
- "type" : "string"
- },
- "crossType" : {
- "$ref" : "#/components/schemas/CrossType"
- },
- "crossingProjectDbId" : {
- "type" : "string"
- },
- "crossingProjectName" : {
- "type" : "string"
- },
- "parent1" : {
- "$ref" : "#/components/schemas/CrossParent"
- },
- "parent2" : {
- "$ref" : "#/components/schemas/CrossParent"
- },
- "plannedCrossDbId" : {
- "type" : "string"
- },
- "plannedCrossName" : {
- "type" : "string"
- }
+ "/seedlots/{seedLotDbId}" : {
+ "get" : {
+ "tags" : [
+ "SeedLots"
+ ],
+ "summary" : "Get the details of a specific SeedLot",
+ "description" : "Get details for a SeedLot",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/SeedLotSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "put" : {
+ "tags" : [
+ "SeedLots"
+ ],
+ "summary" : "Update the details for an existing SeedLot",
+ "description" : "Update the details for an existing SeedLot",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/SeedLotNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/SeedLotSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ }
},
- "required" : [ "crossDbId" ]
- },
- "CrossAttribute" : {
- "type" : "object",
- "properties" : {
- "crossAttributeName" : {
- "type" : "string"
- },
- "crossAttributeValue" : {
- "type" : "string"
- },
- "crossDbId" : {
- "type" : "string"
- },
- "crossName" : {
- "type" : "string"
- }
- }
- },
- "CrossNewRequest" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "crossDbId" : {
- "type" : "string"
- },
- "crossName" : {
- "type" : "string"
- },
- "crossType" : {
- "$ref" : "#/components/schemas/CrossType"
- },
- "crossingProjectDbId" : {
- "type" : "string"
- },
- "crossingProjectName" : {
- "type" : "string"
- },
- "parent1" : {
- "$ref" : "#/components/schemas/CrossParent"
- },
- "parent2" : {
- "$ref" : "#/components/schemas/CrossParent"
- },
- "plannedCrossDbId" : {
- "type" : "string"
- },
- "plannedCrossName" : {
- "type" : "string"
- }
+ "/studies/{studyDbId}" : {
+ "get" : {
+ "tags" : [
+ "Studies"
+ ],
+ "summary" : "Get the details of a specific Study",
+ "description" : "Get details for a Study",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/StudySingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "put" : {
+ "tags" : [
+ "Studies"
+ ],
+ "summary" : "Update the details for an existing Study",
+ "description" : "Update the details for an existing Study",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/StudyNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/StudySingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ }
},
- "required" : [ "crossDbId", "crossDbId" ]
- },
- "CrossParent" : {
- "type" : "object",
- "properties" : {
- "germplasm" : {
- "$ref" : "#/components/schemas/Germplasm"
- },
- "observationUnitDbId" : {
- "type" : "string"
- },
- "observationUnitName" : {
- "type" : "string"
- },
- "observationUnitPUI" : {
- "type" : "string"
- },
- "parentType" : {
- "$ref" : "#/components/schemas/ParentType"
- }
- }
- },
- "CrossType" : {
- "type" : "string",
- "description" : "The type of cross make. Accepted values for this field are 'BIPARENTAL', 'SELF', 'OPEN_POLLINATED', 'BULK', 'BULK_SELFED', 'BULK_OPEN_POLLINATED' and 'DOUBLE_HAPLOID'.",
- "enum" : [ "BIPARENTAL", "SELF", "OPEN_POLLINATED", "BULK", "BULK_SELFED", "BULK_OPEN_POLLINATED", "DOUBLE_HAPLOID" ]
- },
- "CrossingProject" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "commonCropName" : {
- "type" : "string"
- },
- "crossingProjectDescription" : {
- "type" : "string"
- },
- "crossingProjectName" : {
- "type" : "string"
- },
- "programDbId" : {
- "type" : "string"
- },
- "programName" : {
- "type" : "string"
- }
+ "/traits/{traitDbId}" : {
+ "get" : {
+ "tags" : [
+ "Traits"
+ ],
+ "summary" : "Get the details of a specific Trait",
+ "description" : "Get details for a Trait",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/TraitSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "put" : {
+ "tags" : [
+ "Traits"
+ ],
+ "summary" : "Update the details for an existing Trait",
+ "description" : "Update the details for an existing Trait",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/TraitNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/TraitSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ }
},
- "required" : [ "crossingProjectDbId", "crossingProjectName" ]
- },
- "CrossingProjectNewRequest" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "commonCropName" : {
- "type" : "string"
- },
- "crossingProjectDbId" : {
- "type" : "string"
- },
- "crossingProjectDescription" : {
- "type" : "string"
- },
- "crossingProjectName" : {
- "type" : "string"
- },
- "programDbId" : {
- "type" : "string"
- },
- "programName" : {
- "type" : "string"
- }
+ "/trials/{trialDbId}" : {
+ "get" : {
+ "tags" : [
+ "Trials"
+ ],
+ "summary" : "Get the details of a specific Trial",
+ "description" : "Get details for a Trial",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/TrialSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ },
+ "put" : {
+ "tags" : [
+ "Trials"
+ ],
+ "summary" : "Update the details for an existing Trial",
+ "description" : "Update the details for an existing Trial",
+ "parameters" : [
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "requestBody" : {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/TrialNewRequest"
+ }
+ }
+ }
+ },
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/TrialSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ }
},
- "required" : [ "crossingProjectDbId", "crossingProjectDbId", "crossingProjectName" ]
- },
- "DataLink" : {
- "type" : "object",
- "properties" : {
- "dataFormat" : {
- "type" : "string"
- },
- "description" : {
- "type" : "string"
- },
- "fileFormat" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string"
- },
- "provenance" : {
- "type" : "string"
- },
- "scientificType" : {
- "type" : "string"
- },
- "url" : {
- "type" : "string"
- },
- "version" : {
- "type" : "string"
- }
- }
- },
- "DataMatrix" : {
- "type" : "object",
- "properties" : {
- "alleleMatrix" : {
- "$ref" : "#/components/schemas/AlleleMatrix"
- },
- "dataMatrix" : {
- "type" : "array",
- "items" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
+ "/variants/{variantDbId}" : {
+ "get" : {
+ "tags" : [
+ "Variants"
+ ],
+ "summary" : "Get the details of a specific Variant",
+ "description" : "Get details for a Variant",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/VariantSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- },
- "dataMatrixAbbreviation" : {
- "type" : "string"
- },
- "dataMatrixName" : {
- "type" : "string"
- },
- "dataType" : {
- "type" : "string",
- "description" : "The type of field represented in this data matrix. This is intended to help parse the data out of JSON.",
- "enum" : [ "string", "integer", "float", "boolean" ]
- }
- }
- },
- "DatasetAuthorships" : {
- "type" : "object",
- "properties" : {
- "datasetPUI" : {
- "type" : "string"
- },
- "license" : {
- "type" : "string"
- },
- "publicReleaseDate" : {
- "type" : "string"
- },
- "submissionDate" : {
- "type" : "string"
- },
- "trialDbId" : {
- "type" : "string"
- },
- "trialName" : {
- "type" : "string"
- },
- "trialPUI" : {
- "type" : "string"
- }
- }
- },
- "DocumentationLink" : {
- "type" : "object",
- "properties" : {
- "URL" : {
- "type" : "string"
- },
- "ontologyReferenceDbId" : {
- "type" : "string"
- },
- "type" : {
- "type" : "string",
- "enum" : [ "OBO", "RDF", "WEBPAGE" ]
- }
- }
- },
- "Donor" : {
- "type" : "object",
- "properties" : {
- "donorAccessionNumber" : {
- "type" : "string"
- },
- "donorInstituteCode" : {
- "type" : "string"
- },
- "germplasmDbId" : {
- "type" : "string"
- },
- "germplasmName" : {
- "type" : "string"
- },
- "germplasmPUI" : {
- "type" : "string"
- }
- }
- },
- "EnvironmentParameters" : {
- "type" : "object",
- "properties" : {
- "description" : {
- "type" : "string"
- },
- "environmentParametersDbId" : {
- "type" : "string"
- },
- "parameterName" : {
- "type" : "string"
- },
- "parameterPUI" : {
- "type" : "string"
- },
- "studyDbId" : {
- "type" : "string"
- },
- "studyName" : {
- "type" : "string"
- },
- "studyPUI" : {
- "type" : "string"
- },
- "unit" : {
- "type" : "string"
- },
- "unitPUI" : {
- "type" : "string"
- },
- "value" : {
- "type" : "string"
- },
- "valuePUI" : {
- "type" : "string"
- }
},
- "required" : [ "description", "environmentParametersDbId", "parameterName" ]
- },
- "Event" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "eventDbId" : {
- "type" : "string"
- },
- "eventDescription" : {
- "type" : "string"
- },
- "eventType" : {
- "type" : "string"
- },
- "eventTypeDbId" : {
- "type" : "string"
- },
- "observationUnitDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ "/variants/{variantDbId}/calls" : {
+ "get" : {
+ "tags" : [
+ "Calls"
+ ],
+ "summary" : "Get a filtered list of Call",
+ "description" : "Get a list of Call",
+ "parameters" : [
+ {
+ "name" : "callSetDbId",
+ "in" : "query",
+ "description" : "A list of IDs which uniquely identify `CallSets` within the given database server",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "variantDbId",
+ "in" : "query",
+ "description" : "A list of IDs which uniquely identify `Variant` within the given database server",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "variantSetDbId",
+ "in" : "query",
+ "description" : "A list of IDs which uniquely identify `VariantSets` within the given database server",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "expandHomozygote",
+ "in" : "query",
+ "description" : "Should homozygotes be expanded (true) or collapsed into a single occurrence (false)",
+ "required" : false,
+ "schema" : {
+ "type" : "boolean"
+ }
+ },
+ {
+ "name" : "sepPhased",
+ "in" : "query",
+ "description" : "The string used as a separator for phased allele calls.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "sepUnphased",
+ "in" : "query",
+ "description" : "The string used as a separator for unphased allele calls.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "unknownString",
+ "in" : "query",
+ "description" : "The string used as a representation for missing data.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/CallListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- },
- "studyDbId" : {
- "type" : "string"
- },
- "studyName" : {
- "type" : "string"
- },
- "studyPUI" : {
- "type" : "string"
- }
},
- "required" : [ "eventDbId", "eventType" ]
- },
- "EventDateRange" : {
- "type" : "object",
- "properties" : {
- "discreteDates" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ "/variantsets/{variantSetDbId}" : {
+ "get" : {
+ "tags" : [
+ "VariantSets"
+ ],
+ "summary" : "Get the details of a specific VariantSet",
+ "description" : "Get details for a VariantSet",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/VariantSetSingleResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- },
- "endDate" : {
- "type" : "string"
- },
- "eventDbId" : {
- "type" : "string"
- },
- "startDate" : {
- "type" : "string"
- }
- }
- },
- "EventParameter" : {
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string"
- },
- "description" : {
- "type" : "string"
- },
- "eventDbId" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string"
- },
- "units" : {
- "type" : "string"
- },
- "value" : {
- "type" : "string"
- },
- "valueDescription" : {
- "type" : "string"
- },
- "valuesByDate" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ },
+ "/variantsets/{variantSetDbId}/calls" : {
+ "get" : {
+ "tags" : [
+ "Calls"
+ ],
+ "summary" : "Get a filtered list of Call",
+ "description" : "Get a list of Call",
+ "parameters" : [
+ {
+ "name" : "callSetDbId",
+ "in" : "query",
+ "description" : "A list of IDs which uniquely identify `CallSets` within the given database server",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "variantDbId",
+ "in" : "query",
+ "description" : "A list of IDs which uniquely identify `Variant` within the given database server",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "variantSetDbId",
+ "in" : "query",
+ "description" : "A list of IDs which uniquely identify `VariantSets` within the given database server",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "expandHomozygote",
+ "in" : "query",
+ "description" : "Should homozygotes be expanded (true) or collapsed into a single occurrence (false)",
+ "required" : false,
+ "schema" : {
+ "type" : "boolean"
+ }
+ },
+ {
+ "name" : "sepPhased",
+ "in" : "query",
+ "description" : "The string used as a separator for phased allele calls.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "sepUnphased",
+ "in" : "query",
+ "description" : "The string used as a separator for unphased allele calls.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "unknownString",
+ "in" : "query",
+ "description" : "The string used as a representation for missing data.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/CallListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
- }
- },
- "ExperimentalDesign" : {
- "type" : "object",
- "properties" : {
- "PUI" : {
- "type" : "string"
- },
- "description" : {
- "type" : "string"
- },
- "studyDbId" : {
- "type" : "string"
- },
- "studyName" : {
- "type" : "string"
- },
- "studyPUI" : {
- "type" : "string"
- }
- }
- },
- "ExternalReference" : {
- "type" : "object",
- "properties" : {
- "referenceId" : {
- "type" : "string"
- },
- "referenceSource" : {
- "type" : "string"
- }
- }
- },
- "GenomeMap" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "comments" : {
- "type" : "string"
- },
- "commonCropName" : {
- "type" : "string"
- },
- "documentationURL" : {
- "type" : "string"
- },
- "linkageGroupCount" : {
- "type" : "integer",
- "format" : "int32"
- },
- "mapDbId" : {
- "type" : "string"
- },
- "mapName" : {
- "type" : "string"
- },
- "mapPUI" : {
- "type" : "string"
- },
- "markerCount" : {
- "type" : "integer",
- "format" : "int32"
- },
- "publishedDate" : {
- "type" : "string"
- },
- "scientificName" : {
- "type" : "string"
- },
- "type" : {
- "type" : "string"
- },
- "unit" : {
- "type" : "string"
- }
},
- "required" : [ "commonCropName", "mapDbId", "type" ]
- },
- "GenotypeMetadata" : {
- "type" : "object",
- "properties" : {
- "call" : {
- "$ref" : "#/components/schemas/Call"
- },
- "dataType" : {
- "type" : "string",
- "description" : "The type of field represented in this Genotype Field. This is intended to help parse the data out of JSON.",
- "enum" : [ "string", "integer", "float", "boolean" ]
- },
- "fieldAbbreviation" : {
- "type" : "string"
- },
- "fieldName" : {
- "type" : "string"
- },
- "fieldValue" : {
- "type" : "string"
- }
- }
- },
- "GeoJSON" : {
- "type" : "object",
- "description" : "One geometry as defined by GeoJSON (RFC 7946). All coordinates are decimal values on the WGS84 geographic coordinate reference system.\n\nCopied from RFC 7946 Section 3.1.1\n\nA position is an array of numbers. There MUST be two or more elements. The first two elements are longitude and latitude, or\neasting and northing, precisely in that order and using decimal numbers. Altitude or elevation MAY be included as an optional third element.",
- "properties" : {
- "geometry" : {
- "$ref" : "#/components/schemas/GeoJSONGeometry"
- },
- "type" : {
- "type" : "string"
- }
- }
- },
- "GeoJSONGeometry" : {
- "oneOf" : [ {
- "type" : "object",
- "description" : "Copied from RFC 7946 Section 3.1.1\n\nA position is an array of numbers. There MUST be two or more elements. The first two elements are longitude and latitude, or\neasting and northing, precisely in that order and using decimal numbers. Altitude or elevation MAY be included as an optional third element.",
- "properties" : {
- "coordinates" : {
- "type" : "array",
- "items" : {
- "type" : "number"
- }
- },
- "type" : {
- "type" : "string"
+ "/variantsets/{variantSetDbId}/callsets" : {
+ "get" : {
+ "tags" : [
+ "CallSets"
+ ],
+ "summary" : "Get a filtered list of CallSet",
+ "description" : "Get a list of CallSet",
+ "parameters" : [
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmDbId",
+ "in" : "query",
+ "description" : "List of IDs which uniquely identify germplasm to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "germplasmName",
+ "in" : "query",
+ "description" : "List of human readable names to identify germplasm to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyDbId",
+ "in" : "query",
+ "description" : "List of study identifiers to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyName",
+ "in" : "query",
+ "description" : "List of study names to filter search results",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialDbId",
+ "in" : "query",
+ "description" : "The ID which uniquely identifies a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialName",
+ "in" : "query",
+ "description" : "The human readable name of a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "sampleDbId",
+ "in" : "query",
+ "description" : "A list of IDs which uniquely identify `Samples` within the given database server",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "sampleName",
+ "in" : "query",
+ "description" : "A list of human readable names associated with `Samples`",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "callSetDbId",
+ "in" : "query",
+ "description" : "A list of IDs which uniquely identify `CallSets` within the given database server",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "callSetName",
+ "in" : "query",
+ "description" : "A list of human readable names associated with `CallSets`",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "variantSetDbId",
+ "in" : "query",
+ "description" : "A list of IDs which uniquely identify `VariantSets` within the given database server",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/CallSetListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- },
- "required" : [ "coordinateDbIds", "type" ]
- }, {
- "type" : "object",
- "description" : "An array of Linear Rings. Each Linear Ring is an array of Points. \n\nA Point is an array of numbers. There MUST be two or more elements. The first two elements are longitude and latitude, or\neasting and northing, precisely in that order and using decimal numbers. Altitude or elevation MAY be included as an optional third element.",
- "properties" : {
- "coordinates" : {
- "type" : "array",
- "items" : {
- "type" : "array",
- "items" : {
- "type" : "array",
- "items" : {
- "type" : "number"
- }
+ },
+ "/variantsets/{variantSetDbId}/variants" : {
+ "get" : {
+ "tags" : [
+ "Variants"
+ ],
+ "summary" : "Get a filtered list of Variant",
+ "description" : "Get a list of Variant",
+ "parameters" : [
+ {
+ "name" : "commonCropName",
+ "in" : "query",
+ "description" : "The BrAPI Common Crop Name is the simple, generalized, widely accepted name of the organism being researched. It is most often used in multi-crop systems where digital resources need to be divided at a high level. Things like 'Maize', 'Wheat', and 'Rice' are examples of common crop names.\n\nUse this parameter to only return results associated with the given crops. \n\nUse `GET /commoncropnames` to find the list of available crops on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programDbId",
+ "in" : "query",
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. \n\nUse this parameter to only return results associated with the given programs. \n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "programName",
+ "in" : "query",
+ "description" : "Use this parameter to only return results associated with the given program names. Program names are not required to be unique.\n\nUse `GET /programs` to find the list of available programs on a server.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyDbId",
+ "in" : "query",
+ "description" : "List of study identifiers to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "studyName",
+ "in" : "query",
+ "description" : "List of study names to filter search results",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialDbId",
+ "in" : "query",
+ "description" : "The ID which uniquely identifies a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "trialName",
+ "in" : "query",
+ "description" : "The human readable name of a trial to search for",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "callSetDbId",
+ "in" : "query",
+ "description" : "**Deprecated in v2.1** Parameter unnecessary. Github issue number #474 \n
Only return variant calls which belong to call sets with these IDs. If unspecified, return all variants and no variant call objects.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "end",
+ "in" : "query",
+ "description" : "The end of the window (0-based, exclusive) for which overlapping variants should be returned.",
+ "required" : false,
+ "schema" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ },
+ {
+ "name" : "referenceDbId",
+ "in" : "query",
+ "description" : "**Deprecated in v2.1** Please use `referenceDbIds`. Github issue number #472\n
Only return variants on this reference.",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "referenceDbId",
+ "in" : "query",
+ "description" : "The unique identifier representing a genotype `Reference`",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "referenceSetDbId",
+ "in" : "query",
+ "description" : "The unique identifier representing a genotype `ReferenceSet`",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "start",
+ "in" : "query",
+ "description" : "The beginning of the window (0-based, inclusive) for which overlapping variants should be returned. Genomic positions are non-negative integers less than reference length. Requests spanning the join of circular genomes are represented as two requests one on each side of the join (position 0).",
+ "required" : false,
+ "schema" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ },
+ {
+ "name" : "variantDbId",
+ "in" : "query",
+ "description" : "A list of IDs which uniquely identify `Variants`",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "name" : "variantSetDbId",
+ "in" : "query",
+ "description" : "A list of IDs which uniquely identify `VariantSets`",
+ "required" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceID"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceId"
+ },
+ {
+ "$ref" : "#/components/parameters/externalReferenceSource"
+ },
+ {
+ "$ref" : "#/components/parameters/page"
+ },
+ {
+ "$ref" : "#/components/parameters/pageSize"
+ },
+ {
+ "$ref" : "#/components/parameters/authorizationHeader"
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/VariantListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
}
- }
- },
- "type" : {
- "type" : "string"
}
- },
- "required" : [ "coordinateDbIds", "type" ]
- } ]
- },
- "GeoJSONSearchArea" : {
- "type" : "object",
- "properties" : {
- "geometry" : {
- "$ref" : "#/components/schemas/GeoJSONGeometry"
- },
- "germplasmOrigin" : {
- "$ref" : "#/components/schemas/GermplasmOrigin"
- },
- "imageDbId" : {
- "type" : "string"
- },
- "imageName" : {
- "type" : "string"
- },
- "observationDbId" : {
- "type" : "string"
- },
- "observationUnit" : {
- "$ref" : "#/components/schemas/ObservationUnitPosition"
- },
- "type" : {
- "type" : "string"
- }
- }
- },
- "Germplasm" : {
- "type" : "object",
- "properties" : {
- "accessionNumber" : {
- "type" : "string"
- },
- "acquisitionDate" : {
- "type" : "string"
- },
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "biologicalStatusOfAccessionCode" : {
- "type" : "string",
- "description" : "MCPD (v2.1) (SAMPSTAT) 19. The coding scheme proposed can be used at 3 different levels of detail: either by using the general codes such as 100, 200, 300, 400, or by using the more specific codes such as 110, 120, etc. \n\n100) Wild \n110) Natural \n120) Semi-natural/wild \n130) Semi-natural/sown \n200) Weedy \n300) Traditional cultivar/landrace \n400) Breeding/research material \n410) Breeders line \n411) Synthetic population \n412) Hybrid \n413) Founder stock/base population \n414) Inbred line (parent of hybrid cultivar) \n415) Segregating population \n416) Clonal selection \n420) Genetic stock \n421) Mutant (e.g. induced/insertion mutants, tilling populations) \n422) Cytogenetic stocks (e.g. chromosome addition/substitution, aneuploids, amphiploids) \n423) Other genetic stocks (e.g. mapping populations) \n500) Advanced or improved cultivar (conventional breeding methods) \n600) GMO (by genetic engineering) \n999) Other (Elaborate in REMARKS field)",
- "enum" : [ "100", "110", "120", "130", "200", "300", "400", "410", "411", "412", "413", "414", "415", "416", "420", "421", "422", "423", "500", "600", "999" ]
- },
- "biologicalStatusOfAccessionDescription" : {
- "type" : "string"
- },
- "breedingMethodDbId" : {
- "type" : "string"
- },
- "breedingMethodName" : {
- "type" : "string"
- },
- "collection" : {
- "type" : "string"
- },
- "commonCropName" : {
- "type" : "string"
- },
- "countryOfOriginCode" : {
- "type" : "string"
- },
- "defaultDisplayName" : {
- "type" : "string"
- },
- "documentationURL" : {
- "type" : "string"
- },
- "genus" : {
- "type" : "string"
- },
- "germplasmName" : {
- "type" : "string"
- },
- "germplasmPUI" : {
- "type" : "string"
- },
- "germplasmPreprocessing" : {
- "type" : "string"
- },
- "instituteCode" : {
- "type" : "string"
- },
- "instituteName" : {
- "type" : "string"
- },
- "pedigree" : {
- "type" : "string"
- },
- "sampleDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ },
+ "/search/allelematrix" : {
+ "post" : {
+ "tags" : [
+ "AlleleMatrix"
+ ],
+ "summary" : "Submit a search request for `AlleleMatrix`",
+ "description" : "Submit a search request for `AlleleMatrix`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/alleleMatrix/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/AlleleMatrixListResponse"
+ },
+ "202" : {
+ "$ref" : "#/components/responses/202AcceptedSearchResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- },
- "seedSource" : {
- "type" : "string"
- },
- "seedSourceDescription" : {
- "type" : "string"
- },
- "species" : {
- "type" : "string"
- },
- "speciesAuthority" : {
- "type" : "string"
- },
- "subtaxa" : {
- "type" : "string"
- },
- "subtaxaAuthority" : {
- "type" : "string"
- }
},
- "required" : [ "commonCropName", "germplasmDbId", "germplasmName", "germplasmPUI" ]
- },
- "GermplasmAttribute" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "attributeCategory" : {
- "type" : "string"
- },
- "attributeDescription" : {
- "type" : "string"
- },
- "attributeName" : {
- "type" : "string"
- },
- "attributePUI" : {
- "type" : "string"
- },
- "attributeValueDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ "/search/calls" : {
+ "post" : {
+ "tags" : [
+ "Calls"
+ ],
+ "summary" : "Submit a search request for `Call`",
+ "description" : "Submit a search request for `Call`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/call/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/CallListResponse"
+ },
+ "202" : {
+ "$ref" : "#/components/responses/202AcceptedSearchResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- },
- "commonCropName" : {
- "type" : "string"
- },
- "defaultValue" : {
- "type" : "string"
- },
- "documentationURL" : {
- "type" : "string"
- },
- "growthStage" : {
- "type" : "string"
- },
- "institution" : {
- "type" : "string"
- },
- "language" : {
- "type" : "string"
- },
- "methodDbId" : {
- "type" : "string"
- },
- "methodName" : {
- "type" : "string"
- },
- "methodPUI" : {
- "type" : "string"
- },
- "ontologyReferenceDbId" : {
- "type" : "string"
- },
- "scaleDbId" : {
- "type" : "string"
- },
- "scaleName" : {
- "type" : "string"
- },
- "scalePUI" : {
- "type" : "string"
- },
- "scientist" : {
- "type" : "string"
- },
- "status" : {
- "type" : "string"
- },
- "submissionTimestamp" : {
- "type" : "string"
- },
- "traitDbId" : {
- "type" : "string"
- },
- "traitName" : {
- "type" : "string"
- },
- "traitPUI" : {
- "type" : "string"
- }
},
- "required" : [ "attributeDbId", "attributeName", "methodName", "scaleDbId", "scaleName", "traitName" ]
- },
- "GermplasmAttributeNewRequest" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "attributeCategory" : {
- "type" : "string"
- },
- "attributeDbId" : {
- "type" : "string"
- },
- "attributeDescription" : {
- "type" : "string"
- },
- "attributeName" : {
- "type" : "string"
- },
- "attributePUI" : {
- "type" : "string"
- },
- "attributeValueDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ "/search/callsets" : {
+ "post" : {
+ "tags" : [
+ "CallSets"
+ ],
+ "summary" : "Submit a search request for `CallSet`",
+ "description" : "Submit a search request for `CallSet`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/callSet/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/CallSetListResponse"
+ },
+ "202" : {
+ "$ref" : "#/components/responses/202AcceptedSearchResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- },
- "commonCropName" : {
- "type" : "string"
- },
- "defaultValue" : {
- "type" : "string"
- },
- "documentationURL" : {
- "type" : "string"
- },
- "growthStage" : {
- "type" : "string"
- },
- "institution" : {
- "type" : "string"
- },
- "language" : {
- "type" : "string"
- },
- "methodDbId" : {
- "type" : "string"
- },
- "methodName" : {
- "type" : "string"
- },
- "methodPUI" : {
- "type" : "string"
- },
- "ontologyReferenceDbId" : {
- "type" : "string"
- },
- "scaleDbId" : {
- "type" : "string"
- },
- "scaleName" : {
- "type" : "string"
- },
- "scalePUI" : {
- "type" : "string"
- },
- "scientist" : {
- "type" : "string"
- },
- "status" : {
- "type" : "string"
- },
- "submissionTimestamp" : {
- "type" : "string"
- },
- "traitDbId" : {
- "type" : "string"
- },
- "traitName" : {
- "type" : "string"
- },
- "traitPUI" : {
- "type" : "string"
- }
},
- "required" : [ "attributeDbId", "attributeName", "methodName", "scaleDbId", "scaleName", "traitName" ]
- },
- "GermplasmAttributeSearchRequest" : {
- "type" : "object",
- "properties" : { }
- },
- "GermplasmAttributeValue" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "attributeDbId" : {
- "type" : "string"
- },
- "attributeName" : {
- "type" : "string"
- },
- "attributePUI" : {
- "type" : "string"
- },
- "determinedDate" : {
- "type" : "string"
- },
- "germplasmDbId" : {
- "type" : "string"
- },
- "germplasmName" : {
- "type" : "string"
- },
- "germplasmPUI" : {
- "type" : "string"
- },
- "value" : {
- "type" : "string"
- }
+ "/search/germplasm" : {
+ "post" : {
+ "tags" : [
+ "Germplasm"
+ ],
+ "summary" : "Submit a search request for `Germplasm`",
+ "description" : "Submit a search request for `Germplasm`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/germplasm/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/GermplasmListResponse"
+ },
+ "202" : {
+ "$ref" : "#/components/responses/202AcceptedSearchResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ }
},
- "required" : [ "attributeName", "attributeValueDbId" ]
- },
- "GermplasmAttributeValueNewRequest" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "attributeDbId" : {
- "type" : "string"
- },
- "attributeName" : {
- "type" : "string"
- },
- "attributePUI" : {
- "type" : "string"
- },
- "attributeValueDbId" : {
- "type" : "string"
- },
- "determinedDate" : {
- "type" : "string"
- },
- "germplasmDbId" : {
- "type" : "string"
- },
- "germplasmName" : {
- "type" : "string"
- },
- "germplasmPUI" : {
- "type" : "string"
- },
- "value" : {
- "type" : "string"
- }
+ "/search/attributes" : {
+ "post" : {
+ "tags" : [
+ "GermplasmAttributes"
+ ],
+ "summary" : "Submit a search request for `GermplasmAttribute`",
+ "description" : "Submit a search request for `GermplasmAttribute`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/germplasmAttribute/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/GermplasmAttributeListResponse"
+ },
+ "202" : {
+ "$ref" : "#/components/responses/202AcceptedSearchResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ }
},
- "required" : [ "attributeName", "attributeValueDbId" ]
- },
- "GermplasmAttributeValueSearchRequest" : {
- "type" : "object",
- "properties" : { }
- },
- "GermplasmChild" : {
- "type" : "object",
- "properties" : {
- "germplasmDbId" : {
- "type" : "string"
- },
- "germplasmName" : {
- "type" : "string"
- },
- "germplasmPUI" : {
- "type" : "string"
- },
- "parentType" : {
- "$ref" : "#/components/schemas/ParentType"
- },
- "pedigreeNodeDbId" : {
- "type" : "string"
- }
+ "/search/attributevalues" : {
+ "post" : {
+ "tags" : [
+ "GermplasmAttributeValues"
+ ],
+ "summary" : "Submit a search request for `GermplasmAttributeValue`",
+ "description" : "Submit a search request for `GermplasmAttributeValue`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/germplasmAttributeValue/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/GermplasmAttributeValueListResponse"
+ },
+ "202" : {
+ "$ref" : "#/components/responses/202AcceptedSearchResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ }
},
- "required" : [ "germplasmDbId", "germplasmName", "germplasmPUI", "parentType" ]
- },
- "GermplasmNewRequest" : {
- "type" : "object",
- "properties" : {
- "accessionNumber" : {
- "type" : "string"
- },
- "acquisitionDate" : {
- "type" : "string"
- },
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "biologicalStatusOfAccessionCode" : {
- "type" : "string",
- "description" : "MCPD (v2.1) (SAMPSTAT) 19. The coding scheme proposed can be used at 3 different levels of detail: either by using the general codes such as 100, 200, 300, 400, or by using the more specific codes such as 110, 120, etc. \n\n100) Wild \n110) Natural \n120) Semi-natural/wild \n130) Semi-natural/sown \n200) Weedy \n300) Traditional cultivar/landrace \n400) Breeding/research material \n410) Breeders line \n411) Synthetic population \n412) Hybrid \n413) Founder stock/base population \n414) Inbred line (parent of hybrid cultivar) \n415) Segregating population \n416) Clonal selection \n420) Genetic stock \n421) Mutant (e.g. induced/insertion mutants, tilling populations) \n422) Cytogenetic stocks (e.g. chromosome addition/substitution, aneuploids, amphiploids) \n423) Other genetic stocks (e.g. mapping populations) \n500) Advanced or improved cultivar (conventional breeding methods) \n600) GMO (by genetic engineering) \n999) Other (Elaborate in REMARKS field)",
- "enum" : [ "100", "110", "120", "130", "200", "300", "400", "410", "411", "412", "413", "414", "415", "416", "420", "421", "422", "423", "500", "600", "999" ]
- },
- "biologicalStatusOfAccessionDescription" : {
- "type" : "string"
- },
- "breedingMethodDbId" : {
- "type" : "string"
- },
- "breedingMethodName" : {
- "type" : "string"
- },
- "collection" : {
- "type" : "string"
- },
- "commonCropName" : {
- "type" : "string"
- },
- "countryOfOriginCode" : {
- "type" : "string"
- },
- "defaultDisplayName" : {
- "type" : "string"
- },
- "documentationURL" : {
- "type" : "string"
- },
- "genus" : {
- "type" : "string"
- },
- "germplasmDbId" : {
- "type" : "string"
- },
- "germplasmName" : {
- "type" : "string"
- },
- "germplasmPUI" : {
- "type" : "string"
- },
- "germplasmPreprocessing" : {
- "type" : "string"
- },
- "instituteCode" : {
- "type" : "string"
- },
- "instituteName" : {
- "type" : "string"
- },
- "pedigree" : {
- "type" : "string"
- },
- "sampleDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ "/search/images" : {
+ "post" : {
+ "tags" : [
+ "Images"
+ ],
+ "summary" : "Submit a search request for `Image`",
+ "description" : "Submit a search request for `Image`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/image/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ImageListResponse"
+ },
+ "202" : {
+ "$ref" : "#/components/responses/202AcceptedSearchResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- },
- "seedSource" : {
- "type" : "string"
- },
- "seedSourceDescription" : {
- "type" : "string"
- },
- "species" : {
- "type" : "string"
- },
- "speciesAuthority" : {
- "type" : "string"
- },
- "subtaxa" : {
- "type" : "string"
- },
- "subtaxaAuthority" : {
- "type" : "string"
- }
},
- "required" : [ "commonCropName", "germplasmDbId", "germplasmDbId", "germplasmName", "germplasmPUI" ]
- },
- "GermplasmOrigin" : {
- "type" : "object",
- "properties" : {
- "coordinateUncertainty" : {
- "type" : "string"
- },
- "germplasmDbId" : {
- "type" : "string"
- },
- "germplasmName" : {
- "type" : "string"
- },
- "germplasmPUI" : {
- "type" : "string"
- }
- }
- },
- "GermplasmParent" : {
- "type" : "object",
- "properties" : {
- "germplasmDbId" : {
- "type" : "string"
- },
- "germplasmName" : {
- "type" : "string"
- },
- "germplasmPUI" : {
- "type" : "string"
- },
- "parentType" : {
- "$ref" : "#/components/schemas/ParentType"
- },
- "pedigreeNodeDbId" : {
- "type" : "string"
- }
+ "/search/lists" : {
+ "post" : {
+ "tags" : [
+ "Lists"
+ ],
+ "summary" : "Submit a search request for `List`",
+ "description" : "Submit a search request for `List`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/list/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ListListResponse"
+ },
+ "202" : {
+ "$ref" : "#/components/responses/202AcceptedSearchResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ }
},
- "required" : [ "germplasmDbId", "germplasmName", "germplasmPUI", "parentType" ]
- },
- "GermplasmSearchRequest" : {
- "type" : "object",
- "properties" : { }
- },
- "GrowthFacility" : {
- "type" : "object",
- "properties" : {
- "PUI" : {
- "type" : "string"
- },
- "description" : {
- "type" : "string"
- },
- "studyDbId" : {
- "type" : "string"
- },
- "studyName" : {
- "type" : "string"
- },
- "studyPUI" : {
- "type" : "string"
- }
- }
- },
- "Image" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "copyright" : {
- "type" : "string"
- },
- "description" : {
- "type" : "string"
- },
- "imageFileName" : {
- "type" : "string"
- },
- "imageFileSize" : {
- "type" : "integer",
- "format" : "int32"
- },
- "imageHeight" : {
- "type" : "integer",
- "format" : "int32"
- },
- "imageLocation" : {
- "$ref" : "#/components/schemas/GeoJSON"
- },
- "imageName" : {
- "type" : "string"
- },
- "imageTimeStamp" : {
- "type" : "string"
- },
- "imageURL" : {
- "type" : "string"
- },
- "imageWidth" : {
- "type" : "integer",
- "format" : "int32"
- },
- "mimeType" : {
- "type" : "string"
- },
- "observationDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ "/search/locations" : {
+ "post" : {
+ "tags" : [
+ "Locations"
+ ],
+ "summary" : "Submit a search request for `Location`",
+ "description" : "Submit a search request for `Location`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/location/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/LocationListResponse"
+ },
+ "202" : {
+ "$ref" : "#/components/responses/202AcceptedSearchResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- },
- "observationUnitDbId" : {
- "type" : "string"
- },
- "observationUnitName" : {
- "type" : "string"
- },
- "observationUnitPUI" : {
- "type" : "string"
- }
},
- "required" : [ "imageDbId" ]
- },
- "ImageNewRequest" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "copyright" : {
- "type" : "string"
- },
- "description" : {
- "type" : "string"
- },
- "imageDbId" : {
- "type" : "string"
- },
- "imageFileName" : {
- "type" : "string"
- },
- "imageFileSize" : {
- "type" : "integer",
- "format" : "int32"
- },
- "imageHeight" : {
- "type" : "integer",
- "format" : "int32"
- },
- "imageLocation" : {
- "$ref" : "#/components/schemas/GeoJSON"
- },
- "imageName" : {
- "type" : "string"
- },
- "imageTimeStamp" : {
- "type" : "string"
- },
- "imageURL" : {
- "type" : "string"
- },
- "imageWidth" : {
- "type" : "integer",
- "format" : "int32"
- },
- "mimeType" : {
- "type" : "string"
- },
- "observationDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ "/search/markerpositions" : {
+ "post" : {
+ "tags" : [
+ "MarkerPositions"
+ ],
+ "summary" : "Submit a search request for `MarkerPosition`",
+ "description" : "Submit a search request for `MarkerPosition`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/markerPosition/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/MarkerPositionListResponse"
+ },
+ "202" : {
+ "$ref" : "#/components/responses/202AcceptedSearchResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- },
- "observationUnitDbId" : {
- "type" : "string"
- },
- "observationUnitName" : {
- "type" : "string"
- },
- "observationUnitPUI" : {
- "type" : "string"
- }
},
- "required" : [ "imageDbId", "imageDbId" ]
- },
- "ImageSearchRequest" : {
- "type" : "object",
- "properties" : {
- "imageFileSizeMax" : {
- "type" : "integer",
- "format" : "int32"
- },
- "imageFileSizeMin" : {
- "type" : "integer",
- "format" : "int32"
- },
- "imageHeightMax" : {
- "type" : "integer",
- "format" : "int32"
- },
- "imageHeightMin" : {
- "type" : "integer",
- "format" : "int32"
- },
- "imageLocation" : {
- "$ref" : "#/components/schemas/GeoJSONSearchArea"
- },
- "imageTimeStampRangeEnd" : {
- "type" : "string"
- },
- "imageTimeStampRangeStart" : {
- "type" : "string"
- },
- "imageWidthMax" : {
- "type" : "integer",
- "format" : "int32"
- },
- "imageWidthMin" : {
- "type" : "integer",
- "format" : "int32"
- }
- }
- },
- "LastUpdate" : {
- "type" : "object",
- "properties" : {
- "lastUpdateDbId" : {
- "type" : "string"
- },
- "studyDbId" : {
- "type" : "string"
- },
- "studyName" : {
- "type" : "string"
- },
- "studyPUI" : {
- "type" : "string"
- },
- "timestamp" : {
- "type" : "string"
- },
- "version" : {
- "type" : "string"
- }
+ "/search/observations" : {
+ "post" : {
+ "tags" : [
+ "Observations"
+ ],
+ "summary" : "Submit a search request for `Observation`",
+ "description" : "Submit a search request for `Observation`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/observation/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ObservationListResponse"
+ },
+ "202" : {
+ "$ref" : "#/components/responses/202AcceptedSearchResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ }
},
- "required" : [ "lastUpdateDbId" ]
- },
- "List" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "dateCreated" : {
- "type" : "string"
- },
- "dateModified" : {
- "type" : "string"
- },
- "listDescription" : {
- "type" : "string"
- },
- "listName" : {
- "type" : "string"
- },
- "listOwnerName" : {
- "type" : "string"
- },
- "listSize" : {
- "type" : "integer",
- "format" : "int32"
- },
- "listSource" : {
- "type" : "string"
- },
- "listType" : {
- "$ref" : "#/components/schemas/ListType"
- },
- "personDbId" : {
- "type" : "string"
- }
+ "/search/observationunits" : {
+ "post" : {
+ "tags" : [
+ "ObservationUnits"
+ ],
+ "summary" : "Submit a search request for `ObservationUnit`",
+ "description" : "Submit a search request for `ObservationUnit`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/observationUnit/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ObservationUnitListResponse"
+ },
+ "202" : {
+ "$ref" : "#/components/responses/202AcceptedSearchResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ }
},
- "required" : [ "listDbId", "listName", "listType" ]
- },
- "ListNewRequest" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "dateCreated" : {
- "type" : "string"
- },
- "dateModified" : {
- "type" : "string"
- },
- "listDbId" : {
- "type" : "string"
- },
- "listDescription" : {
- "type" : "string"
- },
- "listName" : {
- "type" : "string"
- },
- "listOwnerName" : {
- "type" : "string"
- },
- "listSize" : {
- "type" : "integer",
- "format" : "int32"
- },
- "listSource" : {
- "type" : "string"
- },
- "listType" : {
- "$ref" : "#/components/schemas/ListType"
- },
- "personDbId" : {
- "type" : "string"
- }
+ "/search/variables" : {
+ "post" : {
+ "tags" : [
+ "ObservationVariables"
+ ],
+ "summary" : "Submit a search request for `ObservationVariable`",
+ "description" : "Submit a search request for `ObservationVariable`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/observationVariable/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ObservationVariableListResponse"
+ },
+ "202" : {
+ "$ref" : "#/components/responses/202AcceptedSearchResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ }
},
- "required" : [ "listDbId", "listDbId", "listName", "listType" ]
- },
- "ListSearchRequest" : {
- "type" : "object",
- "properties" : {
- "dateCreatedRangeEnd" : {
- "type" : "string"
- },
- "dateCreatedRangeStart" : {
- "type" : "string"
- },
- "dateModifiedRangeEnd" : {
- "type" : "string"
- },
- "dateModifiedRangeStart" : {
- "type" : "string"
- },
- "listType" : {
- "$ref" : "#/components/schemas/ListType"
- }
- }
- },
- "ListType" : {
- "type" : "string",
- "description" : "The type of objects that are referenced in a List",
- "enum" : [ "germplasm", "markers", "variants", "programs", "trials", "studies", "observationUnits", "observations", "observationVariables", "samples" ]
- },
- "Location" : {
- "type" : "object",
- "properties" : {
- "abbreviation" : {
- "type" : "string"
- },
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "childLocationDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ "/search/pedigree" : {
+ "post" : {
+ "tags" : [
+ "PedigreeNodes"
+ ],
+ "summary" : "Submit a search request for `PedigreeNode`",
+ "description" : "Submit a search request for `PedigreeNode`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/pedigreeNode/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/PedigreeNodeListResponse"
+ },
+ "202" : {
+ "$ref" : "#/components/responses/202AcceptedSearchResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- },
- "coordinateDescription" : {
- "type" : "string"
- },
- "coordinateUncertainty" : {
- "type" : "string"
- },
- "coordinates" : {
- "$ref" : "#/components/schemas/GeoJSON"
- },
- "countryCode" : {
- "type" : "string"
- },
- "countryName" : {
- "type" : "string"
- },
- "documentationURL" : {
- "type" : "string"
- },
- "environmentType" : {
- "type" : "string"
- },
- "exposure" : {
- "type" : "string"
- },
- "instituteAddress" : {
- "type" : "string"
- },
- "instituteName" : {
- "type" : "string"
- },
- "locationDbId" : {
- "type" : "string"
- },
- "locationName" : {
- "type" : "string"
- },
- "locationType" : {
- "type" : "string"
- },
- "siteStatus" : {
- "type" : "string"
- },
- "slope" : {
- "type" : "string"
- },
- "topography" : {
- "type" : "string"
- }
},
- "required" : [ "locationDbId", "locationName" ]
- },
- "LocationNewRequest" : {
- "type" : "object",
- "properties" : {
- "abbreviation" : {
- "type" : "string"
- },
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "childLocationDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ "/search/people" : {
+ "post" : {
+ "tags" : [
+ "People"
+ ],
+ "summary" : "Submit a search request for `Person`",
+ "description" : "Submit a search request for `Person`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/person/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/PersonListResponse"
+ },
+ "202" : {
+ "$ref" : "#/components/responses/202AcceptedSearchResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- },
- "coordinateDescription" : {
- "type" : "string"
- },
- "coordinateUncertainty" : {
- "type" : "string"
- },
- "coordinates" : {
- "$ref" : "#/components/schemas/GeoJSON"
- },
- "countryCode" : {
- "type" : "string"
- },
- "countryName" : {
- "type" : "string"
- },
- "documentationURL" : {
- "type" : "string"
- },
- "environmentType" : {
- "type" : "string"
- },
- "exposure" : {
- "type" : "string"
- },
- "instituteAddress" : {
- "type" : "string"
- },
- "instituteName" : {
- "type" : "string"
- },
- "locationDbId" : {
- "type" : "string"
- },
- "locationName" : {
- "type" : "string"
- },
- "locationType" : {
- "type" : "string"
- },
- "siteStatus" : {
- "type" : "string"
- },
- "slope" : {
- "type" : "string"
- },
- "topography" : {
- "type" : "string"
- }
},
- "required" : [ "locationDbId", "locationDbId", "locationName" ]
- },
- "LocationSearchRequest" : {
- "type" : "object",
- "properties" : {
- "altitudeMax" : {
- "type" : "number"
- },
- "altitudeMin" : {
- "type" : "number"
- },
- "coordinates" : {
- "$ref" : "#/components/schemas/GeoJSONSearchArea"
- }
- }
- },
- "MarkerPosition" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "linkageGroupName" : {
- "type" : "string"
- },
- "mapDbId" : {
- "type" : "string"
- },
- "mapName" : {
- "type" : "string"
- },
- "mapPUI" : {
- "type" : "string"
- },
- "position" : {
- "type" : "integer",
- "format" : "int32"
- },
- "variantDbId" : {
- "type" : "string"
- }
- }
- },
- "MarkerPositionSearchRequest" : {
- "type" : "object",
- "properties" : {
- "maxPosition" : {
- "type" : "integer",
- "format" : "int32"
- },
- "minPosition" : {
- "type" : "integer",
- "format" : "int32"
- }
- }
- },
- "MetadataField" : {
- "type" : "object",
- "properties" : {
- "dataType" : {
- "type" : "string",
- "description" : "The type of field represented in this Genotype Field. This is intended to help parse the data out of JSON.",
- "enum" : [ "string", "integer", "float", "boolean" ]
- },
- "fieldAbbreviation" : {
- "type" : "string"
- },
- "fieldName" : {
- "type" : "string"
- },
- "variantSetDbId" : {
- "type" : "string"
- },
- "variantSetName" : {
- "type" : "string"
- }
- }
- },
- "Method" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "bibliographicalReference" : {
- "type" : "string"
- },
- "description" : {
- "type" : "string"
- },
- "formula" : {
- "type" : "string"
- },
- "methodClass" : {
- "type" : "string"
- },
- "methodName" : {
- "type" : "string"
- },
- "methodPUI" : {
- "type" : "string"
- },
- "ontologyReferenceDbId" : {
- "type" : "string"
- }
+ "/search/plates" : {
+ "post" : {
+ "tags" : [
+ "Plates"
+ ],
+ "summary" : "Submit a search request for `Plate`",
+ "description" : "Submit a search request for `Plate`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/plate/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/PlateListResponse"
+ },
+ "202" : {
+ "$ref" : "#/components/responses/202AcceptedSearchResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
+ }
},
- "required" : [ "methodDbId", "methodName" ]
- },
- "MethodNewRequest" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "bibliographicalReference" : {
- "type" : "string"
- },
- "description" : {
- "type" : "string"
- },
- "formula" : {
- "type" : "string"
- },
- "methodClass" : {
- "type" : "string"
- },
- "methodDbId" : {
- "type" : "string"
- },
- "methodName" : {
- "type" : "string"
- },
- "methodPUI" : {
- "type" : "string"
- },
- "ontologyReferenceDbId" : {
- "type" : "string"
- }
- },
- "required" : [ "methodDbId", "methodName" ]
- },
- "Observation" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "collector" : {
- "type" : "string"
- },
- "geoCoordinates" : {
- "$ref" : "#/components/schemas/GeoJSON"
- },
- "germplasmDbId" : {
- "type" : "string"
- },
- "germplasmName" : {
- "type" : "string"
- },
- "germplasmPUI" : {
- "type" : "string"
- },
- "observationTimeStamp" : {
- "type" : "string"
- },
- "observationUnitDbId" : {
- "type" : "string"
- },
- "observationUnitName" : {
- "type" : "string"
- },
- "observationUnitPUI" : {
- "type" : "string"
- },
- "observationVariableDbId" : {
- "type" : "string"
- },
- "observationVariableName" : {
- "type" : "string"
- },
- "observationVariablePUI" : {
- "type" : "string"
- },
- "seasonDbId" : {
- "type" : "string"
- },
- "seasonName" : {
- "type" : "string"
- },
- "studyDbId" : {
- "type" : "string"
- },
- "studyName" : {
- "type" : "string"
- },
- "studyPUI" : {
- "type" : "string"
- },
- "uploadedBy" : {
- "type" : "string"
- },
- "value" : {
- "type" : "string"
- }
- },
- "required" : [ "observationDbId" ]
- },
- "ObservationNewRequest" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "collector" : {
- "type" : "string"
- },
- "geoCoordinates" : {
- "$ref" : "#/components/schemas/GeoJSON"
- },
- "germplasmDbId" : {
- "type" : "string"
- },
- "germplasmName" : {
- "type" : "string"
- },
- "germplasmPUI" : {
- "type" : "string"
- },
- "observationDbId" : {
- "type" : "string"
- },
- "observationTimeStamp" : {
- "type" : "string"
- },
- "observationUnitDbId" : {
- "type" : "string"
- },
- "observationUnitName" : {
- "type" : "string"
- },
- "observationUnitPUI" : {
- "type" : "string"
- },
- "observationVariableDbId" : {
- "type" : "string"
- },
- "observationVariableName" : {
- "type" : "string"
- },
- "observationVariablePUI" : {
- "type" : "string"
- },
- "seasonDbId" : {
- "type" : "string"
- },
- "seasonName" : {
- "type" : "string"
- },
- "studyDbId" : {
- "type" : "string"
- },
- "studyName" : {
- "type" : "string"
- },
- "studyPUI" : {
- "type" : "string"
- },
- "uploadedBy" : {
- "type" : "string"
- },
- "value" : {
- "type" : "string"
- }
- },
- "required" : [ "observationDbId", "observationDbId" ]
- },
- "ObservationSearchRequest" : {
- "type" : "object",
- "properties" : {
- "observationTimeStampRangeEnd" : {
- "type" : "string"
- },
- "observationTimeStampRangeStart" : {
- "type" : "string"
- }
- }
- },
- "ObservationUnit" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "crossDbId" : {
- "type" : "string"
- },
- "crossName" : {
- "type" : "string"
- },
- "germplasmDbId" : {
- "type" : "string"
- },
- "germplasmName" : {
- "type" : "string"
- },
- "germplasmPUI" : {
- "type" : "string"
- },
- "locationDbId" : {
- "type" : "string"
- },
- "locationName" : {
- "type" : "string"
- },
- "observationUnitName" : {
- "type" : "string"
- },
- "observationUnitPUI" : {
- "type" : "string"
- },
- "programDbId" : {
- "type" : "string"
- },
- "programName" : {
- "type" : "string"
- },
- "seedLotDbId" : {
- "type" : "string"
- },
- "seedLotName" : {
- "type" : "string"
- },
- "studyDbId" : {
- "type" : "string"
- },
- "studyName" : {
- "type" : "string"
- },
- "studyPUI" : {
- "type" : "string"
- },
- "trialDbId" : {
- "type" : "string"
- },
- "trialName" : {
- "type" : "string"
- },
- "trialPUI" : {
- "type" : "string"
- }
- },
- "required" : [ "observationUnitDbId" ]
- },
- "ObservationUnitHierarchyLevel" : {
- "type" : "object",
- "description" : "The exact level and level code of an observation unit. \n\nFor more information on Observation Levels, please review the Observation Levels documentation. \n\nMIAPPE V1.1 DM-71 Observation unit type \"Type of observation unit in textual form, usually one of the following: study, block, sub-block, plot, sub-plot, pot, plant. Use of other observation unit types is possible but not recommended. \nThe observation unit type can not be used to indicate sub-plant levels. However, observations can still be made on the sub-plant level, as long as the details are indicated in the associated observed variable (see observed variables). \nAlternatively, it is possible to use samples for more detailed tracing of sub-plant units, attaching the observations to them instead.\" ",
- "properties" : {
- "levelName" : {
- "type" : "string"
- },
- "levelOrder" : {
- "type" : "integer",
- "format" : "int32"
- }
- }
- },
- "ObservationUnitLevel" : {
- "type" : "object",
- "description" : "The exact level and level code of an observation unit. \n\nFor more information on Observation Levels, please review the Observation Levels documentation. \n\nMIAPPE V1.1 DM-71 Observation unit type \"Type of observation unit in textual form, usually one of the following: study, block, sub-block, plot, sub-plot, pot, plant. Use of other observation unit types is possible but not recommended. \nThe observation unit type can not be used to indicate sub-plant levels. However, observations can still be made on the sub-plant level, as long as the details are indicated in the associated observed variable (see observed variables). \nAlternatively, it is possible to use samples for more detailed tracing of sub-plant units, attaching the observations to them instead.\" ",
- "properties" : {
- "levelCode" : {
- "type" : "string"
- },
- "levelName" : {
- "type" : "string"
- },
- "levelOrder" : {
- "type" : "integer",
- "format" : "int32"
- }
- }
- },
- "ObservationUnitLevelRelationship" : {
- "type" : "object",
- "description" : "Observation levels indicate the granularity level at which the measurements are taken. `levelName` \ndefines the level, `levelOrder` defines where that level exists in the hierarchy of levels. \n`levelOrder`s lower numbers are at the top of the hierarchy (ie field > 0) and higher numbers are \nat the bottom of the hierarchy (ie plant > 6). `levelCode` is an ID code for this level tag. Identify \nthis observation unit by each level of the hierarchy where it exists. \n\nFor more information on Observation Levels, please review the Observation Levels documentation. \n\n**Standard Level Names: study, field, entry, rep, block, sub-block, plot, sub-plot, plant, pot, sample** ",
- "properties" : {
- "levelCode" : {
- "type" : "string"
- },
- "levelName" : {
- "type" : "string"
- },
- "levelOrder" : {
- "type" : "integer",
- "format" : "int32"
- },
- "observationUnit" : {
- "$ref" : "#/components/schemas/ObservationUnit"
- }
- }
- },
- "ObservationUnitNewRequest" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "crossDbId" : {
- "type" : "string"
- },
- "crossName" : {
- "type" : "string"
- },
- "germplasmDbId" : {
- "type" : "string"
- },
- "germplasmName" : {
- "type" : "string"
- },
- "germplasmPUI" : {
- "type" : "string"
- },
- "locationDbId" : {
- "type" : "string"
- },
- "locationName" : {
- "type" : "string"
- },
- "observationUnitDbId" : {
- "type" : "string"
- },
- "observationUnitName" : {
- "type" : "string"
- },
- "observationUnitPUI" : {
- "type" : "string"
- },
- "programDbId" : {
- "type" : "string"
- },
- "programName" : {
- "type" : "string"
- },
- "seedLotDbId" : {
- "type" : "string"
- },
- "seedLotName" : {
- "type" : "string"
- },
- "studyDbId" : {
- "type" : "string"
- },
- "studyName" : {
- "type" : "string"
- },
- "studyPUI" : {
- "type" : "string"
- },
- "trialDbId" : {
- "type" : "string"
- },
- "trialName" : {
- "type" : "string"
- },
- "trialPUI" : {
- "type" : "string"
- }
- },
- "required" : [ "observationUnitDbId", "observationUnitDbId" ]
- },
- "ObservationUnitPosition" : {
- "type" : "object",
- "properties" : {
- "entryType" : {
- "type" : "string",
- "description" : "The type of entry for this observation unit. ex. \"CHECK\", \"TEST\", \"FILLER\"",
- "enum" : [ "CHECK", "TEST", "FILLER" ]
- },
- "observationLevel" : {
- "$ref" : "#/components/schemas/ObservationUnitLevel"
- },
- "observationUnitDbId" : {
- "type" : "string"
- },
- "observationUnitName" : {
- "type" : "string"
- },
- "observationUnitPUI" : {
- "type" : "string"
- },
- "positionCoordinateX" : {
- "type" : "string"
- },
- "positionCoordinateXType" : {
- "type" : "string",
- "description" : "The type of positional coordinate used. Must be one of the following values \n\nLONGITUDE - ISO 6709 standard, WGS84 geodetic datum. See 'Location Coordinate Encoding' for details \n\nLATITUDE - ISO 6709 standard, WGS84 geodetic datum. See 'Location Coordinate Encoding' for details \n\nPLANTED_ROW - The physical planted row number \n\nPLANTED_INDIVIDUAL - The physical counted number, could be independent or within a planted row \n\nGRID_ROW - The row index number of a square grid overlay \n\nGRID_COL - The column index number of a square grid overlay \n\nMEASURED_ROW - The distance in meters from a defined 0-th row \n\nMEASURED_COL - The distance in meters from a defined 0-th column ",
- "enum" : [ "LONGITUDE", "LATITUDE", "PLANTED_ROW", "PLANTED_INDIVIDUAL", "GRID_ROW", "GRID_COL", "MEASURED_ROW", "MEASURED_COL" ]
- },
- "positionCoordinateY" : {
- "type" : "string"
- },
- "positionCoordinateYType" : {
- "type" : "string",
- "description" : "The type of positional coordinate used. Must be one of the following values \n\nLONGITUDE - ISO 6709 standard, WGS84 geodetic datum. See 'Location Coordinate Encoding' for details \n\nLATITUDE - ISO 6709 standard, WGS84 geodetic datum. See 'Location Coordinate Encoding' for details \n\nPLANTED_ROW - The physical planted row number \n\nPLANTED_INDIVIDUAL - The physical counted number, could be independent or within a planted row \n\nGRID_ROW - The row index number of a square grid overlay \n\nGRID_COL - The column index number of a square grid overlay \n\nMEASURED_ROW - The distance in meters from a defined 0-th row \n\nMEASURED_COL - The distance in meters from a defined 0-th column ",
- "enum" : [ "LONGITUDE", "LATITUDE", "PLANTED_ROW", "PLANTED_INDIVIDUAL", "GRID_ROW", "GRID_COL", "MEASURED_ROW", "MEASURED_COL" ]
- }
- }
- },
- "ObservationUnitSearchRequest" : {
- "type" : "object",
- "properties" : {
- "includeObservations" : {
- "type" : "boolean"
- }
- }
- },
- "ObservationVariable" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "commonCropName" : {
- "type" : "string"
- },
- "defaultValue" : {
- "type" : "string"
- },
- "documentationURL" : {
- "type" : "string"
- },
- "growthStage" : {
- "type" : "string"
- },
- "institution" : {
- "type" : "string"
- },
- "language" : {
- "type" : "string"
- },
- "methodDbId" : {
- "type" : "string"
- },
- "methodName" : {
- "type" : "string"
- },
- "methodPUI" : {
- "type" : "string"
- },
- "observationVariableName" : {
- "type" : "string"
- },
- "observationVariablePUI" : {
- "type" : "string"
- },
- "ontologyReferenceDbId" : {
- "type" : "string"
- },
- "scaleDbId" : {
- "type" : "string"
- },
- "scaleName" : {
- "type" : "string"
- },
- "scalePUI" : {
- "type" : "string"
- },
- "scientist" : {
- "type" : "string"
- },
- "status" : {
- "type" : "string"
- },
- "submissionTimestamp" : {
- "type" : "string"
- },
- "traitDbId" : {
- "type" : "string"
- },
- "traitName" : {
- "type" : "string"
- },
- "traitPUI" : {
- "type" : "string"
- }
- },
- "required" : [ "methodName", "observationVariableDbId", "observationVariableName", "scaleDbId", "scaleName", "traitName" ]
- },
- "ObservationVariableNewRequest" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "commonCropName" : {
- "type" : "string"
- },
- "defaultValue" : {
- "type" : "string"
- },
- "documentationURL" : {
- "type" : "string"
- },
- "growthStage" : {
- "type" : "string"
- },
- "institution" : {
- "type" : "string"
- },
- "language" : {
- "type" : "string"
- },
- "methodDbId" : {
- "type" : "string"
- },
- "methodName" : {
- "type" : "string"
- },
- "methodPUI" : {
- "type" : "string"
- },
- "observationVariableDbId" : {
- "type" : "string"
- },
- "observationVariableName" : {
- "type" : "string"
- },
- "observationVariablePUI" : {
- "type" : "string"
- },
- "ontologyReferenceDbId" : {
- "type" : "string"
- },
- "scaleDbId" : {
- "type" : "string"
- },
- "scaleName" : {
- "type" : "string"
- },
- "scalePUI" : {
- "type" : "string"
- },
- "scientist" : {
- "type" : "string"
- },
- "status" : {
- "type" : "string"
- },
- "submissionTimestamp" : {
- "type" : "string"
- },
- "traitDbId" : {
- "type" : "string"
- },
- "traitName" : {
- "type" : "string"
- },
- "traitPUI" : {
- "type" : "string"
- }
- },
- "required" : [ "methodName", "observationVariableDbId", "observationVariableDbId", "observationVariableName", "scaleDbId", "scaleName", "traitName" ]
- },
- "ObservationVariableSearchRequest" : {
- "type" : "object",
- "properties" : { }
- },
- "Ontology" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "authors" : {
- "type" : "string"
- },
- "copyright" : {
- "type" : "string"
- },
- "description" : {
- "type" : "string"
- },
- "documentationURL" : {
- "type" : "string"
- },
- "licence" : {
- "type" : "string"
- },
- "ontologyName" : {
- "type" : "string"
- },
- "version" : {
- "type" : "string"
- }
- },
- "required" : [ "ontologyDbId", "ontologyName" ]
- },
- "OntologyNewRequest" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "authors" : {
- "type" : "string"
- },
- "copyright" : {
- "type" : "string"
- },
- "description" : {
- "type" : "string"
- },
- "documentationURL" : {
- "type" : "string"
- },
- "licence" : {
- "type" : "string"
- },
- "ontologyDbId" : {
- "type" : "string"
- },
- "ontologyName" : {
- "type" : "string"
- },
- "version" : {
- "type" : "string"
- }
- },
- "required" : [ "ontologyDbId", "ontologyDbId", "ontologyName" ]
- },
- "OntologyReference" : {
- "type" : "object",
- "properties" : {
- "ontology" : {
- "$ref" : "#/components/schemas/Ontology"
- },
- "ontologyReferenceDbId" : {
- "type" : "string"
- },
- "version" : {
- "type" : "string"
- }
- },
- "required" : [ "ontology" ]
- },
- "OntologyTerm" : {
- "type" : "object",
- "properties" : {
- "term" : {
- "type" : "string"
- },
- "termURI" : {
- "type" : "string"
- }
- }
- },
- "Pagination" : {
- "type" : "object",
- "properties" : {
- "alleleMatrix" : {
- "$ref" : "#/components/schemas/AlleleMatrix"
- },
- "dimension" : {
- "type" : "string",
- "description" : "The dimension of the matrix being paginated",
- "enum" : [ "CALLSETS", "VARIANTS" ]
- },
- "page" : {
- "type" : "integer",
- "format" : "int32"
- },
- "pageSize" : {
- "type" : "integer",
- "format" : "int32"
- },
- "totalCount" : {
- "type" : "integer",
- "format" : "int32"
- },
- "totalPages" : {
- "type" : "integer",
- "format" : "int32"
- }
- }
- },
- "ParentType" : {
- "type" : "string",
- "description" : "The type of parent used during crossing. Accepted values for this field are 'MALE', 'FEMALE', 'SELF', 'POPULATION', and 'CLONAL'. \\n\\nIn a pedigree record, the 'parentType' describes each parent of a particular germplasm. \\n\\nIn a progeny record, the 'parentType' is used to describe how this germplasm was crossed to generate a particular progeny. \\nFor example, given a record for germplasm A, having a progeny B and C. The 'parentType' field for progeny B item refers \\nto the 'parentType' of A toward B. The 'parentType' field for progeny C item refers to the 'parentType' of A toward C.\\nIn this way, A could be a male parent to B, but a female parent to C. ",
- "enum" : [ "MALE", "FEMALE", "SELF", "POPULATION", "CLONAL" ]
- },
- "PedigreeNode" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "breedingMethodDbId" : {
- "type" : "string"
- },
- "breedingMethodName" : {
- "type" : "string"
- },
- "crossingProjectDbId" : {
- "type" : "string"
- },
- "crossingProjectName" : {
- "type" : "string"
- },
- "crossingYear" : {
- "type" : "integer",
- "format" : "int32"
- },
- "defaultDisplayName" : {
- "type" : "string"
- },
- "familyCode" : {
- "type" : "string"
- },
- "germplasmDbId" : {
- "type" : "string"
- },
- "germplasmName" : {
- "type" : "string"
- },
- "germplasmPUI" : {
- "type" : "string"
- },
- "pedigreeNodeDbId" : {
- "type" : "string"
- },
- "pedigreeString" : {
- "type" : "string"
- },
- "siblingDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ "/search/programs" : {
+ "post" : {
+ "tags" : [
+ "Programs"
+ ],
+ "summary" : "Submit a search request for `Program`",
+ "description" : "Submit a search request for `Program`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/program/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ProgramListResponse"
+ },
+ "202" : {
+ "$ref" : "#/components/responses/202AcceptedSearchResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
- },
- "required" : [ "germplasmDbId", "germplasmName", "germplasmPUI" ]
- },
- "PedigreeNodeSearchRequest" : {
- "type" : "object",
- "properties" : {
- "includeFullTree" : {
- "type" : "boolean"
- },
- "includeParents" : {
- "type" : "boolean"
- },
- "includeProgeny" : {
- "type" : "boolean"
- },
- "includeSiblings" : {
- "type" : "boolean"
- },
- "pedigreeDepth" : {
- "type" : "integer",
- "format" : "int32"
- },
- "progenyDepth" : {
- "type" : "integer",
- "format" : "int32"
- }
- }
- },
- "Person" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "description" : {
- "type" : "string"
- },
- "emailAddress" : {
- "type" : "string"
- },
- "firstName" : {
- "type" : "string"
- },
- "lastName" : {
- "type" : "string"
- },
- "mailingAddress" : {
- "type" : "string"
- },
- "middleName" : {
- "type" : "string"
- },
- "phoneNumber" : {
- "type" : "string"
- },
- "userID" : {
- "type" : "string"
- }
- },
- "required" : [ "personDbId" ]
- },
- "PersonNewRequest" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "description" : {
- "type" : "string"
- },
- "emailAddress" : {
- "type" : "string"
- },
- "firstName" : {
- "type" : "string"
- },
- "lastName" : {
- "type" : "string"
- },
- "mailingAddress" : {
- "type" : "string"
- },
- "middleName" : {
- "type" : "string"
- },
- "personDbId" : {
- "type" : "string"
- },
- "phoneNumber" : {
- "type" : "string"
- },
- "userID" : {
- "type" : "string"
- }
- },
- "required" : [ "personDbId", "personDbId" ]
- },
- "PersonSearchRequest" : {
- "type" : "object",
- "properties" : { }
- },
- "PlannedCross" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "crossType" : {
- "$ref" : "#/components/schemas/CrossType"
- },
- "crossingProjectDbId" : {
- "type" : "string"
- },
- "crossingProjectName" : {
- "type" : "string"
- },
- "parent1" : {
- "$ref" : "#/components/schemas/CrossParent"
- },
- "parent2" : {
- "$ref" : "#/components/schemas/CrossParent"
- },
- "plannedCrossDbId" : {
- "type" : "string"
- },
- "plannedCrossName" : {
- "type" : "string"
- },
- "status" : {
- "type" : "string",
- "description" : "The status of this planned cross. Is it waiting to be performed ('TODO'), has it been completed successfully ('DONE'), or has it not been done on purpose ('SKIPPED').",
- "enum" : [ "TODO", "DONE", "SKIPPED" ]
- }
},
- "required" : [ "plannedCrossDbId" ]
- },
- "Plate" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "plateBarcode" : {
- "type" : "string"
- },
- "plateFormat" : {
- "type" : "string",
- "description" : "Enum for plate formats, usually \"PLATE_96\" for a 96 well plate or \"TUBES\" for plateless format",
- "enum" : [ "PLATE_96", "TUBES" ]
- },
- "plateName" : {
- "type" : "string"
- },
- "programDbId" : {
- "type" : "string"
- },
- "programName" : {
- "type" : "string"
- },
- "sampleType" : {
- "type" : "string",
- "description" : "The type of samples taken. ex. 'DNA', 'RNA', 'Tissue', etc",
- "enum" : [ "DNA", "RNA", "TISSUE", "MIXED" ]
- },
- "studyDbId" : {
- "type" : "string"
- },
- "studyName" : {
- "type" : "string"
- },
- "studyPUI" : {
- "type" : "string"
- },
- "trialDbId" : {
- "type" : "string"
- },
- "trialName" : {
- "type" : "string"
- },
- "trialPUI" : {
- "type" : "string"
- }
- },
- "required" : [ "plateDbId", "plateName" ]
- },
- "PlateNewRequest" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "plateBarcode" : {
- "type" : "string"
- },
- "plateDbId" : {
- "type" : "string"
- },
- "plateFormat" : {
- "type" : "string",
- "description" : "Enum for plate formats, usually \"PLATE_96\" for a 96 well plate or \"TUBES\" for plateless format",
- "enum" : [ "PLATE_96", "TUBES" ]
- },
- "plateName" : {
- "type" : "string"
- },
- "programDbId" : {
- "type" : "string"
- },
- "programName" : {
- "type" : "string"
- },
- "sampleType" : {
- "type" : "string",
- "description" : "The type of samples taken. ex. 'DNA', 'RNA', 'Tissue', etc",
- "enum" : [ "DNA", "RNA", "TISSUE", "MIXED" ]
- },
- "studyDbId" : {
- "type" : "string"
- },
- "studyName" : {
- "type" : "string"
- },
- "studyPUI" : {
- "type" : "string"
- },
- "trialDbId" : {
- "type" : "string"
- },
- "trialName" : {
- "type" : "string"
- },
- "trialPUI" : {
- "type" : "string"
- }
- },
- "required" : [ "plateDbId", "plateName" ]
- },
- "PlateSearchRequest" : {
- "type" : "object",
- "properties" : { }
- },
- "PollinationEvent" : {
- "type" : "object",
- "properties" : {
- "crossDbId" : {
- "type" : "string"
- },
- "crossName" : {
- "type" : "string"
- },
- "pollinationNumber" : {
- "type" : "string"
- },
- "pollinationSuccessful" : {
- "type" : "boolean"
- },
- "pollinationTimeStamp" : {
- "type" : "string"
- }
- }
- },
- "Program" : {
- "type" : "object",
- "properties" : {
- "abbreviation" : {
- "type" : "string"
- },
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "commonCropName" : {
- "type" : "string"
- },
- "documentationURL" : {
- "type" : "string"
- },
- "fundingInformation" : {
- "type" : "string"
- },
- "objective" : {
- "type" : "string"
- },
- "personDbId" : {
- "type" : "string"
- },
- "programName" : {
- "type" : "string"
- },
- "programType" : {
- "type" : "string",
- "description" : "The type of program entity this object represents\n
'STANDARD' represents a standard, permanent breeding program\n
'PROJECT' represents a short term project, usually with a set time limit based on funding ",
- "enum" : [ "STANDARD", "PROJECT" ]
- }
- },
- "required" : [ "programDbId", "programName" ]
- },
- "ProgramNewRequest" : {
- "type" : "object",
- "properties" : {
- "abbreviation" : {
- "type" : "string"
- },
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "commonCropName" : {
- "type" : "string"
- },
- "documentationURL" : {
- "type" : "string"
- },
- "fundingInformation" : {
- "type" : "string"
- },
- "objective" : {
- "type" : "string"
- },
- "personDbId" : {
- "type" : "string"
- },
- "programDbId" : {
- "type" : "string"
- },
- "programName" : {
- "type" : "string"
- },
- "programType" : {
- "type" : "string",
- "description" : "The type of program entity this object represents\n
'STANDARD' represents a standard, permanent breeding program\n
'PROJECT' represents a short term project, usually with a set time limit based on funding ",
- "enum" : [ "STANDARD", "PROJECT" ]
- }
- },
- "required" : [ "programDbId", "programDbId", "programName" ]
- },
- "ProgramSearchRequest" : {
- "type" : "object",
- "properties" : { }
- },
- "Publication" : {
- "type" : "object",
- "properties" : {
- "publicationPUI" : {
- "type" : "string"
- },
- "publicationReference" : {
- "type" : "string"
- },
- "trialDbId" : {
- "type" : "string"
- },
- "trialName" : {
- "type" : "string"
- },
- "trialPUI" : {
- "type" : "string"
- }
- }
- },
- "Reference" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "commonCropName" : {
- "type" : "string"
- },
- "isDerived" : {
- "type" : "boolean"
- },
- "length" : {
- "type" : "integer",
- "format" : "int32"
- },
- "md5checksum" : {
- "type" : "string"
- },
- "referenceDbId" : {
- "type" : "string"
- },
- "referenceName" : {
- "type" : "string"
- },
- "referenceSetDbId" : {
- "type" : "string"
- },
- "referenceSetName" : {
- "type" : "string"
- },
- "sourceDivergence" : {
- "type" : "number"
- },
- "sourceGermplasmDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- },
- "sourceURI" : {
- "type" : "string"
- },
- "species" : {
- "$ref" : "#/components/schemas/OntologyTerm"
- },
- "variantDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ "/search/references" : {
+ "post" : {
+ "tags" : [
+ "References"
+ ],
+ "summary" : "Submit a search request for `Reference`",
+ "description" : "Submit a search request for `Reference`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/reference/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ReferenceListResponse"
+ },
+ "202" : {
+ "$ref" : "#/components/responses/202AcceptedSearchResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "required" : [ "referenceDbId", "referenceName" ]
- },
- "ReferenceSearchRequest" : {
- "type" : "object",
- "properties" : {
- "isDerived" : {
- "type" : "boolean"
- },
- "maxLength" : {
- "type" : "integer",
- "format" : "int32"
- },
- "minLength" : {
- "type" : "integer",
- "format" : "int32"
- }
- }
- },
- "ReferenceSet" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "assemblyPUI" : {
- "type" : "string"
- },
- "commonCropName" : {
- "type" : "string"
- },
- "description" : {
- "type" : "string"
- },
- "isDerived" : {
- "type" : "boolean"
- },
- "md5checksum" : {
- "type" : "string"
- },
- "referenceDbId" : {
- "type" : "string"
- },
- "referenceName" : {
- "type" : "string"
- },
- "referenceSetName" : {
- "type" : "string"
- },
- "sourceGermplasmDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- },
- "sourceURI" : {
- "type" : "string"
- },
- "species" : {
- "$ref" : "#/components/schemas/OntologyTerm"
- },
- "variantDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- },
- "variantSetDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ "/search/referencesets" : {
+ "post" : {
+ "tags" : [
+ "ReferenceSets"
+ ],
+ "summary" : "Submit a search request for `ReferenceSet`",
+ "description" : "Submit a search request for `ReferenceSet`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/referenceSet/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ReferenceSetListResponse"
+ },
+ "202" : {
+ "$ref" : "#/components/responses/202AcceptedSearchResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "required" : [ "referenceSetDbId", "referenceSetName" ]
- },
- "ReferenceSetNewRequest" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "assemblyPUI" : {
- "type" : "string"
- },
- "commonCropName" : {
- "type" : "string"
- },
- "description" : {
- "type" : "string"
- },
- "isDerived" : {
- "type" : "boolean"
- },
- "md5checksum" : {
- "type" : "string"
- },
- "referenceDbId" : {
- "type" : "string"
- },
- "referenceName" : {
- "type" : "string"
- },
- "referenceSetDbId" : {
- "type" : "string"
- },
- "referenceSetName" : {
- "type" : "string"
- },
- "sourceGermplasmDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- },
- "sourceURI" : {
- "type" : "string"
- },
- "species" : {
- "$ref" : "#/components/schemas/OntologyTerm"
- },
- "variantDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- },
- "variantSetDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ "/search/samples" : {
+ "post" : {
+ "tags" : [
+ "Samples"
+ ],
+ "summary" : "Submit a search request for `Sample`",
+ "description" : "Submit a search request for `Sample`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/sample/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/SampleListResponse"
+ },
+ "202" : {
+ "$ref" : "#/components/responses/202AcceptedSearchResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
},
- "required" : [ "referenceSetDbId", "referenceSetDbId", "referenceSetName" ]
- },
- "ReferenceSetSearchRequest" : {
- "type" : "object",
- "properties" : { }
- },
- "Sample" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "callSetDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ "/search/studies" : {
+ "post" : {
+ "tags" : [
+ "Studies"
+ ],
+ "summary" : "Submit a search request for `Study`",
+ "description" : "Submit a search request for `Study`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/study/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/StudyListResponse"
+ },
+ "202" : {
+ "$ref" : "#/components/responses/202AcceptedSearchResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- },
- "column" : {
- "type" : "integer",
- "format" : "int32"
- },
- "germplasmDbId" : {
- "type" : "string"
- },
- "germplasmName" : {
- "type" : "string"
- },
- "germplasmPUI" : {
- "type" : "string"
- },
- "observationUnitDbId" : {
- "type" : "string"
- },
- "observationUnitName" : {
- "type" : "string"
- },
- "observationUnitPUI" : {
- "type" : "string"
- },
- "plateDbId" : {
- "type" : "string"
- },
- "plateName" : {
- "type" : "string"
- },
- "programDbId" : {
- "type" : "string"
- },
- "programName" : {
- "type" : "string"
- },
- "row" : {
- "type" : "string"
- },
- "sampleBarcode" : {
- "type" : "string"
- },
- "sampleDescription" : {
- "type" : "string"
- },
- "sampleGroupId" : {
- "type" : "string"
- },
- "sampleName" : {
- "type" : "string"
- },
- "samplePUI" : {
- "type" : "string"
- },
- "sampleTimestamp" : {
- "type" : "string"
- },
- "sampleType" : {
- "type" : "string"
- },
- "studyDbId" : {
- "type" : "string"
- },
- "studyName" : {
- "type" : "string"
- },
- "studyPUI" : {
- "type" : "string"
- },
- "takenBy" : {
- "type" : "string"
- },
- "tissueType" : {
- "type" : "string"
- },
- "trialDbId" : {
- "type" : "string"
- },
- "trialName" : {
- "type" : "string"
- },
- "trialPUI" : {
- "type" : "string"
- },
- "well" : {
- "type" : "string"
- }
},
- "required" : [ "sampleDbId", "sampleName" ]
- },
- "SampleNewRequest" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "callSetDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ "/search/trials" : {
+ "post" : {
+ "tags" : [
+ "Trials"
+ ],
+ "summary" : "Submit a search request for `Trial`",
+ "description" : "Submit a search request for `Trial`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/trial/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/TrialListResponse"
+ },
+ "202" : {
+ "$ref" : "#/components/responses/202AcceptedSearchResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- },
- "column" : {
- "type" : "integer",
- "format" : "int32"
- },
- "germplasmDbId" : {
- "type" : "string"
- },
- "germplasmName" : {
- "type" : "string"
- },
- "germplasmPUI" : {
- "type" : "string"
- },
- "observationUnitDbId" : {
- "type" : "string"
- },
- "observationUnitName" : {
- "type" : "string"
- },
- "observationUnitPUI" : {
- "type" : "string"
- },
- "plateDbId" : {
- "type" : "string"
- },
- "plateName" : {
- "type" : "string"
- },
- "programDbId" : {
- "type" : "string"
- },
- "programName" : {
- "type" : "string"
- },
- "row" : {
- "type" : "string"
- },
- "sampleBarcode" : {
- "type" : "string"
- },
- "sampleDbId" : {
- "type" : "string"
- },
- "sampleDescription" : {
- "type" : "string"
- },
- "sampleGroupId" : {
- "type" : "string"
- },
- "sampleName" : {
- "type" : "string"
- },
- "samplePUI" : {
- "type" : "string"
- },
- "sampleTimestamp" : {
- "type" : "string"
- },
- "sampleType" : {
- "type" : "string"
- },
- "studyDbId" : {
- "type" : "string"
- },
- "studyName" : {
- "type" : "string"
- },
- "studyPUI" : {
- "type" : "string"
- },
- "takenBy" : {
- "type" : "string"
- },
- "tissueType" : {
- "type" : "string"
- },
- "trialDbId" : {
- "type" : "string"
- },
- "trialName" : {
- "type" : "string"
- },
- "trialPUI" : {
- "type" : "string"
- },
- "well" : {
- "type" : "string"
- }
- },
- "required" : [ "sampleDbId", "sampleName" ]
- },
- "SampleSearchRequest" : {
- "type" : "object",
- "properties" : { }
- },
- "Scale" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "dataType" : {
- "type" : "string",
- "description" : "Class of the scale, entries can be
\n\"Code\" - This scale class is exceptionally used to express complex traits. Code is a nominal scale that combines the expressions of the different traits composing the complex trait. For example a severity trait might be expressed by a 2 digit and 2 character code. The first 2 digits are the percentage of the plant covered by a fungus and the 2 characters refer to the delay in development, e.g. \"75VD\" means \"75 %\" of the plant is infected and the plant is very delayed.
\n\"Date\" - The date class is for events expressed in a time format, See ISO 8601
\n\"Duration\" - The Duration class is for time elapsed between two events expressed in a time format, e.g. days, hours, months
\n\"Nominal\" - Categorical scale that can take one of a limited and fixed number of categories. There is no intrinsic ordering to the categories
\n\"Numerical\" - Numerical scales express the trait with real numbers. The numerical scale defines the unit e.g. centimeter, ton per hectare, branches
\n\"Ordinal\" - Ordinal scales are scales composed of ordered categories
\n\"Text\" - A free text is used to express the trait.
",
- "enum" : [ "Code", "Date", "Duration", "Nominal", "Numerical", "Ordinal", "Text" ]
- },
- "decimalPlaces" : {
- "type" : "integer",
- "format" : "int32"
- },
- "ontologyReferenceDbId" : {
- "type" : "string"
- },
- "scaleName" : {
- "type" : "string"
- },
- "scalePUI" : {
- "type" : "string"
- },
- "units" : {
- "type" : "string"
- },
- "validValues" : {
- "$ref" : "#/components/schemas/ValidValues"
- }
- },
- "required" : [ "scaleDbId", "scaleName" ]
- },
- "ScaleNewRequest" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "dataType" : {
- "type" : "string",
- "description" : "Class of the scale, entries can be
\n\"Code\" - This scale class is exceptionally used to express complex traits. Code is a nominal scale that combines the expressions of the different traits composing the complex trait. For example a severity trait might be expressed by a 2 digit and 2 character code. The first 2 digits are the percentage of the plant covered by a fungus and the 2 characters refer to the delay in development, e.g. \"75VD\" means \"75 %\" of the plant is infected and the plant is very delayed.
\n\"Date\" - The date class is for events expressed in a time format, See ISO 8601
\n\"Duration\" - The Duration class is for time elapsed between two events expressed in a time format, e.g. days, hours, months
\n\"Nominal\" - Categorical scale that can take one of a limited and fixed number of categories. There is no intrinsic ordering to the categories
\n\"Numerical\" - Numerical scales express the trait with real numbers. The numerical scale defines the unit e.g. centimeter, ton per hectare, branches
\n\"Ordinal\" - Ordinal scales are scales composed of ordered categories
\n\"Text\" - A free text is used to express the trait.
",
- "enum" : [ "Code", "Date", "Duration", "Nominal", "Numerical", "Ordinal", "Text" ]
- },
- "decimalPlaces" : {
- "type" : "integer",
- "format" : "int32"
- },
- "ontologyReferenceDbId" : {
- "type" : "string"
- },
- "scaleDbId" : {
- "type" : "string"
- },
- "scaleName" : {
- "type" : "string"
- },
- "scalePUI" : {
- "type" : "string"
- },
- "units" : {
- "type" : "string"
- },
- "validValues" : {
- "$ref" : "#/components/schemas/ValidValues"
- }
},
- "required" : [ "scaleDbId", "scaleDbId", "scaleName" ]
- },
- "Season" : {
- "type" : "object",
- "properties" : {
- "seasonDbId" : {
- "type" : "string"
- },
- "seasonName" : {
- "type" : "string"
- },
- "year" : {
- "type" : "integer",
- "format" : "int32"
- }
- },
- "required" : [ "seasonDbId" ]
- },
- "SeedLot" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "amount" : {
- "type" : "number"
- },
- "createdDate" : {
- "type" : "string"
- },
- "lastUpdated" : {
- "type" : "string"
- },
- "locationDbId" : {
- "type" : "string"
- },
- "locationName" : {
- "type" : "string"
- },
- "programDbId" : {
- "type" : "string"
- },
- "programName" : {
- "type" : "string"
- },
- "seedLotDescription" : {
- "type" : "string"
- },
- "seedLotName" : {
- "type" : "string"
- },
- "sourceCollection" : {
- "type" : "string"
- },
- "storageLocation" : {
- "type" : "string"
- },
- "units" : {
- "type" : "string"
- }
- },
- "required" : [ "seedLotDbId", "seedLotName" ]
- },
- "SeedLotNewRequest" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "amount" : {
- "type" : "number"
- },
- "createdDate" : {
- "type" : "string"
- },
- "lastUpdated" : {
- "type" : "string"
- },
- "locationDbId" : {
- "type" : "string"
- },
- "locationName" : {
- "type" : "string"
- },
- "programDbId" : {
- "type" : "string"
- },
- "programName" : {
- "type" : "string"
- },
- "seedLotDbId" : {
- "type" : "string"
- },
- "seedLotDescription" : {
- "type" : "string"
- },
- "seedLotName" : {
- "type" : "string"
- },
- "sourceCollection" : {
- "type" : "string"
- },
- "storageLocation" : {
- "type" : "string"
- },
- "units" : {
- "type" : "string"
- }
- },
- "required" : [ "seedLotDbId", "seedLotDbId", "seedLotName" ]
- },
- "SeedLotTransaction" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "amount" : {
- "type" : "number"
- },
- "seedLotDbId" : {
- "type" : "string"
- },
- "seedLotName" : {
- "type" : "string"
- },
- "transactionDbId" : {
- "type" : "string"
- },
- "transactionDescription" : {
- "type" : "string"
- },
- "transactionTimestamp" : {
- "type" : "string"
- },
- "units" : {
- "type" : "string"
- }
- },
- "required" : [ "transactionDbId" ]
- },
- "StorageType" : {
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "The 2 digit code representing the type of storage this germplasm is kept in at a genebank. \n\nMCPD (v2.1) (STORAGE) 26. If germplasm is maintained under different types of storage, multiple choices are allowed, separated by a semicolon (e.g. 20;30). (Refer to FAO/IPGRI Genebank Standards 1994 for details on storage type.) \n\n10) Seed collection \n11) Short term \n12) Medium term \n13) Long term \n20) Field collection \n30) In vitro collection \n40) Cryo-preserved collection \n50) DNA collection \n99) Other (elaborate in REMARKS field)",
- "enum" : [ "10", "11", "12", "13", "20", "30", "40", "50", "99" ]
- },
- "description" : {
- "type" : "string"
- },
- "germplasmDbId" : {
- "type" : "string"
- },
- "germplasmName" : {
- "type" : "string"
- },
- "germplasmPUI" : {
- "type" : "string"
- }
- }
- },
- "Study" : {
- "type" : "object",
- "properties" : {
- "active" : {
- "type" : "boolean"
- },
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "commonCropName" : {
- "type" : "string"
- },
- "contactDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- },
- "culturalPractices" : {
- "type" : "string"
- },
- "documentationURL" : {
- "type" : "string"
- },
- "endDate" : {
- "type" : "string"
- },
- "environmentParameterDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- },
- "experimentalDesign" : {
- "$ref" : "#/components/schemas/ExperimentalDesign"
- },
- "growthFacility" : {
- "$ref" : "#/components/schemas/GrowthFacility"
- },
- "lastUpdateDbId" : {
- "type" : "string"
- },
- "license" : {
- "type" : "string"
- },
- "locationDbId" : {
- "type" : "string"
- },
- "locationName" : {
- "type" : "string"
- },
- "observationUnitsDescription" : {
- "type" : "string"
- },
- "observationVariableDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ "/search/variants" : {
+ "post" : {
+ "tags" : [
+ "Variants"
+ ],
+ "summary" : "Submit a search request for `Variant`",
+ "description" : "Submit a search request for `Variant`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/variant/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/VariantListResponse"
+ },
+ "202" : {
+ "$ref" : "#/components/responses/202AcceptedSearchResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- },
- "startDate" : {
- "type" : "string"
- },
- "studyCode" : {
- "type" : "string"
- },
- "studyDescription" : {
- "type" : "string"
- },
- "studyName" : {
- "type" : "string"
- },
- "studyPUI" : {
- "type" : "string"
- },
- "studyType" : {
- "type" : "string"
- },
- "trialDbId" : {
- "type" : "string"
- },
- "trialName" : {
- "type" : "string"
- },
- "trialPUI" : {
- "type" : "string"
- }
},
- "required" : [ "studyDbId", "studyName" ]
- },
- "StudyNewRequest" : {
- "type" : "object",
- "properties" : {
- "active" : {
- "type" : "boolean"
- },
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "commonCropName" : {
- "type" : "string"
- },
- "contactDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- },
- "culturalPractices" : {
- "type" : "string"
- },
- "documentationURL" : {
- "type" : "string"
- },
- "endDate" : {
- "type" : "string"
- },
- "environmentParameterDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- },
- "experimentalDesign" : {
- "$ref" : "#/components/schemas/ExperimentalDesign"
- },
- "growthFacility" : {
- "$ref" : "#/components/schemas/GrowthFacility"
- },
- "lastUpdateDbId" : {
- "type" : "string"
- },
- "license" : {
- "type" : "string"
- },
- "locationDbId" : {
- "type" : "string"
- },
- "locationName" : {
- "type" : "string"
- },
- "observationUnitsDescription" : {
- "type" : "string"
- },
- "observationVariableDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ "/search/variantsets" : {
+ "post" : {
+ "tags" : [
+ "VariantSets"
+ ],
+ "summary" : "Submit a search request for `VariantSet`",
+ "description" : "Submit a search request for `VariantSet`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/variantSet/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/VariantSetListResponse"
+ },
+ "202" : {
+ "$ref" : "#/components/responses/202AcceptedSearchResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- },
- "startDate" : {
- "type" : "string"
- },
- "studyCode" : {
- "type" : "string"
- },
- "studyDbId" : {
- "type" : "string"
- },
- "studyDescription" : {
- "type" : "string"
- },
- "studyName" : {
- "type" : "string"
- },
- "studyPUI" : {
- "type" : "string"
- },
- "studyType" : {
- "type" : "string"
- },
- "trialDbId" : {
- "type" : "string"
- },
- "trialName" : {
- "type" : "string"
- },
- "trialPUI" : {
- "type" : "string"
- }
- },
- "required" : [ "studyDbId", "studyDbId", "studyName" ]
- },
- "StudySearchRequest" : {
- "type" : "object",
- "properties" : {
- "active" : {
- "type" : "boolean"
- }
- }
- },
- "Synonym" : {
- "type" : "object",
- "properties" : {
- "germplasmDbId" : {
- "type" : "string"
- },
- "germplasmName" : {
- "type" : "string"
- },
- "germplasmPUI" : {
- "type" : "string"
- },
- "synonym" : {
- "type" : "string"
- },
- "type" : {
- "type" : "string"
- }
- }
- },
- "TaxonId" : {
- "type" : "object",
- "properties" : {
- "germplasmDbId" : {
- "type" : "string"
- },
- "germplasmName" : {
- "type" : "string"
- },
- "germplasmPUI" : {
- "type" : "string"
- },
- "sourceName" : {
- "type" : "string"
- },
- "taxonId" : {
- "type" : "string"
- }
},
- "required" : [ "sourceName", "taxonId" ]
- },
- "Trait" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "attribute" : {
- "type" : "string"
- },
- "attributePUI" : {
- "type" : "string"
- },
- "entity" : {
- "type" : "string"
- },
- "entityPUI" : {
- "type" : "string"
- },
- "mainAbbreviation" : {
- "type" : "string"
- },
- "ontologyReferenceDbId" : {
- "type" : "string"
- },
- "status" : {
- "type" : "string"
- },
- "traitClass" : {
- "type" : "string"
- },
- "traitDescription" : {
- "type" : "string"
- },
- "traitName" : {
- "type" : "string"
- },
- "traitPUI" : {
- "type" : "string"
- }
- },
- "required" : [ "traitDbId", "traitName" ]
- },
- "TraitDataType" : {
- "type" : "string",
- "description" : "Class of the scale, entries can be
\n\"Code\" - This scale class is exceptionally used to express complex traits. Code is a nominal scale that combines the expressions of the different traits composing the complex trait. For example a severity trait might be expressed by a 2 digit and 2 character code. The first 2 digits are the percentage of the plant covered by a fungus and the 2 characters refer to the delay in development, e.g. \"75VD\" means \"75 %\" of the plant is infected and the plant is very delayed.
\n\"Date\" - The date class is for events expressed in a time format, See ISO 8601
\n\"Duration\" - The Duration class is for time elapsed between two events expressed in a time format, e.g. days, hours, months
\n\"Nominal\" - Categorical scale that can take one of a limited and fixed number of categories. There is no intrinsic ordering to the categories
\n\"Numerical\" - Numerical scales express the trait with real numbers. The numerical scale defines the unit e.g. centimeter, ton per hectare, branches
\n\"Ordinal\" - Ordinal scales are scales composed of ordered categories
\n\"Text\" - A free text is used to express the trait.
",
- "enum" : [ "Code", "Date", "Duration", "Nominal", "Numerical", "Ordinal", "Text" ]
- },
- "TraitNewRequest" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "attribute" : {
- "type" : "string"
- },
- "attributePUI" : {
- "type" : "string"
- },
- "entity" : {
- "type" : "string"
- },
- "entityPUI" : {
- "type" : "string"
- },
- "mainAbbreviation" : {
- "type" : "string"
- },
- "ontologyReferenceDbId" : {
- "type" : "string"
- },
- "status" : {
- "type" : "string"
- },
- "traitClass" : {
- "type" : "string"
- },
- "traitDbId" : {
- "type" : "string"
- },
- "traitDescription" : {
- "type" : "string"
- },
- "traitName" : {
- "type" : "string"
- },
- "traitPUI" : {
- "type" : "string"
- }
- },
- "required" : [ "traitDbId", "traitName" ]
- },
- "Treatment" : {
- "type" : "object",
- "properties" : {
- "factor" : {
- "type" : "string"
- },
- "modality" : {
- "type" : "string"
- },
- "observationUnitDbId" : {
- "type" : "string"
- },
- "observationUnitName" : {
- "type" : "string"
- },
- "observationUnitPUI" : {
- "type" : "string"
- }
- }
- },
- "Trial" : {
- "type" : "object",
- "properties" : {
- "active" : {
- "type" : "boolean"
- },
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "commonCropName" : {
- "type" : "string"
- },
- "contacts" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/Contact"
- }
- },
- "documentationURL" : {
- "type" : "string"
- },
- "endDate" : {
- "type" : "string"
- },
- "programDbId" : {
- "type" : "string"
- },
- "programName" : {
- "type" : "string"
- },
- "startDate" : {
- "type" : "string"
- },
- "studyDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ "/search/allelematrix/{searchResultsDbId}" : {
+ "get" : {
+ "tags" : [
+ "AlleleMatrix"
+ ],
+ "summary" : "Submit a search request for `AlleleMatrix`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/alleleMatrix/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "description" : "Get the results of a `AlleleMatrix` search request
\nClients should submit a search request using the corresponding `POST /search/alleleMatrix` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/AlleleMatrixListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- },
- "trialDescription" : {
- "type" : "string"
- },
- "trialName" : {
- "type" : "string"
- },
- "trialPUI" : {
- "type" : "string"
- }
},
- "required" : [ "trialDbId", "trialName" ]
- },
- "TrialNewRequest" : {
- "type" : "object",
- "properties" : {
- "active" : {
- "type" : "boolean"
- },
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "commonCropName" : {
- "type" : "string"
- },
- "contacts" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/Contact"
- }
- },
- "documentationURL" : {
- "type" : "string"
- },
- "endDate" : {
- "type" : "string"
- },
- "programDbId" : {
- "type" : "string"
- },
- "programName" : {
- "type" : "string"
- },
- "startDate" : {
- "type" : "string"
- },
- "studyDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ "/search/calls/{searchResultsDbId}" : {
+ "get" : {
+ "tags" : [
+ "Calls"
+ ],
+ "summary" : "Submit a search request for `Call`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/call/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "description" : "Get the results of a `Call` search request
\nClients should submit a search request using the corresponding `POST /search/call` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/CallListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- },
- "trialDbId" : {
- "type" : "string"
- },
- "trialDescription" : {
- "type" : "string"
- },
- "trialName" : {
- "type" : "string"
- },
- "trialPUI" : {
- "type" : "string"
- }
},
- "required" : [ "trialDbId", "trialDbId", "trialName" ]
- },
- "TrialSearchRequest" : {
- "type" : "object",
- "properties" : {
- "active" : {
- "type" : "boolean"
- },
- "searchDateRangeEnd" : {
- "type" : "string"
- },
- "searchDateRangeStart" : {
- "type" : "string"
- }
- }
- },
- "ValidValues" : {
- "type" : "object",
- "properties" : {
- "maximumValue" : {
- "type" : "string"
- },
- "minimumValue" : {
- "type" : "string"
- },
- "scaleDbId" : {
- "type" : "string"
- },
- "scaleName" : {
- "type" : "string"
- },
- "scalePUI" : {
- "type" : "string"
- }
- }
- },
- "ValidValuesCategory" : {
- "type" : "object",
- "properties" : {
- "label" : {
- "type" : "string"
- },
- "validValues" : {
- "$ref" : "#/components/schemas/ValidValues"
- },
- "value" : {
- "type" : "string"
- }
- }
- },
- "Variable" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "commonCropName" : {
- "type" : "string"
- },
- "contextOfUse" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
- },
- "defaultValue" : {
- "type" : "string"
- },
- "documentationURL" : {
- "type" : "string"
- },
- "growthStage" : {
- "type" : "string"
- },
- "institution" : {
- "type" : "string"
- },
- "language" : {
- "type" : "string"
- },
- "method" : {
- "$ref" : "#/components/schemas/Method"
- },
- "ontologyReference" : {
- "$ref" : "#/components/schemas/OntologyReference"
- },
- "scale" : {
- "$ref" : "#/components/schemas/Scale"
- },
- "scientist" : {
- "type" : "string"
- },
- "status" : {
- "type" : "string"
- },
- "submissionTimestamp" : {
- "type" : "string"
- },
- "synonyms" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ "/search/callsets/{searchResultsDbId}" : {
+ "get" : {
+ "tags" : [
+ "CallSets"
+ ],
+ "summary" : "Submit a search request for `CallSet`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/callSet/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "description" : "Get the results of a `CallSet` search request
\nClients should submit a search request using the corresponding `POST /search/callSet` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/CallSetListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- },
- "trait" : {
- "$ref" : "#/components/schemas/Trait"
- }
- },
- "required" : [ "method", "scale", "trait" ]
- },
- "Variant" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "created" : {
- "type" : "string"
- },
- "end" : {
- "type" : "integer",
- "format" : "int32"
- },
- "filtersApplied" : {
- "type" : "boolean"
- },
- "filtersPassed" : {
- "type" : "boolean"
- },
- "referenceBases" : {
- "type" : "string"
- },
- "referenceDbId" : {
- "type" : "string"
- },
- "referenceName" : {
- "type" : "string"
- },
- "referenceSetDbId" : {
- "type" : "string"
- },
- "referenceSetName" : {
- "type" : "string"
- },
- "start" : {
- "type" : "integer",
- "format" : "int32"
- },
- "svlen" : {
- "type" : "integer",
- "format" : "int32"
- },
- "updated" : {
- "type" : "string"
- },
- "variantDbId" : {
- "type" : "string"
- },
- "variantSetDbId" : {
- "type" : "string"
- },
- "variantSetName" : {
- "type" : "string"
- },
- "variantType" : {
- "type" : "string"
- }
},
- "required" : [ "variantDbId" ]
- },
- "VariantSearchRequest" : {
- "type" : "object",
- "properties" : {
- "end" : {
- "type" : "integer",
- "format" : "int32"
- },
- "referenceDbId" : {
- "type" : "string"
- },
- "start" : {
- "type" : "integer",
- "format" : "int32"
- }
- }
- },
- "VariantSet" : {
- "type" : "object",
- "properties" : {
- "additionalInfo" : {
- "$ref" : "#/components/schemas/AdditionalInfo"
- },
- "analysiDbIds" : {
- "type" : "array",
- "items" : {
- "type" : "string"
+ "/search/germplasm/{searchResultsDbId}" : {
+ "get" : {
+ "tags" : [
+ "Germplasm"
+ ],
+ "summary" : "Submit a search request for `Germplasm`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/germplasm/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "description" : "Get the results of a `Germplasm` search request
\nClients should submit a search request using the corresponding `POST /search/germplasm` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/GermplasmListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- },
- "callSetCount" : {
- "type" : "integer",
- "format" : "int32"
- },
- "referenceSetDbId" : {
- "type" : "string"
- },
- "referenceSetName" : {
- "type" : "string"
- },
- "studyDbId" : {
- "type" : "string"
- },
- "studyName" : {
- "type" : "string"
- },
- "studyPUI" : {
- "type" : "string"
- },
- "variantCount" : {
- "type" : "integer",
- "format" : "int32"
- },
- "variantSetDbId" : {
- "type" : "string"
- },
- "variantSetName" : {
- "type" : "string"
- }
- },
- "required" : [ "variantSetDbId" ]
- },
- "VariantSetSearchRequest" : {
- "type" : "object",
- "properties" : { }
- },
- "basePagination" : {
- "type" : "object",
- "description" : "The pagination object is applicable only when the payload contains a \"data\" key. It describes the pagination of the data contained in the \"data\" array, as a way to identify which subset of data is being returned. \n
Pages are zero indexed, so the first page will be page 0 (zero).",
- "properties" : {
- "currentPage" : {
- "type" : "integer",
- "default" : 0,
- "description" : "The index number for the returned page of data. This should always match the requested page number or the default page (0).",
- "example" : 0
- },
- "pageSize" : {
- "type" : "integer",
- "default" : 1000,
- "description" : "The number of data elements returned, aka the size of the current page. If the requested page does not have enough elements to fill a page at the requested page size, this field should indicate the actual number of elements returned.",
- "example" : 1000
- },
- "totalCount" : {
- "type" : "integer",
- "description" : "The total number of elements that are available on the server and match the requested query parameters.",
- "example" : 10
- },
- "totalPages" : {
- "type" : "integer",
- "description" : "The total number of pages of elements available on the server. This should be calculated with the following formula. \n
totalPages = CEILING( totalCount / requested_page_size)",
- "example" : 1
- }
},
- "required" : [ "currentPage", "pageSize" ]
- },
- "dataFile" : {
- "type" : "object",
- "description" : "A dataFile contains a URL and the relevant file metadata to represent a file",
- "properties" : {
- "fileURL" : {
- "type" : "string",
- "format" : "uri",
- "description" : "The absolute URL where the file is located",
- "example" : "https://wiki.brapi.org/examples/datafile.xlsx"
- },
- "fileName" : {
- "type" : "string",
- "description" : "The name of the file",
- "example" : "datafile.xlsx"
- },
- "fileSize" : {
- "type" : "integer",
- "description" : "The size of the file in bytes",
- "example" : 4398
- },
- "fileDescription" : {
- "type" : "string",
- "description" : "A human readable description of the file contents",
- "example" : "This is an Excel data file"
- },
- "fileType" : {
- "type" : "string",
- "description" : "The type or format of the file. Preferably MIME Type.",
- "example" : "application/vnd.ms-excel"
- },
- "fileMD5Hash" : {
- "type" : "string",
- "description" : "The MD5 Hash of the file contents to be used as a check sum",
- "example" : "c2365e900c81a89cf74d83dab60df146"
- }
- },
- "required" : [ "fileURL" ]
- },
- "metadata" : {
- "allOf" : [ {
- "$ref" : "#/components/schemas/metadataBase"
- }, {
- "type" : "object",
- "properties" : {
- "pagination" : {
- "$ref" : "#/components/schemas/basePagination"
- }
- }
- } ]
- },
- "metadataBase" : {
- "type" : "object",
- "description" : "An object in the BrAPI standard response model that describes some information about the service call being performed. This includes supplementary data, status log messages, and pagination information.",
- "properties" : {
- "datafiles" : {
- "type" : "array",
- "description" : "The datafiles contains a list of file URLs and metadata. \nThese files contain additional information related to the returned object and can be retrieved by a subsequent call. \nThis could be a supplementary data file, an informational file, the uploaded file where the data originated from, a generated file representing the whole dataset in a particular format, or any other related file. ",
- "example" : [ ],
- "items" : {
- "$ref" : "#/components/schemas/dataFile"
- }
- },
- "status" : {
- "type" : "array",
- "description" : "The status field contains a list of informational status messages from the server. \nIf no status is reported, an empty list should be returned. See Error Reporting for more information.",
- "items" : {
- "$ref" : "#/components/schemas/status"
- }
- }
- }
- },
- "metadataTokenPagination" : {
- "allOf" : [ {
- "$ref" : "#/components/schemas/metadataBase"
- }, {
- "type" : "object",
- "properties" : {
- "pagination" : {
- "$ref" : "#/components/schemas/tokenPagination"
+ "/search/attributes/{searchResultsDbId}" : {
+ "get" : {
+ "tags" : [
+ "GermplasmAttributes"
+ ],
+ "summary" : "Submit a search request for `GermplasmAttribute`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/germplasmAttribute/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "description" : "Get the results of a `GermplasmAttribute` search request
\nClients should submit a search request using the corresponding `POST /search/germplasmAttribute` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/GermplasmAttributeListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
- } ]
- },
- "status" : {
- "type" : "object",
- "description" : "An array of status messages to convey technical logging information from the server to the client.",
- "properties" : {
- "message" : {
- "type" : "string",
- "description" : "A short message concerning the status of this request/response",
- "example" : "Request accepted, response successful"
- },
- "messageType" : {
- "type" : "string",
- "description" : "The logging level for the attached message",
- "enum" : [ "DEBUG", "ERROR", "WARNING", "INFO" ],
- "example" : "INFO"
- }
},
- "required" : [ "message", "messageType" ]
- },
- "tokenPagination" : {
- "allOf" : [ {
- "$ref" : "#/components/schemas/basePagination"
- }, {
- "type" : "object",
- "description" : "**Deprecated in v2.1** Please use `page`. Github issue number #451 \n
The pagination object is applicable only when the payload contains a \"data\" key. It describes the pagination of the data contained in the \"data\" array, as a way to identify which subset of data is being returned. \n
Tokenized pages are for large data sets which can not be efficiently broken into indexed pages. Use the nextPageToken and prevPageToken to construct an additional query and move to the next or previous page respectively. ",
- "example" : {
- "currentPage" : 0,
- "pageSize" : 1000,
- "totalCount" : 10,
- "totalPages" : 1
- },
- "properties" : {
- "nextPageToken" : {
- "type" : "string",
- "deprecated" : true,
- "description" : "**Deprecated in v2.1** Please use `page`. Github issue number #451 \n
The string token used to query the next page of data.",
- "example" : "cb668f63"
- },
- "currentPageToken" : {
- "type" : "string",
- "deprecated" : true,
- "description" : "**Deprecated in v2.1** Please use `page`. Github issue number #451 \n
The string token used to query the current page of data.",
- "example" : "48bc6ac1"
- },
- "prevPageToken" : {
- "type" : "string",
- "deprecated" : true,
- "description" : "**Deprecated in v2.1** Please use `page`. Github issue number #451 \n
The string token used to query the previous page of data.",
- "example" : "9659857e"
- }
- },
- "required" : [ "nextPageToken" ]
- } ]
- }
- },
- "responses" : {
- "ObservationVariableSingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/ObservationVariable"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "ObservationVariableSingleResponse"
- }
- }
- }
- },
- "SeedLotSingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/SeedLot"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "SeedLotSingleResponse"
- }
- }
- }
- },
- "VariantSingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Variant"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "VariantSingleResponse"
- }
- }
- }
- },
- "202AcceptedSearchResponse" : {
- "description" : "Accepted",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "searchResultsDbId" : {
- "type" : "string",
- "example" : "551ae08c"
- }
- }
- }
- },
- "title" : "202AcceptedSearchResponse"
- }
- }
- }
- },
- "StudySingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Study"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "StudySingleResponse"
- }
- }
- }
- },
- "MarkerPositionListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/MarkerPosition"
- }
- }
- },
- "required" : [ "data" ]
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "MarkerPositionListResponse"
- }
- }
- }
- },
- "TrialListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/Trial"
- }
- }
- },
- "required" : [ "data" ]
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "TrialListResponse"
- }
- }
- }
- },
- "MethodSingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Method"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "MethodSingleResponse"
- }
- }
- }
- },
- "SeedLotListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/SeedLot"
- }
- }
- },
- "required" : [ "data" ]
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "SeedLotListResponse"
- }
- }
- }
- },
- "VariantSetListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/VariantSet"
- }
- }
- },
- "required" : [ "data" ]
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "VariantSetListResponse"
- }
- }
- }
- },
- "SampleSingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Sample"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "SampleSingleResponse"
- }
- }
- }
- },
- "CallSetListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/CallSet"
- }
- }
- },
- "required" : [ "data" ]
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "CallSetListResponse"
- }
- }
- }
- },
- "CallSetSingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/CallSet"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "CallSetSingleResponse"
- }
- }
- }
- },
- "VariantSetSingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/VariantSet"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "VariantSetSingleResponse"
- }
- }
- }
- },
- "ObservationVariableListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/ObservationVariable"
- }
- }
- },
- "required" : [ "data" ]
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "ObservationVariableListResponse"
- }
- }
- }
- },
- "ReferenceSetSingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/ReferenceSet"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "ReferenceSetSingleResponse"
- }
- }
- }
- },
- "CrossListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/Cross"
- }
- }
- },
- "required" : [ "data" ]
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "CrossListResponse"
- }
- }
- }
- },
- "ImageSingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Image"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "ImageSingleResponse"
- }
- }
- }
- },
- "PlateListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/Plate"
- }
- }
- },
- "required" : [ "data" ]
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "PlateListResponse"
- }
- }
- }
- },
- "SeasonListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/Season"
- }
- }
- },
- "required" : [ "data" ]
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "SeasonListResponse"
- }
- }
- }
- },
- "ObservationUnitListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/ObservationUnit"
- }
+ "/search/attributevalues/{searchResultsDbId}" : {
+ "get" : {
+ "tags" : [
+ "GermplasmAttributeValues"
+ ],
+ "summary" : "Submit a search request for `GermplasmAttributeValue`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/germplasmAttributeValue/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "description" : "Get the results of a `GermplasmAttributeValue` search request
\nClients should submit a search request using the corresponding `POST /search/germplasmAttributeValue` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/GermplasmAttributeValueListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
}
- },
- "required" : [ "data" ]
}
- },
- "required" : [ "metadata", "result" ],
- "title" : "ObservationUnitListResponse"
- }
- }
- }
- },
- "ReferenceListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/Reference"
- }
- }
- },
- "required" : [ "data" ]
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "ReferenceListResponse"
}
- }
- }
- },
- "ObservationListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/Observation"
- }
- }
- },
- "required" : [ "data" ]
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "ObservationListResponse"
- }
- }
- }
- },
- "AlleleMatrixListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/AlleleMatrix"
- }
+ },
+ "/search/images/{searchResultsDbId}" : {
+ "get" : {
+ "tags" : [
+ "Images"
+ ],
+ "summary" : "Submit a search request for `Image`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/image/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "description" : "Get the results of a `Image` search request
\nClients should submit a search request using the corresponding `POST /search/image` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ImageListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
}
- },
- "required" : [ "data" ]
}
- },
- "required" : [ "metadata", "result" ],
- "title" : "AlleleMatrixListResponse"
- }
- }
- }
- },
- "GenomeMapSingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/GenomeMap"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "GenomeMapSingleResponse"
- }
- }
- }
- },
- "PersonListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/Person"
- }
- }
- },
- "required" : [ "data" ]
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "PersonListResponse"
- }
- }
- }
- },
- "PlannedCrossListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/PlannedCross"
- }
- }
- },
- "required" : [ "data" ]
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "PlannedCrossListResponse"
- }
- }
- }
- },
- "LocationListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/Location"
- }
- }
- },
- "required" : [ "data" ]
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "LocationListResponse"
- }
- }
- }
- },
- "403Forbidden" : {
- "description" : "Forbidden",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "string"
- },
- "example" : "ERROR - 2018-10-08T18:15:11Z - User does not have permission to perform this action"
- }
- }
- },
- "OntologySingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Ontology"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "OntologySingleResponse"
}
- }
- }
- },
- "ProgramListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/Program"
- }
- }
- },
- "required" : [ "data" ]
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "ProgramListResponse"
- }
- }
- }
- },
- "ObservationUnitSingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/ObservationUnit"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "ObservationUnitSingleResponse"
- }
- }
- }
- },
- "ScaleListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/Scale"
- }
+ },
+ "/search/lists/{searchResultsDbId}" : {
+ "get" : {
+ "tags" : [
+ "Lists"
+ ],
+ "summary" : "Submit a search request for `List`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/list/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "description" : "Get the results of a `List` search request
\nClients should submit a search request using the corresponding `POST /search/list` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ListListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
}
- },
- "required" : [ "data" ]
}
- },
- "required" : [ "metadata", "result" ],
- "title" : "ScaleListResponse"
- }
- }
- }
- },
- "ListListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/List"
- }
- }
- },
- "required" : [ "data" ]
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "ListListResponse"
}
- }
- }
- },
- "400BadRequest" : {
- "description" : "Bad Request",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "string"
- },
- "example" : "ERROR - 2018-10-08T18:15:11Z - Malformed JSON Request Object\n\nERROR - 2018-10-08T18:15:11Z - Invalid query parameter\n\nERROR - 2018-10-08T18:15:11Z - Required parameter is missing"
- }
- }
- },
- "MethodListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/Method"
- }
+ },
+ "/search/locations/{searchResultsDbId}" : {
+ "get" : {
+ "tags" : [
+ "Locations"
+ ],
+ "summary" : "Submit a search request for `Location`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/location/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "description" : "Get the results of a `Location` search request
\nClients should submit a search request using the corresponding `POST /search/location` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/LocationListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
}
- },
- "required" : [ "data" ]
}
- },
- "required" : [ "metadata", "result" ],
- "title" : "MethodListResponse"
- }
- }
- }
- },
- "CrossingProjectListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/CrossingProject"
- }
- }
- },
- "required" : [ "data" ]
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "CrossingProjectListResponse"
- }
- }
- }
- },
- "GermplasmAttributeSingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/GermplasmAttribute"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "GermplasmAttributeSingleResponse"
- }
- }
- }
- },
- "TraitSingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Trait"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "TraitSingleResponse"
- }
- }
- }
- },
- "401Unauthorized" : {
- "description" : "Unauthorized",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "string"
- },
- "example" : "ERROR - 2018-10-08T18:15:11Z - Missing or expired authorization token"
- }
- }
- },
- "GermplasmAttributeListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/GermplasmAttribute"
- }
- }
- },
- "required" : [ "data" ]
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "GermplasmAttributeListResponse"
}
- }
- }
- },
- "GermplasmListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/Germplasm"
- }
+ },
+ "/search/markerpositions/{searchResultsDbId}" : {
+ "get" : {
+ "tags" : [
+ "MarkerPositions"
+ ],
+ "summary" : "Submit a search request for `MarkerPosition`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/markerPosition/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "description" : "Get the results of a `MarkerPosition` search request
\nClients should submit a search request using the corresponding `POST /search/markerPosition` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/MarkerPositionListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
}
- },
- "required" : [ "data" ]
}
- },
- "required" : [ "metadata", "result" ],
- "title" : "GermplasmListResponse"
- }
- }
- }
- },
- "EventListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/Event"
- }
- }
- },
- "required" : [ "data" ]
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "EventListResponse"
- }
- }
- }
- },
- "CrossingProjectSingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/CrossingProject"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "CrossingProjectSingleResponse"
}
- }
- }
- },
- "TraitListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/Trait"
- }
+ },
+ "/search/observations/{searchResultsDbId}" : {
+ "get" : {
+ "tags" : [
+ "Observations"
+ ],
+ "summary" : "Submit a search request for `Observation`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/observation/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "description" : "Get the results of a `Observation` search request
\nClients should submit a search request using the corresponding `POST /search/observation` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ObservationListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
}
- },
- "required" : [ "data" ]
}
- },
- "required" : [ "metadata", "result" ],
- "title" : "TraitListResponse"
- }
- }
- }
- },
- "SampleListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/Sample"
- }
- }
- },
- "required" : [ "data" ]
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "SampleListResponse"
- }
- }
- }
- },
- "ReferenceSetListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/ReferenceSet"
- }
- }
- },
- "required" : [ "data" ]
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "ReferenceSetListResponse"
- }
- }
- }
- },
- "TrialSingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Trial"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "TrialSingleResponse"
- }
- }
- }
- },
- "GermplasmSingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Germplasm"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "GermplasmSingleResponse"
}
- }
- }
- },
- "OntologyListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/Ontology"
- }
+ },
+ "/search/observationunits/{searchResultsDbId}" : {
+ "get" : {
+ "tags" : [
+ "ObservationUnits"
+ ],
+ "summary" : "Submit a search request for `ObservationUnit`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/observationUnit/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "description" : "Get the results of a `ObservationUnit` search request
\nClients should submit a search request using the corresponding `POST /search/observationUnit` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ObservationUnitListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
}
- },
- "required" : [ "data" ]
}
- },
- "required" : [ "metadata", "result" ],
- "title" : "OntologyListResponse"
- }
- }
- }
- },
- "ReferenceSingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Reference"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "ReferenceSingleResponse"
- }
- }
- }
- },
- "SeasonSingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Season"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "SeasonSingleResponse"
- }
- }
- }
- },
- "404NotFound" : {
- "description" : "Not Found",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "string"
- },
- "example" : "ERROR - 2018-10-08T18:15:11Z - The requested object DbId is not found"
- }
- }
- },
- "StudyListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/Study"
- }
- }
- },
- "required" : [ "data" ]
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "StudyListResponse"
- }
- }
- }
- },
- "ScaleSingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Scale"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "ScaleSingleResponse"
}
- }
- }
- },
- "CallListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/Call"
- }
+ },
+ "/search/variables/{searchResultsDbId}" : {
+ "get" : {
+ "tags" : [
+ "ObservationVariables"
+ ],
+ "summary" : "Submit a search request for `ObservationVariable`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/observationVariable/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "description" : "Get the results of a `ObservationVariable` search request
\nClients should submit a search request using the corresponding `POST /search/observationVariable` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ObservationVariableListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
}
- },
- "required" : [ "data" ]
}
- },
- "required" : [ "metadata", "result" ],
- "title" : "CallListResponse"
- }
- }
- }
- },
- "BreedingMethodSingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/BreedingMethod"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "BreedingMethodSingleResponse"
- }
- }
- }
- },
- "LocationSingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Location"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "LocationSingleResponse"
}
- }
- }
- },
- "PersonSingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Person"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "PersonSingleResponse"
+ },
+ "/search/pedigree/{searchResultsDbId}" : {
+ "get" : {
+ "tags" : [
+ "PedigreeNodes"
+ ],
+ "summary" : "Submit a search request for `PedigreeNode`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/pedigreeNode/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "description" : "Get the results of a `PedigreeNode` search request
\nClients should submit a search request using the corresponding `POST /search/pedigreeNode` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/PedigreeNodeListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
- }
- },
- "ImageListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/Image"
- }
- }
- },
- "required" : [ "data" ]
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "ImageListResponse"
+ },
+ "/search/people/{searchResultsDbId}" : {
+ "get" : {
+ "tags" : [
+ "People"
+ ],
+ "summary" : "Submit a search request for `Person`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/person/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "description" : "Get the results of a `Person` search request
\nClients should submit a search request using the corresponding `POST /search/person` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/PersonListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
- }
- },
- "VariantListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/Variant"
- }
- }
- },
- "required" : [ "data" ]
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "VariantListResponse"
+ },
+ "/search/plates/{searchResultsDbId}" : {
+ "get" : {
+ "tags" : [
+ "Plates"
+ ],
+ "summary" : "Submit a search request for `Plate`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/plate/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "description" : "Get the results of a `Plate` search request
\nClients should submit a search request using the corresponding `POST /search/plate` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/PlateListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
- }
- },
- "PlateSingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Plate"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "PlateSingleResponse"
+ },
+ "/search/programs/{searchResultsDbId}" : {
+ "get" : {
+ "tags" : [
+ "Programs"
+ ],
+ "summary" : "Submit a search request for `Program`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/program/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "description" : "Get the results of a `Program` search request
\nClients should submit a search request using the corresponding `POST /search/program` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ProgramListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
- }
- },
- "GermplasmAttributeValueListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/GermplasmAttributeValue"
- }
- }
- },
- "required" : [ "data" ]
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "GermplasmAttributeValueListResponse"
+ },
+ "/search/references/{searchResultsDbId}" : {
+ "get" : {
+ "tags" : [
+ "References"
+ ],
+ "summary" : "Submit a search request for `Reference`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/reference/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "description" : "Get the results of a `Reference` search request
\nClients should submit a search request using the corresponding `POST /search/reference` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ReferenceListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
- }
- },
- "BreedingMethodListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/BreedingMethod"
- }
- }
- },
- "required" : [ "data" ]
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "BreedingMethodListResponse"
+ },
+ "/search/referencesets/{searchResultsDbId}" : {
+ "get" : {
+ "tags" : [
+ "ReferenceSets"
+ ],
+ "summary" : "Submit a search request for `ReferenceSet`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/referenceSet/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "description" : "Get the results of a `ReferenceSet` search request
\nClients should submit a search request using the corresponding `POST /search/referenceSet` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/ReferenceSetListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
- }
- },
- "GermplasmAttributeValueSingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/GermplasmAttributeValue"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "GermplasmAttributeValueSingleResponse"
+ },
+ "/search/samples/{searchResultsDbId}" : {
+ "get" : {
+ "tags" : [
+ "Samples"
+ ],
+ "summary" : "Submit a search request for `Sample`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/sample/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "description" : "Get the results of a `Sample` search request
\nClients should submit a search request using the corresponding `POST /search/sample` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/SampleListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
- }
- },
- "GenomeMapListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/GenomeMap"
- }
- }
- },
- "required" : [ "data" ]
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "GenomeMapListResponse"
+ },
+ "/search/studies/{searchResultsDbId}" : {
+ "get" : {
+ "tags" : [
+ "Studies"
+ ],
+ "summary" : "Submit a search request for `Study`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/study/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "description" : "Get the results of a `Study` search request
\nClients should submit a search request using the corresponding `POST /search/study` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/StudyListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
- }
- },
- "PedigreeNodeListResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/components/schemas/PedigreeNode"
- }
- }
- },
- "required" : [ "data" ]
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "PedigreeNodeListResponse"
+ },
+ "/search/trials/{searchResultsDbId}" : {
+ "get" : {
+ "tags" : [
+ "Trials"
+ ],
+ "summary" : "Submit a search request for `Trial`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/trial/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "description" : "Get the results of a `Trial` search request
\nClients should submit a search request using the corresponding `POST /search/trial` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/TrialListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
- }
- },
- "ObservationSingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Observation"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "ObservationSingleResponse"
+ },
+ "/search/variants/{searchResultsDbId}" : {
+ "get" : {
+ "tags" : [
+ "Variants"
+ ],
+ "summary" : "Submit a search request for `Variant`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/variant/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "description" : "Get the results of a `Variant` search request
\nClients should submit a search request using the corresponding `POST /search/variant` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/VariantListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
- }
- },
- "ListSingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/List"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "ListSingleResponse"
+ },
+ "/search/variantsets/{searchResultsDbId}" : {
+ "get" : {
+ "tags" : [
+ "VariantSets"
+ ],
+ "summary" : "Submit a search request for `VariantSet`
\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse the corresponding `GET /search/variantSet/{searchResultsDbId}` to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "description" : "Get the results of a `VariantSet` search request
\nClients should submit a search request using the corresponding `POST /search/variantSet` endpoint.\nSearch requests allow a client to send a complex query for data. However, the server may not respond with the search results immediately. \nIf a server needs more time to process the request, it might respond with a `searchResultsDbId`. \nUse this endpoint to retrieve the results of the search.
\nReview the Search Services documentation for additional implementation details.",
+ "responses" : {
+ "200" : {
+ "$ref" : "#/components/responses/VariantSetListResponse"
+ },
+ "400" : {
+ "$ref" : "#/components/responses/400BadRequest"
+ },
+ "401" : {
+ "$ref" : "#/components/responses/401Unauthorized"
+ },
+ "403" : {
+ "$ref" : "#/components/responses/403Forbidden"
+ }
+ }
}
- }
}
- },
- "ProgramSingleResponse" : {
- "description" : "OK",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "@context" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Context"
- },
- "metadata" : {
- "type" : "object",
- "$ref" : "#/components/schemas/metadata"
- },
- "result" : {
- "type" : "object",
- "$ref" : "#/components/schemas/Program"
- }
- },
- "required" : [ "metadata", "result" ],
- "title" : "ProgramSingleResponse"
- }
- }
- }
- }
},
- "parameters" : {
- "externalReferenceID" : {
- "name" : "externalReferenceID",
- "in" : "query",
- "description" : "**Deprecated in v2.1** Please use `externalReferenceId`. Github issue number #460 \n
An external reference ID. Could be a simple string or a URI. (use with `externalReferenceSource` parameter)",
- "required" : false,
- "deprecated" : true,
- "style" : "form",
- "explode" : true,
- "schema" : {
- "type" : "string"
- }
- },
- "externalReferenceId" : {
- "name" : "externalReferenceId",
- "in" : "query",
- "description" : "An external reference ID. Could be a simple string or a URI. (use with `externalReferenceSource` parameter)",
- "required" : false,
- "style" : "form",
- "explode" : true,
- "schema" : {
- "type" : "string"
- }
- },
- "externalReferenceSource" : {
- "name" : "externalReferenceSource",
- "in" : "query",
- "description" : "An identifier for the source system or database of an external reference (use with `externalReferenceId` parameter)",
- "required" : false,
- "style" : "form",
- "explode" : true,
- "schema" : {
- "type" : "string"
- }
- },
- "acceptHeader" : {
- "name" : "Accept",
- "in" : "header",
- "description" : "A standard HTTP request header that is used to request a specific content type (JSON, CSV, etc) which is \"acceptable\" to the client and should be returned by the server",
- "required" : true,
- "style" : "simple",
- "explode" : false,
- "schema" : {
- "$ref" : "#/components/schemas/ContentTypes"
- },
- "example" : "application/json"
- },
- "searchResultsDbId" : {
- "name" : "searchResultsDbId",
- "in" : "path",
- "description" : "Unique identifier which references the search results",
- "required" : true,
- "style" : "simple",
- "explode" : false,
- "schema" : {
- "type" : "string"
- }
- },
- "pageSize" : {
- "name" : "pageSize",
- "in" : "query",
- "description" : "The size of the pages to be returned. Default is `1000`.",
- "required" : false,
- "style" : "form",
- "explode" : true,
- "schema" : {
- "type" : "integer"
- },
- "example" : 1000
- },
- "authorizationHeader" : {
- "name" : "Authorization",
- "in" : "header",
- "description" : "HTTP HEADER - Token used for Authorization \n\n Bearer {token_string} ",
- "required" : false,
- "style" : "simple",
- "explode" : false,
- "schema" : {
- "type" : "string",
- "pattern" : "^Bearer .*$"
+ "components" : {
+ "schemas" : {
+ "AdditionalInfo" : {
+ "type" : "object",
+ "properties" : {
+ "additionalProperties" : {
+ "type" : "string"
+ }
+ },
+ "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."
+ },
+ "AlleleMatrix" : {
+ "required" : [
+ "callSetDbIds",
+ "variantSetDbIds"
+ ],
+ "type" : "object",
+ "properties" : {
+ "callSetDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "expandHomozygotes" : {
+ "type" : "boolean"
+ },
+ "sepPhased" : {
+ "type" : "string"
+ },
+ "sepUnphased" : {
+ "type" : "string"
+ },
+ "unknownString" : {
+ "type" : "string"
+ },
+ "variantDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "variantSetDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ }
+ },
+ "description" : "The AlleleMatrix object is used to describe a matrix of genotyping results. This 2d array of data reduces the overall size of the response for larger datasets, when compared to the Calls endpoints. This makes genotype data retrieval faster and easier."
+ },
+ "AlleleMatrixSearchRequest" : {
+ "type" : "object",
+ "properties" : {
+ "expandHomozygotes" : {
+ "type" : "boolean"
+ },
+ "preview" : {
+ "type" : "boolean"
+ },
+ "sepPhased" : {
+ "type" : "string"
+ },
+ "sepUnphased" : {
+ "type" : "string"
+ },
+ "unknownString" : {
+ "type" : "string"
+ }
+ },
+ "description" : "The AlleleMatrix object is used to describe a matrix of genotyping results. This 2d array of data reduces the overall size of the response for larger datasets, when compared to the Calls endpoints. This makes genotype data retrieval faster and easier."
+ },
+ "Analysis" : {
+ "required" : [
+ "analysisDbId"
+ ],
+ "type" : "object",
+ "properties" : {
+ "analysisDbId" : {
+ "type" : "string"
+ },
+ "analysisName" : {
+ "type" : "string"
+ },
+ "created" : {
+ "type" : "string"
+ },
+ "description" : {
+ "type" : "string"
+ },
+ "software" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "type" : {
+ "type" : "string"
+ },
+ "updated" : {
+ "type" : "string"
+ },
+ "variantSetDbId" : {
+ "type" : "string"
+ },
+ "variantSetName" : {
+ "type" : "string"
+ }
+ },
+ "description" : "An analysis contains an interpretation of one or several experiments. (e.g. SNVs, copy number variations, methylation status) together with information about the methodology used."
+ },
+ "Attribute" : {
+ "required" : [
+ "attributeName",
+ "method",
+ "scale",
+ "trait"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "attributeCategory" : {
+ "type" : "string"
+ },
+ "attributeDbId" : {
+ "type" : "string"
+ },
+ "attributeDescription" : {
+ "type" : "string"
+ },
+ "attributeName" : {
+ "type" : "string"
+ },
+ "attributePUI" : {
+ "type" : "string"
+ },
+ "commonCropName" : {
+ "type" : "string"
+ },
+ "contextOfUse" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "defaultValue" : {
+ "type" : "string"
+ },
+ "documentationURL" : {
+ "type" : "string"
+ },
+ "growthStage" : {
+ "type" : "string"
+ },
+ "institution" : {
+ "type" : "string"
+ },
+ "language" : {
+ "type" : "string"
+ },
+ "method" : {
+ "$ref" : "#/components/schemas/Method"
+ },
+ "ontologyReference" : {
+ "$ref" : "#/components/schemas/OntologyReference"
+ },
+ "scale" : {
+ "$ref" : "#/components/schemas/Scale"
+ },
+ "scientist" : {
+ "type" : "string"
+ },
+ "status" : {
+ "type" : "string"
+ },
+ "submissionTimestamp" : {
+ "type" : "string"
+ },
+ "synonyms" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "trait" : {
+ "$ref" : "#/components/schemas/Trait"
+ }
+ }
+ },
+ "AvailableFormat" : {
+ "type" : "object",
+ "properties" : {
+ "dataFormat" : {
+ "type" : "string",
+ "description" : "dataFormat defines the structure of the data within a file (ie DartSeq, VCF, Hapmap, tabular, etc)",
+ "enum" : [
+ "DartSeq",
+ "VCF",
+ "Hapmap",
+ "tabular",
+ "JSON"
+ ]
+ },
+ "expandHomozygotes" : {
+ "type" : "boolean"
+ },
+ "fileFormat" : {
+ "type" : "string",
+ "description" : "fileFormat defines the MIME type of the file (ie text/csv, application/excel, application/zip). This should also be reflected in the Accept and ContentType HTTP headers for every relevant request and response.",
+ "enum" : [
+ "text/csv",
+ "text/tsv",
+ "application/excel",
+ "application/zip",
+ "application/json"
+ ]
+ },
+ "fileURL" : {
+ "type" : "string"
+ },
+ "sepPhased" : {
+ "type" : "string"
+ },
+ "sepUnphased" : {
+ "type" : "string"
+ },
+ "unknownString" : {
+ "type" : "string"
+ },
+ "variantSetDbId" : {
+ "type" : "string"
+ },
+ "variantSetName" : {
+ "type" : "string"
+ }
+ },
+ "description" : "Each 'availableFormat' object is a pairing of dataFormat and fileFormat. These must be communicated in pairs because they are not independent parameters and sometimes one influences the other."
+ },
+ "BreedingMethod" : {
+ "required" : [
+ "abbreviation",
+ "breedingMethodDbId",
+ "breedingMethodName",
+ "description"
+ ],
+ "type" : "object",
+ "properties" : {
+ "abbreviation" : {
+ "type" : "string"
+ },
+ "breedingMethodDbId" : {
+ "type" : "string"
+ },
+ "breedingMethodName" : {
+ "type" : "string"
+ },
+ "description" : {
+ "type" : "string"
+ }
+ },
+ "description" : "The techniques and protocol used to produce a Cross or Germplasm"
+ },
+ "Call" : {
+ "required" : [
+ "callSetDbId",
+ "variantDbId",
+ "variantSetDbId"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "callSetDbId" : {
+ "type" : "string"
+ },
+ "callSetName" : {
+ "type" : "string"
+ },
+ "genotypeValue" : {
+ "type" : "string"
+ },
+ "phaseSet" : {
+ "type" : "string"
+ },
+ "variantDbId" : {
+ "type" : "string"
+ },
+ "variantSetDbId" : {
+ "type" : "string"
+ },
+ "variantSetName" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A `Call` represents the determination of genotype with respect to a particular `Variant`. \n\nIt may include associated information such as quality and phasing. For example, a call might assign a probability of 0.32 to the occurrence of a SNP named RS_1234 in a call set with the name NA_12345."
+ },
+ "CallSearchRequest" : {
+ "type" : "object",
+ "properties" : {
+ "expandHomozygotes" : {
+ "type" : "boolean"
+ },
+ "sepPhased" : {
+ "type" : "string"
+ },
+ "sepUnphased" : {
+ "type" : "string"
+ },
+ "unknownString" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A `Call` represents the determination of genotype with respect to a particular `Variant`. \n\nIt may include associated information such as quality and phasing. For example, a call might assign a probability of 0.32 to the occurrence of a SNP named RS_1234 in a call set with the name NA_12345."
+ },
+ "CallSet" : {
+ "required" : [
+ "callSetDbId"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "callSetDbId" : {
+ "type" : "string"
+ },
+ "callSetName" : {
+ "type" : "string"
+ },
+ "created" : {
+ "type" : "string"
+ },
+ "sampleDbId" : {
+ "type" : "string"
+ },
+ "sampleName" : {
+ "type" : "string"
+ },
+ "samplePUI" : {
+ "type" : "string"
+ },
+ "studyDbId" : {
+ "type" : "string"
+ },
+ "studyName" : {
+ "type" : "string"
+ },
+ "studyPUI" : {
+ "type" : "string"
+ },
+ "updated" : {
+ "type" : "string"
+ },
+ "variantSetDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ }
+ },
+ "description" : "A CallSet is a collection of Calls that were generated by the same analysis of the same Sample"
+ },
+ "CallSetSearchRequest" : {
+ "type" : "object",
+ "properties" : { },
+ "description" : "A CallSet is a collection of Calls that were generated by the same analysis of the same Sample"
+ },
+ "Contact" : {
+ "required" : [
+ "contactDbId"
+ ],
+ "type" : "object",
+ "properties" : {
+ "contactDbId" : {
+ "type" : "string"
+ },
+ "email" : {
+ "type" : "string"
+ },
+ "instituteName" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "orcid" : {
+ "type" : "string"
+ },
+ "type" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A persons contact information"
+ },
+ "ContentMixture" : {
+ "type" : "object",
+ "properties" : {
+ "crossDbId" : {
+ "type" : "string"
+ },
+ "crossName" : {
+ "type" : "string"
+ },
+ "germplasmDbId" : {
+ "type" : "string"
+ },
+ "germplasmName" : {
+ "type" : "string"
+ },
+ "germplasmPUI" : {
+ "type" : "string"
+ },
+ "mixturePercentage" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "seedLotDbId" : {
+ "type" : "string"
+ },
+ "seedLotName" : {
+ "type" : "string"
+ }
+ },
+ "description" : "The mixture of germplasm present in the seed lot. \n
If this seed lot only contains a single germplasm, the response should contain the name and DbId of that germplasm with a mixturePercentage value of 100 \n
If the seed lot contains a mixture of different germplasm, the response should contain the name and DbId every germplasm present. The mixturePercentage field should contain the ratio of each germplasm in the total mixture. All of the mixturePercentage values in this array should sum to equal 100."
+ },
+ "ContentTypes" : {
+ "type" : "string",
+ "enum" : [
+ "application/json",
+ "text/csv",
+ "text/tsv",
+ "application/flapjack"
+ ]
+ },
+ "Context" : {
+ "title" : "context",
+ "type" : "array",
+ "description" : "The JSON-LD Context is used to provide JSON-LD definitions to each field in a JSON object. By providing an array of context file urls, a BrAPI response object becomes JSON-LD compatible. \n\nFor more information, see https://w3c.github.io/json-ld-syntax/#the-context",
+ "example" : [
+ "https://brapi.org/jsonld/context/metadata.jsonld"
+ ],
+ "items" : {
+ "type" : "string",
+ "format" : "uri"
+ }
+ },
+ "Cross" : {
+ "required" : [
+ "crossDbId"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "crossName" : {
+ "type" : "string"
+ },
+ "crossType" : {
+ "$ref" : "#/components/schemas/CrossType"
+ },
+ "crossingProjectDbId" : {
+ "type" : "string"
+ },
+ "crossingProjectName" : {
+ "type" : "string"
+ },
+ "parent1" : {
+ "$ref" : "#/components/schemas/CrossParent"
+ },
+ "parent2" : {
+ "$ref" : "#/components/schemas/CrossParent"
+ },
+ "plannedCrossDbId" : {
+ "type" : "string"
+ },
+ "plannedCrossName" : {
+ "type" : "string"
+ }
+ },
+ "description" : "The identifiers and metadata represent that specific organisms have mated to produce offspring with particular traits or genes. The offspring of a Cross might be developed into a Germplasm if the desired traits are present."
+ },
+ "CrossAttribute" : {
+ "type" : "object",
+ "properties" : {
+ "crossAttributeName" : {
+ "type" : "string"
+ },
+ "crossAttributeValue" : {
+ "type" : "string"
+ },
+ "crossDbId" : {
+ "type" : "string"
+ },
+ "crossName" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A custom attribute associated with a cross. For example, if the crossing event occurred on a humid day, a user might record 'crossAttributeName':'Relative Humidity', 'crossAttributeValue':'80%'"
+ },
+ "CrossNewRequest" : {
+ "required" : [
+ "crossDbId",
+ "crossDbId"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "crossDbId" : {
+ "type" : "string"
+ },
+ "crossName" : {
+ "type" : "string"
+ },
+ "crossType" : {
+ "$ref" : "#/components/schemas/CrossType"
+ },
+ "crossingProjectDbId" : {
+ "type" : "string"
+ },
+ "crossingProjectName" : {
+ "type" : "string"
+ },
+ "parent1" : {
+ "$ref" : "#/components/schemas/CrossParent"
+ },
+ "parent2" : {
+ "$ref" : "#/components/schemas/CrossParent"
+ },
+ "plannedCrossDbId" : {
+ "type" : "string"
+ },
+ "plannedCrossName" : {
+ "type" : "string"
+ }
+ },
+ "description" : "The identifiers and metadata represent that specific organisms have mated to produce offspring with particular traits or genes. The offspring of a Cross might be developed into a Germplasm if the desired traits are present."
+ },
+ "CrossParent" : {
+ "type" : "object",
+ "properties" : {
+ "germplasm" : {
+ "$ref" : "#/components/schemas/Germplasm"
+ },
+ "observationUnitDbId" : {
+ "type" : "string"
+ },
+ "observationUnitName" : {
+ "type" : "string"
+ },
+ "observationUnitPUI" : {
+ "type" : "string"
+ },
+ "parentType" : {
+ "$ref" : "#/components/schemas/ParentType"
+ }
+ },
+ "description" : "The identifying information gor the parent material of a cross."
+ },
+ "CrossType" : {
+ "type" : "string",
+ "description" : "The type of cross make. Accepted values for this field are 'BIPARENTAL', 'SELF', 'OPEN_POLLINATED', 'BULK', 'BULK_SELFED', 'BULK_OPEN_POLLINATED' and 'DOUBLE_HAPLOID'.",
+ "enum" : [
+ "BIPARENTAL",
+ "SELF",
+ "OPEN_POLLINATED",
+ "BULK",
+ "BULK_SELFED",
+ "BULK_OPEN_POLLINATED",
+ "DOUBLE_HAPLOID"
+ ]
+ },
+ "CrossingProject" : {
+ "required" : [
+ "crossingProjectDbId",
+ "crossingProjectName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "commonCropName" : {
+ "type" : "string"
+ },
+ "crossingProjectDescription" : {
+ "type" : "string"
+ },
+ "crossingProjectName" : {
+ "type" : "string"
+ },
+ "programDbId" : {
+ "type" : "string"
+ },
+ "programName" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A project structure where a list of PlannedCrosses is generated, the crossing events occur in the field, and the resulting actual Crosses can documented."
+ },
+ "CrossingProjectNewRequest" : {
+ "required" : [
+ "crossingProjectDbId",
+ "crossingProjectDbId",
+ "crossingProjectName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "commonCropName" : {
+ "type" : "string"
+ },
+ "crossingProjectDbId" : {
+ "type" : "string"
+ },
+ "crossingProjectDescription" : {
+ "type" : "string"
+ },
+ "crossingProjectName" : {
+ "type" : "string"
+ },
+ "programDbId" : {
+ "type" : "string"
+ },
+ "programName" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A project structure where a list of PlannedCrosses is generated, the crossing events occur in the field, and the resulting actual Crosses can documented."
+ },
+ "DataLink" : {
+ "type" : "object",
+ "properties" : {
+ "dataFormat" : {
+ "type" : "string"
+ },
+ "description" : {
+ "type" : "string"
+ },
+ "fileFormat" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "provenance" : {
+ "type" : "string"
+ },
+ "scientificType" : {
+ "type" : "string"
+ },
+ "url" : {
+ "type" : "string"
+ },
+ "version" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A link to extra data files associated with this study. Extra data could include notes, images, and reference data."
+ },
+ "DataMatrix" : {
+ "type" : "object",
+ "properties" : {
+ "alleleMatrix" : {
+ "$ref" : "#/components/schemas/AlleleMatrix"
+ },
+ "dataMatrix" : {
+ "type" : "array",
+ "items" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ }
+ },
+ "dataMatrixAbbreviation" : {
+ "type" : "string"
+ },
+ "dataMatrixName" : {
+ "type" : "string"
+ },
+ "dataType" : {
+ "type" : "string",
+ "description" : "The type of field represented in this data matrix. This is intended to help parse the data out of JSON.",
+ "enum" : [
+ "string",
+ "integer",
+ "float",
+ "boolean"
+ ]
+ }
+ },
+ "description" : "A two dimensional array that holds allele data or associated metadata. Each matrix should be the same size and orientation, aligned with the \"callSetDbIds\" as columns and the \"variantDbIds\" as rows."
+ },
+ "DatasetAuthorships" : {
+ "type" : "object",
+ "properties" : {
+ "datasetPUI" : {
+ "type" : "string"
+ },
+ "license" : {
+ "type" : "string"
+ },
+ "publicReleaseDate" : {
+ "type" : "string"
+ },
+ "submissionDate" : {
+ "type" : "string"
+ },
+ "trialDbId" : {
+ "type" : "string"
+ },
+ "trialName" : {
+ "type" : "string"
+ },
+ "trialPUI" : {
+ "type" : "string"
+ }
+ },
+ "description" : "License and citation information for the data in this trial"
+ },
+ "DocumentationLink" : {
+ "type" : "object",
+ "properties" : {
+ "URL" : {
+ "type" : "string"
+ },
+ "ontologyReferenceDbId" : {
+ "type" : "string"
+ },
+ "type" : {
+ "type" : "string",
+ "description" : "The type of documentation, which can be OBO Foundry, an RDF term or a webpage.",
+ "enum" : [
+ "OBO",
+ "RDF",
+ "WEBPAGE"
+ ]
+ }
+ },
+ "description" : "Links to various ontology documentation"
+ },
+ "Donor" : {
+ "type" : "object",
+ "properties" : {
+ "donorAccessionNumber" : {
+ "type" : "string"
+ },
+ "donorInstituteCode" : {
+ "type" : "string"
+ },
+ "germplasmDbId" : {
+ "type" : "string"
+ },
+ "germplasmName" : {
+ "type" : "string"
+ },
+ "germplasmPUI" : {
+ "type" : "string"
+ }
+ },
+ "description" : "Identifier assigned to an accession by the material donor."
+ },
+ "EnvironmentParameter" : {
+ "required" : [
+ "description",
+ "environmentParametersDbId",
+ "parameterName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "description" : {
+ "type" : "string"
+ },
+ "environmentParametersDbId" : {
+ "type" : "string"
+ },
+ "parameterName" : {
+ "type" : "string"
+ },
+ "parameterPUI" : {
+ "type" : "string"
+ },
+ "studyDbId" : {
+ "type" : "string"
+ },
+ "studyName" : {
+ "type" : "string"
+ },
+ "studyPUI" : {
+ "type" : "string"
+ },
+ "unit" : {
+ "type" : "string"
+ },
+ "unitPUI" : {
+ "type" : "string"
+ },
+ "value" : {
+ "type" : "string"
+ },
+ "valuePUI" : {
+ "type" : "string"
+ }
+ },
+ "description" : "Environmental parameters that were kept constant throughout the study and did not change between observation units. \n\nMIAPPE V1.1 (DM-57) Environment - Environmental parameters that were kept constant throughout the study and did not change between observation units or assays. Environment characteristics that vary over time, i.e. environmental variables, should be recorded as Observed Variables (see below)."
+ },
+ "Event" : {
+ "required" : [
+ "eventDbId",
+ "eventType"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "eventDbId" : {
+ "type" : "string"
+ },
+ "eventDescription" : {
+ "type" : "string"
+ },
+ "eventType" : {
+ "type" : "string"
+ },
+ "eventTypeDbId" : {
+ "type" : "string"
+ },
+ "observationUnitDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "studyDbId" : {
+ "type" : "string"
+ },
+ "studyName" : {
+ "type" : "string"
+ },
+ "studyPUI" : {
+ "type" : "string"
+ }
+ },
+ "description" : "An event is discrete occurrence at a particular time in the experiment. Events may be the realization of Treatments or parts of Treatments, or may be confounding to Treatments. \n
ICASA Management Events allow for the following types -> planting, fertilizer, irrigation, tillage, organic_material, harvest, bed_prep, inorg_mulch, inorg_mul_rem, chemicals, mowing, observation, weeding, puddling, flood_level, other"
+ },
+ "EventDateRange" : {
+ "type" : "object",
+ "properties" : {
+ "discreteDates" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "endDate" : {
+ "type" : "string"
+ },
+ "eventDbId" : {
+ "type" : "string"
+ },
+ "startDate" : {
+ "type" : "string"
+ }
+ },
+ "description" : "An object describing when a particular Event has taken place. An Event can occur at one or more discrete time points (`discreteDates`) or an event can happen continuously over a longer period of time (`startDate`, `endDate`)"
+ },
+ "EventParameter" : {
+ "type" : "object",
+ "properties" : {
+ "code" : {
+ "type" : "string"
+ },
+ "description" : {
+ "type" : "string"
+ },
+ "eventDbId" : {
+ "type" : "string"
+ },
+ "name" : {
+ "type" : "string"
+ },
+ "units" : {
+ "type" : "string"
+ },
+ "value" : {
+ "type" : "string"
+ },
+ "valueDescription" : {
+ "type" : "string"
+ },
+ "valuesByDate" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ }
+ },
+ "description" : "Additional metadata to describe an event, based on the ICASA standard model. For example, 'Tillage Implement' (tiimp), 'Tillage Depth' (tidep), and 'Tillage Mix Effectiveness' (timix) might all be recorded parameters for a Tillage event."
+ },
+ "ExperimentalDesign" : {
+ "type" : "object",
+ "properties" : {
+ "PUI" : {
+ "type" : "string"
+ },
+ "description" : {
+ "type" : "string"
+ },
+ "studyDbId" : {
+ "type" : "string"
+ },
+ "studyName" : {
+ "type" : "string"
+ },
+ "studyPUI" : {
+ "type" : "string"
+ }
+ },
+ "description" : "The experimental and statistical design full description plus a category PUI taken from crop research ontology or agronomy ontology"
+ },
+ "ExternalReference" : {
+ "type" : "object",
+ "properties" : {
+ "referenceId" : {
+ "type" : "string"
+ },
+ "referenceSource" : {
+ "type" : "string"
+ }
+ }
+ },
+ "GenomeMap" : {
+ "required" : [
+ "commonCropName",
+ "mapDbId",
+ "type"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "comments" : {
+ "type" : "string"
+ },
+ "commonCropName" : {
+ "type" : "string"
+ },
+ "documentationURL" : {
+ "type" : "string"
+ },
+ "linkageGroupCount" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "mapDbId" : {
+ "type" : "string"
+ },
+ "mapName" : {
+ "type" : "string"
+ },
+ "mapPUI" : {
+ "type" : "string"
+ },
+ "markerCount" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "publishedDate" : {
+ "type" : "string"
+ },
+ "scientificName" : {
+ "type" : "string"
+ },
+ "type" : {
+ "type" : "string"
+ },
+ "unit" : {
+ "type" : "string"
+ }
+ },
+ "description" : "The GenomeMap represents the metadata associated with a reference map of a particular species genome. A GenomeMap can either represent a physical map or genetic map."
+ },
+ "GenotypeMetadata" : {
+ "type" : "object",
+ "properties" : {
+ "call" : {
+ "$ref" : "#/components/schemas/Call"
+ },
+ "dataType" : {
+ "type" : "string",
+ "description" : "The type of field represented in this Genotype Field. This is intended to help parse the data out of JSON.",
+ "enum" : [
+ "string",
+ "integer",
+ "float",
+ "boolean"
+ ]
+ },
+ "fieldAbbreviation" : {
+ "type" : "string"
+ },
+ "fieldName" : {
+ "type" : "string"
+ },
+ "fieldValue" : {
+ "type" : "string"
+ }
+ },
+ "description" : "Genotype Metadata are additional layers of metadata associated with each genotype."
+ },
+ "GeoJSON" : {
+ "type" : "object",
+ "properties" : {
+ "geometry" : {
+ "$ref" : "#/components/schemas/GeoJSONGeometry"
+ },
+ "type" : {
+ "type" : "string"
+ }
+ },
+ "description" : "One geometry as defined by GeoJSON (RFC 7946). All coordinates are decimal values on the WGS84 geographic coordinate reference system.\n\nCopied from RFC 7946 Section 3.1.1\n\nA position is an array of numbers. There MUST be two or more elements. The first two elements are longitude and latitude, or\neasting and northing, precisely in that order and using decimal numbers. Altitude or elevation MAY be included as an optional third element."
+ },
+ "GeoJSONGeometry" : {
+ "oneOf" : [
+ {
+ "required" : [
+ "coordinateDbIds",
+ "type"
+ ],
+ "type" : "object",
+ "properties" : {
+ "coordinates" : {
+ "type" : "array",
+ "items" : {
+ "type" : "number"
+ }
+ },
+ "type" : {
+ "type" : "string"
+ }
+ },
+ "description" : "Copied from RFC 7946 Section 3.1.1\n\nA position is an array of numbers. There MUST be two or more elements. The first two elements are longitude and latitude, or\neasting and northing, precisely in that order and using decimal numbers. Altitude or elevation MAY be included as an optional third element."
+ },
+ {
+ "required" : [
+ "coordinateDbIds",
+ "type"
+ ],
+ "type" : "object",
+ "properties" : {
+ "coordinates" : {
+ "type" : "array",
+ "items" : {
+ "type" : "array",
+ "items" : {
+ "type" : "array",
+ "items" : {
+ "type" : "number"
+ }
+ }
+ }
+ },
+ "type" : {
+ "type" : "string"
+ }
+ },
+ "description" : "An array of Linear Rings. Each Linear Ring is an array of Points. \n\nA Point is an array of numbers. There MUST be two or more elements. The first two elements are longitude and latitude, or\neasting and northing, precisely in that order and using decimal numbers. Altitude or elevation MAY be included as an optional third element."
+ }
+ ]
+ },
+ "GeoJSONSearchArea" : {
+ "type" : "object",
+ "properties" : {
+ "geometry" : {
+ "$ref" : "#/components/schemas/GeoJSONGeometry"
+ },
+ "germplasmOrigin" : {
+ "$ref" : "#/components/schemas/GermplasmOrigin"
+ },
+ "imageDbId" : {
+ "type" : "string"
+ },
+ "imageName" : {
+ "type" : "string"
+ },
+ "observationDbId" : {
+ "type" : "string"
+ },
+ "observationUnit" : {
+ "$ref" : "#/components/schemas/ObservationUnitPosition"
+ },
+ "type" : {
+ "type" : "string"
+ }
+ }
+ },
+ "Germplasm" : {
+ "required" : [
+ "commonCropName",
+ "germplasmDbId",
+ "germplasmName",
+ "germplasmPUI"
+ ],
+ "type" : "object",
+ "properties" : {
+ "accessionNumber" : {
+ "type" : "string"
+ },
+ "acquisitionDate" : {
+ "type" : "string"
+ },
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "biologicalStatusOfAccessionCode" : {
+ "type" : "string",
+ "description" : "MCPD (v2.1) (SAMPSTAT) 19. The coding scheme proposed can be used at 3 different levels of detail: either by using the general codes such as 100, 200, 300, 400, or by using the more specific codes such as 110, 120, etc. \n\n100) Wild \n110) Natural \n120) Semi-natural/wild \n130) Semi-natural/sown \n200) Weedy \n300) Traditional cultivar/landrace \n400) Breeding/research material \n410) Breeders line \n411) Synthetic population \n412) Hybrid \n413) Founder stock/base population \n414) Inbred line (parent of hybrid cultivar) \n415) Segregating population \n416) Clonal selection \n420) Genetic stock \n421) Mutant (e.g. induced/insertion mutants, tilling populations) \n422) Cytogenetic stocks (e.g. chromosome addition/substitution, aneuploids, amphiploids) \n423) Other genetic stocks (e.g. mapping populations) \n500) Advanced or improved cultivar (conventional breeding methods) \n600) GMO (by genetic engineering) \n999) Other (Elaborate in REMARKS field)",
+ "enum" : [
+ "100",
+ "110",
+ "120",
+ "130",
+ "200",
+ "300",
+ "400",
+ "410",
+ "411",
+ "412",
+ "413",
+ "414",
+ "415",
+ "416",
+ "420",
+ "421",
+ "422",
+ "423",
+ "500",
+ "600",
+ "999"
+ ]
+ },
+ "biologicalStatusOfAccessionDescription" : {
+ "type" : "string"
+ },
+ "breedingMethodDbId" : {
+ "type" : "string"
+ },
+ "breedingMethodName" : {
+ "type" : "string"
+ },
+ "collection" : {
+ "type" : "string"
+ },
+ "commonCropName" : {
+ "type" : "string"
+ },
+ "countryOfOriginCode" : {
+ "type" : "string"
+ },
+ "defaultDisplayName" : {
+ "type" : "string"
+ },
+ "documentationURL" : {
+ "type" : "string"
+ },
+ "genus" : {
+ "type" : "string"
+ },
+ "germplasmName" : {
+ "type" : "string"
+ },
+ "germplasmPUI" : {
+ "type" : "string"
+ },
+ "germplasmPreprocessing" : {
+ "type" : "string"
+ },
+ "instituteCode" : {
+ "type" : "string"
+ },
+ "instituteName" : {
+ "type" : "string"
+ },
+ "pedigree" : {
+ "type" : "string"
+ },
+ "sampleDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "seedSource" : {
+ "type" : "string"
+ },
+ "seedSourceDescription" : {
+ "type" : "string"
+ },
+ "species" : {
+ "type" : "string"
+ },
+ "speciesAuthority" : {
+ "type" : "string"
+ },
+ "subtaxa" : {
+ "type" : "string"
+ },
+ "subtaxaAuthority" : {
+ "type" : "string"
+ }
+ },
+ "description" : "The conceptual identifiers and metadata describing a genetically unique organism that is noteworthy in some way. Depending on context, a Germplasm might be synonymous with Accession, Line, or Genotype. Note that Germplasm is conceptual data, not necessarily associated to a real physical object, so Seed/Inventory Lots and Observation Units become physical instantiations of a particular Germplasm. Note a Germplasm is unique and noteworthy, so a Cross may or may not create a new Germplasm, since not every Cross is unique or noteworthy."
+ },
+ "GermplasmAttribute" : {
+ "required" : [
+ "attributeDbId",
+ "attributeName",
+ "methodDbId",
+ "methodName",
+ "scaleDbId",
+ "scaleName",
+ "traitName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "attributeCategory" : {
+ "type" : "string"
+ },
+ "attributeDescription" : {
+ "type" : "string"
+ },
+ "attributeName" : {
+ "type" : "string"
+ },
+ "attributePUI" : {
+ "type" : "string"
+ },
+ "attributeValueDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "commonCropName" : {
+ "type" : "string"
+ },
+ "defaultValue" : {
+ "type" : "string"
+ },
+ "documentationURL" : {
+ "type" : "string"
+ },
+ "growthStage" : {
+ "type" : "string"
+ },
+ "institution" : {
+ "type" : "string"
+ },
+ "language" : {
+ "type" : "string"
+ },
+ "methodDbId" : {
+ "type" : "string"
+ },
+ "methodName" : {
+ "type" : "string"
+ },
+ "methodPUI" : {
+ "type" : "string"
+ },
+ "ontologyReferenceDbId" : {
+ "type" : "string"
+ },
+ "scaleDbId" : {
+ "type" : "string"
+ },
+ "scaleName" : {
+ "type" : "string"
+ },
+ "scalePUI" : {
+ "type" : "string"
+ },
+ "scientist" : {
+ "type" : "string"
+ },
+ "status" : {
+ "type" : "string"
+ },
+ "submissionTimestamp" : {
+ "type" : "string"
+ },
+ "traitDbId" : {
+ "type" : "string"
+ },
+ "traitName" : {
+ "type" : "string"
+ },
+ "traitPUI" : {
+ "type" : "string"
+ }
+ },
+ "description" : "The Trait-Method-Scale definition for a variable, specifically variables related to Germplasm. Similar to an ObservationVariable, but related to a Germplasm instead of an ObservationUnit"
+ },
+ "GermplasmAttributeNewRequest" : {
+ "required" : [
+ "attributeDbId",
+ "attributeName",
+ "methodDbId",
+ "methodName",
+ "scaleDbId",
+ "scaleName",
+ "traitName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "attributeCategory" : {
+ "type" : "string"
+ },
+ "attributeDbId" : {
+ "type" : "string"
+ },
+ "attributeDescription" : {
+ "type" : "string"
+ },
+ "attributeName" : {
+ "type" : "string"
+ },
+ "attributePUI" : {
+ "type" : "string"
+ },
+ "attributeValueDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "commonCropName" : {
+ "type" : "string"
+ },
+ "defaultValue" : {
+ "type" : "string"
+ },
+ "documentationURL" : {
+ "type" : "string"
+ },
+ "growthStage" : {
+ "type" : "string"
+ },
+ "institution" : {
+ "type" : "string"
+ },
+ "language" : {
+ "type" : "string"
+ },
+ "methodDbId" : {
+ "type" : "string"
+ },
+ "methodName" : {
+ "type" : "string"
+ },
+ "methodPUI" : {
+ "type" : "string"
+ },
+ "ontologyReferenceDbId" : {
+ "type" : "string"
+ },
+ "scaleDbId" : {
+ "type" : "string"
+ },
+ "scaleName" : {
+ "type" : "string"
+ },
+ "scalePUI" : {
+ "type" : "string"
+ },
+ "scientist" : {
+ "type" : "string"
+ },
+ "status" : {
+ "type" : "string"
+ },
+ "submissionTimestamp" : {
+ "type" : "string"
+ },
+ "traitDbId" : {
+ "type" : "string"
+ },
+ "traitName" : {
+ "type" : "string"
+ },
+ "traitPUI" : {
+ "type" : "string"
+ }
+ },
+ "description" : "The Trait-Method-Scale definition for a variable, specifically variables related to Germplasm. Similar to an ObservationVariable, but related to a Germplasm instead of an ObservationUnit"
+ },
+ "GermplasmAttributeSearchRequest" : {
+ "type" : "object",
+ "properties" : { },
+ "description" : "The Trait-Method-Scale definition for a variable, specifically variables related to Germplasm. Similar to an ObservationVariable, but related to a Germplasm instead of an ObservationUnit"
+ },
+ "GermplasmAttributeValue" : {
+ "required" : [
+ "attributeName",
+ "attributeValueDbId"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "attributeDbId" : {
+ "type" : "string"
+ },
+ "attributeName" : {
+ "type" : "string"
+ },
+ "attributePUI" : {
+ "type" : "string"
+ },
+ "determinedDate" : {
+ "type" : "string"
+ },
+ "germplasmDbId" : {
+ "type" : "string"
+ },
+ "germplasmName" : {
+ "type" : "string"
+ },
+ "germplasmPUI" : {
+ "type" : "string"
+ },
+ "value" : {
+ "type" : "string"
+ }
+ },
+ "description" : "The value recorded for a particular Trait/Attribute and a particular Germplasm. Similar to an Observation value, but more concrete, applying to the whole Germplasm instead of a single ObservationUnit."
+ },
+ "GermplasmAttributeValueNewRequest" : {
+ "required" : [
+ "attributeName",
+ "attributeValueDbId"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "attributeDbId" : {
+ "type" : "string"
+ },
+ "attributeName" : {
+ "type" : "string"
+ },
+ "attributePUI" : {
+ "type" : "string"
+ },
+ "attributeValueDbId" : {
+ "type" : "string"
+ },
+ "determinedDate" : {
+ "type" : "string"
+ },
+ "germplasmDbId" : {
+ "type" : "string"
+ },
+ "germplasmName" : {
+ "type" : "string"
+ },
+ "germplasmPUI" : {
+ "type" : "string"
+ },
+ "value" : {
+ "type" : "string"
+ }
+ },
+ "description" : "The value recorded for a particular Trait/Attribute and a particular Germplasm. Similar to an Observation value, but more concrete, applying to the whole Germplasm instead of a single ObservationUnit."
+ },
+ "GermplasmAttributeValueSearchRequest" : {
+ "type" : "object",
+ "properties" : { },
+ "description" : "The value recorded for a particular Trait/Attribute and a particular Germplasm. Similar to an Observation value, but more concrete, applying to the whole Germplasm instead of a single ObservationUnit."
+ },
+ "GermplasmChild" : {
+ "required" : [
+ "germplasmDbId",
+ "germplasmName",
+ "germplasmPUI",
+ "parentType"
+ ],
+ "type" : "object",
+ "properties" : {
+ "germplasmDbId" : {
+ "type" : "string"
+ },
+ "germplasmName" : {
+ "type" : "string"
+ },
+ "germplasmPUI" : {
+ "type" : "string"
+ },
+ "parentType" : {
+ "$ref" : "#/components/schemas/ParentType"
+ },
+ "pedigreeNodeDbId" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A germplasm reference that is a direct child of this germplasm. These represent edges in the tree, connecting to other nodes."
+ },
+ "GermplasmNewRequest" : {
+ "required" : [
+ "commonCropName",
+ "germplasmDbId",
+ "germplasmDbId",
+ "germplasmName",
+ "germplasmPUI"
+ ],
+ "type" : "object",
+ "properties" : {
+ "accessionNumber" : {
+ "type" : "string"
+ },
+ "acquisitionDate" : {
+ "type" : "string"
+ },
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "biologicalStatusOfAccessionCode" : {
+ "type" : "string",
+ "description" : "MCPD (v2.1) (SAMPSTAT) 19. The coding scheme proposed can be used at 3 different levels of detail: either by using the general codes such as 100, 200, 300, 400, or by using the more specific codes such as 110, 120, etc. \n\n100) Wild \n110) Natural \n120) Semi-natural/wild \n130) Semi-natural/sown \n200) Weedy \n300) Traditional cultivar/landrace \n400) Breeding/research material \n410) Breeders line \n411) Synthetic population \n412) Hybrid \n413) Founder stock/base population \n414) Inbred line (parent of hybrid cultivar) \n415) Segregating population \n416) Clonal selection \n420) Genetic stock \n421) Mutant (e.g. induced/insertion mutants, tilling populations) \n422) Cytogenetic stocks (e.g. chromosome addition/substitution, aneuploids, amphiploids) \n423) Other genetic stocks (e.g. mapping populations) \n500) Advanced or improved cultivar (conventional breeding methods) \n600) GMO (by genetic engineering) \n999) Other (Elaborate in REMARKS field)",
+ "enum" : [
+ "100",
+ "110",
+ "120",
+ "130",
+ "200",
+ "300",
+ "400",
+ "410",
+ "411",
+ "412",
+ "413",
+ "414",
+ "415",
+ "416",
+ "420",
+ "421",
+ "422",
+ "423",
+ "500",
+ "600",
+ "999"
+ ]
+ },
+ "biologicalStatusOfAccessionDescription" : {
+ "type" : "string"
+ },
+ "breedingMethodDbId" : {
+ "type" : "string"
+ },
+ "breedingMethodName" : {
+ "type" : "string"
+ },
+ "collection" : {
+ "type" : "string"
+ },
+ "commonCropName" : {
+ "type" : "string"
+ },
+ "countryOfOriginCode" : {
+ "type" : "string"
+ },
+ "defaultDisplayName" : {
+ "type" : "string"
+ },
+ "documentationURL" : {
+ "type" : "string"
+ },
+ "genus" : {
+ "type" : "string"
+ },
+ "germplasmDbId" : {
+ "type" : "string"
+ },
+ "germplasmName" : {
+ "type" : "string"
+ },
+ "germplasmPUI" : {
+ "type" : "string"
+ },
+ "germplasmPreprocessing" : {
+ "type" : "string"
+ },
+ "instituteCode" : {
+ "type" : "string"
+ },
+ "instituteName" : {
+ "type" : "string"
+ },
+ "pedigree" : {
+ "type" : "string"
+ },
+ "sampleDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "seedSource" : {
+ "type" : "string"
+ },
+ "seedSourceDescription" : {
+ "type" : "string"
+ },
+ "species" : {
+ "type" : "string"
+ },
+ "speciesAuthority" : {
+ "type" : "string"
+ },
+ "subtaxa" : {
+ "type" : "string"
+ },
+ "subtaxaAuthority" : {
+ "type" : "string"
+ }
+ },
+ "description" : "The conceptual identifiers and metadata describing a genetically unique organism that is noteworthy in some way. Depending on context, a Germplasm might be synonymous with Accession, Line, or Genotype. Note that Germplasm is conceptual data, not necessarily associated to a real physical object, so Seed/Inventory Lots and Observation Units become physical instantiations of a particular Germplasm. Note a Germplasm is unique and noteworthy, so a Cross may or may not create a new Germplasm, since not every Cross is unique or noteworthy."
+ },
+ "GermplasmOrigin" : {
+ "type" : "object",
+ "properties" : {
+ "coordinateUncertainty" : {
+ "type" : "string"
+ },
+ "germplasmDbId" : {
+ "type" : "string"
+ },
+ "germplasmName" : {
+ "type" : "string"
+ },
+ "germplasmPUI" : {
+ "type" : "string"
+ }
+ },
+ "description" : "Information for material (orchard, natural sites, ...). Geographic identification of the plants from which seeds or cutting have been taken to produce that germplasm."
+ },
+ "GermplasmParent" : {
+ "required" : [
+ "germplasmDbId",
+ "germplasmName",
+ "germplasmPUI",
+ "parentType"
+ ],
+ "type" : "object",
+ "properties" : {
+ "germplasmDbId" : {
+ "type" : "string"
+ },
+ "germplasmName" : {
+ "type" : "string"
+ },
+ "germplasmPUI" : {
+ "type" : "string"
+ },
+ "parentType" : {
+ "$ref" : "#/components/schemas/ParentType"
+ },
+ "pedigreeNodeDbId" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A germplasm reference that is a direct parent of this germplasm. These represent edges in the tree, connecting to other nodes."
+ },
+ "GermplasmSearchRequest" : {
+ "type" : "object",
+ "properties" : { },
+ "description" : "The conceptual identifiers and metadata describing a genetically unique organism that is noteworthy in some way. Depending on context, a Germplasm might be synonymous with Accession, Line, or Genotype. Note that Germplasm is conceptual data, not necessarily associated to a real physical object, so Seed/Inventory Lots and Observation Units become physical instantiations of a particular Germplasm. Note a Germplasm is unique and noteworthy, so a Cross may or may not create a new Germplasm, since not every Cross is unique or noteworthy."
+ },
+ "GrowthFacility" : {
+ "type" : "object",
+ "properties" : {
+ "PUI" : {
+ "type" : "string"
+ },
+ "description" : {
+ "type" : "string"
+ },
+ "studyDbId" : {
+ "type" : "string"
+ },
+ "studyName" : {
+ "type" : "string"
+ },
+ "studyPUI" : {
+ "type" : "string"
+ }
+ },
+ "description" : "Short description of the facility in which the study was carried out."
+ },
+ "Image" : {
+ "required" : [
+ "imageDbId"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "copyright" : {
+ "type" : "string"
+ },
+ "description" : {
+ "type" : "string"
+ },
+ "imageFileName" : {
+ "type" : "string"
+ },
+ "imageFileSize" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "imageHeight" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "imageLocation" : {
+ "$ref" : "#/components/schemas/GeoJSON"
+ },
+ "imageName" : {
+ "type" : "string"
+ },
+ "imageTimeStamp" : {
+ "type" : "string"
+ },
+ "imageURL" : {
+ "type" : "string"
+ },
+ "imageWidth" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "mimeType" : {
+ "type" : "string"
+ },
+ "observationDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "observationUnitDbId" : {
+ "type" : "string"
+ },
+ "observationUnitName" : {
+ "type" : "string"
+ },
+ "observationUnitPUI" : {
+ "type" : "string"
+ }
+ },
+ "description" : "The metadata for an image file that is connected to some phenotypic observation data."
+ },
+ "ImageNewRequest" : {
+ "required" : [
+ "imageDbId",
+ "imageDbId"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "copyright" : {
+ "type" : "string"
+ },
+ "description" : {
+ "type" : "string"
+ },
+ "imageDbId" : {
+ "type" : "string"
+ },
+ "imageFileName" : {
+ "type" : "string"
+ },
+ "imageFileSize" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "imageHeight" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "imageLocation" : {
+ "$ref" : "#/components/schemas/GeoJSON"
+ },
+ "imageName" : {
+ "type" : "string"
+ },
+ "imageTimeStamp" : {
+ "type" : "string"
+ },
+ "imageURL" : {
+ "type" : "string"
+ },
+ "imageWidth" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "mimeType" : {
+ "type" : "string"
+ },
+ "observationDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "observationUnitDbId" : {
+ "type" : "string"
+ },
+ "observationUnitName" : {
+ "type" : "string"
+ },
+ "observationUnitPUI" : {
+ "type" : "string"
+ }
+ },
+ "description" : "The metadata for an image file that is connected to some phenotypic observation data."
+ },
+ "ImageSearchRequest" : {
+ "type" : "object",
+ "properties" : {
+ "imageFileSizeMax" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "imageFileSizeMin" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "imageHeightMax" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "imageHeightMin" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "imageLocation" : {
+ "$ref" : "#/components/schemas/GeoJSONSearchArea"
+ },
+ "imageTimeStampRangeEnd" : {
+ "type" : "string"
+ },
+ "imageTimeStampRangeStart" : {
+ "type" : "string"
+ },
+ "imageWidthMax" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "imageWidthMin" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ },
+ "description" : "The metadata for an image file that is connected to some phenotypic observation data."
+ },
+ "LastUpdate" : {
+ "required" : [
+ "lastUpdateDbId"
+ ],
+ "type" : "object",
+ "properties" : {
+ "lastUpdateDbId" : {
+ "type" : "string"
+ },
+ "studyDbId" : {
+ "type" : "string"
+ },
+ "studyName" : {
+ "type" : "string"
+ },
+ "studyPUI" : {
+ "type" : "string"
+ },
+ "timestamp" : {
+ "type" : "string"
+ },
+ "version" : {
+ "type" : "string"
+ }
+ },
+ "description" : "The date and time when this study was last modified"
+ },
+ "List" : {
+ "required" : [
+ "listDbId",
+ "listName",
+ "listType"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "dateCreated" : {
+ "type" : "string"
+ },
+ "dateModified" : {
+ "type" : "string"
+ },
+ "listDescription" : {
+ "type" : "string"
+ },
+ "listName" : {
+ "type" : "string"
+ },
+ "listOwnerName" : {
+ "type" : "string"
+ },
+ "listSize" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "listSource" : {
+ "type" : "string"
+ },
+ "listType" : {
+ "$ref" : "#/components/schemas/ListType"
+ },
+ "personDbId" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A List represents a collection of other BrAPI data objects. Typically these are custom lists generated by a user to keep track of interesting data. For example, a user might build a List of Germplasm that they have manually marked for further study."
+ },
+ "ListNewRequest" : {
+ "required" : [
+ "listDbId",
+ "listDbId",
+ "listName",
+ "listType"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "dateCreated" : {
+ "type" : "string"
+ },
+ "dateModified" : {
+ "type" : "string"
+ },
+ "listDbId" : {
+ "type" : "string"
+ },
+ "listDescription" : {
+ "type" : "string"
+ },
+ "listName" : {
+ "type" : "string"
+ },
+ "listOwnerName" : {
+ "type" : "string"
+ },
+ "listSize" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "listSource" : {
+ "type" : "string"
+ },
+ "listType" : {
+ "$ref" : "#/components/schemas/ListType"
+ },
+ "personDbId" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A List represents a collection of other BrAPI data objects. Typically these are custom lists generated by a user to keep track of interesting data. For example, a user might build a List of Germplasm that they have manually marked for further study."
+ },
+ "ListSearchRequest" : {
+ "type" : "object",
+ "properties" : {
+ "dateCreatedRangeEnd" : {
+ "type" : "string"
+ },
+ "dateCreatedRangeStart" : {
+ "type" : "string"
+ },
+ "dateModifiedRangeEnd" : {
+ "type" : "string"
+ },
+ "dateModifiedRangeStart" : {
+ "type" : "string"
+ },
+ "listType" : {
+ "$ref" : "#/components/schemas/ListType"
+ }
+ },
+ "description" : "A List represents a collection of other BrAPI data objects. Typically these are custom lists generated by a user to keep track of interesting data. For example, a user might build a List of Germplasm that they have manually marked for further study."
+ },
+ "ListType" : {
+ "type" : "string",
+ "description" : "The type of objects that are referenced in a List",
+ "enum" : [
+ "germplasm",
+ "markers",
+ "variants",
+ "programs",
+ "trials",
+ "studies",
+ "observationUnits",
+ "observations",
+ "observationVariables",
+ "samples"
+ ]
+ },
+ "Location" : {
+ "required" : [
+ "locationDbId",
+ "locationName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "abbreviation" : {
+ "type" : "string"
+ },
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "childLocationDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "coordinateDescription" : {
+ "type" : "string"
+ },
+ "coordinateUncertainty" : {
+ "type" : "string"
+ },
+ "coordinates" : {
+ "$ref" : "#/components/schemas/GeoJSON"
+ },
+ "countryCode" : {
+ "type" : "string"
+ },
+ "countryName" : {
+ "type" : "string"
+ },
+ "documentationURL" : {
+ "type" : "string"
+ },
+ "environmentType" : {
+ "type" : "string"
+ },
+ "exposure" : {
+ "type" : "string"
+ },
+ "instituteAddress" : {
+ "type" : "string"
+ },
+ "instituteName" : {
+ "type" : "string"
+ },
+ "locationDbId" : {
+ "type" : "string"
+ },
+ "locationName" : {
+ "type" : "string"
+ },
+ "locationType" : {
+ "type" : "string"
+ },
+ "siteStatus" : {
+ "type" : "string"
+ },
+ "slope" : {
+ "type" : "string"
+ },
+ "topography" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A geographic Location on earth. This is usually used to describe the general area where an experiment took place. For example, a natural site, an experimental field, a greenhouse, a phenotyping facility, etc."
+ },
+ "LocationNewRequest" : {
+ "required" : [
+ "locationDbId",
+ "locationDbId",
+ "locationName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "abbreviation" : {
+ "type" : "string"
+ },
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "childLocationDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "coordinateDescription" : {
+ "type" : "string"
+ },
+ "coordinateUncertainty" : {
+ "type" : "string"
+ },
+ "coordinates" : {
+ "$ref" : "#/components/schemas/GeoJSON"
+ },
+ "countryCode" : {
+ "type" : "string"
+ },
+ "countryName" : {
+ "type" : "string"
+ },
+ "documentationURL" : {
+ "type" : "string"
+ },
+ "environmentType" : {
+ "type" : "string"
+ },
+ "exposure" : {
+ "type" : "string"
+ },
+ "instituteAddress" : {
+ "type" : "string"
+ },
+ "instituteName" : {
+ "type" : "string"
+ },
+ "locationDbId" : {
+ "type" : "string"
+ },
+ "locationName" : {
+ "type" : "string"
+ },
+ "locationType" : {
+ "type" : "string"
+ },
+ "siteStatus" : {
+ "type" : "string"
+ },
+ "slope" : {
+ "type" : "string"
+ },
+ "topography" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A geographic Location on earth. This is usually used to describe the general area where an experiment took place. For example, a natural site, an experimental field, a greenhouse, a phenotyping facility, etc."
+ },
+ "LocationSearchRequest" : {
+ "type" : "object",
+ "properties" : {
+ "altitudeMax" : {
+ "type" : "number"
+ },
+ "altitudeMin" : {
+ "type" : "number"
+ },
+ "coordinates" : {
+ "$ref" : "#/components/schemas/GeoJSONSearchArea"
+ }
+ },
+ "description" : "A geographic Location on earth. This is usually used to describe the general area where an experiment took place. For example, a natural site, an experimental field, a greenhouse, a phenotyping facility, etc."
+ },
+ "MarkerPosition" : {
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "linkageGroupName" : {
+ "type" : "string"
+ },
+ "mapDbId" : {
+ "type" : "string"
+ },
+ "mapName" : {
+ "type" : "string"
+ },
+ "mapPUI" : {
+ "type" : "string"
+ },
+ "position" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "variantDbId" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A MarkerPosition describes a particular genetic marker at a specific position on a GenomeMap. A collection of MarkerPositions make up the data to represent a full GenomeMap."
+ },
+ "MarkerPositionSearchRequest" : {
+ "type" : "object",
+ "properties" : {
+ "maxPosition" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "minPosition" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ },
+ "description" : "A MarkerPosition describes a particular genetic marker at a specific position on a GenomeMap. A collection of MarkerPositions make up the data to represent a full GenomeMap."
+ },
+ "MetadataField" : {
+ "type" : "object",
+ "properties" : {
+ "dataType" : {
+ "type" : "string",
+ "description" : "The type of field represented in this Genotype Field. This is intended to help parse the data out of JSON.",
+ "enum" : [
+ "string",
+ "integer",
+ "float",
+ "boolean"
+ ]
+ },
+ "fieldAbbreviation" : {
+ "type" : "string"
+ },
+ "fieldName" : {
+ "type" : "string"
+ },
+ "variantSetDbId" : {
+ "type" : "string"
+ },
+ "variantSetName" : {
+ "type" : "string"
+ }
+ },
+ "description" : "Indicates which types of genotyping data and metadata are available in the VariantSet. \n
When possible, these field names and abbreviations should follow the VCF standard "
+ },
+ "Method" : {
+ "required" : [
+ "methodDbId",
+ "methodName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "bibliographicalReference" : {
+ "type" : "string"
+ },
+ "description" : {
+ "type" : "string"
+ },
+ "formula" : {
+ "type" : "string"
+ },
+ "methodClass" : {
+ "type" : "string"
+ },
+ "methodName" : {
+ "type" : "string"
+ },
+ "methodPUI" : {
+ "type" : "string"
+ },
+ "ontologyReferenceDbId" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A description of the way an Observation should be collected. \n
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\". "
+ },
+ "MethodNewRequest" : {
+ "required" : [
+ "methodDbId",
+ "methodDbId",
+ "methodName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "bibliographicalReference" : {
+ "type" : "string"
+ },
+ "description" : {
+ "type" : "string"
+ },
+ "formula" : {
+ "type" : "string"
+ },
+ "methodClass" : {
+ "type" : "string"
+ },
+ "methodDbId" : {
+ "type" : "string"
+ },
+ "methodName" : {
+ "type" : "string"
+ },
+ "methodPUI" : {
+ "type" : "string"
+ },
+ "ontologyReferenceDbId" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A description of the way an Observation should be collected. \n
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\". "
+ },
+ "Observation" : {
+ "required" : [
+ "observationDbId"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "collector" : {
+ "type" : "string"
+ },
+ "geoCoordinates" : {
+ "$ref" : "#/components/schemas/GeoJSON"
+ },
+ "germplasmDbId" : {
+ "type" : "string"
+ },
+ "germplasmName" : {
+ "type" : "string"
+ },
+ "germplasmPUI" : {
+ "type" : "string"
+ },
+ "observationTimeStamp" : {
+ "type" : "string"
+ },
+ "observationUnitDbId" : {
+ "type" : "string"
+ },
+ "observationUnitName" : {
+ "type" : "string"
+ },
+ "observationUnitPUI" : {
+ "type" : "string"
+ },
+ "observationVariableDbId" : {
+ "type" : "string"
+ },
+ "observationVariableName" : {
+ "type" : "string"
+ },
+ "observationVariablePUI" : {
+ "type" : "string"
+ },
+ "seasonDbId" : {
+ "type" : "string"
+ },
+ "seasonName" : {
+ "type" : "string"
+ },
+ "studyDbId" : {
+ "type" : "string"
+ },
+ "studyName" : {
+ "type" : "string"
+ },
+ "studyPUI" : {
+ "type" : "string"
+ },
+ "uploadedBy" : {
+ "type" : "string"
+ },
+ "value" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A value assigned for a specific ObservationVariable when observing a specific ObservationUnit."
+ },
+ "ObservationNewRequest" : {
+ "required" : [
+ "observationDbId",
+ "observationDbId"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "collector" : {
+ "type" : "string"
+ },
+ "geoCoordinates" : {
+ "$ref" : "#/components/schemas/GeoJSON"
+ },
+ "germplasmDbId" : {
+ "type" : "string"
+ },
+ "germplasmName" : {
+ "type" : "string"
+ },
+ "germplasmPUI" : {
+ "type" : "string"
+ },
+ "observationDbId" : {
+ "type" : "string"
+ },
+ "observationTimeStamp" : {
+ "type" : "string"
+ },
+ "observationUnitDbId" : {
+ "type" : "string"
+ },
+ "observationUnitName" : {
+ "type" : "string"
+ },
+ "observationUnitPUI" : {
+ "type" : "string"
+ },
+ "observationVariableDbId" : {
+ "type" : "string"
+ },
+ "observationVariableName" : {
+ "type" : "string"
+ },
+ "observationVariablePUI" : {
+ "type" : "string"
+ },
+ "seasonDbId" : {
+ "type" : "string"
+ },
+ "seasonName" : {
+ "type" : "string"
+ },
+ "studyDbId" : {
+ "type" : "string"
+ },
+ "studyName" : {
+ "type" : "string"
+ },
+ "studyPUI" : {
+ "type" : "string"
+ },
+ "uploadedBy" : {
+ "type" : "string"
+ },
+ "value" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A value assigned for a specific ObservationVariable when observing a specific ObservationUnit."
+ },
+ "ObservationSearchRequest" : {
+ "type" : "object",
+ "properties" : {
+ "observationTimeStampRangeEnd" : {
+ "type" : "string"
+ },
+ "observationTimeStampRangeStart" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A value assigned for a specific ObservationVariable when observing a specific ObservationUnit."
+ },
+ "ObservationTreatment" : {
+ "type" : "object",
+ "properties" : {
+ "factor" : {
+ "type" : "string"
+ },
+ "modality" : {
+ "type" : "string"
+ },
+ "observationUnitDbId" : {
+ "type" : "string"
+ },
+ "observationUnitName" : {
+ "type" : "string"
+ },
+ "observationUnitPUI" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A Treatment applied an Observation Unit at a given Modality/Level for a specific Factor."
+ },
+ "ObservationUnit" : {
+ "required" : [
+ "observationUnitDbId"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "crossDbId" : {
+ "type" : "string"
+ },
+ "crossName" : {
+ "type" : "string"
+ },
+ "germplasmDbId" : {
+ "type" : "string"
+ },
+ "germplasmName" : {
+ "type" : "string"
+ },
+ "germplasmPUI" : {
+ "type" : "string"
+ },
+ "locationDbId" : {
+ "type" : "string"
+ },
+ "locationName" : {
+ "type" : "string"
+ },
+ "observationUnitName" : {
+ "type" : "string"
+ },
+ "observationUnitPUI" : {
+ "type" : "string"
+ },
+ "programDbId" : {
+ "type" : "string"
+ },
+ "programName" : {
+ "type" : "string"
+ },
+ "seedLotDbId" : {
+ "type" : "string"
+ },
+ "seedLotName" : {
+ "type" : "string"
+ },
+ "studyDbId" : {
+ "type" : "string"
+ },
+ "studyName" : {
+ "type" : "string"
+ },
+ "studyPUI" : {
+ "type" : "string"
+ },
+ "trialDbId" : {
+ "type" : "string"
+ },
+ "trialName" : {
+ "type" : "string"
+ },
+ "trialPUI" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A representation of the physical entity being observed during a phenotype data collection process. Typically, this is a Plot or a Plant, but it could include things like Fields, Blocks, or Samples."
+ },
+ "ObservationUnitHierarchyLevel" : {
+ "type" : "object",
+ "properties" : {
+ "levelName" : {
+ "type" : "string"
+ },
+ "levelOrder" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ },
+ "description" : "The exact level and level code of an observation unit. \n\nFor more information on Observation Levels, please review the Observation Levels documentation. \n\nMIAPPE V1.1 DM-71 Observation unit type \"Type of observation unit in textual form, usually one of the following: study, block, sub-block, plot, sub-plot, pot, plant. Use of other observation unit types is possible but not recommended. \nThe observation unit type can not be used to indicate sub-plant levels. However, observations can still be made on the sub-plant level, as long as the details are indicated in the associated observed variable (see observed variables). \nAlternatively, it is possible to use samples for more detailed tracing of sub-plant units, attaching the observations to them instead.\" "
+ },
+ "ObservationUnitLevel" : {
+ "type" : "object",
+ "properties" : {
+ "levelCode" : {
+ "type" : "string"
+ },
+ "levelName" : {
+ "type" : "string"
+ },
+ "levelOrder" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ },
+ "description" : "The exact level and level code of an observation unit. \n\nFor more information on Observation Levels, please review the Observation Levels documentation. \n\nMIAPPE V1.1 DM-71 Observation unit type \"Type of observation unit in textual form, usually one of the following: study, block, sub-block, plot, sub-plot, pot, plant. Use of other observation unit types is possible but not recommended. \nThe observation unit type can not be used to indicate sub-plant levels. However, observations can still be made on the sub-plant level, as long as the details are indicated in the associated observed variable (see observed variables). \nAlternatively, it is possible to use samples for more detailed tracing of sub-plant units, attaching the observations to them instead.\" "
+ },
+ "ObservationUnitLevelRelationship" : {
+ "type" : "object",
+ "properties" : {
+ "levelCode" : {
+ "type" : "string"
+ },
+ "levelName" : {
+ "type" : "string"
+ },
+ "levelOrder" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "observationUnit" : {
+ "$ref" : "#/components/schemas/ObservationUnit"
+ }
+ },
+ "description" : "Observation levels indicate the granularity level at which the measurements are taken. `levelName` \ndefines the level, `levelOrder` defines where that level exists in the hierarchy of levels. \n`levelOrder`s lower numbers are at the top of the hierarchy (ie field > 0) and higher numbers are \nat the bottom of the hierarchy (ie plant > 6). `levelCode` is an ID code for this level tag. Identify \nthis observation unit by each level of the hierarchy where it exists. \n\nFor more information on Observation Levels, please review the Observation Levels documentation. \n\n**Standard Level Names: study, field, entry, rep, block, sub-block, plot, sub-plot, plant, pot, sample** "
+ },
+ "ObservationUnitNewRequest" : {
+ "required" : [
+ "observationUnitDbId",
+ "observationUnitDbId"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "crossDbId" : {
+ "type" : "string"
+ },
+ "crossName" : {
+ "type" : "string"
+ },
+ "germplasmDbId" : {
+ "type" : "string"
+ },
+ "germplasmName" : {
+ "type" : "string"
+ },
+ "germplasmPUI" : {
+ "type" : "string"
+ },
+ "locationDbId" : {
+ "type" : "string"
+ },
+ "locationName" : {
+ "type" : "string"
+ },
+ "observationUnitDbId" : {
+ "type" : "string"
+ },
+ "observationUnitName" : {
+ "type" : "string"
+ },
+ "observationUnitPUI" : {
+ "type" : "string"
+ },
+ "programDbId" : {
+ "type" : "string"
+ },
+ "programName" : {
+ "type" : "string"
+ },
+ "seedLotDbId" : {
+ "type" : "string"
+ },
+ "seedLotName" : {
+ "type" : "string"
+ },
+ "studyDbId" : {
+ "type" : "string"
+ },
+ "studyName" : {
+ "type" : "string"
+ },
+ "studyPUI" : {
+ "type" : "string"
+ },
+ "trialDbId" : {
+ "type" : "string"
+ },
+ "trialName" : {
+ "type" : "string"
+ },
+ "trialPUI" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A representation of the physical entity being observed during a phenotype data collection process. Typically, this is a Plot or a Plant, but it could include things like Fields, Blocks, or Samples."
+ },
+ "ObservationUnitPosition" : {
+ "type" : "object",
+ "properties" : {
+ "entryType" : {
+ "type" : "string",
+ "description" : "The type of entry for this observation unit. ex. \"CHECK\", \"TEST\", \"FILLER\"",
+ "enum" : [
+ "CHECK",
+ "TEST",
+ "FILLER"
+ ]
+ },
+ "observationLevel" : {
+ "$ref" : "#/components/schemas/ObservationUnitLevel"
+ },
+ "observationUnitDbId" : {
+ "type" : "string"
+ },
+ "observationUnitName" : {
+ "type" : "string"
+ },
+ "observationUnitPUI" : {
+ "type" : "string"
+ },
+ "positionCoordinateX" : {
+ "type" : "string"
+ },
+ "positionCoordinateXType" : {
+ "$ref" : "#/components/schemas/PositionCoordinateType"
+ },
+ "positionCoordinateY" : {
+ "type" : "string"
+ },
+ "positionCoordinateYType" : {
+ "$ref" : "#/components/schemas/PositionCoordinateType"
+ }
+ },
+ "description" : "All positional and layout information related to this Observation Unit"
+ },
+ "ObservationUnitSearchRequest" : {
+ "type" : "object",
+ "properties" : {
+ "includeObservations" : {
+ "type" : "boolean"
+ }
+ },
+ "description" : "A representation of the physical entity being observed during a phenotype data collection process. Typically, this is a Plot or a Plant, but it could include things like Fields, Blocks, or Samples."
+ },
+ "ObservationVariable" : {
+ "required" : [
+ "methodDbId",
+ "methodName",
+ "observationVariableDbId",
+ "observationVariableName",
+ "scaleDbId",
+ "scaleName",
+ "traitName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "commonCropName" : {
+ "type" : "string"
+ },
+ "defaultValue" : {
+ "type" : "string"
+ },
+ "documentationURL" : {
+ "type" : "string"
+ },
+ "growthStage" : {
+ "type" : "string"
+ },
+ "institution" : {
+ "type" : "string"
+ },
+ "language" : {
+ "type" : "string"
+ },
+ "methodDbId" : {
+ "type" : "string"
+ },
+ "methodName" : {
+ "type" : "string"
+ },
+ "methodPUI" : {
+ "type" : "string"
+ },
+ "observationVariableName" : {
+ "type" : "string"
+ },
+ "observationVariablePUI" : {
+ "type" : "string"
+ },
+ "ontologyReferenceDbId" : {
+ "type" : "string"
+ },
+ "scaleDbId" : {
+ "type" : "string"
+ },
+ "scaleName" : {
+ "type" : "string"
+ },
+ "scalePUI" : {
+ "type" : "string"
+ },
+ "scientist" : {
+ "type" : "string"
+ },
+ "status" : {
+ "type" : "string"
+ },
+ "submissionTimestamp" : {
+ "type" : "string"
+ },
+ "traitDbId" : {
+ "type" : "string"
+ },
+ "traitName" : {
+ "type" : "string"
+ },
+ "traitPUI" : {
+ "type" : "string"
+ }
+ }
+ },
+ "ObservationVariableNewRequest" : {
+ "required" : [
+ "methodDbId",
+ "methodName",
+ "observationVariableDbId",
+ "observationVariableDbId",
+ "observationVariableName",
+ "scaleDbId",
+ "scaleName",
+ "traitName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "commonCropName" : {
+ "type" : "string"
+ },
+ "defaultValue" : {
+ "type" : "string"
+ },
+ "documentationURL" : {
+ "type" : "string"
+ },
+ "growthStage" : {
+ "type" : "string"
+ },
+ "institution" : {
+ "type" : "string"
+ },
+ "language" : {
+ "type" : "string"
+ },
+ "methodDbId" : {
+ "type" : "string"
+ },
+ "methodName" : {
+ "type" : "string"
+ },
+ "methodPUI" : {
+ "type" : "string"
+ },
+ "observationVariableDbId" : {
+ "type" : "string"
+ },
+ "observationVariableName" : {
+ "type" : "string"
+ },
+ "observationVariablePUI" : {
+ "type" : "string"
+ },
+ "ontologyReferenceDbId" : {
+ "type" : "string"
+ },
+ "scaleDbId" : {
+ "type" : "string"
+ },
+ "scaleName" : {
+ "type" : "string"
+ },
+ "scalePUI" : {
+ "type" : "string"
+ },
+ "scientist" : {
+ "type" : "string"
+ },
+ "status" : {
+ "type" : "string"
+ },
+ "submissionTimestamp" : {
+ "type" : "string"
+ },
+ "traitDbId" : {
+ "type" : "string"
+ },
+ "traitName" : {
+ "type" : "string"
+ },
+ "traitPUI" : {
+ "type" : "string"
+ }
+ }
+ },
+ "ObservationVariableSearchRequest" : {
+ "type" : "object",
+ "properties" : { }
+ },
+ "Ontology" : {
+ "required" : [
+ "ontologyDbId",
+ "ontologyName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "authors" : {
+ "type" : "string"
+ },
+ "copyright" : {
+ "type" : "string"
+ },
+ "description" : {
+ "type" : "string"
+ },
+ "documentationURL" : {
+ "type" : "string"
+ },
+ "licence" : {
+ "type" : "string"
+ },
+ "ontologyName" : {
+ "type" : "string"
+ },
+ "version" : {
+ "type" : "string"
+ }
+ },
+ "description" : "The identifier and metadata needed to reference an external controlled vocabulary"
+ },
+ "OntologyNewRequest" : {
+ "required" : [
+ "ontologyDbId",
+ "ontologyDbId",
+ "ontologyName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "authors" : {
+ "type" : "string"
+ },
+ "copyright" : {
+ "type" : "string"
+ },
+ "description" : {
+ "type" : "string"
+ },
+ "documentationURL" : {
+ "type" : "string"
+ },
+ "licence" : {
+ "type" : "string"
+ },
+ "ontologyDbId" : {
+ "type" : "string"
+ },
+ "ontologyName" : {
+ "type" : "string"
+ },
+ "version" : {
+ "type" : "string"
+ }
+ },
+ "description" : "The identifier and metadata needed to reference an external controlled vocabulary"
+ },
+ "OntologyReference" : {
+ "required" : [
+ "ontology"
+ ],
+ "type" : "object",
+ "properties" : {
+ "ontology" : {
+ "$ref" : "#/components/schemas/Ontology"
+ },
+ "ontologyReferenceDbId" : {
+ "type" : "string"
+ },
+ "version" : {
+ "type" : "string"
+ }
+ },
+ "description" : "MIAPPE V1.1 (DM-85) Variable accession number - Accession number of the variable in the Crop Ontology \nMIAPPE V1.1 (DM-87) Trait accession number - Accession number of the trait in a suitable controlled vocabulary (Crop Ontology, Trait Ontology).\nMIAPPE V1.1 (DM-89) Method accession number - Accession number of the method in a suitable controlled vocabulary (Crop Ontology, Trait Ontology).\nMIAPPE V1.1 (DM-93) Scale accession number - Accession number of the scale in a suitable controlled vocabulary (Crop Ontology)."
+ },
+ "OntologyTerm" : {
+ "type" : "object",
+ "properties" : {
+ "term" : {
+ "type" : "string"
+ },
+ "termURI" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A pointer to an ontology used by a genomic reference"
+ },
+ "Pagination" : {
+ "type" : "object",
+ "properties" : {
+ "alleleMatrix" : {
+ "$ref" : "#/components/schemas/AlleleMatrix"
+ },
+ "dimension" : {
+ "type" : "string",
+ "description" : "The dimension of the matrix being paginated",
+ "enum" : [
+ "CALLSETS",
+ "VARIANTS"
+ ]
+ },
+ "page" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "pageSize" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "totalCount" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "totalPages" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ },
+ "description" : "Pagination info for the matrix"
+ },
+ "ParentType" : {
+ "type" : "string",
+ "description" : "The type of parent used during crossing. Accepted values for this field are 'MALE', 'FEMALE', 'SELF', 'POPULATION', and 'CLONAL'. \\n\\nIn a pedigree record, the 'parentType' describes each parent of a particular germplasm. \\n\\nIn a progeny record, the 'parentType' is used to describe how this germplasm was crossed to generate a particular progeny. \\nFor example, given a record for germplasm A, having a progeny B and C. The 'parentType' field for progeny B item refers \\nto the 'parentType' of A toward B. The 'parentType' field for progeny C item refers to the 'parentType' of A toward C.\\nIn this way, A could be a male parent to B, but a female parent to C. ",
+ "enum" : [
+ "MALE",
+ "FEMALE",
+ "SELF",
+ "POPULATION",
+ "CLONAL"
+ ]
+ },
+ "PedigreeNode" : {
+ "required" : [
+ "germplasmDbId",
+ "germplasmName",
+ "germplasmPUI"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "breedingMethodDbId" : {
+ "type" : "string"
+ },
+ "breedingMethodName" : {
+ "type" : "string"
+ },
+ "crossingProjectDbId" : {
+ "type" : "string"
+ },
+ "crossingProjectName" : {
+ "type" : "string"
+ },
+ "crossingYear" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "defaultDisplayName" : {
+ "type" : "string"
+ },
+ "familyCode" : {
+ "type" : "string"
+ },
+ "germplasmDbId" : {
+ "type" : "string"
+ },
+ "germplasmName" : {
+ "type" : "string"
+ },
+ "germplasmPUI" : {
+ "type" : "string"
+ },
+ "pedigreeNodeDbId" : {
+ "type" : "string"
+ },
+ "pedigreeString" : {
+ "type" : "string"
+ },
+ "siblingDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ }
+ },
+ "description" : "A representation of a particular Germplasm within a pedigree tree, and all the links to its parents, siblings, and children. From a list of PedigreeNode objects, a client application should have all the information it needs to draw a pedigree tree visualization, or calculate genetic distances."
+ },
+ "PedigreeNodeSearchRequest" : {
+ "type" : "object",
+ "properties" : {
+ "includeFullTree" : {
+ "type" : "boolean"
+ },
+ "includeParents" : {
+ "type" : "boolean"
+ },
+ "includeProgeny" : {
+ "type" : "boolean"
+ },
+ "includeSiblings" : {
+ "type" : "boolean"
+ },
+ "pedigreeDepth" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "progenyDepth" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ },
+ "description" : "A representation of a particular Germplasm within a pedigree tree, and all the links to its parents, siblings, and children. From a list of PedigreeNode objects, a client application should have all the information it needs to draw a pedigree tree visualization, or calculate genetic distances."
+ },
+ "Person" : {
+ "required" : [
+ "personDbId"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "description" : {
+ "type" : "string"
+ },
+ "emailAddress" : {
+ "type" : "string"
+ },
+ "firstName" : {
+ "type" : "string"
+ },
+ "lastName" : {
+ "type" : "string"
+ },
+ "mailingAddress" : {
+ "type" : "string"
+ },
+ "middleName" : {
+ "type" : "string"
+ },
+ "phoneNumber" : {
+ "type" : "string"
+ },
+ "userID" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A generic object used to maintain the metadata needed to describe a human. The Person might be a software user, a field technician, or a primary contact for a Program."
+ },
+ "PersonNewRequest" : {
+ "required" : [
+ "personDbId",
+ "personDbId"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "description" : {
+ "type" : "string"
+ },
+ "emailAddress" : {
+ "type" : "string"
+ },
+ "firstName" : {
+ "type" : "string"
+ },
+ "lastName" : {
+ "type" : "string"
+ },
+ "mailingAddress" : {
+ "type" : "string"
+ },
+ "middleName" : {
+ "type" : "string"
+ },
+ "personDbId" : {
+ "type" : "string"
+ },
+ "phoneNumber" : {
+ "type" : "string"
+ },
+ "userID" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A generic object used to maintain the metadata needed to describe a human. The Person might be a software user, a field technician, or a primary contact for a Program."
+ },
+ "PersonSearchRequest" : {
+ "type" : "object",
+ "properties" : { },
+ "description" : "A generic object used to maintain the metadata needed to describe a human. The Person might be a software user, a field technician, or a primary contact for a Program."
+ },
+ "PlannedCross" : {
+ "required" : [
+ "plannedCrossDbId"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "crossType" : {
+ "$ref" : "#/components/schemas/CrossType"
+ },
+ "crossingProjectDbId" : {
+ "type" : "string"
+ },
+ "crossingProjectName" : {
+ "type" : "string"
+ },
+ "parent1" : {
+ "$ref" : "#/components/schemas/CrossParent"
+ },
+ "parent2" : {
+ "$ref" : "#/components/schemas/CrossParent"
+ },
+ "plannedCrossDbId" : {
+ "type" : "string"
+ },
+ "plannedCrossName" : {
+ "type" : "string"
+ },
+ "status" : {
+ "type" : "string",
+ "description" : "The status of this planned cross. Is it waiting to be performed ('TODO'), has it been completed successfully ('DONE'), or has it not been done on purpose ('SKIPPED').",
+ "enum" : [
+ "TODO",
+ "DONE",
+ "SKIPPED"
+ ]
+ }
+ },
+ "description" : "Information regarding the intention to mate specific organisms together to produce offspring with desired traits. A PlannedCross becomes an actual Cross when the desired mating event actually occurs in the field."
+ },
+ "Plate" : {
+ "required" : [
+ "plateDbId",
+ "plateName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "plateBarcode" : {
+ "type" : "string"
+ },
+ "plateFormat" : {
+ "type" : "string",
+ "description" : "Enum for plate formats, usually \"PLATE_96\" for a 96 well plate or \"TUBES\" for plateless format",
+ "enum" : [
+ "PLATE_96",
+ "TUBES"
+ ]
+ },
+ "plateName" : {
+ "type" : "string"
+ },
+ "programDbId" : {
+ "type" : "string"
+ },
+ "programName" : {
+ "type" : "string"
+ },
+ "sampleType" : {
+ "type" : "string",
+ "description" : "The type of samples taken. ex. 'DNA', 'RNA', 'Tissue', etc",
+ "enum" : [
+ "DNA",
+ "RNA",
+ "TISSUE",
+ "MIXED"
+ ]
+ },
+ "studyDbId" : {
+ "type" : "string"
+ },
+ "studyName" : {
+ "type" : "string"
+ },
+ "studyPUI" : {
+ "type" : "string"
+ },
+ "trialDbId" : {
+ "type" : "string"
+ },
+ "trialName" : {
+ "type" : "string"
+ },
+ "trialPUI" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A Plate represents the metadata for a collection of Samples. The physical Plate being represented might be a plastic tray full of Samples, or a group of Samples stored in individual containers ie bags, test tubes, etc. Whatever the container is, the Samples in a Plate should be related by the same physical space, though they may or may not be related as part of the same experiment or analysis."
+ },
+ "PlateNewRequest" : {
+ "required" : [
+ "plateDbId",
+ "plateName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "plateBarcode" : {
+ "type" : "string"
+ },
+ "plateDbId" : {
+ "type" : "string"
+ },
+ "plateFormat" : {
+ "type" : "string",
+ "description" : "Enum for plate formats, usually \"PLATE_96\" for a 96 well plate or \"TUBES\" for plateless format",
+ "enum" : [
+ "PLATE_96",
+ "TUBES"
+ ]
+ },
+ "plateName" : {
+ "type" : "string"
+ },
+ "programDbId" : {
+ "type" : "string"
+ },
+ "programName" : {
+ "type" : "string"
+ },
+ "sampleType" : {
+ "type" : "string",
+ "description" : "The type of samples taken. ex. 'DNA', 'RNA', 'Tissue', etc",
+ "enum" : [
+ "DNA",
+ "RNA",
+ "TISSUE",
+ "MIXED"
+ ]
+ },
+ "studyDbId" : {
+ "type" : "string"
+ },
+ "studyName" : {
+ "type" : "string"
+ },
+ "studyPUI" : {
+ "type" : "string"
+ },
+ "trialDbId" : {
+ "type" : "string"
+ },
+ "trialName" : {
+ "type" : "string"
+ },
+ "trialPUI" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A Plate represents the metadata for a collection of Samples. The physical Plate being represented might be a plastic tray full of Samples, or a group of Samples stored in individual containers ie bags, test tubes, etc. Whatever the container is, the Samples in a Plate should be related by the same physical space, though they may or may not be related as part of the same experiment or analysis."
+ },
+ "PlateSearchRequest" : {
+ "type" : "object",
+ "properties" : { },
+ "description" : "A Plate represents the metadata for a collection of Samples. The physical Plate being represented might be a plastic tray full of Samples, or a group of Samples stored in individual containers ie bags, test tubes, etc. Whatever the container is, the Samples in a Plate should be related by the same physical space, though they may or may not be related as part of the same experiment or analysis."
+ },
+ "PollinationEvent" : {
+ "type" : "object",
+ "properties" : {
+ "crossDbId" : {
+ "type" : "string"
+ },
+ "crossName" : {
+ "type" : "string"
+ },
+ "pollinationNumber" : {
+ "type" : "string"
+ },
+ "pollinationSuccessful" : {
+ "type" : "boolean"
+ },
+ "pollinationTimeStamp" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A Pollination Event that was used or attempted for a Cross."
+ },
+ "PositionCoordinateType" : {
+ "type" : "string",
+ "description" : "The type of positional coordinate. Must be one of the following values \n\nLONGITUDE - ISO 6709 standard, WGS84 geodetic datum. See 'Location Coordinate Encoding' for details \n\nLATITUDE - ISO 6709 standard, WGS84 geodetic datum. See 'Location Coordinate Encoding' for details \n\nPLANTED_ROW - The physical planted row number \n\nPLANTED_INDIVIDUAL - The physical counted number, could be independent or within a planted row \n\nGRID_ROW - The row index number of a square grid overlay \n\nGRID_COL - The column index number of a square grid overlay \n\nMEASURED_ROW - The distance in meters from a defined 0-th row \n\nMEASURED_COL - The distance in meters from a defined 0-th column ",
+ "enum" : [
+ "LONGITUDE",
+ "LATITUDE",
+ "PLANTED_ROW",
+ "PLANTED_INDIVIDUAL",
+ "GRID_ROW",
+ "GRID_COL",
+ "MEASURED_ROW",
+ "MEASURED_COL"
+ ]
+ },
+ "Program" : {
+ "required" : [
+ "programDbId",
+ "programName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "abbreviation" : {
+ "type" : "string"
+ },
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "commonCropName" : {
+ "type" : "string"
+ },
+ "documentationURL" : {
+ "type" : "string"
+ },
+ "fundingInformation" : {
+ "type" : "string"
+ },
+ "objective" : {
+ "type" : "string"
+ },
+ "personDbId" : {
+ "type" : "string"
+ },
+ "programName" : {
+ "type" : "string"
+ },
+ "programType" : {
+ "type" : "string",
+ "description" : "The type of program entity this object represents\n
'STANDARD' represents a standard, permanent breeding program\n
'PROJECT' represents a short term project, usually with a set time limit based on funding ",
+ "enum" : [
+ "STANDARD",
+ "PROJECT"
+ ]
+ }
+ },
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. A Program can contain multiple Trials. A Trial can contain multiple Studies."
+ },
+ "ProgramNewRequest" : {
+ "required" : [
+ "programDbId",
+ "programDbId",
+ "programName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "abbreviation" : {
+ "type" : "string"
+ },
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "commonCropName" : {
+ "type" : "string"
+ },
+ "documentationURL" : {
+ "type" : "string"
+ },
+ "fundingInformation" : {
+ "type" : "string"
+ },
+ "objective" : {
+ "type" : "string"
+ },
+ "personDbId" : {
+ "type" : "string"
+ },
+ "programDbId" : {
+ "type" : "string"
+ },
+ "programName" : {
+ "type" : "string"
+ },
+ "programType" : {
+ "type" : "string",
+ "description" : "The type of program entity this object represents\n
'STANDARD' represents a standard, permanent breeding program\n
'PROJECT' represents a short term project, usually with a set time limit based on funding ",
+ "enum" : [
+ "STANDARD",
+ "PROJECT"
+ ]
+ }
+ },
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. A Program can contain multiple Trials. A Trial can contain multiple Studies."
+ },
+ "ProgramSearchRequest" : {
+ "type" : "object",
+ "properties" : { },
+ "description" : "A BrAPI Program represents the high level organization or group who is responsible for conducting trials and studies. Things like Breeding Programs and Funded Projects are considered BrAPI Programs. A Program can contain multiple Trials. A Trial can contain multiple Studies."
+ },
+ "Publication" : {
+ "type" : "object",
+ "properties" : {
+ "publicationPUI" : {
+ "type" : "string"
+ },
+ "publicationReference" : {
+ "type" : "string"
+ },
+ "trialDbId" : {
+ "type" : "string"
+ },
+ "trialName" : {
+ "type" : "string"
+ },
+ "trialPUI" : {
+ "type" : "string"
+ }
+ },
+ "description" : "MIAPPE V1.1 (DM-9) Associated publication - An identifier for a literature publication where the investigation is described. Use of DOIs is recommended."
+ },
+ "Reference" : {
+ "required" : [
+ "referenceDbId",
+ "referenceName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "commonCropName" : {
+ "type" : "string"
+ },
+ "isDerived" : {
+ "type" : "boolean"
+ },
+ "length" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "md5checksum" : {
+ "type" : "string"
+ },
+ "referenceDbId" : {
+ "type" : "string"
+ },
+ "referenceName" : {
+ "type" : "string"
+ },
+ "referenceSetDbId" : {
+ "type" : "string"
+ },
+ "referenceSetName" : {
+ "type" : "string"
+ },
+ "sourceDivergence" : {
+ "type" : "number"
+ },
+ "sourceGermplasmDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "sourceURI" : {
+ "type" : "string"
+ },
+ "species" : {
+ "$ref" : "#/components/schemas/OntologyTerm"
+ },
+ "variantDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ }
+ },
+ "description" : "A `Reference` is a canonical assembled contig, intended to act as a reference coordinate space for other genomic annotations. A single `Reference` might represent the human chromosome 1, for instance. `References` are designed to be immutable."
+ },
+ "ReferenceSearchRequest" : {
+ "type" : "object",
+ "properties" : {
+ "isDerived" : {
+ "type" : "boolean"
+ },
+ "maxLength" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "minLength" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ },
+ "description" : "A `Reference` is a canonical assembled contig, intended to act as a reference coordinate space for other genomic annotations. A single `Reference` might represent the human chromosome 1, for instance. `References` are designed to be immutable."
+ },
+ "ReferenceSet" : {
+ "required" : [
+ "referenceSetDbId",
+ "referenceSetName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "assemblyPUI" : {
+ "type" : "string"
+ },
+ "commonCropName" : {
+ "type" : "string"
+ },
+ "description" : {
+ "type" : "string"
+ },
+ "isDerived" : {
+ "type" : "boolean"
+ },
+ "md5checksum" : {
+ "type" : "string"
+ },
+ "referenceDbId" : {
+ "type" : "string"
+ },
+ "referenceName" : {
+ "type" : "string"
+ },
+ "referenceSetName" : {
+ "type" : "string"
+ },
+ "sourceGermplasmDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "sourceURI" : {
+ "type" : "string"
+ },
+ "species" : {
+ "$ref" : "#/components/schemas/OntologyTerm"
+ },
+ "variantDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "variantSetDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ }
+ },
+ "description" : "A `ReferenceSet` is a set of `Reference` s which typically comprise a reference assembly, such as `GRCH_38`. A `ReferenceSet` defines a common coordinate space for comparing reference-aligned experimental data."
+ },
+ "ReferenceSetNewRequest" : {
+ "required" : [
+ "referenceSetDbId",
+ "referenceSetDbId",
+ "referenceSetName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "assemblyPUI" : {
+ "type" : "string"
+ },
+ "commonCropName" : {
+ "type" : "string"
+ },
+ "description" : {
+ "type" : "string"
+ },
+ "isDerived" : {
+ "type" : "boolean"
+ },
+ "md5checksum" : {
+ "type" : "string"
+ },
+ "referenceDbId" : {
+ "type" : "string"
+ },
+ "referenceName" : {
+ "type" : "string"
+ },
+ "referenceSetDbId" : {
+ "type" : "string"
+ },
+ "referenceSetName" : {
+ "type" : "string"
+ },
+ "sourceGermplasmDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "sourceURI" : {
+ "type" : "string"
+ },
+ "species" : {
+ "$ref" : "#/components/schemas/OntologyTerm"
+ },
+ "variantDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "variantSetDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ }
+ },
+ "description" : "A `ReferenceSet` is a set of `Reference` s which typically comprise a reference assembly, such as `GRCH_38`. A `ReferenceSet` defines a common coordinate space for comparing reference-aligned experimental data."
+ },
+ "ReferenceSetSearchRequest" : {
+ "type" : "object",
+ "properties" : { },
+ "description" : "A `ReferenceSet` is a set of `Reference` s which typically comprise a reference assembly, such as `GRCH_38`. A `ReferenceSet` defines a common coordinate space for comparing reference-aligned experimental data."
+ },
+ "Sample" : {
+ "required" : [
+ "sampleDbId",
+ "sampleName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "callSetDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "column" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "germplasmDbId" : {
+ "type" : "string"
+ },
+ "germplasmName" : {
+ "type" : "string"
+ },
+ "germplasmPUI" : {
+ "type" : "string"
+ },
+ "observationUnitDbId" : {
+ "type" : "string"
+ },
+ "observationUnitName" : {
+ "type" : "string"
+ },
+ "observationUnitPUI" : {
+ "type" : "string"
+ },
+ "plateDbId" : {
+ "type" : "string"
+ },
+ "plateName" : {
+ "type" : "string"
+ },
+ "programDbId" : {
+ "type" : "string"
+ },
+ "programName" : {
+ "type" : "string"
+ },
+ "row" : {
+ "type" : "string"
+ },
+ "sampleBarcode" : {
+ "type" : "string"
+ },
+ "sampleDescription" : {
+ "type" : "string"
+ },
+ "sampleGroupId" : {
+ "type" : "string"
+ },
+ "sampleName" : {
+ "type" : "string"
+ },
+ "samplePUI" : {
+ "type" : "string"
+ },
+ "sampleTimestamp" : {
+ "type" : "string"
+ },
+ "sampleType" : {
+ "type" : "string"
+ },
+ "studyDbId" : {
+ "type" : "string"
+ },
+ "studyName" : {
+ "type" : "string"
+ },
+ "studyPUI" : {
+ "type" : "string"
+ },
+ "takenBy" : {
+ "type" : "string"
+ },
+ "tissueType" : {
+ "type" : "string"
+ },
+ "trialDbId" : {
+ "type" : "string"
+ },
+ "trialName" : {
+ "type" : "string"
+ },
+ "trialPUI" : {
+ "type" : "string"
+ },
+ "well" : {
+ "type" : "string"
+ }
+ },
+ "description" : "The identifiers and metadata associated with a physical piece of biological material collected from the field for external analysis. A Sample can take many forms (leaf clipping, seed, DNA, etc) and might be used for a variety of analysis procedures (spectra, genotyping, etc)."
+ },
+ "SampleNewRequest" : {
+ "required" : [
+ "sampleDbId",
+ "sampleName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "callSetDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "column" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "germplasmDbId" : {
+ "type" : "string"
+ },
+ "germplasmName" : {
+ "type" : "string"
+ },
+ "germplasmPUI" : {
+ "type" : "string"
+ },
+ "observationUnitDbId" : {
+ "type" : "string"
+ },
+ "observationUnitName" : {
+ "type" : "string"
+ },
+ "observationUnitPUI" : {
+ "type" : "string"
+ },
+ "plateDbId" : {
+ "type" : "string"
+ },
+ "plateName" : {
+ "type" : "string"
+ },
+ "programDbId" : {
+ "type" : "string"
+ },
+ "programName" : {
+ "type" : "string"
+ },
+ "row" : {
+ "type" : "string"
+ },
+ "sampleBarcode" : {
+ "type" : "string"
+ },
+ "sampleDbId" : {
+ "type" : "string"
+ },
+ "sampleDescription" : {
+ "type" : "string"
+ },
+ "sampleGroupId" : {
+ "type" : "string"
+ },
+ "sampleName" : {
+ "type" : "string"
+ },
+ "samplePUI" : {
+ "type" : "string"
+ },
+ "sampleTimestamp" : {
+ "type" : "string"
+ },
+ "sampleType" : {
+ "type" : "string"
+ },
+ "studyDbId" : {
+ "type" : "string"
+ },
+ "studyName" : {
+ "type" : "string"
+ },
+ "studyPUI" : {
+ "type" : "string"
+ },
+ "takenBy" : {
+ "type" : "string"
+ },
+ "tissueType" : {
+ "type" : "string"
+ },
+ "trialDbId" : {
+ "type" : "string"
+ },
+ "trialName" : {
+ "type" : "string"
+ },
+ "trialPUI" : {
+ "type" : "string"
+ },
+ "well" : {
+ "type" : "string"
+ }
+ },
+ "description" : "The identifiers and metadata associated with a physical piece of biological material collected from the field for external analysis. A Sample can take many forms (leaf clipping, seed, DNA, etc) and might be used for a variety of analysis procedures (spectra, genotyping, etc)."
+ },
+ "SampleSearchRequest" : {
+ "type" : "object",
+ "properties" : { },
+ "description" : "The identifiers and metadata associated with a physical piece of biological material collected from the field for external analysis. A Sample can take many forms (leaf clipping, seed, DNA, etc) and might be used for a variety of analysis procedures (spectra, genotyping, etc)."
+ },
+ "Scale" : {
+ "required" : [
+ "scaleDbId",
+ "scaleName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "dataType" : {
+ "type" : "string",
+ "description" : "Class of the scale, entries can be
\n\"Code\" - This scale class is exceptionally used to express complex traits. Code is a nominal scale that combines the expressions of the different traits composing the complex trait. For example a severity trait might be expressed by a 2 digit and 2 character code. The first 2 digits are the percentage of the plant covered by a fungus and the 2 characters refer to the delay in development, e.g. \"75VD\" means \"75 %\" of the plant is infected and the plant is very delayed.
\n\"Date\" - The date class is for events expressed in a time format, See ISO 8601
\n\"Duration\" - The Duration class is for time elapsed between two events expressed in a time format, e.g. days, hours, months
\n\"Nominal\" - Categorical scale that can take one of a limited and fixed number of categories. There is no intrinsic ordering to the categories
\n\"Numerical\" - Numerical scales express the trait with real numbers. The numerical scale defines the unit e.g. centimeter, ton per hectare, branches
\n\"Ordinal\" - Ordinal scales are scales composed of ordered categories
\n\"Text\" - A free text is used to express the trait.
",
+ "enum" : [
+ "Code",
+ "Date",
+ "Duration",
+ "Nominal",
+ "Numerical",
+ "Ordinal",
+ "Text"
+ ]
+ },
+ "decimalPlaces" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "ontologyReferenceDbId" : {
+ "type" : "string"
+ },
+ "scaleName" : {
+ "type" : "string"
+ },
+ "scalePUI" : {
+ "type" : "string"
+ },
+ "units" : {
+ "type" : "string"
+ },
+ "validValues" : {
+ "$ref" : "#/components/schemas/ValidValues"
+ }
+ },
+ "description" : "A Scale describes the units and acceptable values for an ObservationVariable. \n
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\"."
+ },
+ "ScaleNewRequest" : {
+ "required" : [
+ "scaleDbId",
+ "scaleDbId",
+ "scaleName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "dataType" : {
+ "type" : "string",
+ "description" : "Class of the scale, entries can be
\n\"Code\" - This scale class is exceptionally used to express complex traits. Code is a nominal scale that combines the expressions of the different traits composing the complex trait. For example a severity trait might be expressed by a 2 digit and 2 character code. The first 2 digits are the percentage of the plant covered by a fungus and the 2 characters refer to the delay in development, e.g. \"75VD\" means \"75 %\" of the plant is infected and the plant is very delayed.
\n\"Date\" - The date class is for events expressed in a time format, See ISO 8601
\n\"Duration\" - The Duration class is for time elapsed between two events expressed in a time format, e.g. days, hours, months
\n\"Nominal\" - Categorical scale that can take one of a limited and fixed number of categories. There is no intrinsic ordering to the categories
\n\"Numerical\" - Numerical scales express the trait with real numbers. The numerical scale defines the unit e.g. centimeter, ton per hectare, branches
\n\"Ordinal\" - Ordinal scales are scales composed of ordered categories
\n\"Text\" - A free text is used to express the trait.
",
+ "enum" : [
+ "Code",
+ "Date",
+ "Duration",
+ "Nominal",
+ "Numerical",
+ "Ordinal",
+ "Text"
+ ]
+ },
+ "decimalPlaces" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "ontologyReferenceDbId" : {
+ "type" : "string"
+ },
+ "scaleDbId" : {
+ "type" : "string"
+ },
+ "scaleName" : {
+ "type" : "string"
+ },
+ "scalePUI" : {
+ "type" : "string"
+ },
+ "units" : {
+ "type" : "string"
+ },
+ "validValues" : {
+ "$ref" : "#/components/schemas/ValidValues"
+ }
+ },
+ "description" : "A Scale describes the units and acceptable values for an ObservationVariable. \n
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\"."
+ },
+ "Season" : {
+ "required" : [
+ "seasonDbId"
+ ],
+ "type" : "object",
+ "properties" : {
+ "seasonDbId" : {
+ "type" : "string"
+ },
+ "seasonName" : {
+ "type" : "string"
+ },
+ "year" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ },
+ "description" : "A Season defines a period in time. A Season is made of two parts; (1) the primary year and (2) a term which defines a segment of the year. This term could be a traditional season, like \"Spring\" or \"Summer\", or this term could be a month, like \"May\" or \"June\", or this could be an arbitrary season name which is meaningful to the breeding Program like \"PlantingTime_3\" or \"Season E\"."
+ },
+ "SeedLot" : {
+ "required" : [
+ "seedLotDbId",
+ "seedLotName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "amount" : {
+ "type" : "number"
+ },
+ "createdDate" : {
+ "type" : "string"
+ },
+ "lastUpdated" : {
+ "type" : "string"
+ },
+ "locationDbId" : {
+ "type" : "string"
+ },
+ "locationName" : {
+ "type" : "string"
+ },
+ "programDbId" : {
+ "type" : "string"
+ },
+ "programName" : {
+ "type" : "string"
+ },
+ "seedLotDescription" : {
+ "type" : "string"
+ },
+ "seedLotName" : {
+ "type" : "string"
+ },
+ "sourceCollection" : {
+ "type" : "string"
+ },
+ "storageLocation" : {
+ "type" : "string"
+ },
+ "units" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A SeedLot, also known as an InventoryLot, is a collection of starting material (seeds, bulbs, root-stock, etc) for a particular Germplasm. The amount of material available for each Germplasm can be increased by seed production and decreased by planting or trading with another breeding Program."
+ },
+ "SeedLotNewRequest" : {
+ "required" : [
+ "seedLotDbId",
+ "seedLotDbId",
+ "seedLotName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "amount" : {
+ "type" : "number"
+ },
+ "createdDate" : {
+ "type" : "string"
+ },
+ "lastUpdated" : {
+ "type" : "string"
+ },
+ "locationDbId" : {
+ "type" : "string"
+ },
+ "locationName" : {
+ "type" : "string"
+ },
+ "programDbId" : {
+ "type" : "string"
+ },
+ "programName" : {
+ "type" : "string"
+ },
+ "seedLotDbId" : {
+ "type" : "string"
+ },
+ "seedLotDescription" : {
+ "type" : "string"
+ },
+ "seedLotName" : {
+ "type" : "string"
+ },
+ "sourceCollection" : {
+ "type" : "string"
+ },
+ "storageLocation" : {
+ "type" : "string"
+ },
+ "units" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A SeedLot, also known as an InventoryLot, is a collection of starting material (seeds, bulbs, root-stock, etc) for a particular Germplasm. The amount of material available for each Germplasm can be increased by seed production and decreased by planting or trading with another breeding Program."
+ },
+ "SeedLotTransaction" : {
+ "required" : [
+ "transactionDbId"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "amount" : {
+ "type" : "number"
+ },
+ "seedLotDbId" : {
+ "type" : "string"
+ },
+ "seedLotName" : {
+ "type" : "string"
+ },
+ "transactionDbId" : {
+ "type" : "string"
+ },
+ "transactionDescription" : {
+ "type" : "string"
+ },
+ "transactionTimestamp" : {
+ "type" : "string"
+ },
+ "units" : {
+ "type" : "string"
+ }
+ },
+ "description" : "The record of an event where material was moved in or out of a particular SeedLot"
+ },
+ "StorageType" : {
+ "type" : "object",
+ "properties" : {
+ "code" : {
+ "type" : "string",
+ "description" : "The 2 digit code representing the type of storage this germplasm is kept in at a genebank. \n\nMCPD (v2.1) (STORAGE) 26. If germplasm is maintained under different types of storage, multiple choices are allowed, separated by a semicolon (e.g. 20;30). (Refer to FAO/IPGRI Genebank Standards 1994 for details on storage type.) \n\n10) Seed collection \n11) Short term \n12) Medium term \n13) Long term \n20) Field collection \n30) In vitro collection \n40) Cryo-preserved collection \n50) DNA collection \n99) Other (elaborate in REMARKS field)",
+ "enum" : [
+ "10",
+ "11",
+ "12",
+ "13",
+ "20",
+ "30",
+ "40",
+ "50",
+ "99"
+ ]
+ },
+ "description" : {
+ "type" : "string"
+ },
+ "germplasmDbId" : {
+ "type" : "string"
+ },
+ "germplasmName" : {
+ "type" : "string"
+ },
+ "germplasmPUI" : {
+ "type" : "string"
+ }
+ },
+ "description" : "The type of storage this germplasm is kept in at a genebank."
+ },
+ "Study" : {
+ "required" : [
+ "studyDbId",
+ "studyName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "active" : {
+ "type" : "boolean"
+ },
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "commonCropName" : {
+ "type" : "string"
+ },
+ "contactDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "culturalPractices" : {
+ "type" : "string"
+ },
+ "documentationURL" : {
+ "type" : "string"
+ },
+ "endDate" : {
+ "type" : "string"
+ },
+ "experimentalDesign" : {
+ "$ref" : "#/components/schemas/ExperimentalDesign"
+ },
+ "growthFacility" : {
+ "$ref" : "#/components/schemas/GrowthFacility"
+ },
+ "lastUpdateDbId" : {
+ "type" : "string"
+ },
+ "license" : {
+ "type" : "string"
+ },
+ "locationDbId" : {
+ "type" : "string"
+ },
+ "locationName" : {
+ "type" : "string"
+ },
+ "observationLevelDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "observationUnitsDescription" : {
+ "type" : "string"
+ },
+ "observationVariableDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "startDate" : {
+ "type" : "string"
+ },
+ "studyCode" : {
+ "type" : "string"
+ },
+ "studyDescription" : {
+ "type" : "string"
+ },
+ "studyName" : {
+ "type" : "string"
+ },
+ "studyPUI" : {
+ "type" : "string"
+ },
+ "studyType" : {
+ "type" : "string"
+ },
+ "trialDbId" : {
+ "type" : "string"
+ },
+ "trialName" : {
+ "type" : "string"
+ },
+ "trialPUI" : {
+ "type" : "string"
+ }
+ },
+ "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."
+ },
+ "StudyNewRequest" : {
+ "required" : [
+ "studyDbId",
+ "studyDbId",
+ "studyName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "active" : {
+ "type" : "boolean"
+ },
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "commonCropName" : {
+ "type" : "string"
+ },
+ "contactDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "culturalPractices" : {
+ "type" : "string"
+ },
+ "documentationURL" : {
+ "type" : "string"
+ },
+ "endDate" : {
+ "type" : "string"
+ },
+ "experimentalDesign" : {
+ "$ref" : "#/components/schemas/ExperimentalDesign"
+ },
+ "growthFacility" : {
+ "$ref" : "#/components/schemas/GrowthFacility"
+ },
+ "lastUpdateDbId" : {
+ "type" : "string"
+ },
+ "license" : {
+ "type" : "string"
+ },
+ "locationDbId" : {
+ "type" : "string"
+ },
+ "locationName" : {
+ "type" : "string"
+ },
+ "observationLevelDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "observationUnitsDescription" : {
+ "type" : "string"
+ },
+ "observationVariableDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "startDate" : {
+ "type" : "string"
+ },
+ "studyCode" : {
+ "type" : "string"
+ },
+ "studyDbId" : {
+ "type" : "string"
+ },
+ "studyDescription" : {
+ "type" : "string"
+ },
+ "studyName" : {
+ "type" : "string"
+ },
+ "studyPUI" : {
+ "type" : "string"
+ },
+ "studyType" : {
+ "type" : "string"
+ },
+ "trialDbId" : {
+ "type" : "string"
+ },
+ "trialName" : {
+ "type" : "string"
+ },
+ "trialPUI" : {
+ "type" : "string"
+ }
+ },
+ "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."
+ },
+ "StudySearchRequest" : {
+ "type" : "object",
+ "properties" : {
+ "active" : {
+ "type" : "boolean"
+ }
+ },
+ "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."
+ },
+ "Synonym" : {
+ "type" : "object",
+ "properties" : {
+ "germplasmDbId" : {
+ "type" : "string"
+ },
+ "germplasmName" : {
+ "type" : "string"
+ },
+ "germplasmPUI" : {
+ "type" : "string"
+ },
+ "synonym" : {
+ "type" : "string"
+ },
+ "type" : {
+ "type" : "string"
+ }
+ },
+ "description" : "Alternative names or IDs used to reference this germplasm"
+ },
+ "TaxonId" : {
+ "required" : [
+ "sourceName",
+ "taxonId"
+ ],
+ "type" : "object",
+ "properties" : {
+ "germplasmDbId" : {
+ "type" : "string"
+ },
+ "germplasmName" : {
+ "type" : "string"
+ },
+ "germplasmPUI" : {
+ "type" : "string"
+ },
+ "sourceName" : {
+ "type" : "string"
+ },
+ "taxonId" : {
+ "type" : "string"
+ }
+ },
+ "description" : "The list of IDs for this SPECIES from different sources. If present, NCBI Taxon should be always listed as \"ncbiTaxon\" preferably with a purl. The rank of this ID should be species. \n\nMIAPPE V1.1 (DM-42) Organism - An identifier for the organism at the species level. Use of the NCBI taxon ID is recommended."
+ },
+ "Trait" : {
+ "required" : [
+ "traitDbId",
+ "traitName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "attribute" : {
+ "type" : "string"
+ },
+ "attributePUI" : {
+ "type" : "string"
+ },
+ "entity" : {
+ "type" : "string"
+ },
+ "entityPUI" : {
+ "type" : "string"
+ },
+ "mainAbbreviation" : {
+ "type" : "string"
+ },
+ "ontologyReferenceDbId" : {
+ "type" : "string"
+ },
+ "status" : {
+ "type" : "string"
+ },
+ "traitClass" : {
+ "type" : "string"
+ },
+ "traitDescription" : {
+ "type" : "string"
+ },
+ "traitName" : {
+ "type" : "string"
+ },
+ "traitPUI" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A Trait describes what property is being observed. \n
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\". "
+ },
+ "TraitDataType" : {
+ "type" : "string",
+ "description" : "Class of the scale, entries can be
\n\"Code\" - This scale class is exceptionally used to express complex traits. Code is a nominal scale that combines the expressions of the different traits composing the complex trait. For example a severity trait might be expressed by a 2 digit and 2 character code. The first 2 digits are the percentage of the plant covered by a fungus and the 2 characters refer to the delay in development, e.g. \"75VD\" means \"75 %\" of the plant is infected and the plant is very delayed.
\n\"Date\" - The date class is for events expressed in a time format, See ISO 8601
\n\"Duration\" - The Duration class is for time elapsed between two events expressed in a time format, e.g. days, hours, months
\n\"Nominal\" - Categorical scale that can take one of a limited and fixed number of categories. There is no intrinsic ordering to the categories
\n\"Numerical\" - Numerical scales express the trait with real numbers. The numerical scale defines the unit e.g. centimeter, ton per hectare, branches
\n\"Ordinal\" - Ordinal scales are scales composed of ordered categories
\n\"Text\" - A free text is used to express the trait.
",
+ "enum" : [
+ "Code",
+ "Date",
+ "Duration",
+ "Nominal",
+ "Numerical",
+ "Ordinal",
+ "Text"
+ ]
+ },
+ "TraitNewRequest" : {
+ "required" : [
+ "traitDbId",
+ "traitName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "attribute" : {
+ "type" : "string"
+ },
+ "attributePUI" : {
+ "type" : "string"
+ },
+ "entity" : {
+ "type" : "string"
+ },
+ "entityPUI" : {
+ "type" : "string"
+ },
+ "mainAbbreviation" : {
+ "type" : "string"
+ },
+ "ontologyReferenceDbId" : {
+ "type" : "string"
+ },
+ "status" : {
+ "type" : "string"
+ },
+ "traitClass" : {
+ "type" : "string"
+ },
+ "traitDbId" : {
+ "type" : "string"
+ },
+ "traitDescription" : {
+ "type" : "string"
+ },
+ "traitName" : {
+ "type" : "string"
+ },
+ "traitPUI" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A Trait describes what property is being observed. \n
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\". "
+ },
+ "Trial" : {
+ "required" : [
+ "trialDbId",
+ "trialName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "active" : {
+ "type" : "boolean"
+ },
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "commonCropName" : {
+ "type" : "string"
+ },
+ "contacts" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/Contact"
+ }
+ },
+ "documentationURL" : {
+ "type" : "string"
+ },
+ "endDate" : {
+ "type" : "string"
+ },
+ "programDbId" : {
+ "type" : "string"
+ },
+ "programName" : {
+ "type" : "string"
+ },
+ "startDate" : {
+ "type" : "string"
+ },
+ "studyDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "trialDescription" : {
+ "type" : "string"
+ },
+ "trialName" : {
+ "type" : "string"
+ },
+ "trialPUI" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A Trial represents a collection of Study objects, and the metadata associated with that collection. A Trial could represent a multi-location experiment, and could contain information related to publications and data licensing."
+ },
+ "TrialNewRequest" : {
+ "required" : [
+ "trialDbId",
+ "trialDbId",
+ "trialName"
+ ],
+ "type" : "object",
+ "properties" : {
+ "active" : {
+ "type" : "boolean"
+ },
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "commonCropName" : {
+ "type" : "string"
+ },
+ "contacts" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/Contact"
+ }
+ },
+ "documentationURL" : {
+ "type" : "string"
+ },
+ "endDate" : {
+ "type" : "string"
+ },
+ "programDbId" : {
+ "type" : "string"
+ },
+ "programName" : {
+ "type" : "string"
+ },
+ "startDate" : {
+ "type" : "string"
+ },
+ "studyDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "trialDbId" : {
+ "type" : "string"
+ },
+ "trialDescription" : {
+ "type" : "string"
+ },
+ "trialName" : {
+ "type" : "string"
+ },
+ "trialPUI" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A Trial represents a collection of Study objects, and the metadata associated with that collection. A Trial could represent a multi-location experiment, and could contain information related to publications and data licensing."
+ },
+ "TrialSearchRequest" : {
+ "type" : "object",
+ "properties" : {
+ "active" : {
+ "type" : "boolean"
+ },
+ "searchDateRangeEnd" : {
+ "type" : "string"
+ },
+ "searchDateRangeStart" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A Trial represents a collection of Study objects, and the metadata associated with that collection. A Trial could represent a multi-location experiment, and could contain information related to publications and data licensing."
+ },
+ "ValidValues" : {
+ "type" : "object",
+ "properties" : {
+ "maximumValue" : {
+ "type" : "string"
+ },
+ "minimumValue" : {
+ "type" : "string"
+ },
+ "scaleDbId" : {
+ "type" : "string"
+ },
+ "scaleName" : {
+ "type" : "string"
+ },
+ "scalePUI" : {
+ "type" : "string"
+ }
+ },
+ "description" : "Metadata describing the acceptable values for this Scale"
+ },
+ "ValidValuesCategory" : {
+ "type" : "object",
+ "properties" : {
+ "label" : {
+ "type" : "string"
+ },
+ "validValues" : {
+ "$ref" : "#/components/schemas/ValidValues"
+ },
+ "value" : {
+ "type" : "string"
+ }
+ },
+ "description" : "If the Scale is a categorical type, these objects define the valid options"
+ },
+ "Variable" : {
+ "required" : [
+ "method",
+ "scale",
+ "trait"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "commonCropName" : {
+ "type" : "string"
+ },
+ "contextOfUse" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "defaultValue" : {
+ "type" : "string"
+ },
+ "documentationURL" : {
+ "type" : "string"
+ },
+ "growthStage" : {
+ "type" : "string"
+ },
+ "institution" : {
+ "type" : "string"
+ },
+ "language" : {
+ "type" : "string"
+ },
+ "method" : {
+ "$ref" : "#/components/schemas/Method"
+ },
+ "ontologyReference" : {
+ "$ref" : "#/components/schemas/OntologyReference"
+ },
+ "scale" : {
+ "$ref" : "#/components/schemas/Scale"
+ },
+ "scientist" : {
+ "type" : "string"
+ },
+ "status" : {
+ "type" : "string"
+ },
+ "submissionTimestamp" : {
+ "type" : "string"
+ },
+ "synonyms" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "trait" : {
+ "$ref" : "#/components/schemas/Trait"
+ }
+ },
+ "description" : "A unique combination of Trait, Method, and Scale to define a clear context for an Observation."
+ },
+ "Variant" : {
+ "required" : [
+ "variantDbId"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "created" : {
+ "type" : "string"
+ },
+ "end" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "filtersApplied" : {
+ "type" : "boolean"
+ },
+ "filtersPassed" : {
+ "type" : "boolean"
+ },
+ "referenceBases" : {
+ "type" : "string"
+ },
+ "referenceDbId" : {
+ "type" : "string"
+ },
+ "referenceName" : {
+ "type" : "string"
+ },
+ "referenceSetDbId" : {
+ "type" : "string"
+ },
+ "referenceSetName" : {
+ "type" : "string"
+ },
+ "start" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "svlen" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "updated" : {
+ "type" : "string"
+ },
+ "variantDbId" : {
+ "type" : "string"
+ },
+ "variantSetDbId" : {
+ "type" : "string"
+ },
+ "variantSetName" : {
+ "type" : "string"
+ },
+ "variantType" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A `Variant` represents a change in DNA sequence relative to some reference. For example, a variant could represent a classic marker, a SNP, or an insertion. This is equivalent to a row in VCF."
+ },
+ "VariantSearchRequest" : {
+ "type" : "object",
+ "properties" : {
+ "end" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "referenceDbId" : {
+ "type" : "string"
+ },
+ "start" : {
+ "type" : "integer",
+ "format" : "int32"
+ }
+ },
+ "description" : "A `Variant` represents a change in DNA sequence relative to some reference. For example, a variant could represent a classic marker, a SNP, or an insertion. This is equivalent to a row in VCF."
+ },
+ "VariantSet" : {
+ "required" : [
+ "variantSetDbId"
+ ],
+ "type" : "object",
+ "properties" : {
+ "additionalInfo" : {
+ "$ref" : "#/components/schemas/AdditionalInfo"
+ },
+ "analysiDbIds" : {
+ "type" : "array",
+ "items" : {
+ "type" : "string"
+ }
+ },
+ "callSetCount" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "referenceSetDbId" : {
+ "type" : "string"
+ },
+ "referenceSetName" : {
+ "type" : "string"
+ },
+ "studyDbId" : {
+ "type" : "string"
+ },
+ "studyName" : {
+ "type" : "string"
+ },
+ "studyPUI" : {
+ "type" : "string"
+ },
+ "variantCount" : {
+ "type" : "integer",
+ "format" : "int32"
+ },
+ "variantSetDbId" : {
+ "type" : "string"
+ },
+ "variantSetName" : {
+ "type" : "string"
+ }
+ },
+ "description" : "A VariantSet is a collection of variants and variant calls intended to be analyzed together."
+ },
+ "VariantSetSearchRequest" : {
+ "type" : "object",
+ "properties" : { },
+ "description" : "A VariantSet is a collection of variants and variant calls intended to be analyzed together."
+ },
+ "basePagination" : {
+ "required" : [
+ "currentPage",
+ "pageSize"
+ ],
+ "type" : "object",
+ "properties" : {
+ "currentPage" : {
+ "type" : "integer",
+ "description" : "The index number for the returned page of data. This should always match the requested page number or the default page (0).",
+ "example" : 0,
+ "default" : 0
+ },
+ "pageSize" : {
+ "type" : "integer",
+ "description" : "The number of data elements returned, aka the size of the current page. If the requested page does not have enough elements to fill a page at the requested page size, this field should indicate the actual number of elements returned.",
+ "example" : 1000,
+ "default" : 1000
+ },
+ "totalCount" : {
+ "type" : "integer",
+ "description" : "The total number of elements that are available on the server and match the requested query parameters.",
+ "example" : 10
+ },
+ "totalPages" : {
+ "type" : "integer",
+ "description" : "The total number of pages of elements available on the server. This should be calculated with the following formula. \n
totalPages = CEILING( totalCount / requested_page_size)",
+ "example" : 1
+ }
+ },
+ "description" : "The pagination object is applicable only when the payload contains a \"data\" key. It describes the pagination of the data contained in the \"data\" array, as a way to identify which subset of data is being returned. \n
Pages are zero indexed, so the first page will be page 0 (zero)."
+ },
+ "dataFile" : {
+ "required" : [
+ "fileURL"
+ ],
+ "type" : "object",
+ "properties" : {
+ "fileURL" : {
+ "type" : "string",
+ "description" : "The absolute URL where the file is located",
+ "format" : "uri",
+ "example" : "https://wiki.brapi.org/examples/datafile.xlsx"
+ },
+ "fileName" : {
+ "type" : "string",
+ "description" : "The name of the file",
+ "example" : "datafile.xlsx"
+ },
+ "fileSize" : {
+ "type" : "integer",
+ "description" : "The size of the file in bytes",
+ "example" : 4398
+ },
+ "fileDescription" : {
+ "type" : "string",
+ "description" : "A human readable description of the file contents",
+ "example" : "This is an Excel data file"
+ },
+ "fileType" : {
+ "type" : "string",
+ "description" : "The type or format of the file. Preferably MIME Type.",
+ "example" : "application/vnd.ms-excel"
+ },
+ "fileMD5Hash" : {
+ "type" : "string",
+ "description" : "The MD5 Hash of the file contents to be used as a check sum",
+ "example" : "c2365e900c81a89cf74d83dab60df146"
+ }
+ },
+ "description" : "A dataFile contains a URL and the relevant file metadata to represent a file"
+ },
+ "metadata" : {
+ "allOf" : [
+ {
+ "$ref" : "#/components/schemas/metadataBase"
+ },
+ {
+ "type" : "object",
+ "properties" : {
+ "pagination" : {
+ "$ref" : "#/components/schemas/basePagination"
+ }
+ }
+ }
+ ]
+ },
+ "metadataBase" : {
+ "type" : "object",
+ "properties" : {
+ "datafiles" : {
+ "type" : "array",
+ "description" : "The datafiles contains a list of file URLs and metadata. \nThese files contain additional information related to the returned object and can be retrieved by a subsequent call. \nThis could be a supplementary data file, an informational file, the uploaded file where the data originated from, a generated file representing the whole dataset in a particular format, or any other related file. ",
+ "example" : [ ],
+ "items" : {
+ "$ref" : "#/components/schemas/dataFile"
+ }
+ },
+ "status" : {
+ "type" : "array",
+ "description" : "The status field contains a list of informational status messages from the server. \nIf no status is reported, an empty list should be returned. See Error Reporting for more information.",
+ "items" : {
+ "$ref" : "#/components/schemas/status"
+ }
+ }
+ },
+ "description" : "An object in the BrAPI standard response model that describes some information about the service call being performed. This includes supplementary data, status log messages, and pagination information."
+ },
+ "metadataTokenPagination" : {
+ "allOf" : [
+ {
+ "$ref" : "#/components/schemas/metadataBase"
+ },
+ {
+ "type" : "object",
+ "properties" : {
+ "pagination" : {
+ "$ref" : "#/components/schemas/tokenPagination"
+ }
+ }
+ }
+ ]
+ },
+ "status" : {
+ "required" : [
+ "message",
+ "messageType"
+ ],
+ "type" : "object",
+ "properties" : {
+ "message" : {
+ "type" : "string",
+ "description" : "A short message concerning the status of this request/response",
+ "example" : "Request accepted, response successful"
+ },
+ "messageType" : {
+ "type" : "string",
+ "description" : "The logging level for the attached message",
+ "example" : "INFO",
+ "enum" : [
+ "DEBUG",
+ "ERROR",
+ "WARNING",
+ "INFO"
+ ]
+ }
+ },
+ "description" : "An array of status messages to convey technical logging information from the server to the client."
+ },
+ "tokenPagination" : {
+ "allOf" : [
+ {
+ "$ref" : "#/components/schemas/basePagination"
+ },
+ {
+ "required" : [
+ "nextPageToken"
+ ],
+ "type" : "object",
+ "properties" : {
+ "nextPageToken" : {
+ "type" : "string",
+ "description" : "**Deprecated in v2.1** Please use `page`. Github issue number #451 \n
The string token used to query the next page of data.",
+ "example" : "cb668f63",
+ "deprecated" : true
+ },
+ "currentPageToken" : {
+ "type" : "string",
+ "description" : "**Deprecated in v2.1** Please use `page`. Github issue number #451 \n
The string token used to query the current page of data.",
+ "example" : "48bc6ac1",
+ "deprecated" : true
+ },
+ "prevPageToken" : {
+ "type" : "string",
+ "description" : "**Deprecated in v2.1** Please use `page`. Github issue number #451 \n
The string token used to query the previous page of data.",
+ "example" : "9659857e",
+ "deprecated" : true
+ }
+ },
+ "description" : "**Deprecated in v2.1** Please use `page`. Github issue number #451 \n
The pagination object is applicable only when the payload contains a \"data\" key. It describes the pagination of the data contained in the \"data\" array, as a way to identify which subset of data is being returned. \n
Tokenized pages are for large data sets which can not be efficiently broken into indexed pages. Use the nextPageToken and prevPageToken to construct an additional query and move to the next or previous page respectively. ",
+ "example" : {
+ "currentPage" : 0,
+ "pageSize" : 1000,
+ "totalCount" : 10,
+ "totalPages" : 1
+ }
+ }
+ ]
+ }
},
- "example" : "Bearer XXXX"
- },
- "pageToken" : {
- "name" : "pageToken",
- "in" : "query",
- "description" : "**Deprecated in v2.1** Please use `page`. Github issue number #451 \n
Used to request a specific page of data to be returned.\n
Tokenized pages are for large data sets which can not be efficiently broken into indexed pages. Use the nextPageToken and prevPageToken from a prior response to construct a query and move to the next or previous page respectively. ",
- "required" : false,
- "deprecated" : true,
- "style" : "form",
- "explode" : true,
- "schema" : {
- "type" : "string"
+ "responses" : {
+ "ObservationVariableSingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "ObservationVariableSingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/ObservationVariable"
+ }
+ }
+ }
+ }
+ }
+ },
+ "SeedLotSingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "SeedLotSingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/SeedLot"
+ }
+ }
+ }
+ }
+ }
+ },
+ "VariantSingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "VariantSingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/Variant"
+ }
+ }
+ }
+ }
+ }
+ },
+ "202AcceptedSearchResponse" : {
+ "description" : "Accepted",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "202AcceptedSearchResponse",
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "type" : "object",
+ "properties" : {
+ "searchResultsDbId" : {
+ "type" : "string",
+ "example" : "551ae08c"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "StudySingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "StudySingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/Study"
+ }
+ }
+ }
+ }
+ }
+ },
+ "MarkerPositionListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "MarkerPositionListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/MarkerPosition"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "TrialListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "TrialListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/Trial"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "MethodSingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "MethodSingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/Method"
+ }
+ }
+ }
+ }
+ }
+ },
+ "SeedLotListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "SeedLotListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/SeedLot"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "VariantSetListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "VariantSetListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/VariantSet"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "SampleSingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "SampleSingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/Sample"
+ }
+ }
+ }
+ }
+ }
+ },
+ "CallSetListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "CallSetListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/CallSet"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "CallSetSingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "CallSetSingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/CallSet"
+ }
+ }
+ }
+ }
+ }
+ },
+ "VariantSetSingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "VariantSetSingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/VariantSet"
+ }
+ }
+ }
+ }
+ }
+ },
+ "ObservationVariableListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "ObservationVariableListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/ObservationVariable"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "ReferenceSetSingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "ReferenceSetSingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/ReferenceSet"
+ }
+ }
+ }
+ }
+ }
+ },
+ "CrossListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "CrossListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/Cross"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "ImageSingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "ImageSingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/Image"
+ }
+ }
+ }
+ }
+ }
+ },
+ "PlateListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "PlateListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/Plate"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "SeasonListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "SeasonListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/Season"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "ObservationUnitListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "ObservationUnitListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/ObservationUnit"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "ReferenceListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "ReferenceListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/Reference"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "ObservationListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "ObservationListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/Observation"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "AlleleMatrixListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "AlleleMatrixListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/AlleleMatrix"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "GenomeMapSingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "GenomeMapSingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/GenomeMap"
+ }
+ }
+ }
+ }
+ }
+ },
+ "PersonListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "PersonListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/Person"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "PlannedCrossListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "PlannedCrossListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/PlannedCross"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "LocationListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "LocationListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/Location"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "403Forbidden" : {
+ "description" : "Forbidden",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "string"
+ },
+ "example" : "ERROR - 2018-10-08T18:15:11Z - User does not have permission to perform this action"
+ }
+ }
+ },
+ "OntologySingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "OntologySingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/Ontology"
+ }
+ }
+ }
+ }
+ }
+ },
+ "ProgramListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "ProgramListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/Program"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "ObservationUnitSingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "ObservationUnitSingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/ObservationUnit"
+ }
+ }
+ }
+ }
+ }
+ },
+ "ScaleListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "ScaleListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/Scale"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "ListListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "ListListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/List"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "400BadRequest" : {
+ "description" : "Bad Request",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "string"
+ },
+ "example" : "ERROR - 2018-10-08T18:15:11Z - Malformed JSON Request Object\n\nERROR - 2018-10-08T18:15:11Z - Invalid query parameter\n\nERROR - 2018-10-08T18:15:11Z - Required parameter is missing"
+ }
+ }
+ },
+ "MethodListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "MethodListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/Method"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "CrossingProjectListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "CrossingProjectListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/CrossingProject"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "GermplasmAttributeSingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "GermplasmAttributeSingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/GermplasmAttribute"
+ }
+ }
+ }
+ }
+ }
+ },
+ "TraitSingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "TraitSingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/Trait"
+ }
+ }
+ }
+ }
+ }
+ },
+ "401Unauthorized" : {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "string"
+ },
+ "example" : "ERROR - 2018-10-08T18:15:11Z - Missing or expired authorization token"
+ }
+ }
+ },
+ "GermplasmAttributeListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "GermplasmAttributeListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/GermplasmAttribute"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "GermplasmListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "GermplasmListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/Germplasm"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "EventListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "EventListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/Event"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "CrossingProjectSingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "CrossingProjectSingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/CrossingProject"
+ }
+ }
+ }
+ }
+ }
+ },
+ "TraitListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "TraitListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/Trait"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "SampleListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "SampleListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/Sample"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "ReferenceSetListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "ReferenceSetListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/ReferenceSet"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "TrialSingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "TrialSingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/Trial"
+ }
+ }
+ }
+ }
+ }
+ },
+ "GermplasmSingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "GermplasmSingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/Germplasm"
+ }
+ }
+ }
+ }
+ }
+ },
+ "OntologyListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "OntologyListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/Ontology"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "ReferenceSingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "ReferenceSingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/Reference"
+ }
+ }
+ }
+ }
+ }
+ },
+ "SeasonSingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "SeasonSingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/Season"
+ }
+ }
+ }
+ }
+ }
+ },
+ "404NotFound" : {
+ "description" : "Not Found",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "string"
+ },
+ "example" : "ERROR - 2018-10-08T18:15:11Z - The requested object DbId is not found"
+ }
+ }
+ },
+ "StudyListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "StudyListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/Study"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "ScaleSingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "ScaleSingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/Scale"
+ }
+ }
+ }
+ }
+ }
+ },
+ "CallListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "CallListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/Call"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "BreedingMethodSingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "BreedingMethodSingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/BreedingMethod"
+ }
+ }
+ }
+ }
+ }
+ },
+ "LocationSingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "LocationSingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/Location"
+ }
+ }
+ }
+ }
+ }
+ },
+ "PersonSingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "PersonSingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/Person"
+ }
+ }
+ }
+ }
+ }
+ },
+ "ImageListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "ImageListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/Image"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "VariantListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "VariantListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/Variant"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "PlateSingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "PlateSingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/Plate"
+ }
+ }
+ }
+ }
+ }
+ },
+ "GermplasmAttributeValueListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "GermplasmAttributeValueListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/GermplasmAttributeValue"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "BreedingMethodListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "BreedingMethodListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/BreedingMethod"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "GermplasmAttributeValueSingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "GermplasmAttributeValueSingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/GermplasmAttributeValue"
+ }
+ }
+ }
+ }
+ }
+ },
+ "GenomeMapListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "GenomeMapListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/GenomeMap"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "PedigreeNodeListResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "PedigreeNodeListResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "required" : [
+ "data"
+ ],
+ "type" : "object",
+ "properties" : {
+ "data" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/PedigreeNode"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "ObservationSingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "ObservationSingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/Observation"
+ }
+ }
+ }
+ }
+ }
+ },
+ "ListSingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "ListSingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/List"
+ }
+ }
+ }
+ }
+ }
+ },
+ "ProgramSingleResponse" : {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "title" : "ProgramSingleResponse",
+ "required" : [
+ "metadata",
+ "result"
+ ],
+ "type" : "object",
+ "properties" : {
+ "@context" : {
+ "$ref" : "#/components/schemas/Context"
+ },
+ "metadata" : {
+ "$ref" : "#/components/schemas/metadata"
+ },
+ "result" : {
+ "$ref" : "#/components/schemas/Program"
+ }
+ }
+ }
+ }
+ }
+ }
},
- "example" : "33c27874"
- },
- "page" : {
- "name" : "page",
- "in" : "query",
- "description" : "Used to request a specific page of data to be returned.\n\nThe page indexing starts at 0 (the first page is 'page'= 0). Default is `0`.",
- "required" : false,
- "style" : "form",
- "explode" : true,
- "schema" : {
- "type" : "integer"
+ "parameters" : {
+ "externalReferenceID" : {
+ "name" : "externalReferenceID",
+ "in" : "query",
+ "description" : "**Deprecated in v2.1** Please use `externalReferenceId`. Github issue number #460 \n
An external reference ID. Could be a simple string or a URI. (use with `externalReferenceSource` parameter)",
+ "required" : false,
+ "deprecated" : true,
+ "style" : "form",
+ "explode" : true,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ "externalReferenceId" : {
+ "name" : "externalReferenceId",
+ "in" : "query",
+ "description" : "An external reference ID. Could be a simple string or a URI. (use with `externalReferenceSource` parameter)",
+ "required" : false,
+ "style" : "form",
+ "explode" : true,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ "externalReferenceSource" : {
+ "name" : "externalReferenceSource",
+ "in" : "query",
+ "description" : "An identifier for the source system or database of an external reference (use with `externalReferenceId` parameter)",
+ "required" : false,
+ "style" : "form",
+ "explode" : true,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ "acceptHeader" : {
+ "name" : "Accept",
+ "in" : "header",
+ "description" : "A standard HTTP request header that is used to request a specific content type (JSON, CSV, etc) which is \"acceptable\" to the client and should be returned by the server",
+ "required" : true,
+ "style" : "simple",
+ "explode" : false,
+ "schema" : {
+ "$ref" : "#/components/schemas/ContentTypes"
+ },
+ "example" : "application/json"
+ },
+ "searchResultsDbId" : {
+ "name" : "searchResultsDbId",
+ "in" : "path",
+ "description" : "Unique identifier which references the search results",
+ "required" : true,
+ "style" : "simple",
+ "explode" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ },
+ "pageSize" : {
+ "name" : "pageSize",
+ "in" : "query",
+ "description" : "The size of the pages to be returned. Default is `1000`.",
+ "required" : false,
+ "style" : "form",
+ "explode" : true,
+ "schema" : {
+ "type" : "integer"
+ },
+ "example" : 1000
+ },
+ "page" : {
+ "name" : "page",
+ "in" : "query",
+ "description" : "Used to request a specific page of data to be returned.\n\nThe page indexing starts at 0 (the first page is 'page'= 0). Default is `0`.",
+ "required" : false,
+ "style" : "form",
+ "explode" : true,
+ "schema" : {
+ "type" : "integer"
+ },
+ "example" : "0"
+ },
+ "pageToken" : {
+ "name" : "pageToken",
+ "in" : "query",
+ "description" : "**Deprecated in v2.1** Please use `page`. Github issue number #451 \n
Used to request a specific page of data to be returned.\n
Tokenized pages are for large data sets which can not be efficiently broken into indexed pages. Use the nextPageToken and prevPageToken from a prior response to construct a query and move to the next or previous page respectively. ",
+ "required" : false,
+ "deprecated" : true,
+ "style" : "form",
+ "explode" : true,
+ "schema" : {
+ "type" : "string"
+ },
+ "example" : "33c27874"
+ },
+ "authorizationHeader" : {
+ "name" : "Authorization",
+ "in" : "header",
+ "description" : "HTTP HEADER - Token used for Authorization \n\n Bearer {token_string} ",
+ "required" : false,
+ "style" : "simple",
+ "explode" : false,
+ "schema" : {
+ "pattern" : "^Bearer .*$",
+ "type" : "string"
+ },
+ "example" : "Bearer XXXX"
+ }
},
- "example" : "0"
- }
- },
- "securitySchemes" : {
- "AuthorizationToken" : {
- "type" : "http",
- "description" : "OAuth Bearer Token - A valid Bearer token to prove authorization",
- "scheme" : "bearer",
- "bearerFormat" : "nonce token or JWT"
- }
+ "securitySchemes" : {
+ "AuthorizationToken" : {
+ "type" : "http",
+ "description" : "OAuth Bearer Token - A valid Bearer token to prove authorization",
+ "scheme" : "bearer",
+ "bearerFormat" : "nonce token or JWT"
+ }
+ }
}
- }
}
\ No newline at end of file
diff --git a/Specification/Generated/brapi_generated.ttl b/Specification/Generated/brapi_generated.ttl
index 52ef746e..2342ca0d 100644
--- a/Specification/Generated/brapi_generated.ttl
+++ b/Specification/Generated/brapi_generated.ttl
@@ -18,8 +18,9 @@ PREFIX xsd:
rdfs:range xsd:string .
- rdf:type owl:Class;
- rdfs:label "GermplasmChild"@en .
+ rdf:type owl:Class;
+ rdfs:comment "A germplasm reference that is a direct child of this germplasm. These represent edges in the tree, connecting to other nodes."@en;
+ rdfs:label "GermplasmChild"@en .
rdf:type owl:NamedIndividual , .
@@ -74,8 +75,9 @@ PREFIX xsd:
rdfs:range .
- rdf:type owl:Class;
- rdfs:label "ValidValues"@en .
+ rdf:type owl:Class;
+ rdfs:comment "Metadata describing the acceptable values for this Scale"@en;
+ rdfs:label "ValidValues"@en .
rdf:type owl:DatatypeProperty;
@@ -84,10 +86,6 @@ PREFIX xsd:
rdfs:label "synonyms"@en;
rdfs:range xsd:string .
-[ rdf:type owl:Class;
- owl:oneOf ( )
-] .
-
rdf:type owl:ObjectProperty;
rdfs:comment "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."@en;
@@ -104,7 +102,7 @@ PREFIX xsd:
rdf:type owl:ObjectProperty;
- rdfs:comment "donoers associated with a germplasm"@en;
+ rdfs:comment "donors associated with a germplasm"@en;
rdfs:domain ;
rdfs:label "germplasm"@en;
rdfs:range .
@@ -116,11 +114,6 @@ PREFIX xsd:
rdfs:label "defaultValue"@en;
rdfs:range xsd:string .
-
- rdf:type owl:Class;
- rdfs:comment "The type of positional coordinate used. Must be one of the following values \n\nLONGITUDE - ISO 6709 standard, WGS84 geodetic datum. See 'Location Coordinate Encoding' for details \n\nLATITUDE - ISO 6709 standard, WGS84 geodetic datum. See 'Location Coordinate Encoding' for details \n\nPLANTED_ROW - The physical planted row number \n\nPLANTED_INDIVIDUAL - The physical counted number, could be independent or within a planted row \n\nGRID_ROW - The row index number of a square grid overlay \n\nGRID_COL - The column index number of a square grid overlay \n\nMEASURED_ROW - The distance in meters from a defined 0-th row \n\nMEASURED_COL - The distance in meters from a defined 0-th column "@en;
- rdfs:label "PositionCoordinateYType"@en .
-
rdf:type owl:ObjectProperty;
rdfs:comment "The ID which uniquely identifies a `GenomeMap`"@en;
@@ -142,12 +135,9 @@ PREFIX xsd:
rdfs:label "analysis"@en;
rdfs:range xsd:string .
-
- rdf:type owl:ObjectProperty;
- rdfs:comment "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."@en;
- rdfs:domain ;
- rdfs:label "additionalInfo"@en;
- rdfs:range .
+[ rdf:type owl:Class;
+ owl:oneOf ( )
+] .
rdf:type owl:ObjectProperty;
@@ -156,6 +146,13 @@ PREFIX xsd:
rdfs:label "seedLot"@en;
rdfs:range .
+
+ rdf:type owl:ObjectProperty;
+ rdfs:comment "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."@en;
+ rdfs:domain ;
+ rdfs:label "additionalInfo"@en;
+ rdfs:range .
+
rdf:type owl:ObjectProperty;
rdfs:comment "The unique DbId of the breeding program this Seed Lot belongs to"@en;
@@ -236,10 +233,6 @@ PREFIX xsd:
rdfs:label "crossName"@en;
rdfs:range xsd:string .
-[ rdf:type owl:Class;
- owl:oneOf ( )
-] .
-
rdf:type owl:DatatypeProperty;
rdfs:comment "Method description\n
MIAPPE V1.1 (DM-90) Method description - Textual description of the method, which may extend a method defined in an external reference with specific parameters, e.g. growth stage, inoculation precise organ (leaf number)"@en;
@@ -247,8 +240,12 @@ PREFIX xsd:
rdfs:label "description"@en;
rdfs:range xsd:string .
-
- rdf:type owl:NamedIndividual , .
+
+ rdf:type owl:ObjectProperty;
+ rdfs:comment "samples"@en;
+ rdfs:domain ;
+ rdfs:label "samples"@en;
+ rdfs:range .
rdf:type owl:ObjectProperty;
@@ -257,12 +254,8 @@ PREFIX xsd:
rdfs:label "externalReferences"@en;
rdfs:range .
-
- rdf:type owl:ObjectProperty;
- rdfs:comment "The child germplasm"@en;
- rdfs:domain ;
- rdfs:label "childGermplasm"@en;
- rdfs:range .
+
+ rdf:type owl:NamedIndividual , .
rdf:type owl:DatatypeProperty;
@@ -272,15 +265,16 @@ PREFIX xsd:
rdfs:range xsd:string .
- rdf:type owl:Class;
- rdfs:label "DocumentationLink"@en .
+ rdf:type owl:Class;
+ rdfs:comment "Links to various ontology documentation"@en;
+ rdfs:label "DocumentationLink"@en .
-
+
rdf:type owl:ObjectProperty;
- rdfs:comment "samples"@en;
- rdfs:domain ;
- rdfs:label "samples"@en;
- rdfs:range .
+ rdfs:comment "The child germplasm"@en;
+ rdfs:domain ;
+ rdfs:label "childGermplasm"@en;
+ rdfs:range .
rdf:type owl:DatatypeProperty;
@@ -289,10 +283,6 @@ PREFIX xsd:
rdfs:label "takenBy"@en;
rdfs:range xsd:string .
-[ rdf:type owl:Class;
- owl:oneOf ( )
-] .
-
rdf:type owl:ObjectProperty;
rdfs:comment "A description of the way an Observation should be collected. \n
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\". "@en;
@@ -308,18 +298,19 @@ PREFIX xsd:
rdfs:range xsd:string .
- rdf:type owl:Class;
- rdfs:label "Publication"@en .
+ rdf:type owl:Class;
+ rdfs:comment "MIAPPE V1.1 (DM-9) Associated publication - An identifier for a literature publication where the investigation is described. Use of DOIs is recommended."@en;
+ rdfs:label "Publication"@en .
- rdf:type owl:Class;
- rdfs:label "Season"@en .
+ rdf:type owl:Class;
+ rdfs:comment "A Season defines a period in time. A Season is made of two parts; (1) the primary year and (2) a term which defines a segment of the year. This term could be a traditional season, like \"Spring\" or \"Summer\", or this term could be a month, like \"May\" or \"June\", or this could be an arbitrary season name which is meaningful to the breeding Program like \"PlantingTime_3\" or \"Season E\"."@en;
+ rdfs:label "Season"@en .
-
- rdf:type owl:DatatypeProperty;
- rdfs:domain ;
- rdfs:label "version"@en;
- rdfs:range xsd:string .
+
+ rdf:type owl:Class;
+ rdfs:comment "The type of documentation, which can be OBO Foundry, an RDF term or a webpage."@en;
+ rdfs:label "DocumentationLinkType"@en .
rdf:type owl:DatatypeProperty;
@@ -328,6 +319,13 @@ PREFIX xsd:
rdfs:label "transactionDescription"@en;
rdfs:range xsd:string .
+
+ rdf:type owl:DatatypeProperty;
+ rdfs:comment "The version of the update."@en;
+ rdfs:domain ;
+ rdfs:label "version"@en;
+ rdfs:range xsd:string .
+
rdf:type owl:DatatypeProperty;
rdfs:comment "A URL to the human readable documentation of an object"@en;
@@ -366,6 +364,13 @@ PREFIX xsd:
rdfs:label "attributePUI"@en;
rdfs:range xsd:string .
+
+ rdf:type owl:DatatypeProperty;
+ rdfs:comment "URI pointing to an ontology class for the unit"@en;
+ rdfs:domain ;
+ rdfs:label "unitPUI"@en;
+ rdfs:range xsd:string .
+
rdf:type owl:DatatypeProperty;
rdfs:comment "The total number of elements that are available on the server and match the requested query parameters."@en;
@@ -419,8 +424,9 @@ PREFIX xsd:
rdfs:range .
- rdf:type owl:Class;
- rdfs:label "GermplasmOrigin"@en .
+ rdf:type owl:Class;
+ rdfs:comment "Information for material (orchard, natural sites, ...). Geographic identification of the plants from which seeds or cutting have been taken to produce that germplasm."@en;
+ rdfs:label "GermplasmOrigin"@en .
rdf:type owl:ObjectProperty;
@@ -479,13 +485,6 @@ PREFIX xsd:
rdf:type owl:NamedIndividual , .
-
- rdf:type owl:ObjectProperty;
- rdfs:comment "The type of positional coordinate used. Must be one of the following values \n\nLONGITUDE - ISO 6709 standard, WGS84 geodetic datum. See 'Location Coordinate Encoding' for details \n\nLATITUDE - ISO 6709 standard, WGS84 geodetic datum. See 'Location Coordinate Encoding' for details \n\nPLANTED_ROW - The physical planted row number \n\nPLANTED_INDIVIDUAL - The physical counted number, could be independent or within a planted row \n\nGRID_ROW - The row index number of a square grid overlay \n\nGRID_COL - The column index number of a square grid overlay \n\nMEASURED_ROW - The distance in meters from a defined 0-th row \n\nMEASURED_COL - The distance in meters from a defined 0-th column "@en;
- rdfs:domain ;
- rdfs:label "positionCoordinateYType"@en;
- rdfs:range .
-
rdf:type owl:ObjectProperty;
rdfs:comment "A program identifier to search for"@en;
@@ -493,6 +492,13 @@ PREFIX xsd:
rdfs:label "program"@en;
rdfs:range .
+
+ rdf:type owl:ObjectProperty;
+ rdfs:comment "The type of positional coordinate used for the Y coordinate of the position."@en;
+ rdfs:domain ;
+ rdfs:label "positionCoordinateYType"@en;
+ rdfs:range .
+
rdf:type owl:DatatypeProperty;
rdfs:comment "The description of this study\n\nMIAPPE V1.1 (DM-13) Study description - Human-readable text describing the study"@en;
@@ -507,13 +513,6 @@ PREFIX xsd:
rdfs:label "crossAttributeValue"@en;
rdfs:range xsd:string .
-
- rdf:type owl:DatatypeProperty;
- rdfs:comment "Common name for the crop"@en;
- rdfs:domain ;
- rdfs:label "commonCropName"@en;
- rdfs:range xsd:string .
-
rdf:type owl:ObjectProperty;
rdfs:comment "the unique identifier for a program"@en;
@@ -521,6 +520,13 @@ PREFIX xsd:
rdfs:label "program"@en;
rdfs:range .
+
+ rdf:type owl:DatatypeProperty;
+ rdfs:comment "Common name for the crop"@en;
+ rdfs:domain ;
+ rdfs:label "commonCropName"@en;
+ rdfs:range xsd:string .
+
rdf:type owl:DatatypeProperty;
rdfs:comment "Growth stage at which measurement is made (examples: \"flowering\")"@en;
@@ -550,8 +556,9 @@ PREFIX xsd:
rdfs:range .
- rdf:type owl:Class;
- rdfs:label "CallSet"@en .
+ rdf:type owl:Class;
+ rdfs:comment "A CallSet is a collection of Calls that were generated by the same analysis of the same Sample"@en;
+ rdfs:label "CallSet"@en .
rdf:type owl:NamedIndividual , .
@@ -591,8 +598,9 @@ PREFIX xsd:
rdfs:range xsd:string .
- rdf:type owl:Class;
- rdfs:label "SeedLotTransaction"@en .
+ rdf:type owl:Class;
+ rdfs:comment "The record of an event where material was moved in or out of a particular SeedLot"@en;
+ rdfs:label "SeedLotTransaction"@en .
rdf:type owl:DatatypeProperty;
@@ -643,17 +651,19 @@ PREFIX xsd:
rdfs:range .
- rdf:type owl:Class;
- rdfs:label "AlleleMatrix"@en .
+ rdf:type owl:Class;
+ rdfs:comment "The AlleleMatrix object is used to describe a matrix of genotyping results. This 2d array of data reduces the overall size of the response for larger datasets, when compared to the Calls endpoints. This makes genotype data retrieval faster and easier."@en;
+ rdfs:label "AlleleMatrix"@en .
rdf:type , owl:NamedIndividual , .
- rdf:type owl:DatatypeProperty;
- rdfs:domain ;
- rdfs:label "additionalProperties"@en;
- rdfs:range xsd:string .
+ rdf:type owl:DatatypeProperty;
+ rdfs:comment "A free space containing any additional information related to a particular object."@en;
+ rdfs:domain ;
+ rdfs:label "additionalProperties"@en;
+ rdfs:range xsd:string .
rdf:type owl:ObjectProperty;
@@ -676,6 +686,13 @@ PREFIX xsd:
rdfs:label "programType"@en;
rdfs:range .
+
+ rdf:type owl:ObjectProperty;
+ rdfs:comment "Environment parameters associated with a study"@en;
+ rdfs:domain ;
+ rdfs:label "study"@en;
+ rdfs:range .
+
rdf:type owl:NamedIndividual , .
@@ -717,13 +734,6 @@ PREFIX xsd:
rdfs:label "crossType"@en;
rdfs:range .
-
- rdf:type owl:ObjectProperty;
- rdfs:comment "variants"@en;
- rdfs:domain ;
- rdfs:label "variants"@en;
- rdfs:range .
-
rdf:type owl:ObjectProperty;
rdfs:comment "the type of cross"@en;
@@ -731,6 +741,13 @@ PREFIX xsd:
rdfs:label "crossType"@en;
rdfs:range .
+
+ rdf:type owl:ObjectProperty;
+ rdfs:comment "variants"@en;
+ rdfs:domain ;
+ rdfs:label "variants"@en;
+ rdfs:range .
+
rdf:type owl:NamedIndividual , .
@@ -756,8 +773,9 @@ PREFIX xsd:
rdfs:range xsd:string .
- rdf:type owl:Class;
- rdfs:label "BreedingMethod"@en .
+ rdf:type owl:Class;
+ rdfs:comment "The techniques and protocol used to produce a Cross or Germplasm"@en;
+ rdfs:label "BreedingMethod"@en .
rdf:type owl:ObjectProperty;
@@ -767,8 +785,9 @@ PREFIX xsd:
rdfs:range .
- rdf:type owl:Class;
- rdfs:label "Observation"@en .
+ rdf:type owl:Class;
+ rdfs:comment "A value assigned for a specific ObservationVariable when observing a specific ObservationUnit."@en;
+ rdfs:label "Observation"@en .
rdf:type owl:DatatypeProperty;
@@ -848,14 +867,16 @@ PREFIX xsd:
rdfs:range xsd:string .
- rdf:type owl:Class;
- rdfs:label "GermplasmParent"@en .
+ rdf:type owl:Class;
+ rdfs:comment "A germplasm reference that is a direct parent of this germplasm. These represent edges in the tree, connecting to other nodes."@en;
+ rdfs:label "GermplasmParent"@en .
- rdf:type owl:DatatypeProperty;
- rdfs:domain ;
- rdfs:label "publicationReference"@en;
- rdfs:range xsd:string .
+ rdf:type owl:DatatypeProperty;
+ rdfs:comment "The publication reference."@en;
+ rdfs:domain ;
+ rdfs:label "publicationReference"@en;
+ rdfs:range xsd:string .
rdf:type owl:ObjectProperty;
@@ -864,10 +885,6 @@ PREFIX xsd:
rdfs:label "references"@en;
rdfs:range .
-[ rdf:type owl:Class;
- owl:oneOf ( )
-] .
-
rdf:type owl:DatatypeProperty;
rdfs:comment "The type of `Sample` taken. ex. 'DNA', 'RNA', 'Tissue', etc"@en;
@@ -883,8 +900,9 @@ PREFIX xsd:
rdfs:range .
- rdf:type owl:Class;
- rdfs:label "ObservationUnitPosition"@en .
+ rdf:type owl:Class;
+ rdfs:comment "All positional and layout information related to this Observation Unit"@en;
+ rdfs:label "ObservationUnitPosition"@en .
rdf:type owl:DatatypeProperty;
@@ -895,7 +913,7 @@ PREFIX xsd:
rdf:type owl:DatatypeProperty;
- rdfs:comment "The Permanent Unique Identifier which represents a germplasm\n\nMIAPPE V1.1 (DM-41) Biological material ID - Code used to identify the biological material in the data file. Should be unique within the Investigation. Can correspond to experimental plant ID, seed lot ID, etc This material identification is different from a BiosampleID which corresponds to Observation Unit or Samples sections below.\n\nMIAPPE V1.1 (DM-51) Material source DOI - Digital Object Identifier (DOI) of the material source\n\nMCPD (v2.1) (PUID) 0. Any persistent, unique identifier assigned to the accession so it can be unambiguously referenced at the global level and the information associated with it harvested through automated means. Report one PUID for each accession. The Secretariat of the International Treaty on Plant Genetic Resources for Food and Agriculture (PGRFA) is facilitating the assignment of a persistent unique identifier (PUID), in the form of a DOI, to PGRFA at the accession level. Genebanks not applying a true PUID to their accessions should use, and request recipients to use, the concatenation of INSTCODE, ACCENUMB, and GENUS as a globally unique identifier similar in most respects to the PUID whenever they exchange information on accessions with third parties."@en;
+ rdfs:comment "The Permanent Unique Identifier which represents a germplasm\n\nMIAPPE V1.1 (DM-41) Biological material ID - Code used to identify the biological material in the data file. Should be unique within the Investigation. Can correspond to experimental plant ID, inventory lot ID, etc This material identification is different from a BiosampleID which corresponds to Observation Unit or Samples sections below.\n\nMIAPPE V1.1 (DM-51) Material source DOI - Digital Object Identifier (DOI) of the material source\n\nMCPD (v2.1) (PUID) 0. Any persistent, unique identifier assigned to the accession so it can be unambiguously referenced at the global level and the information associated with it harvested through automated means. Report one PUID for each accession. The Secretariat of the International Treaty on Plant Genetic Resources for Food and Agriculture (PGRFA) is facilitating the assignment of a persistent unique identifier (PUID), in the form of a DOI, to PGRFA at the accession level. Genebanks not applying a true PUID to their accessions should use, and request recipients to use, the concatenation of INSTCODE, ACCENUMB, and GENUS as a globally unique identifier similar in most respects to the PUID whenever they exchange information on accessions with third parties."@en;
rdfs:domain ;
rdfs:label "germplasmPUI"@en;
rdfs:range xsd:string .
@@ -907,10 +925,6 @@ PREFIX xsd:
rdfs:label "additionalInfo"@en;
rdfs:range .
-[ rdf:type owl:Class;
- owl:oneOf ( )
-] .
-
rdf:type owl:ObjectProperty;
rdfs:comment "Enum for plate formats, usually \"PLATE_96\" for a 96 well plate or \"TUBES\" for plateless format"@en;
@@ -919,8 +933,9 @@ PREFIX xsd:
rdfs:range .
- rdf:type owl:Class;
- rdfs:label "GermplasmAttributeValue"@en .
+ rdf:type owl:Class;
+ rdfs:comment "The value recorded for a particular Trait/Attribute and a particular Germplasm. Similar to an Observation value, but more concrete, applying to the whole Germplasm instead of a single ObservationUnit."@en;
+ rdfs:label "GermplasmAttributeValue"@en .
rdf:type owl:ObjectProperty;
@@ -952,8 +967,9 @@ PREFIX xsd:
rdfs:range xsd:integer .
- rdf:type owl:Class;
- rdfs:label "Call"@en .
+ rdf:type owl:Class;
+ rdfs:comment "A `Call` represents the determination of genotype with respect to a particular `Variant`. \n\nIt may include associated information such as quality and phasing. For example, a call might assign a probability of 0.32 to the occurrence of a SNP named RS_1234 in a call set with the name NA_12345."@en;
+ rdfs:label "Call"@en .
rdf:type owl:DatatypeProperty;
@@ -962,13 +978,10 @@ PREFIX xsd:
rdfs:label "copyright"@en;
rdfs:range xsd:string .
-[ rdf:type owl:Class;
- owl:oneOf ( )
-] .
-
- rdf:type owl:Class;
- rdfs:label "Reference"@en .
+ rdf:type owl:Class;
+ rdfs:comment "A `Reference` is a canonical assembled contig, intended to act as a reference coordinate space for other genomic annotations. A single `Reference` might represent the human chromosome 1, for instance. `References` are designed to be immutable."@en;
+ rdfs:label "Reference"@en .
rdf:type owl:NamedIndividual , .
@@ -1035,12 +1048,14 @@ PREFIX xsd:
rdfs:range xsd:string .
- rdf:type owl:Class;
- rdfs:label "DatasetAuthorships"@en .
+ rdf:type owl:Class;
+ rdfs:comment "License and citation information for the data in this trial"@en;
+ rdfs:label "DatasetAuthorships"@en .
- rdf:type owl:Class;
- rdfs:label "Germplasm"@en .
+ rdf:type owl:Class;
+ rdfs:comment "The conceptual identifiers and metadata describing a genetically unique organism that is noteworthy in some way. Depending on context, a Germplasm might be synonymous with Accession, Line, or Genotype. Note that Germplasm is conceptual data, not necessarily associated to a real physical object, so Seed/Inventory Lots and Observation Units become physical instantiations of a particular Germplasm. Note a Germplasm is unique and noteworthy, so a Cross may or may not create a new Germplasm, since not every Cross is unique or noteworthy."@en;
+ rdfs:label "Germplasm"@en .
rdf:type owl:DatatypeProperty;
@@ -1057,7 +1072,7 @@ PREFIX xsd:
rdfs:range .
- rdf:type , owl:NamedIndividual , .
+ rdf:type owl:NamedIndividual , .
rdf:type owl:DatatypeProperty;
@@ -1074,8 +1089,9 @@ PREFIX xsd:
rdfs:range xsd:string .
- rdf:type owl:Class;
- rdfs:label "PedigreeNode"@en .
+ rdf:type owl:Class;
+ rdfs:comment "A representation of a particular Germplasm within a pedigree tree, and all the links to its parents, siblings, and children. From a list of PedigreeNode objects, a client application should have all the information it needs to draw a pedigree tree visualization, or calculate genetic distances."@en;
+ rdfs:label "PedigreeNode"@en .
rdf:type owl:DatatypeProperty;
@@ -1105,6 +1121,13 @@ PREFIX xsd:
rdfs:label "collector"@en;
rdfs:range xsd:string .
+
+ rdf:type owl:DatatypeProperty;
+ rdfs:comment "The name or id of the user who uploaded the observation to the database system"@en;
+ rdfs:domain ;
+ rdfs:label "uploadedBy"@en;
+ rdfs:range xsd:string .
+
rdf:type owl:DatatypeProperty;
rdfs:comment "The unique identifier for a `Reference`"@en;
@@ -1126,12 +1149,12 @@ PREFIX xsd:
rdfs:label "documentationURL"@en;
rdfs:range xsd:string .
-
- rdf:type owl:DatatypeProperty;
- rdfs:comment "The name or id of the user who uploaded the observation to the database system"@en;
- rdfs:domain ;
- rdfs:label "uploadedBy"@en;
- rdfs:range xsd:string .
+
+ rdf:type owl:ObjectProperty;
+ rdfs:comment "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."@en;
+ rdfs:domain ;
+ rdfs:label "additionalInfo"@en;
+ rdfs:range .
rdf:type owl:ObjectProperty;
@@ -1140,13 +1163,6 @@ PREFIX xsd:
rdfs:label "ontologyReference"@en;
rdfs:range .
-
- rdf:type owl:ObjectProperty;
- rdfs:comment "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."@en;
- rdfs:domain ;
- rdfs:label "additionalInfo"@en;
- rdfs:range .
-
rdf:type owl:ObjectProperty;
rdfs:comment "Genotype metadata associated with a call"@en;
@@ -1177,8 +1193,9 @@ PREFIX xsd:
rdfs:range xsd:string .
- rdf:type owl:Class;
- rdfs:label "Pagination"@en .
+ rdf:type owl:Class;
+ rdfs:comment "Pagination info for the matrix"@en;
+ rdfs:label "Pagination"@en .
rdf:type owl:DatatypeProperty;
@@ -1194,13 +1211,6 @@ PREFIX xsd:
rdfs:label "observationVariablePUI"@en;
rdfs:range xsd:string .
-