addedInput schema / properties / catalogNumber
Added value: +{
+ "description": "Catalog number a collection assigned to the specimen or record (e.g. \"L.1592880\"), matched as the whole value, case-insensitively. Not unique across collections — one number can name records in several datasets, so pair it with institutionCode or datasetKey to single one out. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.",
+ "type": "string"
+}
changedInput schema / properties / facet / description
Previous value: -"Dimension to aggregate by (e.g., COUNTRY, YEAR, BASIS_OF_RECORD, SPECIES_KEY, OCCURRENCE_STATUS, IUCN_RED_LIST_CATEGORY). DATASET_KEY is the first cut when a result set is too large to page: every occurrence carries exactly one datasetKey, so its buckets cover totalOccurrences with no gap or overlap. BASIS_OF_RECORD and PUBLISHING_COUNTRY are gap-free second cuts for a dataset bucket still too large; both have a matching filter on the occurrence tools. A dimension a record can lack drops that record from every bucket: YEAR loses undated records; MONTH, STATE_PROVINCE, and SPECIES_KEY lose records lacking that dimension, even where the occurrence tools can filter on it. Sums are comparable only across the same occurrenceStatus scope."New value: +"Dimension to aggregate by (e.g., COUNTRY, YEAR, BASIS_OF_RECORD, SPECIES_KEY, OCCURRENCE_STATUS, IUCN_RED_LIST_CATEGORY). DATASET_KEY is the first cut when a result set is too large to page: every occurrence carries exactly one datasetKey, so its buckets cover totalOccurrences with no gap or overlap. BASIS_OF_RECORD and PUBLISHING_COUNTRY are gap-free second cuts for a dataset bucket still too large; both have a matching filter on the occurrence tools. A dimension a record can lack drops that record from every bucket: YEAR loses undated records; MONTH, STATE_PROVINCE, SPECIES_KEY, INSTITUTION_CODE, MEDIA_TYPE, and RECORDED_BY lose records lacking that dimension; GADM_LEVEL_0_GID, GADM_LEVEL_1_GID, GADM_LEVEL_2_GID, and GADM_LEVEL_3_GID lose records without coordinates or outside every GADM unit at that level — each even where the occurrence tools can filter on it. MEDIA_TYPE and RECORDED_BY buckets also overlap: a record with two media types or two collectors counts in each, so their sums can exceed totalOccurrences. GADM buckets are GIDs to pass back as gadmGid; INSTITUTION_CODE buckets come back lowercased and institutionCode takes them unchanged; RECORDED_BY buckets are the exact spellings recordedBy matches. Sums are comparable only across the same occurrenceStatus scope."
changedInput schema / properties / facet / enum
Previous value: -[
- "BASIS_OF_RECORD",
- "COUNTRY",
- "STATE_PROVINCE",
- "YEAR",
- "DATASET_KEY",
- "KINGDOM_KEY",
- "PHYLUM_KEY",
- "CLASS_KEY",
- "ORDER_KEY",
- "FAMILY_KEY",
- "GENUS_KEY",
- "SPECIES_KEY",
- "PUBLISHING_COUNTRY",
- "MONTH",
- "OCCURRENCE_STATUS",
- "IUCN_RED_LIST_CATEGORY"
-]New value: +[
+ "BASIS_OF_RECORD",
+ "COUNTRY",
+ "STATE_PROVINCE",
+ "YEAR",
+ "DATASET_KEY",
+ "KINGDOM_KEY",
+ "PHYLUM_KEY",
+ "CLASS_KEY",
+ "ORDER_KEY",
+ "FAMILY_KEY",
+ "GENUS_KEY",
+ "SPECIES_KEY",
+ "PUBLISHING_COUNTRY",
+ "MONTH",
+ "OCCURRENCE_STATUS",
+ "IUCN_RED_LIST_CATEGORY",
+ "GADM_LEVEL_0_GID",
+ "GADM_LEVEL_1_GID",
+ "GADM_LEVEL_2_GID",
+ "GADM_LEVEL_3_GID",
+ "INSTITUTION_CODE",
+ "MEDIA_TYPE",
+ "RECORDED_BY"
+]
addedInput schema / properties / facetLimit / maximum
Added value: +9007199254740991
changedInput schema / properties / facetLimit / type
Previous value: -"number"New value: +"integer"
addedInput schema / properties / facetOffset / maximum
Added value: +9007199254740991
changedInput schema / properties / facetOffset / type
Previous value: -"number"New value: +"integer"
addedInput schema / properties / gadmGid
Added value: +{
+ "description": "GADM administrative-area GID at any level: country (ESP), state or province (ESP.1_1), county or district (ESP.1.5_1), or municipality (ESP.1.6.3_1). GBIF derives a record's GIDs from its coordinates, so records without coordinates match none, and the unit can differ from the verbatim stateProvince the record carries. Matched exactly and case-sensitively, and a GID holds only uppercase letters, digits, dots, and underscores — any other character is rejected. Take one from a GADM_LEVEL_0_GID, GADM_LEVEL_1_GID, GADM_LEVEL_2_GID, or GADM_LEVEL_3_GID facet on gbif_occurrence_facets, or from the gadm field of gbif_get_occurrence; a well-formed GID GBIF does not hold matches zero records rather than erroring. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.",
+ "type": "string"
+}
addedInput schema / properties / includeLabels
Added value: +{
+ "default": false,
+ "description": "True names the taxon or dataset behind each bucket on the returned page with a label: the canonicalName for a KINGDOM_KEY, PHYLUM_KEY, CLASS_KEY, ORDER_KEY, FAMILY_KEY, GENUS_KEY, or SPECIES_KEY bucket, the dataset title for a DATASET_KEY bucket. Costs one extra GBIF request per bucket, up to facetLimit, all bounded by one 10 s deadline; a bucket whose lookup fails or misses it comes back without a label and is counted in notice. Every other dimension ignores it. Leave it false when keys are enough, as when partitioning by DATASET_KEY.",
+ "type": "boolean"
+}
addedInput schema / properties / institutionCode
Added value: +{
+ "description": "Code of the institution holding the record (e.g. \"K\", \"CLO\"), matched as the whole value, case-insensitively — part of a code or of a multi-word code matches nothing. An INSTITUTION_CODE facet on gbif_occurrence_facets lists the codes in a scope, lowercased, and this filter takes them unchanged. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.",
+ "type": "string"
+}
addedInput schema / properties / mediaType
Added value: +{
+ "description": "Only records carrying at least one media item of this type: StillImage (photographs, scans), MovingImage (video), Sound (audio), or InteractiveResource. Records without media are excluded when this is set.",
+ "enum": [
+ "StillImage",
+ "MovingImage",
+ "Sound",
+ "InteractiveResource"
+ ],
+ "type": "string"
+}
changedInput schema / properties / month / type
Previous value: -"number"New value: +"integer"
addedInput schema / properties / recordedBy
Added value: +{
+ "description": "Collector or observer, matched against each name in the record's recordedBy list (GBIF splits it on \"|\") exactly and case-sensitively: \"Charles Darwin\" and \"charles darwin\" differ, and one person written two ways (\"Charles Darwin\", \"Darwin, C.\") is two values. Take a value from a RECORDED_BY facet on gbif_occurrence_facets scoped the same way and pass it back unchanged; an unmatched value matches zero records rather than erroring. Omit the field to leave it unfiltered — a blank or whitespace-only value is rejected rather than dropped, because GBIF answers one with the unfiltered scope.",
+ "type": "string"
+}
addedInput schema / properties / taxonKey / maximum
Added value: +9007199254740991
addedInput schema / properties / taxonKey / minimum
Added value: +0
changedInput schema / properties / taxonKey / type
Previous value: -"number"New value: +"integer"
addedOutput schema / properties / counts / items / properties / label
Added value: +{
+ "description": "Name of the taxon (its canonicalName) or dataset (its title) the key identifies. Present only with includeLabels on a KINGDOM_KEY through SPECIES_KEY or DATASET_KEY facet, and only when the lookup for this bucket succeeded.",
+ "type": "string"
+}
changedOutput schema / properties / error / properties / data / properties / reason / description
Previous value: -"Machine-readable failure mode. Declared by this tool: `invalid_filter`: A scope filter was supplied blank or whitespace-only, datasetKey is not an 8-4-4-4-12 hex UUID, a two-letter country or publishingCountry code is one GBIF does not know, or GBIF rejected another filter as malformed. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `invalid_filter`: A string scope filter other than country and publishingCountry was supplied blank or whitespace-only (a blank country or publishingCountry fails earlier, at its uppercase pattern, as -32602 invalid_arguments), datasetKey is not an 8-4-4-4-12 hex UUID, gadmGid holds a character other than an uppercase letter, digit, dot, or underscore, a two-letter country or publishingCountry code is one GBIF does not know, or GBIF rejected another filter as malformed. Other values are possible when a failure originates below the handler."
changedOutput schema / properties / notice / description
Previous value: -"Guidance when no facet values were returned, a read limit was clamped, a lookahead bucket proves more remain, a verbatim stateProvince filter matched nothing, or a presence/absence filter narrowed the aggregation. Absent only when none applies."New value: +"Guidance when no facet values were returned, a read limit was clamped, a lookahead bucket proves more remain, includeLabels left buckets without a label, an exact-match stateProvince, gadmGid, or recordedBy filter matched nothing, or a presence/absence filter narrowed the aggregation. Absent only when none applies."