{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/godorsal-com/json-schema/godorsal-com-post-v1-neighbors-request-schema.json",
  "title": "PostV1NeighborsRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/godorsal-com-openapi-generated.yml#/components/schemas/PostV1NeighborsRequest",
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Object name or alias, or an event or documentation chunk id."
    },
    "include_events": {
      "type": "boolean",
      "description": "Adds the object's source‑linked events."
    },
    "hops": {
      "type": "integer",
      "description": "1, 2 or 3. Default 1."
    },
    "direction": {
      "type": "string",
      "description": "out, in, both. Default both."
    },
    "total": {
      "type": "integer",
      "description": "1–100 per section. Default 50."
    },
    "target_type": {
      "type": "string"
    },
    "rel_type": {
      "type": "array",
      "description": "string[] Narrow connected objects or relationship types."
    }
  },
  "required": [
    "query"
  ]
}