{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "home_lat": {
      "type": "number",
      "minimum": -90,
      "maximum": 90
    },
    "home_lng": {
      "type": "number",
      "minimum": -180,
      "maximum": 180
    },
    "interests": {
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 100
      }
    },
    "pinned_kinds": {
      "minItems": 3,
      "maxItems": 3,
      "type": "array",
      "items": {
        "type": "string",
        "known": ["place", "event", "note", "recipe", "workout", "guide", "media", "product", "link", "tab"]
      }
    },
    "auto_add": {
      "type": "boolean"
    }
  },
  "$id": "https://sendtopigeon.com/schemas/preferences@1.read.schema.json",
  "title": "Pigeon Open Data: preferences@1.read",
  "$comment": "Apache-2.0. Structural schema; use Zod/parseRecord for semantic invariants. This published schema URL is immutable.",
  "examples": [
    {
      "interests": [],
      "pinned_kinds": ["place", "recipe", "workout"],
      "auto_add": true
    }
  ]
}
