changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "Frequency": {
+ "type": "string"
+ },
+ "SeasonalAdjustment": {
+ "type": "string"
+ },
+ "Series": {
+ "description": "Metadata describing a FRED series (the `fred/series` endpoint).\n\nALFRED vintage fields (`realtime_start` / `realtime_end`) are deferred for v1\nand ignored on the wire (ADR-0005). `last_updated` is kept as FRED's raw\nstring for now — FRED encodes it with a non-standard timezone offset (e.g.\n`2024-03-28 07:56:03-05`); a typed datetime is a later refinement.",
+ "properties": {
+ "frequency": {
+ "$ref": "#/$defs/Frequency",
+ "description": "The series' native reporting frequency."
+ },
+ "id": {
+ "$ref": "#/$defs/SeriesId",
+ "description": "The series identifier."
+ },
+ "last_updated": {
+ "description": "When FRED last updated the series, as FRED's raw timestamp string.",
+ "type": "string"
+ },
+ "notes": {
+ "default": null,
+ "description": "Editorial notes, when present.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "observation_end": {
+ "description": "Date of the latest available observation.",
+ "format": "date",
+ "type": "string"
+ },
+ "observation_start": {
+ "description": "Date of the earliest available observation.",
+ "format": "date",
+ "type": "string"
+ },
+ "popularity": {
+ "description": "FRED popularity score (0–100).",
+ "format": "uint32",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "seasonal_adjustment": {
+ "$ref": "#/$defs/SeasonalAdjustment",
+ "description": "Whether/how the series is seasonally adjusted."
+ },
+ "title": {
+ "description": "Human-readable title, e.g. `\"Real Gross National Product\"`.",
+ "type": "string"
+ },
+ "units": {
+ "description": "Free-form units description, e.g. `\"Billions of Chained 2017 Dollars\"`.\nThis is descriptive text, *not* the closed-vocabulary units transform\nused in observation requests (modelled separately, later).",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "title",
+ "observation_start",
+ "observation_end",
+ "frequency",
+ "seasonal_adjustment",
+ "units",
+ "popularity",
+ "notes",
+ "last_updated"
+ ],
+ "type": "object"
+ },
+ "SeriesId": {
+ "description": "A FRED series identifier, e.g. `GNPCA` or `UNRATE`.\n\nA newtype over `String` so a series id can't be silently swapped for another\nkind of identifier or an arbitrary string (see ADR-0005). Construction does\nno validation for now — FRED rejects malformed ids — but the newtype gives\nus a place to add it later without changing call sites.",
+ "type": "string"
+ }
+ },
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "properties": {
+ "count": {
+ "description": "Total number of matches across all pages.",
+ "format": "uint32",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "limit": {
+ "description": "Page-size limit that FRED applied.",
+ "format": "uint32",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "offset": {
+ "description": "Offset of this page into the full result set.",
+ "format": "uint32",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "series": {
+ "description": "The matching series on this page. FRED names the array `seriess` (sic) on\nthe wire; we read that but emit the correctly-spelled `series` on output.",
+ "items": {
+ "$ref": "#/$defs/Series"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "series",
+ "count",
+ "offset",
+ "limit"
+ ],
+ "type": "object"
+}