FRED · Schema

ShapeCollection

A collection of shapes for a geographic type.

FinanceGovernmentEconomic DataFederal ReserveTime SeriesOpen DataPublic APIs

Properties

Name Type Description
shape string The geographic type that was requested.
features array
View JSON Schema on GitHub

JSON Schema

geofred-api-shape-collection-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/fred/refs/heads/main/json-schema/geofred-api-shape-collection-schema.json",
  "title": "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"
  ]
}