FRED · JSON Structure

Api Category Structure

A FRED category node.

Type: object Properties: 4 Required: 3
FinanceGovernmentEconomic DataFederal ReserveTime SeriesOpen DataPublic APIs

Category is a JSON Structure definition published by FRED, describing 4 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id name parent_id notes

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/fred/refs/heads/main/json-structure/api-category-structure.json",
  "name": "Category",
  "description": "A FRED category node.",
  "type": "object",
  "properties": {
    "id": {
      "type": "int32",
      "description": "Numeric category ID.",
      "example": 1
    },
    "name": {
      "type": "string",
      "description": "Display name of the category.",
      "example": "Unemployment Rate"
    },
    "parent_id": {
      "type": "int32",
      "description": "Parent category ID.",
      "example": 0
    },
    "notes": {
      "type": "string",
      "description": "Optional editorial notes.",
      "example": "Editorial notes."
    }
  },
  "required": [
    "id",
    "name",
    "parent_id"
  ]
}