FRED · JSON Structure

Geofred Api Shape Collection Structure

A collection of shapes for a geographic type.

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

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

Properties

shape features

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-collection-structure.json",
  "name": "ShapeCollection",
  "description": "A collection of shapes for a geographic type.",
  "type": "object",
  "properties": {
    "shape": {
      "type": "string",
      "description": "The geographic type that was requested.",
      "example": "example"
    },
    "features": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Shape"
      }
    }
  },
  "required": [
    "features"
  ]
}