addedInput schema / properties / filters / properties / time_period_end / anyOf
Added value: +[
+ {
+ "const": "",
+ "type": "string"
+ },
+ {
+ "description": "Date as YYYY-MM-DD; month and day may be unpadded",
+ "pattern": "^\\d{4}-\\d{1,2}-\\d{1,2}$",
+ "type": "string"
+ }
+]
changedInput schema / properties / filters / properties / time_period_end / description
Previous value: -"End date (YYYY-MM-DD)"New value: +"End date (YYYY-MM-DD). Given alone, the window starts at 2007-10-01, the earliest searchable date."
removedInput schema / properties / filters / properties / time_period_end / type
Removed value: -"string"
addedInput schema / properties / filters / properties / time_period_start / anyOf
Added value: +[
+ {
+ "const": "",
+ "type": "string"
+ },
+ {
+ "description": "Date as YYYY-MM-DD; month and day may be unpadded",
+ "pattern": "^\\d{4}-\\d{1,2}-\\d{1,2}$",
+ "type": "string"
+ }
+]
changedInput schema / properties / filters / properties / time_period_start / description
Previous value: -"Start date (YYYY-MM-DD)"New value: +"Start date (YYYY-MM-DD), 2007-10-01 or later. Given alone, the window runs through today (UTC)."
removedInput schema / properties / filters / properties / time_period_start / type
Removed value: -"string"
changedOutput schema / properties / applied_time_period_end / description
Previous value: -"End date filter applied (YYYY-MM-DD)"New value: +"End date sent (YYYY-MM-DD), including a filled-in end"
changedOutput schema / properties / applied_time_period_start / description
Previous value: -"Start date filter applied (YYYY-MM-DD)"New value: +"Start date sent (YYYY-MM-DD), including a filled-in start"
changedOutput schema / properties / error / properties / data / properties / reason / description
Previous value: -"Machine-readable failure mode. Declared by this tool: `api_unavailable`: USAspending.gov API is unreachable or returns an error. `api_timeout`: USAspending.gov did not respond before the request deadline elapsed. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `api_unavailable`: USAspending.gov API is unreachable or returns an error. `api_timeout`: USAspending.gov did not respond before the request deadline elapsed. `date_range_inverted`: Both filters.time_period_start and filters.time_period_end were supplied and the start falls after the end. `date_before_earliest`: The resolved start date precedes the 2007-10-01 earliest date this endpoint can search. Other values are possible when a failure originates below the handler."
changedOutput schema / properties / error / properties / data / properties / reason / examples
Previous value: -[
- "api_unavailable",
- "api_timeout"
-]New value: +[
+ "api_unavailable",
+ "api_timeout",
+ "date_range_inverted",
+ "date_before_earliest"
+]
changedOutput schema / properties / notice / description
Previous value: -"Recovery hint when results are empty — suggests how to broaden filters. Absent when results are present."New value: +"Names a date bound that was filled in because only the other was supplied, and suggests how to broaden filters when results are empty. Absent when neither applies."