addedInput schema / properties / assistance_listings
Added value: +{
+ "description": "Filter by Assistance Listing (CFDA) program numbers, e.g. [\"93.866\"]: two digits, a dot, then three digits or capital letters (11.67A). Matches an award when any of its listings equals one of these exactly; several values match any of them. A row's primary listing can differ from the one requested, and its amount is the whole award, not that listing's share. Assistance award types only — set award_type_codes to grants, direct payments, loans, or other assistance; contracts and IDVs carry no listings, so pairing them (including the default award_type_codes) is rejected. Use usaspending_autocomplete_filters type=cfda to look up numbers.",
+ "items": {
+ "description": "Assistance Listing number, e.g. 93.866",
+ "pattern": "^\\d{2}\\.[0-9A-Z]{3}$",
+ "type": "string"
+ },
+ "type": "array"
+}
changedInput schema / properties / award_type_codes / description
Previous value: -"Filter by award type codes. All codes must belong to a single group: A/B/C/D (contracts), 02/03/04/05 (grants), 06/10 (direct payments), 07/08 (loans), IDV_A–IDV_E (IDVs). Defaults to contracts. Mixing groups across categories causes a 422 error."New value: +"Filter by award type codes. All codes must belong to a single group: A/B/C/D (contracts), IDV_A/IDV_B/IDV_B_A/IDV_B_B/IDV_B_C/IDV_C/IDV_D/IDV_E (IDVs), 02/03/04/05/F001/F002 (grants), 06/10/F006/F007 (direct payments), 07/08/F003/F004 (loans), 09/11/-1/F005/F008/F009/F010 (other assistance). Defaults to contracts. Mixing groups causes a 422 error. The group decides which sort values apply."
addedInput schema / properties / award_type_codes / minItems
Added value: +1
changedInput schema / properties / filters / properties / award_type_codes / description
Previous value: -"Award type codes; all must belong to one group (A/B/C/D, 02/03/04/05, 06/10, 07/08, IDV_A–IDV_E)"New value: +"Award type codes; all must belong to one group (A/B/C/D contracts, IDV_A–IDV_E IDVs, 02/03/04/05/F001/F002 grants, 06/10/F006/F007 direct payments, 07/08/F003/F004 loans, 09/11/-1/F005/F008/F009/F010 other assistance). When non-empty, overrides the top-level award_type_codes and decides which sort values apply; an empty array falls back to the top-level value."
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). Requires time_period_start."New value: +"End date (YYYY-MM-DD). Given alone, the range 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); earliest valid 2007-10-01. Requires time_period_end."New value: +"Start date (YYYY-MM-DD); earliest valid 2007-10-01. Given alone, the range runs through today (UTC)."
removedInput schema / properties / filters / properties / time_period_start / type
Removed value: -"string"
removedInput schema / properties / sort / default
Removed value: -"Award Amount"
changedInput schema / properties / sort / description
Previous value: -"Sort field for results"New value: +"Sort field for results. Loans (07/08/F003/F004) sort by Loan Value, Subsidy Cost, Issued Date, Recipient Name, or Awarding Agency, defaulting to Loan Value. Every other group sorts by Award Amount, Total Outlays, Start Date, End Date, Recipient Name, or Awarding Agency, defaulting to Award Amount — except IDVs, which have no End Date. A sort the group does not support is rejected before the search runs."
changedInput schema / properties / sort / enum
Previous value: -[
- "Award Amount",
- "Total Outlays",
- "Start Date",
- "End Date",
- "Recipient Name",
- "Awarding Agency"
-]New value: +[
+ "Award Amount",
+ "Total Outlays",
+ "Start Date",
+ "End Date",
+ "Loan Value",
+ "Subsidy Cost",
+ "Issued Date",
+ "Recipient Name",
+ "Awarding Agency"
+]
changedInput schema / properties / time_period / description
Previous value: -"Filter awards by date range (action date)"New value: +"Filter awards by date range (action date). Both blank means no date filter; one blank end is filled and named in the notice."
addedInput schema / properties / time_period / properties / end_date / 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 / time_period / properties / end_date / description
Previous value: -"End date in ISO 8601 format (YYYY-MM-DD)"New value: +"End date in ISO 8601 format (YYYY-MM-DD). Blank (\"\") leaves the end open, filled with today (UTC)."
removedInput schema / properties / time_period / properties / end_date / type
Removed value: -"string"
addedInput schema / properties / time_period / properties / start_date / 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 / time_period / properties / start_date / description
Previous value: -"Start date in ISO 8601 format (YYYY-MM-DD); earliest valid: 2007-10-01"New value: +"Start date in ISO 8601 format (YYYY-MM-DD); earliest valid: 2007-10-01. Blank (\"\") leaves the start open, filled with 2007-10-01."
removedInput schema / properties / time_period / properties / start_date / type
Removed value: -"string"
addedOutput schema / properties / applied_assistance_listings
Added value: +{
+ "description": "Assistance Listing numbers filter applied (comma-separated)",
+ "type": "string"
+}
changedOutput schema / properties / applied_time_period_end / description
Previous value: -"End date filter applied (YYYY-MM-DD)"New value: +"End of the date range 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 of the date range 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. `pagination_limit_exceeded`: page multiplied by limit exceeds the endpoint 50,000-result page window and no cursor was supplied. `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."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. `pagination_limit_exceeded`: page multiplied by limit exceeds the endpoint 50,000-result page window and no cursor was supplied. `date_before_earliest`: The resolved start date precedes the 2007-10-01 earliest date this endpoint can search. `date_range_inverted`: Both ends of the date range were supplied and the start date falls after the end date. `unsupported_sort`: The sort value is not one the award type group supports. `assistance_listings_type_mismatch`: assistance_listings was given while the award type codes include contract or IDV codes, or were left at the contract default. 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",
- "pagination_limit_exceeded",
- "date_before_earliest"
-]New value: +[
+ "api_unavailable",
+ "api_timeout",
+ "pagination_limit_exceeded",
+ "date_before_earliest",
+ "date_range_inverted",
+ "unsupported_sort",
+ "assistance_listings_type_mismatch"
+]
changedOutput schema / properties / notice / description
Previous value: -"Recovery hint when results are empty — echoes applied filters and suggests how to broaden. Absent when results are present."New value: +"How to page on when more results may remain, which date bound was filled in when only the other was supplied, and — when results are empty — the applied filters with how to broaden. Absent when none applies."
addedOutput schema / properties / results / items / properties / issued_date
Added value: +{
+ "description": "Date the loan was issued (YYYY-MM-DD; loans only — they carry no start or end date)",
+ "type": "string"
+}
addedOutput schema / properties / results / items / properties / loan_value
Added value: +{
+ "description": "Face value of the loan in USD (loans only — they carry no award_amount)",
+ "type": "number"
+}
addedOutput schema / properties / results / items / properties / subsidy_cost
Added value: +{
+ "description": "Original subsidy cost of the loan in USD — the estimated long-term cost to the government (loans only)",
+ "type": "number"
+}