changedInput schema / properties / query / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "description": "Study query.",
- "properties": {
- "entity": {
- "const": "studies",
- "description": "Search study records.",
- "type": "string"
- },
- "filters": {
- "additionalProperties": false,
- "description": "Filters accepted by brapi_find_studies.",
- "properties": {
- "active": {
- "description": "Restrict to active / inactive studies.",
- "type": "boolean"
- },
- "crop": {
- "description": "Filter by common crop name (single value).",
- "pattern": "\\S",
- "type": "string"
- },
- "extraFilters": {
- "additionalProperties": {},
- "description": "Extra BrAPI filters forwarded verbatim. Valid keys vary by endpoint; brapi_describe_filters enumerates them. Named params on this tool take precedence on conflict.",
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "locations": {
- "description": "Filter by locationDbIds (server-side identifiers, not display names). On servers that ignore this filter on /studies, it is applied client-side over the scanned studies, and a study with no locationDbId never matches.",
- "items": {
- "pattern": "\\S",
- "type": "string"
- },
- "type": "array"
- },
- "programs": {
- "description": "Filter by programDbIds.",
- "items": {
- "pattern": "\\S",
- "type": "string"
- },
- "type": "array"
- },
- "seasons": {
- "description": "Filter by seasons (e.g. \"2022\").",
- "items": {
- "pattern": "\\S",
- "type": "string"
- },
- "type": "array"
- },
- "studyNames": {
- "description": "Filter by study display name.",
- "items": {
- "pattern": "\\S",
- "type": "string"
- },
- "type": "array"
- },
- "trialTypes": {
- "description": "Filter by study types.",
- "items": {
- "pattern": "\\S",
- "type": "string"
- },
- "type": "array"
- },
- "trials": {
- "description": "Filter by trialDbIds.",
- "items": {
- "pattern": "\\S",
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- }
- },
- "required": [
- "entity",
- "filters"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Germplasm query.",
- "properties": {
- "entity": {
- "const": "germplasm",
- "description": "Search germplasm records.",
- "type": "string"
- },
- "filters": {
- "additionalProperties": false,
- "description": "Filters accepted by brapi_find_germplasm.",
- "properties": {
- "accessionNumbers": {
- "description": "Filter by accession numbers (gene-bank catalog codes).",
- "items": {
- "pattern": "\\S",
- "type": "string"
- },
- "type": "array"
- },
- "collections": {
- "description": "Filter by germplasm collection names.",
- "items": {
- "pattern": "\\S",
- "type": "string"
- },
- "type": "array"
- },
- "crops": {
- "description": "Filter by common crop names.",
- "items": {
- "pattern": "\\S",
- "type": "string"
- },
- "type": "array"
- },
- "extraFilters": {
- "additionalProperties": {},
- "description": "Extra BrAPI filters forwarded verbatim. Valid keys vary by endpoint; brapi_describe_filters enumerates them. Named params on this tool take precedence on conflict.",
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "genus": {
- "description": "Botanical genus.",
- "pattern": "\\S",
- "type": "string"
- },
- "germplasmDbIds": {
- "description": "Filter by DbIds.",
- "items": {
- "pattern": "\\S",
- "type": "string"
- },
- "type": "array"
- },
- "germplasmPUIs": {
- "description": "Persistent unique identifiers.",
- "items": {
- "pattern": "\\S",
- "type": "string"
- },
- "type": "array"
- },
- "names": {
- "description": "Filter by germplasm display names.",
- "items": {
- "pattern": "\\S",
- "type": "string"
- },
- "type": "array"
- },
- "programs": {
- "description": "Scope germplasm by program DbIds.",
- "items": {
- "pattern": "\\S",
- "type": "string"
- },
- "type": "array"
- },
- "species": {
- "description": "Botanical species.",
- "pattern": "\\S",
- "type": "string"
- },
- "studies": {
- "description": "Scope germplasm by study DbIds.",
- "items": {
- "pattern": "\\S",
- "type": "string"
- },
- "type": "array"
- },
- "synonyms": {
- "description": "Match registered synonyms.",
- "items": {
- "pattern": "\\S",
- "type": "string"
- },
- "type": "array"
- },
- "text": {
- "description": "Free-text query. Applied client-side as a case-insensitive substring match on germplasmName, germplasmPUI, accessionNumber, defaultDisplayName, and registered synonyms — no BrAPI server reliably supports a server-side free-text filter. Every upstream row is scanned when the filtered set fits one dataframe walk; above that, a miss on the first page stops the scan, and the warnings report how many rows were checked. Combine with `crops` / `genus` / etc. to narrow the upstream pull first.",
- "pattern": "^$|\\S",
- "type": "string"
- },
- "trials": {
- "description": "Scope germplasm by trial DbIds.",
- "items": {
- "pattern": "\\S",
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- }
- },
- "required": [
- "entity",
- "filters"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Observation query.",
- "properties": {
- "entity": {
- "const": "observations",
- "description": "Search observation records.",
- "type": "string"
- },
- "filters": {
- "additionalProperties": false,
- "description": "Filters accepted by brapi_find_observations.",
- "properties": {
- "extraFilters": {
- "additionalProperties": {},
- "description": "Extra BrAPI filters forwarded verbatim. Valid keys vary by endpoint; brapi_describe_filters enumerates them. Named params on this tool take precedence on conflict.",
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "germplasm": {
- "description": "Filter by germplasmDbIds.",
- "items": {
- "pattern": "\\S",
- "type": "string"
- },
- "type": "array"
- },
- "observationLevels": {
- "description": "Observation unit level (plot, plant, field, etc.).",
- "items": {
- "pattern": "\\S",
- "type": "string"
- },
- "type": "array"
- },
- "observationUnits": {
- "description": "Filter by observationUnitDbIds.",
- "items": {
- "pattern": "\\S",
- "type": "string"
- },
- "type": "array"
- },
- "observations": {
- "description": "Filter by observationDbIds.",
- "items": {
- "pattern": "\\S",
- "type": "string"
- },
- "type": "array"
- },
- "programs": {
- "description": "Filter by programDbIds.",
- "items": {
- "pattern": "\\S",
- "type": "string"
- },
- "type": "array"
- },
- "seasons": {
- "description": "Filter by seasonDbIds (e.g. \"2022\").",
- "items": {
- "pattern": "\\S",
- "type": "string"
- },
- "type": "array"
- },
- "studies": {
- "description": "Filter by studyDbIds.",
- "items": {
- "pattern": "\\S",
- "type": "string"
- },
- "type": "array"
- },
- "timestampFrom": {
- "description": "ISO 8601 start of the observation-time window.",
- "pattern": "\\S",
- "type": "string"
- },
- "timestampTo": {
- "description": "ISO 8601 end of the observation-time window.",
- "pattern": "\\S",
- "type": "string"
- },
- "trials": {
- "description": "Filter by trialDbIds.",
- "items": {
- "pattern": "\\S",
- "type": "string"
- },
- "type": "array"
- },
- "variables": {
- "description": "Filter by observationVariableDbIds.",
- "items": {
- "pattern": "\\S",
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- }
- },
- "required": [
- "entity",
- "filters"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "description": "Study query.",
+ "properties": {
+ "entity": {
+ "const": "studies",
+ "description": "Search study records.",
+ "type": "string"
+ },
+ "filters": {
+ "additionalProperties": false,
+ "description": "Filters accepted by brapi_find_studies.",
+ "properties": {
+ "active": {
+ "description": "Restrict to active / inactive studies.",
+ "type": "boolean"
+ },
+ "crop": {
+ "description": "Filter by common crop name (single value).",
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "extraFilters": {
+ "additionalProperties": {},
+ "description": "Extra BrAPI filters forwarded verbatim. Valid keys vary by endpoint; brapi_describe_filters enumerates them. Named params on this tool take precedence on conflict.",
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "locations": {
+ "description": "Filter by locationDbIds (server-side identifiers, not display names). On servers that ignore this filter on /studies, it is applied client-side over the scanned studies, and a study with no locationDbId never matches.",
+ "items": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "programs": {
+ "description": "Filter by programDbIds.",
+ "items": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "seasons": {
+ "description": "Filter by seasons (e.g. \"2022\").",
+ "items": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "studyNames": {
+ "description": "Filter by study display name.",
+ "items": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "trialTypes": {
+ "description": "Filter by study types.",
+ "items": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "trials": {
+ "description": "Filter by trialDbIds.",
+ "items": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "variables": {
+ "description": "Filter by observationVariableDbIds — studies that recorded these variables. Get IDs from brapi_find_variables.",
+ "items": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "entity",
+ "filters"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Germplasm query.",
+ "properties": {
+ "entity": {
+ "const": "germplasm",
+ "description": "Search germplasm records.",
+ "type": "string"
+ },
+ "filters": {
+ "additionalProperties": false,
+ "description": "Filters accepted by brapi_find_germplasm.",
+ "properties": {
+ "accessionNumbers": {
+ "description": "Filter by accession numbers (gene-bank catalog codes).",
+ "items": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "collections": {
+ "description": "Filter by germplasm collection names.",
+ "items": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "crops": {
+ "description": "Filter by common crop names.",
+ "items": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "extraFilters": {
+ "additionalProperties": {},
+ "description": "Extra BrAPI filters forwarded verbatim. Valid keys vary by endpoint; brapi_describe_filters enumerates them. Named params on this tool take precedence on conflict.",
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "genus": {
+ "description": "Botanical genus.",
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "germplasmDbIds": {
+ "description": "Filter by DbIds.",
+ "items": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "germplasmPUIs": {
+ "description": "Persistent unique identifiers.",
+ "items": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "names": {
+ "description": "Filter by germplasm display names.",
+ "items": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "programs": {
+ "description": "Scope germplasm by program DbIds.",
+ "items": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "species": {
+ "description": "Botanical species.",
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "studies": {
+ "description": "Scope germplasm by study DbIds.",
+ "items": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "synonyms": {
+ "description": "Match registered synonyms.",
+ "items": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "text": {
+ "description": "Free-text query. Applied client-side as a case-insensitive substring match on germplasmName, germplasmPUI, accessionNumber, defaultDisplayName, and registered synonyms — no BrAPI server reliably supports a server-side free-text filter. Every upstream row is scanned when the filtered set fits one dataframe walk; above that, a miss on the first page stops the scan, and the warnings report how many rows were checked. Combine with `crops` / `genus` / etc. to narrow the upstream pull first.",
+ "pattern": "^$|\\S",
+ "type": "string"
+ },
+ "trials": {
+ "description": "Scope germplasm by trial DbIds.",
+ "items": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "entity",
+ "filters"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Observation query.",
+ "properties": {
+ "entity": {
+ "const": "observations",
+ "description": "Search observation records.",
+ "type": "string"
+ },
+ "filters": {
+ "additionalProperties": false,
+ "description": "Filters accepted by brapi_find_observations.",
+ "properties": {
+ "extraFilters": {
+ "additionalProperties": {},
+ "description": "Extra BrAPI filters forwarded verbatim. Valid keys vary by endpoint; brapi_describe_filters enumerates them. Named params on this tool take precedence on conflict.",
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "germplasm": {
+ "description": "Filter by germplasmDbIds.",
+ "items": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "observationLevels": {
+ "description": "Observation unit level (plot, plant, field, etc.).",
+ "items": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "observationUnits": {
+ "description": "Filter by observationUnitDbIds.",
+ "items": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "observations": {
+ "description": "Filter by observationDbIds.",
+ "items": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "programs": {
+ "description": "Filter by programDbIds.",
+ "items": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "seasons": {
+ "description": "Filter by seasonDbIds (e.g. \"2022\").",
+ "items": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "studies": {
+ "description": "Filter by studyDbIds.",
+ "items": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "timestampFrom": {
+ "description": "ISO 8601 start of the observation-time window.",
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "timestampTo": {
+ "description": "ISO 8601 end of the observation-time window.",
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "trials": {
+ "description": "Filter by trialDbIds.",
+ "items": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "variables": {
+ "description": "Filter by observationVariableDbIds.",
+ "items": {
+ "pattern": "\\S",
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "entity",
+ "filters"
+ ],
+ "type": "object"
+ }
+]