{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "SeriesResponse",
  "type": "object",
  "description": "Response containing a single time series with metadata and observations.",
  "properties": {
    "mnemonic": {
      "type": "string",
      "description": "The unique series mnemonic identifier."
    },
    "description": {
      "type": "string",
      "description": "Human-readable description of the series."
    },
    "frequency": {
      "type": "string",
      "description": "The frequency of the returned data."
    },
    "source": {
      "type": "string",
      "description": "The original data source (e.g., BLS, BEA, IMF)."
    },
    "geography": {
      "type": "string",
      "description": "The geographic area the series covers."
    },
    "units": {
      "type": "string",
      "description": "The unit of measurement for the series values (e.g., Billions of Chained 2017 Dollars, Thousands of Persons, Index)."
    },
    "transformation": {
      "type": "string",
      "description": "The transformation applied to the data, if any."
    },
    "startDate": {
      "type": "string",
      "description": "The start date of the returned data range."
    },
    "endDate": {
      "type": "string",
      "description": "The end date of the returned data range."
    },
    "vintage": {
      "type": "string",
      "description": "The vintage date of the returned data."
    },
    "lastUpdated": {
      "type": "string",
      "description": "When the series was last updated in the repository."
    },
    "isForecast": {
      "type": "boolean",
      "description": "Whether the series contains forecast data from Moody's Analytics models."
    },
    "data": {
      "type": "array",
      "description": "Array of date-value pairs representing the time series observations and/or forecasts."
    }
  }
}