{
  "$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-schema.json",
  "title": "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"
  ]
}