changedInput schema / examples
Previous value: -[
- {
- "end_year": "2024",
- "start_year": "2020"
- }
-]New value: +[
+ {
+ "seasonally_adjusted": true
+ },
+ {
+ "end_year": "2024",
+ "start_year": "2020"
+ }
+]
addedInput schema / properties / seasonally_adjusted
Added value: +{
+ "description": "true returns the seasonally adjusted CPI-U index (BLS series CUSR0000SA0, same series as FRED CPIAUCSL); false or omitted returns the not-seasonally-adjusted index (CUUR0000SA0), which is the series BLS headlines and the basis of the published year-over-year inflation rate. Set it to true when the question says seasonally adjusted.",
+ "type": "boolean"
+}
addedOutput schema / properties / data / items / properties / date
Added value: +{
+ "description": "First day of the covered period as an ISO date, derived from the BLS period code",
+ "type": [
+ "string",
+ "null"
+ ]
+}
addedOutput schema / properties / data / items / properties / yoy_inflation_pct
Added value: +{
+ "description": "Year-over-year percent change vs the same month a year earlier, or null when the prior-year month is not in range",
+ "type": [
+ "number",
+ "null"
+ ]
+}
changedOutput schema / properties / description / description
Previous value: -"Series description"New value: +"Series description, naming the seasonal adjustment used"
addedOutput schema / properties / latest
Added value: +{
+ "description": "Most recent observation, carrying BOTH seasonal adjustments so the caller can tell which number answers their question. Absent when the range returned no usable data points.",
+ "properties": {
+ "date": {
+ "description": "ISO date of the latest observation",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "index_value": {
+ "description": "Index level of the series that was requested",
+ "type": "number"
+ },
+ "index_value_nsa": {
+ "description": "Not-seasonally-adjusted index level (CUUR0000SA0) for the same month",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "index_value_sa": {
+ "description": "Seasonally adjusted index level (CUSR0000SA0) for the same month",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "seasonally_adjusted": {
+ "description": "Which adjustment index_value is",
+ "type": "boolean"
+ },
+ "yoy_inflation_pct": {
+ "description": "Year-over-year percent change for the latest month, or null when the prior-year month is out of range",
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "date",
+ "index_value",
+ "seasonally_adjusted",
+ "index_value_sa",
+ "index_value_nsa",
+ "yoy_inflation_pct"
+ ],
+ "type": "object"
+}
addedOutput schema / properties / seasonally_adjusted
Added value: +{
+ "description": "Whether the returned series is seasonally adjusted (CUSR0000SA0) or not (CUUR0000SA0)",
+ "type": "boolean"
+}
changedOutput schema / properties / series_id / description
Previous value: -"BLS series ID (CUUR0000SA0)"New value: +"BLS series ID actually used — CUUR0000SA0 (not seasonally adjusted) or CUSR0000SA0 (seasonally adjusted)"
changedOutput schema / required
Previous value: -[
- "series_id",
- "description",
- "unit",
- "start_year",
- "end_year",
- "total",
- "data"
-]New value: +[
+ "series_id",
+ "seasonally_adjusted",
+ "description",
+ "unit",
+ "start_year",
+ "end_year",
+ "total",
+ "data"
+]