changedInput schema / properties / per_page / description
Previous value: -"Results per page (default: server default, max: 300). One page holds at most 150 entries, which keeps a response within about 50 KB; a larger value is reduced to that cap and echoed as appliedFilters.perPage, and totalPages is counted at the reduced size, so page + 1 continues where a page ends; notice discloses the reduction whenever the result runs past one page."New value: +"Results per page (default: server default). Positive integers above 300 are served at that maximum with the requested and served sizes echoed and a notice. totalPages uses the served size."
changedInput schema / properties / per_page / maximum
Previous value: -300New value: +9007199254740991
addedInput schema / properties / source_id
Added value: +{
+ "description": "Select a source-specific entity listing. Entries carry canonical id, name and sourceId only; global classification filters and include_aggregates=true are unavailable. Default false keeps all source entities.",
+ "pattern": "^\\s*\\d*\\s*$",
+ "type": "string"
+}
addedOutput schema / properties / appliedFilters / properties / sourceId
Added value: +{
+ "description": "Source dataset requested, omitted for the global country listing.",
+ "type": "string"
+}
removedOutput schema / properties / countries / items / additionalProperties
Removed value: -false
addedOutput schema / properties / countries / items / anyOf
Added value: +[
+ {
+ "additionalProperties": false,
+ "description": "An entity from a selected source.",
+ "properties": {
+ "id": {
+ "description": "Canonical source entity ID, accepted unchanged by worldbank_get_data.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Source entity name.",
+ "type": "string"
+ },
+ "sourceId": {
+ "description": "Source owning this entity.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "sourceId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "A country or aggregate entry.",
+ "properties": {
+ "capitalCity": {
+ "description": "Capital city name (empty for aggregates).",
+ "type": "string"
+ },
+ "id": {
+ "description": "Country or aggregate ID (ISO2 or WB aggregate code).",
+ "type": "string"
+ },
+ "incomeLevel": {
+ "additionalProperties": false,
+ "description": "World Bank income classification.",
+ "properties": {
+ "id": {
+ "description": "Income level code.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Income level name.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ],
+ "type": "object"
+ },
+ "isAggregate": {
+ "description": "True when this entry is a regional or income-group aggregate rather than an individual country.",
+ "type": "boolean"
+ },
+ "iso2": {
+ "description": "ISO2 country code.",
+ "type": "string"
+ },
+ "latitude": {
+ "description": "Capital latitude (empty for aggregates).",
+ "type": "string"
+ },
+ "lendingType": {
+ "description": "World Bank lending type name: IDA, IBRD, Blend, or Not classified (lending_type filters by the codes IDX, IBD, IDB, LNX). Aggregates report Aggregates.",
+ "type": "string"
+ },
+ "longitude": {
+ "description": "Capital longitude (empty for aggregates).",
+ "type": "string"
+ },
+ "name": {
+ "description": "Country or aggregate name.",
+ "type": "string"
+ },
+ "region": {
+ "additionalProperties": false,
+ "description": "World Bank region this country belongs to.",
+ "properties": {
+ "id": {
+ "description": "Region code.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Region name.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "id",
+ "iso2",
+ "name",
+ "region",
+ "incomeLevel",
+ "lendingType",
+ "capitalCity",
+ "longitude",
+ "latitude",
+ "isAggregate"
+ ],
+ "type": "object"
+ }
+]
changedOutput schema / properties / countries / items / description
Previous value: -"A country or aggregate entry."New value: +"A global country or aggregate, or an entity from the selected source."
removedOutput schema / properties / countries / items / properties
Removed value: -{
- "capitalCity": {
- "description": "Capital city name (empty for aggregates).",
- "type": "string"
- },
- "id": {
- "description": "Country or aggregate ID (ISO2 or WB aggregate code).",
- "type": "string"
- },
- "incomeLevel": {
- "additionalProperties": false,
- "description": "World Bank income classification.",
- "properties": {
- "id": {
- "description": "Income level code.",
- "type": "string"
- },
- "name": {
- "description": "Income level name.",
- "type": "string"
- }
- },
- "required": [
- "id",
- "name"
- ],
- "type": "object"
- },
- "isAggregate": {
- "description": "True when this entry is a regional or income-group aggregate rather than an individual country.",
- "type": "boolean"
- },
- "iso2": {
- "description": "ISO2 country code.",
- "type": "string"
- },
- "latitude": {
- "description": "Capital latitude (empty for aggregates).",
- "type": "string"
- },
- "lendingType": {
- "description": "World Bank lending type name: IDA, IBRD, Blend, or Not classified (lending_type filters by the codes IDX, IBD, IDB, LNX). Aggregates report Aggregates.",
- "type": "string"
- },
- "longitude": {
- "description": "Capital longitude (empty for aggregates).",
- "type": "string"
- },
- "name": {
- "description": "Country or aggregate name.",
- "type": "string"
- },
- "region": {
- "additionalProperties": false,
- "description": "World Bank region this country belongs to.",
- "properties": {
- "id": {
- "description": "Region code.",
- "type": "string"
- },
- "name": {
- "description": "Region name.",
- "type": "string"
- }
- },
- "required": [
- "id",
- "name"
- ],
- "type": "object"
- }
-}
removedOutput schema / properties / countries / items / required
Removed value: -[
- "id",
- "iso2",
- "name",
- "region",
- "incomeLevel",
- "lendingType",
- "capitalCity",
- "longitude",
- "latitude",
- "isAggregate"
-]
removedOutput schema / properties / countries / items / type
Removed value: -"object"
changedOutput schema / properties / error / properties / data / properties / reason / description
Previous value: -"Machine-readable failure mode. Declared by this tool: `invalid_filter`: An invalid region or income_level code was provided. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `source_not_found`: source_id does not name a source. `source_not_queryable`: The selected source has no supported country/series/time layout. `unsupported_source_filter`: Global classification filters are combined with source_id. `invalid_filter`: An invalid region or income_level code was provided. Other values are possible when a failure originates below the handler."
changedOutput schema / properties / error / properties / data / properties / reason / examples
Previous value: -[
- "invalid_filter"
-]New value: +[
+ "source_not_found",
+ "source_not_queryable",
+ "unsupported_source_filter",
+ "invalid_filter"
+]