{ "$defs": { "Scope": { "additionalProperties": false, "description": "Project context plus optional project includes; all-project access is deliberate.", "properties": { "all_projects": { "default": false, "title": "All Projects", "type": "boolean" }, "include_projects": { "anyOf": [ { "items": { "maxLength": 128, "minLength": 1, "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$", "type": "string" }, "maxItems": 50, "type": "array" }, { "type": "null" } ], "default": null, "title": "Include Projects" }, "include_shared": { "default": true, "title": "Include Shared", "type": "boolean" }, "projects": { "items": { "maxLength": 128, "minLength": 1, "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$", "type": "string" }, "maxItems": 50, "minItems": 1, "title": "Projects", "type": "array" }, "schema_version": { "const": 1, "default": 1, "title": "Schema Version", "type": "integer" } }, "required": [ "projects" ], "title": "Scope", "type": "object" } }, "additionalProperties": false, "properties": { "budget_tokens": { "maximum": 50000, "minimum": 256, "title": "Budget Tokens", "type": "integer" }, "cursor": { "anyOf": [ { "maxLength": 512, "type": "string" }, { "type": "null" } ], "default": null, "title": "Cursor" }, "edge_types": { "default": [], "items": { "enum": [ "solves", "addresses", "causes", "supports", "contradicts", "instance_of", "part_of", "precedes", "supersedes", "compared_with", "derived_from", "applies_to" ], "type": "string" }, "maxItems": 12, "title": "Edge Types", "type": "array" }, "limit": { "default": 20, "maximum": 50, "minimum": 1, "title": "Limit", "type": "integer" }, "node_id": { "maxLength": 128, "minLength": 1, "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$", "title": "Node Id", "type": "string" }, "schema_version": { "const": 1, "default": 1, "title": "Schema Version", "type": "integer" }, "scope": { "$ref": "#/$defs/Scope" } }, "required": [ "node_id", "scope", "budget_tokens" ], "title": "NeighborRequest", "type": "object" }