FRED · JSON Structure

Geofred Api Shape Structure

A single GeoJSON-style shape feature.

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

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

Properties

name code centroid geometry

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/geofred-api-shape-structure.json",
  "name": "Shape",
  "description": "A single GeoJSON-style shape feature.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Display name of the region.",
      "example": "Unemployment Rate"
    },
    "code": {
      "type": "string",
      "description": "Region code (FIPS",
      "ISO": null,
      "etc.).": null,
      "example": "example"
    },
    "centroid": {
      "type": "string",
      "description": "Quantized centroid coordinates.",
      "example": "example"
    },
    "geometry": {
      "type": "string",
      "description": "Quantized geometry path.",
      "example": "example"
    }
  },
  "required": [
    "name",
    "code"
  ]
}