{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://hyprune.com/schema/v0.21/ipc.schema.json",
  "title": "Hyprune IPC 0.21: markers, personal quests and focus sessions",
  "$defs": {
    "state": {
      "type": "object",
      "properties": {
        "runtime": {
          "type": "object",
          "properties": {
            "active": {
              "type": "boolean"
            },
            "outputs": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 128
              },
              "minItems": 0,
              "uniqueItems": true
            }
          },
          "required": [
            "active",
            "outputs"
          ],
          "additionalProperties": false
        },
        "world": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "object",
              "properties": {
                "id": {
                  "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/id"
                },
                "spawnId": {
                  "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/slug"
                }
              },
              "required": [
                "id",
                "spawnId"
              ],
              "additionalProperties": false
            }
          ]
        },
        "surfaces": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 128
              },
              "kind": {
                "enum": [
                  "window",
                  "workspace",
                  "layer",
                  "web",
                  "custom"
                ]
              },
              "title": {
                "type": "string",
                "minLength": 0,
                "maxLength": 512
              },
              "logicalSize": {
                "type": "array",
                "items": {
                  "type": "number",
                  "exclusiveMinimum": 0
                },
                "minItems": 2,
                "maxItems": 2
              },
              "focused": {
                "type": "boolean"
              }
            },
            "required": [
              "id",
              "kind",
              "title",
              "logicalSize",
              "focused"
            ],
            "additionalProperties": false
          },
          "minItems": 0
        },
        "movement": {
          "type": "object",
          "properties": {
            "modeId": {
              "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/id"
            },
            "position": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "minItems": 3,
              "maxItems": 3
            },
            "orientation": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "minItems": 4,
              "maxItems": 4
            },
            "state": {
              "enum": [
                "walking",
                "flying",
                "climbing"
              ]
            },
            "ladderId": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 128
                }
              ]
            },
            "prompt": {
              "type": "string",
              "maxLength": 256
            }
          },
          "required": [
            "modeId",
            "position",
            "orientation",
            "state",
            "ladderId",
            "prompt"
          ],
          "additionalProperties": false
        },
        "shell": {
          "type": "object",
          "properties": {
            "leases": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 128
                  },
                  "outputs": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 128
                    },
                    "minItems": 1,
                    "uniqueItems": true
                  },
                  "overlays": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "outputId": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 128
                        },
                        "visible": {
                          "type": "boolean"
                        },
                        "exclusiveInput": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "outputId",
                        "visible",
                        "exclusiveInput"
                      ],
                      "additionalProperties": false
                    },
                    "minItems": 0
                  }
                },
                "required": [
                  "id",
                  "outputs",
                  "overlays"
                ],
                "additionalProperties": false
              },
              "minItems": 0
            }
          },
          "required": [
            "leases"
          ],
          "additionalProperties": false
        },
        "location": {
          "$ref": "#/$defs/location"
        },
        "integrations": {
          "$ref": "#/$defs/integrations"
        },
        "spatial": {
          "$ref": "#/$defs/spatial"
        },
        "workspaces": {
          "$ref": "#/$defs/workspaces"
        },
        "mounts": {
          "$ref": "#/$defs/mounts"
        },
        "presentation": {
          "$ref": "#/$defs/presentation"
        },
        "interaction": {
          "$ref": "#/$defs/interaction"
        },
        "apps": {
          "$ref": "#/$defs/apps"
        },
        "keymap": {
          "$ref": "#/$defs/keymap"
        },
        "editor": {
          "$ref": "#/$defs/editor"
        },
        "markers": {
          "$ref": "#/$defs/markersState"
        },
        "quests": {
          "$ref": "#/$defs/questsState"
        },
        "focus": {
          "$ref": "#/$defs/focusState"
        }
      },
      "required": [
        "runtime",
        "world",
        "surfaces",
        "movement",
        "shell",
        "location",
        "integrations",
        "spatial",
        "workspaces",
        "mounts",
        "presentation",
        "interaction",
        "apps",
        "keymap",
        "editor",
        "markers",
        "quests",
        "focus"
      ],
      "additionalProperties": false
    },
    "snapshot": {
      "type": "object",
      "properties": {
        "sessionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "revision": {
          "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/revision"
        },
        "state": {
          "$ref": "#/$defs/state"
        }
      },
      "required": [
        "sessionId",
        "revision",
        "state"
      ],
      "additionalProperties": false
    },
    "session.hello.params": {
      "type": "object",
      "properties": {
        "protocols": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          },
          "minItems": 1,
          "uniqueItems": true
        },
        "client": {
          "type": "object",
          "properties": {
            "id": {
              "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/id"
            },
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            }
          },
          "required": [
            "id",
            "name"
          ],
          "additionalProperties": false
        },
        "capabilities": {
          "type": "array",
          "items": {
            "enum": [
              "state.read",
              "world.control",
              "surface.control",
              "movement.control",
              "shell.control",
              "runtime.control",
              "data.publish",
              "input.control",
              "camera.author",
              "quest.control"
            ]
          },
          "minItems": 0,
          "uniqueItems": true
        },
        "token": {
          "type": "string",
          "minLength": 64,
          "maxLength": 64,
          "pattern": "^[a-f0-9]{64}$"
        }
      },
      "required": [
        "protocols",
        "client",
        "capabilities"
      ],
      "additionalProperties": false
    },
    "session.hello.result": {
      "type": "object",
      "properties": {
        "protocol": {
          "const": "0.21"
        },
        "sessionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "capabilities": {
          "type": "array",
          "items": {
            "enum": [
              "state.read",
              "world.control",
              "surface.control",
              "movement.control",
              "shell.control",
              "runtime.control",
              "data.publish",
              "input.control",
              "camera.author",
              "quest.control"
            ]
          },
          "minItems": 0,
          "uniqueItems": true
        },
        "methods": {
          "type": "array",
          "items": {
            "enum": [
              "session.hello",
              "session.ping",
              "state.subscribe",
              "state.snapshot",
              "state.unsubscribe",
              "world.load",
              "surface.focus",
              "movement.set",
              "shell.claim",
              "shell.release",
              "shell.overlay",
              "runtime.exit",
              "camera.get",
              "camera.set",
              "waypoint.set",
              "waypoint.clear",
              "route.set",
              "route.clear",
              "travel.start",
              "travel.cancel",
              "autodrive.start",
              "autodrive.stop",
              "ui.open",
              "ui.close",
              "data.publish",
              "data.remove",
              "shell.bind",
              "workspace.activate",
              "workspace.bind",
              "workspace.focus",
              "workspace.unfocus",
              "surface.pull",
              "surface.place",
              "surface.return",
              "placements.list",
              "placements.remove",
              "data.object.bind",
              "atmosphere.get",
              "atmosphere.set",
              "camera.fov",
              "surfaces.recall",
              "input.get",
              "input.preview",
              "input.set",
              "input.capture",
              "input.capture.cancel",
              "overlay.style",
              "graphics.get",
              "graphics.set",
              "hud.subscribe",
              "hud.unsubscribe",
              "recording.start",
              "recording.stop",
              "recording.mark",
              "recording.status",
              "replay.start",
              "replay.stop",
              "replay.status",
              "camera.photo",
              "camera.release",
              "capture.annotate",
              "player.get",
              "player.set",
              "surface.pocket",
              "surface.unpocket",
              "markers.reveal",
              "guidance.get",
              "guidance.set",
              "quests.list",
              "quests.get",
              "quests.track",
              "quests.accept",
              "quests.abandon",
              "quests.resume",
              "quests.create",
              "quests.update",
              "quests.delete",
              "quests.mark",
              "focus.start",
              "focus.pause",
              "focus.resume",
              "focus.skip",
              "focus.stop",
              "focus.history"
            ]
          },
          "minItems": 0,
          "uniqueItems": true
        },
        "events": {
          "type": "array",
          "items": {
            "enum": [
              "state.delta",
              "runtime.notice",
              "session.revoked",
              "location.transition",
              "ui.opened",
              "ui.closed",
              "data.updated",
              "mounts.changed",
              "presentation.changed",
              "hud.frame",
              "hud.pose",
              "zone.entered",
              "zone.exited",
              "tool.changed",
              "ui.hud.cycle",
              "capture.taken",
              "quest.progress",
              "focus.phase"
            ]
          },
          "minItems": 0,
          "uniqueItems": true
        }
      },
      "required": [
        "protocol",
        "sessionId",
        "capabilities",
        "methods",
        "events"
      ],
      "additionalProperties": false
    },
    "session.hello.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "session.hello"
        },
        "params": {
          "$ref": "#/$defs/session.hello.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "session.hello.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/session.hello.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "session.ping.params": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "session.ping.result": {
      "type": "object",
      "properties": {
        "monotonicMs": {
          "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/revision"
        }
      },
      "required": [
        "monotonicMs"
      ],
      "additionalProperties": false
    },
    "session.ping.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "session.ping"
        },
        "params": {
          "$ref": "#/$defs/session.ping.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "session.ping.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/session.ping.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "state.subscribe.params": {
      "type": "object",
      "properties": {
        "topics": {
          "const": [
            "state"
          ]
        }
      },
      "required": [
        "topics"
      ],
      "additionalProperties": false
    },
    "state.subscribe.result": {
      "type": "object",
      "properties": {
        "subscriptionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "snapshot": {
          "$ref": "#/$defs/snapshot"
        }
      },
      "required": [
        "subscriptionId",
        "snapshot"
      ],
      "additionalProperties": false
    },
    "state.subscribe.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "state.subscribe"
        },
        "params": {
          "$ref": "#/$defs/state.subscribe.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "state.subscribe.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/state.subscribe.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "state.snapshot.params": {
      "type": "object",
      "properties": {
        "subscriptionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        }
      },
      "required": [
        "subscriptionId"
      ],
      "additionalProperties": false
    },
    "state.snapshot.result": {
      "type": "object",
      "properties": {
        "snapshot": {
          "$ref": "#/$defs/snapshot"
        }
      },
      "required": [
        "snapshot"
      ],
      "additionalProperties": false
    },
    "state.snapshot.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "state.snapshot"
        },
        "params": {
          "$ref": "#/$defs/state.snapshot.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "state.snapshot.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/state.snapshot.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "state.unsubscribe.params": {
      "type": "object",
      "properties": {
        "subscriptionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        }
      },
      "required": [
        "subscriptionId"
      ],
      "additionalProperties": false
    },
    "state.unsubscribe.result": {
      "type": "object",
      "properties": {
        "ok": {
          "const": true
        }
      },
      "required": [
        "ok"
      ],
      "additionalProperties": false
    },
    "state.unsubscribe.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "state.unsubscribe"
        },
        "params": {
          "$ref": "#/$defs/state.unsubscribe.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "state.unsubscribe.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/state.unsubscribe.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "world.load.params": {
      "type": "object",
      "properties": {
        "worldId": {
          "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/id"
        },
        "spawnId": {
          "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/slug"
        }
      },
      "required": [
        "worldId"
      ],
      "additionalProperties": false
    },
    "world.load.result": {
      "type": "object",
      "properties": {
        "revision": {
          "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/revision"
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "world.load.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "world.load"
        },
        "params": {
          "$ref": "#/$defs/world.load.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "world.load.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/world.load.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "surface.focus.params": {
      "type": "object",
      "properties": {
        "surfaceId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "intent": {
          "enum": [
            "pointer",
            "keyboard"
          ]
        }
      },
      "required": [
        "surfaceId",
        "intent"
      ],
      "additionalProperties": false
    },
    "surface.focus.result": {
      "type": "object",
      "properties": {
        "revision": {
          "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/revision"
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "surface.focus.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "surface.focus"
        },
        "params": {
          "$ref": "#/$defs/surface.focus.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "surface.focus.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/surface.focus.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "movement.set.params": {
      "type": "object",
      "properties": {
        "modeId": {
          "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/id"
        }
      },
      "required": [
        "modeId"
      ],
      "additionalProperties": false
    },
    "movement.set.result": {
      "type": "object",
      "properties": {
        "revision": {
          "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/revision"
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "movement.set.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "movement.set"
        },
        "params": {
          "$ref": "#/$defs/movement.set.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "movement.set.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/movement.set.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "shell.claim.params": {
      "type": "object",
      "properties": {
        "outputs": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "minItems": 1,
          "uniqueItems": true
        }
      },
      "required": [
        "outputs"
      ],
      "additionalProperties": false
    },
    "shell.claim.result": {
      "type": "object",
      "properties": {
        "leaseId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "revision": {
          "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/revision"
        }
      },
      "required": [
        "leaseId",
        "revision"
      ],
      "additionalProperties": false
    },
    "shell.claim.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "shell.claim"
        },
        "params": {
          "$ref": "#/$defs/shell.claim.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "shell.claim.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/shell.claim.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "shell.release.params": {
      "type": "object",
      "properties": {
        "leaseId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        }
      },
      "required": [
        "leaseId"
      ],
      "additionalProperties": false
    },
    "shell.release.result": {
      "type": "object",
      "properties": {
        "revision": {
          "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/revision"
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "shell.release.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "shell.release"
        },
        "params": {
          "$ref": "#/$defs/shell.release.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "shell.release.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/shell.release.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "shell.overlay.params": {
      "type": "object",
      "properties": {
        "leaseId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "outputId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "visible": {
          "type": "boolean"
        },
        "exclusiveInput": {
          "type": "boolean"
        }
      },
      "required": [
        "leaseId",
        "outputId",
        "visible",
        "exclusiveInput"
      ],
      "additionalProperties": false
    },
    "shell.overlay.result": {
      "type": "object",
      "properties": {
        "revision": {
          "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/revision"
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "shell.overlay.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "shell.overlay"
        },
        "params": {
          "$ref": "#/$defs/shell.overlay.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "shell.overlay.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/shell.overlay.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "runtime.exit.params": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "runtime.exit.result": {
      "type": "object",
      "properties": {
        "revision": {
          "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/revision"
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "runtime.exit.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "runtime.exit"
        },
        "params": {
          "$ref": "#/$defs/runtime.exit.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "runtime.exit.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/runtime.exit.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "state.delta.notification": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "method": {
          "const": "state.delta"
        },
        "params": {
          "type": "object",
          "properties": {
            "subscriptionId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "sessionId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "baseRevision": {
              "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/revision"
            },
            "revision": {
              "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/revision"
            },
            "changes": {
              "type": "object",
              "properties": {
                "runtime": {
                  "type": "object",
                  "properties": {
                    "active": {
                      "type": "boolean"
                    },
                    "outputs": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "minItems": 0,
                      "uniqueItems": true
                    }
                  },
                  "required": [
                    "active",
                    "outputs"
                  ],
                  "additionalProperties": false
                },
                "world": {
                  "anyOf": [
                    {
                      "type": "null"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/id"
                        },
                        "spawnId": {
                          "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/slug"
                        }
                      },
                      "required": [
                        "id",
                        "spawnId"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                "surfaces": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "kind": {
                        "enum": [
                          "window",
                          "workspace",
                          "layer",
                          "web",
                          "custom"
                        ]
                      },
                      "title": {
                        "type": "string",
                        "minLength": 0,
                        "maxLength": 512
                      },
                      "logicalSize": {
                        "type": "array",
                        "items": {
                          "type": "number",
                          "exclusiveMinimum": 0
                        },
                        "minItems": 2,
                        "maxItems": 2
                      },
                      "focused": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "id",
                      "kind",
                      "title",
                      "logicalSize",
                      "focused"
                    ],
                    "additionalProperties": false
                  },
                  "minItems": 0
                },
                "movement": {
                  "type": "object",
                  "properties": {
                    "modeId": {
                      "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/id"
                    },
                    "position": {
                      "type": "array",
                      "items": {
                        "type": "number"
                      },
                      "minItems": 3,
                      "maxItems": 3
                    },
                    "orientation": {
                      "type": "array",
                      "items": {
                        "type": "number"
                      },
                      "minItems": 4,
                      "maxItems": 4
                    },
                    "state": {
                      "enum": [
                        "walking",
                        "flying",
                        "climbing"
                      ]
                    },
                    "ladderId": {
                      "anyOf": [
                        {
                          "type": "null"
                        },
                        {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 128
                        }
                      ]
                    },
                    "prompt": {
                      "type": "string",
                      "maxLength": 256
                    }
                  },
                  "required": [
                    "modeId",
                    "position",
                    "orientation",
                    "state",
                    "ladderId",
                    "prompt"
                  ],
                  "additionalProperties": false
                },
                "shell": {
                  "type": "object",
                  "properties": {
                    "leases": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 128
                          },
                          "outputs": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 128
                            },
                            "minItems": 1,
                            "uniqueItems": true
                          },
                          "overlays": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "outputId": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 128
                                },
                                "visible": {
                                  "type": "boolean"
                                },
                                "exclusiveInput": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "outputId",
                                "visible",
                                "exclusiveInput"
                              ],
                              "additionalProperties": false
                            },
                            "minItems": 0
                          }
                        },
                        "required": [
                          "id",
                          "outputs",
                          "overlays"
                        ],
                        "additionalProperties": false
                      },
                      "minItems": 0
                    }
                  },
                  "required": [
                    "leases"
                  ],
                  "additionalProperties": false
                },
                "location": {
                  "$ref": "#/$defs/location"
                },
                "integrations": {
                  "$ref": "#/$defs/integrations"
                },
                "spatial": {
                  "$ref": "#/$defs/spatial"
                },
                "workspaces": {
                  "$ref": "#/$defs/workspaces"
                },
                "mounts": {
                  "$ref": "#/$defs/mounts"
                },
                "presentation": {
                  "$ref": "#/$defs/presentation"
                },
                "apps": {
                  "$ref": "#/$defs/apps"
                },
                "interaction": {
                  "$ref": "#/$defs/interaction"
                },
                "keymap": {
                  "$ref": "#/$defs/keymap"
                },
                "editor": {
                  "$ref": "#/$defs/editor"
                },
                "markers": {
                  "$ref": "#/$defs/markersState"
                },
                "quests": {
                  "$ref": "#/$defs/questsState"
                },
                "focus": {
                  "$ref": "#/$defs/focusState"
                }
              },
              "required": [],
              "additionalProperties": false,
              "minProperties": 1
            }
          },
          "required": [
            "subscriptionId",
            "sessionId",
            "baseRevision",
            "revision",
            "changes"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "jsonrpc",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "runtime.notice.notification": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "method": {
          "const": "runtime.notice"
        },
        "params": {
          "type": "object",
          "properties": {
            "level": {
              "enum": [
                "info",
                "warning",
                "error"
              ]
            },
            "code": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "message": {
              "type": "string",
              "minLength": 1,
              "maxLength": 4096
            }
          },
          "required": [
            "level",
            "code",
            "message"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "jsonrpc",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "session.revoked.notification": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "method": {
          "const": "session.revoked"
        },
        "params": {
          "type": "object",
          "properties": {
            "reason": {
              "type": "string",
              "minLength": 1,
              "maxLength": 4096
            }
          },
          "required": [
            "reason"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "jsonrpc",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "error": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "anyOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            {
              "type": "null"
            }
          ]
        },
        "error": {
          "type": "object",
          "properties": {
            "code": {
              "enum": [
                -32700,
                -32600,
                -32601,
                -32602,
                -32603,
                -32008,
                -32007,
                -32006,
                -32005,
                -32004,
                -32003,
                -32002,
                -32001
              ]
            },
            "message": {
              "type": "string",
              "minLength": 1,
              "maxLength": 4096
            },
            "data": {
              "type": "object",
              "properties": {
                "retryable": {
                  "type": "boolean"
                }
              },
              "required": [
                "retryable"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "code",
            "message"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "error"
      ],
      "additionalProperties": false
    },
    "request": {
      "oneOf": [
        {
          "$ref": "#/$defs/session.hello.request"
        },
        {
          "$ref": "#/$defs/session.ping.request"
        },
        {
          "$ref": "#/$defs/state.subscribe.request"
        },
        {
          "$ref": "#/$defs/state.snapshot.request"
        },
        {
          "$ref": "#/$defs/state.unsubscribe.request"
        },
        {
          "$ref": "#/$defs/world.load.request"
        },
        {
          "$ref": "#/$defs/surface.focus.request"
        },
        {
          "$ref": "#/$defs/movement.set.request"
        },
        {
          "$ref": "#/$defs/shell.claim.request"
        },
        {
          "$ref": "#/$defs/shell.release.request"
        },
        {
          "$ref": "#/$defs/shell.overlay.request"
        },
        {
          "$ref": "#/$defs/runtime.exit.request"
        },
        {
          "$ref": "#/$defs/camera.get.request"
        },
        {
          "$ref": "#/$defs/camera.set.request"
        },
        {
          "$ref": "#/$defs/waypoint.set.request"
        },
        {
          "$ref": "#/$defs/waypoint.clear.request"
        },
        {
          "$ref": "#/$defs/route.set.request"
        },
        {
          "$ref": "#/$defs/route.clear.request"
        },
        {
          "$ref": "#/$defs/travel.start.request"
        },
        {
          "$ref": "#/$defs/travel.cancel.request"
        },
        {
          "$ref": "#/$defs/autodrive.start.request"
        },
        {
          "$ref": "#/$defs/autodrive.stop.request"
        },
        {
          "$ref": "#/$defs/ui.open.request"
        },
        {
          "$ref": "#/$defs/ui.close.request"
        },
        {
          "$ref": "#/$defs/data.publish.request"
        },
        {
          "$ref": "#/$defs/data.remove.request"
        },
        {
          "$ref": "#/$defs/shell.bind.request"
        },
        {
          "$ref": "#/$defs/workspace.activate.request"
        },
        {
          "$ref": "#/$defs/workspace.bind.request"
        },
        {
          "$ref": "#/$defs/workspace.focus.request"
        },
        {
          "$ref": "#/$defs/workspace.unfocus.request"
        },
        {
          "$ref": "#/$defs/surface.pull.request"
        },
        {
          "$ref": "#/$defs/surface.place.request"
        },
        {
          "$ref": "#/$defs/surface.return.request"
        },
        {
          "$ref": "#/$defs/placements.list.request"
        },
        {
          "$ref": "#/$defs/placements.remove.request"
        },
        {
          "$ref": "#/$defs/data.object.bind.request"
        },
        {
          "$ref": "#/$defs/atmosphere.get.request"
        },
        {
          "$ref": "#/$defs/atmosphere.set.request"
        },
        {
          "$ref": "#/$defs/camera.fov.request"
        },
        {
          "$ref": "#/$defs/surfaces.recall.request"
        },
        {
          "$ref": "#/$defs/input.get.request"
        },
        {
          "$ref": "#/$defs/input.preview.request"
        },
        {
          "$ref": "#/$defs/input.set.request"
        },
        {
          "$ref": "#/$defs/input.capture.request"
        },
        {
          "$ref": "#/$defs/input.capture.cancel.request"
        },
        {
          "$ref": "#/$defs/overlay.style.request"
        },
        {
          "$ref": "#/$defs/graphics.get.request"
        },
        {
          "$ref": "#/$defs/graphics.set.request"
        },
        {
          "$ref": "#/$defs/hud.subscribe.request"
        },
        {
          "$ref": "#/$defs/hud.unsubscribe.request"
        },
        {
          "$ref": "#/$defs/recording.start.request"
        },
        {
          "$ref": "#/$defs/recording.stop.request"
        },
        {
          "$ref": "#/$defs/recording.mark.request"
        },
        {
          "$ref": "#/$defs/recording.status.request"
        },
        {
          "$ref": "#/$defs/replay.start.request"
        },
        {
          "$ref": "#/$defs/replay.stop.request"
        },
        {
          "$ref": "#/$defs/replay.status.request"
        },
        {
          "$ref": "#/$defs/capture.annotate.request"
        },
        {
          "$ref": "#/$defs/player.get.request"
        },
        {
          "$ref": "#/$defs/player.set.request"
        },
        {
          "$ref": "#/$defs/surface.pocket.request"
        },
        {
          "$ref": "#/$defs/surface.unpocket.request"
        },
        {
          "$ref": "#/$defs/markers.reveal.request"
        },
        {
          "$ref": "#/$defs/guidance.get.request"
        },
        {
          "$ref": "#/$defs/guidance.set.request"
        },
        {
          "$ref": "#/$defs/quests.list.request"
        },
        {
          "$ref": "#/$defs/quests.get.request"
        },
        {
          "$ref": "#/$defs/quests.track.request"
        },
        {
          "$ref": "#/$defs/quests.accept.request"
        },
        {
          "$ref": "#/$defs/quests.abandon.request"
        },
        {
          "$ref": "#/$defs/quests.resume.request"
        },
        {
          "$ref": "#/$defs/quests.create.request"
        },
        {
          "$ref": "#/$defs/quests.update.request"
        },
        {
          "$ref": "#/$defs/quests.delete.request"
        },
        {
          "$ref": "#/$defs/quests.mark.request"
        },
        {
          "$ref": "#/$defs/focus.start.request"
        },
        {
          "$ref": "#/$defs/focus.pause.request"
        },
        {
          "$ref": "#/$defs/focus.resume.request"
        },
        {
          "$ref": "#/$defs/focus.skip.request"
        },
        {
          "$ref": "#/$defs/focus.stop.request"
        },
        {
          "$ref": "#/$defs/focus.history.request"
        }
      ]
    },
    "response": {
      "anyOf": [
        {
          "$ref": "#/$defs/session.hello.response"
        },
        {
          "$ref": "#/$defs/session.ping.response"
        },
        {
          "$ref": "#/$defs/state.subscribe.response"
        },
        {
          "$ref": "#/$defs/state.snapshot.response"
        },
        {
          "$ref": "#/$defs/state.unsubscribe.response"
        },
        {
          "$ref": "#/$defs/world.load.response"
        },
        {
          "$ref": "#/$defs/surface.focus.response"
        },
        {
          "$ref": "#/$defs/movement.set.response"
        },
        {
          "$ref": "#/$defs/shell.release.response"
        },
        {
          "$ref": "#/$defs/shell.overlay.response"
        },
        {
          "$ref": "#/$defs/runtime.exit.response"
        },
        {
          "$ref": "#/$defs/shell.claim.response"
        },
        {
          "$ref": "#/$defs/camera.get.response"
        },
        {
          "$ref": "#/$defs/camera.set.response"
        },
        {
          "$ref": "#/$defs/waypoint.set.response"
        },
        {
          "$ref": "#/$defs/waypoint.clear.response"
        },
        {
          "$ref": "#/$defs/route.set.response"
        },
        {
          "$ref": "#/$defs/route.clear.response"
        },
        {
          "$ref": "#/$defs/travel.start.response"
        },
        {
          "$ref": "#/$defs/travel.cancel.response"
        },
        {
          "$ref": "#/$defs/autodrive.start.response"
        },
        {
          "$ref": "#/$defs/autodrive.stop.response"
        },
        {
          "$ref": "#/$defs/ui.open.response"
        },
        {
          "$ref": "#/$defs/ui.close.response"
        },
        {
          "$ref": "#/$defs/data.publish.response"
        },
        {
          "$ref": "#/$defs/data.remove.response"
        },
        {
          "$ref": "#/$defs/shell.bind.response"
        },
        {
          "$ref": "#/$defs/workspace.activate.response"
        },
        {
          "$ref": "#/$defs/workspace.bind.response"
        },
        {
          "$ref": "#/$defs/workspace.focus.response"
        },
        {
          "$ref": "#/$defs/workspace.unfocus.response"
        },
        {
          "$ref": "#/$defs/surface.pull.response"
        },
        {
          "$ref": "#/$defs/surface.place.response"
        },
        {
          "$ref": "#/$defs/surface.return.response"
        },
        {
          "$ref": "#/$defs/placements.list.response"
        },
        {
          "$ref": "#/$defs/placements.remove.response"
        },
        {
          "$ref": "#/$defs/data.object.bind.response"
        },
        {
          "$ref": "#/$defs/atmosphere.get.response"
        },
        {
          "$ref": "#/$defs/atmosphere.set.response"
        },
        {
          "$ref": "#/$defs/camera.fov.response"
        },
        {
          "$ref": "#/$defs/surfaces.recall.response"
        },
        {
          "$ref": "#/$defs/input.get.response"
        },
        {
          "$ref": "#/$defs/input.preview.response"
        },
        {
          "$ref": "#/$defs/input.set.response"
        },
        {
          "$ref": "#/$defs/input.capture.response"
        },
        {
          "$ref": "#/$defs/input.capture.cancel.response"
        },
        {
          "$ref": "#/$defs/overlay.style.response"
        },
        {
          "$ref": "#/$defs/graphics.get.response"
        },
        {
          "$ref": "#/$defs/graphics.set.response"
        },
        {
          "$ref": "#/$defs/hud.subscribe.response"
        },
        {
          "$ref": "#/$defs/hud.unsubscribe.response"
        },
        {
          "$ref": "#/$defs/recording.start.response"
        },
        {
          "$ref": "#/$defs/recording.stop.response"
        },
        {
          "$ref": "#/$defs/recording.mark.response"
        },
        {
          "$ref": "#/$defs/recording.status.response"
        },
        {
          "$ref": "#/$defs/replay.start.response"
        },
        {
          "$ref": "#/$defs/replay.stop.response"
        },
        {
          "$ref": "#/$defs/replay.status.response"
        },
        {
          "$ref": "#/$defs/capture.annotate.response"
        },
        {
          "$ref": "#/$defs/player.get.response"
        },
        {
          "$ref": "#/$defs/player.set.response"
        },
        {
          "$ref": "#/$defs/surface.pocket.response"
        },
        {
          "$ref": "#/$defs/surface.unpocket.response"
        },
        {
          "$ref": "#/$defs/markers.reveal.response"
        },
        {
          "$ref": "#/$defs/guidance.get.response"
        },
        {
          "$ref": "#/$defs/guidance.set.response"
        },
        {
          "$ref": "#/$defs/quests.list.response"
        },
        {
          "$ref": "#/$defs/quests.get.response"
        },
        {
          "$ref": "#/$defs/quests.track.response"
        },
        {
          "$ref": "#/$defs/quests.accept.response"
        },
        {
          "$ref": "#/$defs/quests.abandon.response"
        },
        {
          "$ref": "#/$defs/quests.resume.response"
        },
        {
          "$ref": "#/$defs/quests.create.response"
        },
        {
          "$ref": "#/$defs/quests.update.response"
        },
        {
          "$ref": "#/$defs/quests.delete.response"
        },
        {
          "$ref": "#/$defs/quests.mark.response"
        },
        {
          "$ref": "#/$defs/focus.start.response"
        },
        {
          "$ref": "#/$defs/focus.pause.response"
        },
        {
          "$ref": "#/$defs/focus.resume.response"
        },
        {
          "$ref": "#/$defs/focus.skip.response"
        },
        {
          "$ref": "#/$defs/focus.stop.response"
        },
        {
          "$ref": "#/$defs/focus.history.response"
        }
      ]
    },
    "notification": {
      "oneOf": [
        {
          "$ref": "#/$defs/state.delta.notification"
        },
        {
          "$ref": "#/$defs/runtime.notice.notification"
        },
        {
          "$ref": "#/$defs/session.revoked.notification"
        },
        {
          "$ref": "#/$defs/location.transition.notification"
        },
        {
          "$ref": "#/$defs/ui.opened.notification"
        },
        {
          "$ref": "#/$defs/ui.closed.notification"
        },
        {
          "$ref": "#/$defs/data.updated.notification"
        },
        {
          "$ref": "#/$defs/mounts.changed.notification"
        },
        {
          "$ref": "#/$defs/presentation.changed.notification"
        },
        {
          "$ref": "#/$defs/hud.frame.notification"
        },
        {
          "$ref": "#/$defs/hud.pose.notification"
        },
        {
          "$ref": "#/$defs/zone.entered.notification"
        },
        {
          "$ref": "#/$defs/zone.exited.notification"
        },
        {
          "$ref": "#/$defs/tool.changed.notification"
        },
        {
          "$ref": "#/$defs/ui.hud.cycle.notification"
        },
        {
          "$ref": "#/$defs/capture.taken.notification"
        },
        {
          "$ref": "#/$defs/quest.progress.notification"
        },
        {
          "$ref": "#/$defs/focus.phase.notification"
        }
      ]
    },
    "target": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "position": {
              "type": "array",
              "items": {
                "type": "number",
                "minimum": -100000,
                "maximum": 100000
              },
              "minItems": 3,
              "maxItems": 3
            }
          },
          "required": [
            "position"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "zoneId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            }
          },
          "required": [
            "zoneId"
          ],
          "additionalProperties": false
        }
      ]
    },
    "transition": {
      "type": "object",
      "properties": {
        "phase": {
          "enum": [
            "departing",
            "travelling",
            "arrived",
            "cancelled",
            "loading",
            "failed"
          ]
        },
        "progress": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "number",
              "minimum": 0,
              "maximum": 1
            }
          ]
        },
        "to": {
          "$ref": "#/$defs/destination"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "outputId": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            }
          ]
        },
        "monotonicMs": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "phase",
        "progress",
        "to",
        "id",
        "outputId",
        "monotonicMs"
      ],
      "additionalProperties": false
    },
    "waypoint": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "label": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "target": {
          "$ref": "#/$defs/target"
        },
        "position": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": -100000,
            "maximum": 100000
          },
          "minItems": 3,
          "maxItems": 3
        }
      },
      "required": [
        "id",
        "label",
        "target",
        "position"
      ],
      "additionalProperties": false
    },
    "routePoint": {
      "type": "object",
      "properties": {
        "target": {
          "$ref": "#/$defs/target"
        },
        "position": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": -100000,
            "maximum": 100000
          },
          "minItems": 3,
          "maxItems": 3
        }
      },
      "required": [
        "target",
        "position"
      ],
      "additionalProperties": false
    },
    "source": {
      "type": "object",
      "properties": {
        "sourceId": {
          "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/id"
        },
        "values": {
          "type": "object",
          "maxProperties": 32,
          "propertyNames": {
            "maxLength": 128
          },
          "additionalProperties": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "boolean"
              },
              {
                "type": "string",
                "maxLength": 256
              }
            ]
          }
        },
        "sequence": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "monotonicMs": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "ttlMs": {
          "type": "integer",
          "minimum": 100,
          "maximum": 60000
        }
      },
      "required": [
        "sourceId",
        "values",
        "sequence",
        "monotonicMs",
        "ttlMs"
      ],
      "additionalProperties": false
    },
    "location": {
      "type": "object",
      "properties": {
        "zones": {
          "$ref": "https://hyprune.com/schema/v0.2/world.schema.json#/properties/zones"
        },
        "waypoint": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/waypoint"
            }
          ]
        },
        "route": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/routePoint"
          },
          "minItems": 0,
          "maxItems": 64
        },
        "autodrive": {
          "type": "boolean"
        },
        "transition": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/transition"
            }
          ]
        }
      },
      "required": [
        "zones",
        "waypoint",
        "route",
        "autodrive",
        "transition"
      ],
      "additionalProperties": false
    },
    "integrations": {
      "type": "object",
      "properties": {
        "sources": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/source"
          },
          "minItems": 0,
          "maxItems": 32
        }
      },
      "required": [
        "sources"
      ],
      "additionalProperties": false
    },
    "camera.get.params": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "camera.get.result": {
      "type": "object",
      "properties": {
        "position": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": -100000,
            "maximum": 100000
          },
          "minItems": 3,
          "maxItems": 3
        },
        "orientation": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "minItems": 4,
          "maxItems": 4
        },
        "roll": {
          "type": "number",
          "minimum": -3.141593,
          "maximum": 3.141593
        },
        "fov": {
          "type": "number",
          "minimum": 3,
          "maximum": 140
        },
        "lensShift": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": -2,
            "maximum": 2
          },
          "minItems": 2,
          "maxItems": 2
        },
        "held": {
          "type": "boolean"
        },
        "renderScale": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 0.25,
              "maximum": 1
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "position",
        "orientation",
        "roll",
        "fov",
        "lensShift",
        "held",
        "renderScale"
      ],
      "additionalProperties": false
    },
    "camera.get.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "camera.get"
        },
        "params": {
          "$ref": "#/$defs/camera.get.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "camera.get.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/camera.get.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "camera.set.params": {
      "type": "object",
      "properties": {
        "position": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": -100000,
            "maximum": 100000
          },
          "minItems": 3,
          "maxItems": 3
        },
        "orientation": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "minItems": 4,
          "maxItems": 4
        }
      },
      "required": [
        "position",
        "orientation"
      ],
      "additionalProperties": false
    },
    "camera.set.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "camera.set.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "camera.set"
        },
        "params": {
          "$ref": "#/$defs/camera.set.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "camera.set.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/camera.set.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "waypoint.set.params": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "label": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "target": {
              "$ref": "#/$defs/target"
            }
          },
          "required": [
            "id",
            "label",
            "target"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "label": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "position": {
              "type": "array",
              "items": {
                "type": "number",
                "minimum": -100000,
                "maximum": 100000
              },
              "minItems": 3,
              "maxItems": 3
            }
          },
          "required": [
            "id",
            "label",
            "position"
          ],
          "additionalProperties": false
        }
      ]
    },
    "waypoint.set.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "waypoint.set.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "waypoint.set"
        },
        "params": {
          "$ref": "#/$defs/waypoint.set.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "waypoint.set.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/waypoint.set.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "waypoint.clear.params": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "waypoint.clear.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "waypoint.clear.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "waypoint.clear"
        },
        "params": {
          "$ref": "#/$defs/waypoint.clear.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "waypoint.clear.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/waypoint.clear.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "route.set.params": {
      "type": "object",
      "properties": {
        "points": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/target"
          },
          "minItems": 1,
          "maxItems": 64
        }
      },
      "required": [
        "points"
      ],
      "additionalProperties": false
    },
    "route.set.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "route.set.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "route.set"
        },
        "params": {
          "$ref": "#/$defs/route.set.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "route.set.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/route.set.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "route.clear.params": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "route.clear.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "route.clear.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "route.clear"
        },
        "params": {
          "$ref": "#/$defs/route.clear.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "route.clear.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/route.clear.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "travel.start.params": {
      "type": "object",
      "properties": {
        "to": {
          "$ref": "#/$defs/target"
        },
        "durationMs": {
          "type": "integer",
          "minimum": 0,
          "maximum": 10000
        }
      },
      "required": [
        "to"
      ],
      "additionalProperties": false
    },
    "travel.start.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "travel.start.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "travel.start"
        },
        "params": {
          "$ref": "#/$defs/travel.start.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "travel.start.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/travel.start.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "travel.cancel.params": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "travel.cancel.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "travel.cancel.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "travel.cancel"
        },
        "params": {
          "$ref": "#/$defs/travel.cancel.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "travel.cancel.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/travel.cancel.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "autodrive.start.params": {
      "type": "object",
      "properties": {
        "speed": {
          "type": "number",
          "minimum": 0.1,
          "maximum": 10
        }
      },
      "required": [],
      "additionalProperties": false
    },
    "autodrive.start.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "autodrive.start.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "autodrive.start"
        },
        "params": {
          "$ref": "#/$defs/autodrive.start.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "autodrive.start.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/autodrive.start.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "autodrive.stop.params": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "autodrive.stop.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "autodrive.stop.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "autodrive.stop"
        },
        "params": {
          "$ref": "#/$defs/autodrive.stop.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "autodrive.stop.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/autodrive.stop.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "ui.open.params": {
      "type": "object",
      "properties": {
        "leaseId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "outputId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "panel": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        }
      },
      "required": [
        "leaseId",
        "outputId",
        "panel"
      ],
      "additionalProperties": false
    },
    "ui.open.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "ui.open.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "ui.open"
        },
        "params": {
          "$ref": "#/$defs/ui.open.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "ui.open.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/ui.open.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "ui.close.params": {
      "type": "object",
      "properties": {
        "leaseId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "outputId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        }
      },
      "required": [
        "leaseId",
        "outputId"
      ],
      "additionalProperties": false
    },
    "ui.close.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "ui.close.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "ui.close"
        },
        "params": {
          "$ref": "#/$defs/ui.close.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "ui.close.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/ui.close.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "data.publish.params": {
      "type": "object",
      "properties": {
        "sourceId": {
          "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/id"
        },
        "values": {
          "type": "object",
          "maxProperties": 32,
          "propertyNames": {
            "maxLength": 128
          },
          "additionalProperties": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "boolean"
              },
              {
                "type": "string",
                "maxLength": 256
              }
            ]
          }
        },
        "sequence": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "ttlMs": {
          "type": "integer",
          "minimum": 100,
          "maximum": 60000
        }
      },
      "required": [
        "sourceId",
        "values",
        "sequence"
      ],
      "additionalProperties": false
    },
    "data.publish.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "data.publish.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "data.publish"
        },
        "params": {
          "$ref": "#/$defs/data.publish.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "data.publish.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/data.publish.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "data.remove.params": {
      "type": "object",
      "properties": {
        "sourceId": {
          "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/id"
        }
      },
      "required": [
        "sourceId"
      ],
      "additionalProperties": false
    },
    "data.remove.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "data.remove.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "data.remove"
        },
        "params": {
          "$ref": "#/$defs/data.remove.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "data.remove.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/data.remove.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "location.transition.notification": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "method": {
          "const": "location.transition"
        },
        "params": {
          "type": "object",
          "properties": {
            "phase": {
              "enum": [
                "departing",
                "travelling",
                "arrived",
                "cancelled",
                "loading",
                "failed"
              ]
            },
            "progress": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1
                }
              ]
            },
            "to": {
              "$ref": "#/$defs/destination"
            },
            "sessionId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "revision": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "id": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "outputId": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 128
                }
              ]
            },
            "monotonicMs": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          },
          "required": [
            "phase",
            "progress",
            "to",
            "sessionId",
            "revision",
            "id",
            "outputId",
            "monotonicMs"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "jsonrpc",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "ui.opened.notification": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "method": {
          "const": "ui.opened"
        },
        "params": {
          "type": "object",
          "properties": {
            "leaseId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "outputId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "panel": {
              "enum": [
                "director",
                "overview",
                "map"
              ]
            },
            "sessionId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "revision": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          },
          "required": [
            "leaseId",
            "outputId",
            "panel",
            "sessionId",
            "revision"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "jsonrpc",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "ui.closed.notification": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "method": {
          "const": "ui.closed"
        },
        "params": {
          "type": "object",
          "properties": {
            "leaseId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "outputId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "sessionId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "revision": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          },
          "required": [
            "leaseId",
            "outputId",
            "sessionId",
            "revision"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "jsonrpc",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "data.updated.notification": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "method": {
          "const": "data.updated"
        },
        "params": {
          "type": "object",
          "properties": {
            "sourceId": {
              "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/id"
            },
            "values": {
              "type": "object",
              "maxProperties": 32,
              "propertyNames": {
                "maxLength": 128
              },
              "additionalProperties": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "string",
                    "maxLength": 256
                  }
                ]
              }
            },
            "sequence": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "monotonicMs": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "ttlMs": {
              "type": "integer",
              "minimum": 100,
              "maximum": 60000
            },
            "sessionId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "revision": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          },
          "required": [
            "sourceId",
            "values",
            "sequence",
            "monotonicMs",
            "ttlMs",
            "sessionId",
            "revision"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "jsonrpc",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "destination": {
      "oneOf": [
        {
          "$ref": "#/$defs/target"
        },
        {
          "type": "object",
          "properties": {
            "worldId": {
              "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/id"
            },
            "spawnId": {
              "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/slug"
            }
          },
          "required": [
            "worldId"
          ],
          "additionalProperties": false
        }
      ]
    },
    "shell.bind.params": {
      "type": "object",
      "properties": {
        "leaseId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "pid": {
          "type": "integer",
          "minimum": 1,
          "maximum": 2147483647
        }
      },
      "required": [
        "leaseId",
        "pid"
      ],
      "additionalProperties": false
    },
    "shell.bind.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "shell.bind.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "shell.bind"
        },
        "params": {
          "$ref": "#/$defs/shell.bind.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "shell.bind.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/shell.bind.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "workspace.activate.params": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "minimum": 1,
          "maximum": 2147483647
        }
      },
      "required": [
        "id"
      ],
      "additionalProperties": false
    },
    "workspace.activate.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "workspace.activate.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "workspace.activate"
        },
        "params": {
          "$ref": "#/$defs/workspace.activate.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "workspace.activate.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/workspace.activate.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "map": {
      "type": "object",
      "properties": {
        "svg": {
          "type": "string",
          "minLength": 1,
          "maxLength": 65536
        },
        "sha256": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        },
        "bounds": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "minItems": 4,
          "maxItems": 4
        },
        "worldToMap": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "minItems": 6,
          "maxItems": 6
        },
        "levels": {
          "type": "array",
          "minItems": 1,
          "maxItems": 6,
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[a-z][a-z0-9-]{0,31}$"
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              "minY": {
                "type": "number"
              },
              "maxY": {
                "type": "number"
              },
              "svg": {
                "type": "string",
                "minLength": 1,
                "maxLength": 65536
              },
              "sha256": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              }
            },
            "required": [
              "id",
              "name",
              "minY",
              "maxY",
              "svg",
              "sha256"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "svg",
        "sha256",
        "bounds",
        "worldToMap"
      ],
      "additionalProperties": false
    },
    "marker": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "label": {
          "type": "string",
          "maxLength": 256
        },
        "x": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        },
        "y": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        },
        "distance": {
          "type": "number",
          "minimum": 0
        },
        "occluded": {
          "type": "boolean"
        },
        "markerId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 160
        }
      },
      "required": [
        "id",
        "label",
        "x",
        "y",
        "distance",
        "occluded"
      ],
      "additionalProperties": false
    },
    "spatial": {
      "type": "object",
      "properties": {
        "world": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "object",
              "properties": {
                "id": {
                  "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/id"
                },
                "name": {
                  "type": "string",
                  "maxLength": 256
                },
                "places": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      "name": {
                        "type": "string",
                        "maxLength": 256
                      },
                      "position": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        },
                        "minItems": 3,
                        "maxItems": 3
                      }
                    },
                    "required": [
                      "id",
                      "name",
                      "position"
                    ],
                    "additionalProperties": false
                  },
                  "maxItems": 64
                }
              },
              "required": [
                "id",
                "name",
                "places"
              ],
              "additionalProperties": false
            }
          ]
        },
        "map": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/map"
            }
          ]
        },
        "output": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 128
                },
                "name": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 128
                },
                "width": {
                  "type": "integer",
                  "minimum": 1
                },
                "height": {
                  "type": "integer",
                  "minimum": 1
                },
                "scale": {
                  "type": "number",
                  "exclusiveMinimum": 0
                }
              },
              "required": [
                "id",
                "name",
                "width",
                "height",
                "scale"
              ],
              "additionalProperties": false
            }
          ]
        },
        "projection": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "object",
              "properties": {
                "outputId": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 128
                },
                "worldId": {
                  "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/id"
                },
                "monotonicMs": {
                  "type": "integer",
                  "minimum": 0
                },
                "markers": {
                  "type": "array",
                  "items": {
                    "$ref": "#/$defs/marker"
                  },
                  "maxItems": 64
                }
              },
              "required": [
                "outputId",
                "worldId",
                "monotonicMs",
                "markers"
              ],
              "additionalProperties": false
            }
          ]
        }
      },
      "required": [
        "world",
        "map",
        "output",
        "projection"
      ],
      "additionalProperties": false
    },
    "workspaces": {
      "type": "object",
      "properties": {
        "currentId": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "integer",
              "minimum": 1
            }
          ]
        },
        "locations": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2147483647
              },
              "label": {
                "type": "string",
                "maxLength": 256
              },
              "worldId": {
                "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/id"
              },
              "spawnId": {
                "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/slug"
              }
            },
            "required": [
              "id",
              "label",
              "worldId",
              "spawnId"
            ],
            "additionalProperties": false
          },
          "maxItems": 32
        }
      },
      "required": [
        "currentId",
        "locations"
      ],
      "additionalProperties": false
    },
    "mounts": {
      "type": "object",
      "properties": {
        "areas": {
          "type": "array",
          "items": {
            "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/area"
          },
          "maxItems": 32
        },
        "anchors": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/slug"
              },
              "pose": {
                "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/pose"
              },
              "size": {
                "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/size2"
              },
              "mount": {
                "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/mount"
              },
              "areaId": {
                "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/slug"
              }
            },
            "required": [
              "id",
              "pose",
              "size",
              "mount",
              "areaId"
            ],
            "additionalProperties": false
          },
          "maxItems": 128
        },
        "bindings": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2147483647
              },
              "worldId": {
                "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/id"
              },
              "areaId": {
                "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/slug"
              }
            },
            "required": [
              "id",
              "worldId",
              "areaId"
            ],
            "additionalProperties": false
          },
          "maxItems": 32
        },
        "placements": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "worldId": {
                    "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/id"
                  },
                  "areaId": {
                    "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/slug"
                  },
                  "anchorId": {
                    "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/slug"
                  },
                  "rule": {
                    "type": "object",
                    "properties": {
                      "appClass": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "title": {
                        "type": "string",
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "appClass",
                      "title"
                    ],
                    "additionalProperties": false
                  },
                  "content": {
                    "$ref": "#/$defs/placementContent"
                  }
                },
                "required": [
                  "worldId",
                  "areaId",
                  "anchorId",
                  "rule"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "worldId": {
                    "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/id"
                  },
                  "areaId": {
                    "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/slug"
                  },
                  "anchorId": {
                    "const": ""
                  },
                  "rule": {
                    "type": "object",
                    "properties": {
                      "appClass": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "title": {
                        "type": "string",
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "appClass",
                      "title"
                    ],
                    "additionalProperties": false
                  },
                  "pose": {
                    "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/pose"
                  },
                  "size": {
                    "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/size2"
                  },
                  "content": {
                    "$ref": "#/$defs/placementContent"
                  }
                },
                "required": [
                  "worldId",
                  "areaId",
                  "anchorId",
                  "rule",
                  "pose",
                  "size"
                ],
                "additionalProperties": false
              }
            ]
          },
          "maxItems": 128
        },
        "objects": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/slug"
              },
              "areaId": {
                "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/slug"
              },
              "pose": {
                "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/pose"
              },
              "mountType": {
                "enum": [
                  "facade-wall",
                  "hanging-wall",
                  "wall-inset-console",
                  "banner",
                  "lectern",
                  "operator-desk",
                  "field-rig",
                  "kiosk-pillar",
                  "globe",
                  "crate",
                  "blast-door-screen",
                  "terminal-bench",
                  "radar-dish"
                ]
              },
              "sourceId": {
                "anyOf": [
                  {
                    "type": "null"
                  },
                  {
                    "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/id"
                  }
                ]
              }
            },
            "required": [
              "id",
              "areaId",
              "pose",
              "mountType",
              "sourceId"
            ],
            "additionalProperties": false
          },
          "maxItems": 128
        },
        "carriedSurfaceId": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            }
          ]
        },
        "desktopWorkspaceId": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "integer",
              "minimum": 1,
              "maximum": 2147483647
            }
          ]
        },
        "placementZones": {
          "type": "array",
          "items": {
            "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/placementZone"
          },
          "maxItems": 32
        },
        "instances": {
          "type": "array",
          "maxItems": 16,
          "items": {
            "type": "object",
            "properties": {
              "surfaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 128
              },
              "workspaceId": {
                "type": "integer",
                "minimum": 1
              },
              "areaId": {
                "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/slug"
              },
              "anchorId": {
                "type": "string",
                "maxLength": 128
              },
              "status": {
                "enum": [
                  "carried",
                  "placed",
                  "recalled"
                ]
              }
            },
            "required": [
              "surfaceId",
              "workspaceId",
              "anchorId",
              "status"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "areas",
        "anchors",
        "bindings",
        "placements",
        "objects",
        "carriedSurfaceId",
        "desktopWorkspaceId",
        "placementZones",
        "instances"
      ],
      "additionalProperties": false
    },
    "presentation": {
      "type": "object",
      "properties": {
        "profile": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/authorAtmosphere"
            }
          ]
        },
        "fov": {
          "type": "number",
          "minimum": 3,
          "maximum": 140
        },
        "quality": {
          "enum": [
            "high",
            "intel"
          ]
        }
      },
      "required": [
        "profile",
        "fov",
        "quality"
      ],
      "additionalProperties": false
    },
    "workspace.bind.params": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "minimum": 1,
          "maximum": 2147483647
        },
        "worldId": {
          "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/id"
        },
        "areaId": {
          "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/slug"
        }
      },
      "required": [
        "id",
        "worldId",
        "areaId"
      ],
      "additionalProperties": false
    },
    "workspace.bind.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "workspace.bind.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "workspace.bind"
        },
        "params": {
          "$ref": "#/$defs/workspace.bind.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "workspace.bind.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/workspace.bind.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "workspace.focus.params": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "minimum": 1,
          "maximum": 2147483647
        }
      },
      "required": [
        "id"
      ],
      "additionalProperties": false
    },
    "workspace.focus.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "workspace.focus.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "workspace.focus"
        },
        "params": {
          "$ref": "#/$defs/workspace.focus.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "workspace.focus.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/workspace.focus.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "workspace.unfocus.params": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "workspace.unfocus.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "workspace.unfocus.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "workspace.unfocus"
        },
        "params": {
          "$ref": "#/$defs/workspace.unfocus.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "workspace.unfocus.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/workspace.unfocus.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "surface.pull.params": {
      "type": "object",
      "properties": {
        "surfaceId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        }
      },
      "required": [
        "surfaceId"
      ],
      "additionalProperties": false
    },
    "surface.pull.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "surface.pull.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "surface.pull"
        },
        "params": {
          "$ref": "#/$defs/surface.pull.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "surface.pull.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/surface.pull.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "surface.place.params": {
      "type": "object",
      "properties": {
        "surfaceId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "anchorId": {
          "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/slug"
        }
      },
      "required": [
        "surfaceId"
      ],
      "additionalProperties": false
    },
    "surface.place.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "surface.place.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "surface.place"
        },
        "params": {
          "$ref": "#/$defs/surface.place.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "surface.place.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/surface.place.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "surface.return.params": {
      "type": "object",
      "properties": {
        "surfaceId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        }
      },
      "required": [
        "surfaceId"
      ],
      "additionalProperties": false
    },
    "surface.return.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "surface.return.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "surface.return"
        },
        "params": {
          "$ref": "#/$defs/surface.return.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "surface.return.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/surface.return.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "placements.list.params": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "placements.list.result": {
      "type": "object",
      "properties": {
        "placements": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "worldId": {
                    "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/id"
                  },
                  "areaId": {
                    "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/slug"
                  },
                  "anchorId": {
                    "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/slug"
                  },
                  "rule": {
                    "type": "object",
                    "properties": {
                      "appClass": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "title": {
                        "type": "string",
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "appClass",
                      "title"
                    ],
                    "additionalProperties": false
                  },
                  "content": {
                    "$ref": "#/$defs/placementContent"
                  }
                },
                "required": [
                  "worldId",
                  "areaId",
                  "anchorId",
                  "rule"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "worldId": {
                    "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/id"
                  },
                  "areaId": {
                    "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/slug"
                  },
                  "anchorId": {
                    "const": ""
                  },
                  "rule": {
                    "type": "object",
                    "properties": {
                      "appClass": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "title": {
                        "type": "string",
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "appClass",
                      "title"
                    ],
                    "additionalProperties": false
                  },
                  "pose": {
                    "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/pose"
                  },
                  "size": {
                    "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/size2"
                  },
                  "content": {
                    "$ref": "#/$defs/placementContent"
                  }
                },
                "required": [
                  "worldId",
                  "areaId",
                  "anchorId",
                  "rule",
                  "pose",
                  "size"
                ],
                "additionalProperties": false
              }
            ]
          },
          "maxItems": 128
        }
      },
      "required": [
        "placements"
      ],
      "additionalProperties": false
    },
    "placements.list.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "placements.list"
        },
        "params": {
          "$ref": "#/$defs/placements.list.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "placements.list.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/placements.list.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "placements.remove.params": {
      "type": "object",
      "properties": {
        "worldId": {
          "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/id"
        },
        "areaId": {
          "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/slug"
        },
        "rule": {
          "type": "object",
          "properties": {
            "appClass": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "title": {
              "type": "string",
              "maxLength": 256
            }
          },
          "required": [
            "appClass",
            "title"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "worldId",
        "areaId",
        "rule"
      ],
      "additionalProperties": false
    },
    "placements.remove.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "placements.remove.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "placements.remove"
        },
        "params": {
          "$ref": "#/$defs/placements.remove.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "placements.remove.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/placements.remove.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "data.object.bind.params": {
      "type": "object",
      "properties": {
        "objectId": {
          "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/slug"
        },
        "sourceId": {
          "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/id"
        }
      },
      "required": [
        "objectId",
        "sourceId"
      ],
      "additionalProperties": false
    },
    "data.object.bind.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "data.object.bind.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "data.object.bind"
        },
        "params": {
          "$ref": "#/$defs/data.object.bind.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "data.object.bind.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/data.object.bind.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "atmosphere.get.params": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "atmosphere.get.result": {
      "type": "object",
      "properties": {
        "profile": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/authorAtmosphere"
            }
          ]
        },
        "quality": {
          "enum": [
            "high",
            "intel"
          ]
        }
      },
      "required": [
        "profile",
        "quality"
      ],
      "additionalProperties": false
    },
    "atmosphere.get.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "atmosphere.get"
        },
        "params": {
          "$ref": "#/$defs/atmosphere.get.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "atmosphere.get.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/atmosphere.get.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "atmosphere.set.params": {
      "type": "object",
      "properties": {
        "profile": {
          "$ref": "#/$defs/authorAtmosphere"
        }
      },
      "required": [
        "profile"
      ],
      "additionalProperties": false
    },
    "atmosphere.set.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "atmosphere.set.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "atmosphere.set"
        },
        "params": {
          "$ref": "#/$defs/atmosphere.set.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "atmosphere.set.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/atmosphere.set.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "camera.fov.params": {
      "type": "object",
      "properties": {
        "degrees": {
          "type": "number",
          "minimum": 30,
          "maximum": 110
        }
      },
      "required": [
        "degrees"
      ],
      "additionalProperties": false
    },
    "camera.fov.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "camera.fov.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "camera.fov"
        },
        "params": {
          "$ref": "#/$defs/camera.fov.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "camera.fov.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/camera.fov.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "mounts.changed.notification": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "method": {
          "const": "mounts.changed"
        },
        "params": {
          "type": "object",
          "properties": {
            "sessionId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "revision": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "mounts": {
              "$ref": "#/$defs/mounts"
            }
          },
          "required": [
            "sessionId",
            "revision",
            "mounts"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "jsonrpc",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "presentation.changed.notification": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "method": {
          "const": "presentation.changed"
        },
        "params": {
          "type": "object",
          "properties": {
            "sessionId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "revision": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "presentation": {
              "$ref": "#/$defs/presentation"
            }
          },
          "required": [
            "sessionId",
            "revision",
            "presentation"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "jsonrpc",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "surfaces.recall.params": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "surfaces.recall.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "surfaces.recall.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "surfaces.recall"
        },
        "params": {
          "$ref": "#/$defs/surfaces.recall.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "surfaces.recall.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/surfaces.recall.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "interaction": {
      "type": "object",
      "properties": {
        "mode": {
          "enum": [
            "movement",
            "typing",
            "workspace",
            "fullscreen",
            "cursor"
          ]
        },
        "tool": {
          "type": "integer",
          "minimum": 1,
          "maximum": 5
        },
        "tools": {
          "type": "array",
          "items": {
            "enum": [
              "pointer",
              "mount",
              "path",
              "position",
              "placement"
            ]
          },
          "minItems": 5,
          "maxItems": 5
        },
        "noclip": {
          "type": "boolean"
        },
        "cursor": {
          "enum": [
            "desktop",
            "workspace",
            "fullscreen",
            "director",
            "virtual",
            "reticle"
          ]
        },
        "taggedSurfaceId": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            }
          ]
        },
        "reticle": {
          "$ref": "#/$defs/reticle"
        }
      },
      "required": [
        "mode",
        "tool",
        "tools",
        "noclip",
        "cursor",
        "taggedSurfaceId",
        "reticle"
      ],
      "additionalProperties": false
    },
    "apps": {
      "type": "array",
      "maxItems": 128,
      "items": {
        "type": "object",
        "properties": {
          "surfaceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "workspaceId": {
            "type": "integer",
            "minimum": 0
          },
          "title": {
            "type": "string",
            "maxLength": 512
          },
          "appClass": {
            "type": "string",
            "maxLength": 256
          },
          "icon": {
            "type": "string",
            "maxLength": 256
          }
        },
        "required": [
          "surfaceId",
          "workspaceId",
          "title",
          "appClass",
          "icon"
        ],
        "additionalProperties": false
      }
    },
    "inputConfig": {
      "type": "object",
      "properties": {
        "version": {
          "const": 2
        },
        "longHoldMs": {
          "type": "integer",
          "minimum": 100,
          "maximum": 5000
        },
        "scopeVignette": {
          "type": "boolean"
        },
        "useDistance": {
          "type": "number",
          "minimum": 0.2,
          "maximum": 30
        },
        "useTolerance": {
          "type": "number",
          "minimum": 0,
          "maximum": 0.5
        },
        "captureInputLimit": {
          "type": "integer",
          "minimum": 16,
          "maximum": 1024
        },
        "modes": {
          "type": "object",
          "properties": {
            "world": {
              "type": "object",
              "properties": {
                "look": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "forward": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "back": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "left": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "right": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "menu": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "sprint": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "up": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "down": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "use": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "focus": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "noclip": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "scope": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "debug": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "capture": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "carry": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "resize": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "distance": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "rotate": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "tool1": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "tool2": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "tool3": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "tool4": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "hud.cycle": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "transport": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "autopilot": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "primary": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "secondary": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "fly": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "record.toggle": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "exit": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "tool5": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "carry.facing": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "content.scale": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "window.reset": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "cycle": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "alternate": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "markers.reveal": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                }
              },
              "required": [
                "look",
                "forward",
                "back",
                "left",
                "right",
                "menu",
                "sprint",
                "up",
                "down",
                "use",
                "focus",
                "noclip",
                "scope",
                "debug",
                "capture",
                "carry",
                "resize",
                "distance",
                "rotate",
                "tool1",
                "tool2",
                "tool3",
                "tool4",
                "hud.cycle",
                "transport",
                "autopilot",
                "primary",
                "secondary",
                "fly",
                "record.toggle",
                "exit",
                "tool5",
                "carry.facing",
                "content.scale",
                "window.reset",
                "alternate",
                "cycle",
                "markers.reveal"
              ],
              "additionalProperties": false
            },
            "interactive": {
              "type": "object",
              "properties": {
                "exit": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "debug": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "capture": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "record.toggle": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                }
              },
              "required": [
                "exit",
                "record.toggle"
              ],
              "additionalProperties": false
            },
            "focus": {
              "type": "object",
              "properties": {
                "exit": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "debug": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "capture": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "record.toggle": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                }
              },
              "required": [
                "exit",
                "record.toggle"
              ],
              "additionalProperties": false
            },
            "menu": {
              "type": "object",
              "properties": {
                "exit": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "debug": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "capture": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                },
                "record.toggle": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 96
                  },
                  "maxItems": 3,
                  "uniqueItems": true
                }
              },
              "required": [
                "exit",
                "record.toggle"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "world",
            "interactive",
            "focus",
            "menu"
          ],
          "additionalProperties": false
        },
        "invert_y": {
          "type": "boolean",
          "description": "Invert vertical mouse look; default false."
        },
        "show_area_markers": {
          "type": "boolean",
          "description": "Render optional place/area labels in core; default false."
        }
      },
      "required": [
        "version",
        "longHoldMs",
        "scopeVignette",
        "useDistance",
        "useTolerance",
        "captureInputLimit",
        "modes"
      ],
      "additionalProperties": false
    },
    "inputSteals": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "mode": {
            "enum": [
              "world",
              "interactive",
              "focus",
              "menu"
            ]
          },
          "action": {
            "type": "string",
            "maxLength": 128
          },
          "binding": {
            "type": "string",
            "maxLength": 96
          },
          "description": {
            "type": "string",
            "maxLength": 1024
          },
          "submap": {
            "type": "string",
            "maxLength": 256
          }
        },
        "required": [
          "mode",
          "action",
          "binding",
          "description",
          "submap"
        ],
        "additionalProperties": false
      },
      "maxItems": 512
    },
    "inputConflicts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "mode": {
            "enum": [
              "world",
              "interactive",
              "focus",
              "menu"
            ]
          },
          "binding": {
            "type": "string",
            "maxLength": 96
          },
          "actions": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 128
            },
            "maxItems": 2,
            "minItems": 2
          }
        },
        "required": [
          "mode",
          "binding",
          "actions"
        ],
        "additionalProperties": false
      },
      "maxItems": 128
    },
    "inputCapture": {
      "anyOf": [
        {
          "type": "null"
        },
        {
          "type": "object",
          "properties": {
            "mode": {
              "enum": [
                "world",
                "interactive",
                "focus",
                "menu"
              ]
            },
            "action": {
              "type": "string",
              "maxLength": 128
            },
            "slot": {
              "type": "integer",
              "minimum": 0,
              "maximum": 2
            },
            "status": {
              "enum": [
                "waiting",
                "captured"
              ]
            },
            "binding": {
              "type": [
                "null",
                "string"
              ],
              "maxLength": 96
            }
          },
          "required": [
            "mode",
            "action",
            "slot",
            "status",
            "binding"
          ],
          "additionalProperties": false
        }
      ]
    },
    "keymap": {
      "type": "object",
      "properties": {
        "config": {
          "$ref": "#/$defs/inputConfig"
        },
        "path": {
          "type": "string",
          "maxLength": 4096
        },
        "steals": {
          "$ref": "#/$defs/inputSteals"
        },
        "conflicts": {
          "$ref": "#/$defs/inputConflicts"
        },
        "capture": {
          "$ref": "#/$defs/inputCapture"
        },
        "error": {
          "type": "string",
          "maxLength": 4096
        },
        "holds": {
          "$ref": "#/$defs/inputHolds"
        }
      },
      "required": [
        "config",
        "path",
        "steals",
        "conflicts",
        "capture",
        "error",
        "holds"
      ],
      "additionalProperties": false
    },
    "editorPath": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "maxLength": 128
        },
        "worldId": {
          "type": "string",
          "maxLength": 128
        },
        "areaId": {
          "type": "string",
          "maxLength": 128
        },
        "closed": {
          "type": "boolean"
        },
        "points": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "position": {
                "type": "array",
                "items": {
                  "type": "number",
                  "minimum": -100000,
                  "maximum": 100000
                },
                "minItems": 3,
                "maxItems": 3
              },
              "type": {
                "enum": [
                  "line",
                  "curve",
                  "arc"
                ]
              }
            },
            "required": [
              "position",
              "type"
            ],
            "additionalProperties": false
          },
          "maxItems": 256
        }
      },
      "required": [
        "id",
        "worldId",
        "areaId",
        "closed",
        "points"
      ],
      "additionalProperties": false
    },
    "editorObject": {
      "type": "object",
      "properties": {
        "worldId": {
          "type": "string",
          "maxLength": 128
        },
        "areaId": {
          "type": "string",
          "maxLength": 128
        },
        "objectId": {
          "type": "string",
          "maxLength": 128
        },
        "position": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": -100000,
            "maximum": 100000
          },
          "minItems": 3,
          "maxItems": 3
        },
        "rotation": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": -1,
            "maximum": 1
          },
          "minItems": 4,
          "maxItems": 4
        },
        "scale": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100
          },
          "minItems": 3,
          "maxItems": 3
        }
      },
      "required": [
        "worldId",
        "areaId",
        "objectId",
        "position",
        "rotation",
        "scale"
      ],
      "additionalProperties": false
    },
    "editor": {
      "type": "object",
      "properties": {
        "mode": {
          "enum": [
            "world",
            "interactive",
            "focus",
            "menu",
            "cursor"
          ]
        },
        "tool": {
          "type": "integer",
          "minimum": 1,
          "maximum": 5
        },
        "submode": {
          "enum": [
            "normal",
            "place",
            "lock",
            "open line",
            "open curve",
            "open arc",
            "closed line",
            "closed curve",
            "closed arc",
            "move",
            "rotate",
            "scale",
            "reserved",
            "placement"
          ]
        },
        "selectedId": {
          "type": [
            "null",
            "string"
          ],
          "maxLength": 128
        },
        "selectedKind": {
          "enum": [
            "",
            "window",
            "object"
          ]
        },
        "paths": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/editorPath"
          },
          "maxItems": 128
        },
        "objects": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/editorObject"
          },
          "maxItems": 128
        },
        "locked": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 128
          },
          "maxItems": 1024
        },
        "debug": {
          "type": "boolean"
        },
        "unplaced": {
          "$ref": "#/$defs/unplaced"
        },
        "carryFacing": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "contentScale": {
          "anyOf": [
            {
              "$ref": "#/$defs/contentScaleFeedback"
            },
            {
              "type": "null"
            }
          ]
        },
        "toolSlots": {
          "$ref": "#/$defs/toolSlots"
        },
        "toolDefinitions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/toolDefinition"
          },
          "minItems": 5,
          "maxItems": 5
        },
        "toolInput": {
          "$ref": "#/$defs/toolInput"
        }
      },
      "required": [
        "mode",
        "tool",
        "submode",
        "selectedId",
        "selectedKind",
        "paths",
        "objects",
        "locked",
        "debug",
        "unplaced",
        "carryFacing",
        "contentScale",
        "toolSlots",
        "toolDefinitions",
        "toolInput"
      ],
      "additionalProperties": false
    },
    "input.get.params": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "input.get.result": {
      "type": "object",
      "properties": {
        "config": {
          "$ref": "#/$defs/inputConfig"
        },
        "conflicts": {
          "$ref": "#/$defs/inputConflicts"
        },
        "steals": {
          "$ref": "#/$defs/inputSteals"
        },
        "path": {
          "type": "string",
          "maxLength": 4096
        }
      },
      "required": [
        "config",
        "conflicts",
        "steals",
        "path"
      ],
      "additionalProperties": false
    },
    "input.get.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "input.get"
        },
        "params": {
          "$ref": "#/$defs/input.get.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "input.get.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/input.get.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "input.preview.params": {
      "type": "object",
      "properties": {
        "config": {
          "$ref": "#/$defs/inputConfig"
        }
      },
      "required": [
        "config"
      ],
      "additionalProperties": false
    },
    "input.preview.result": {
      "type": "object",
      "properties": {
        "config": {
          "$ref": "#/$defs/inputConfig"
        },
        "conflicts": {
          "$ref": "#/$defs/inputConflicts"
        },
        "steals": {
          "$ref": "#/$defs/inputSteals"
        }
      },
      "required": [
        "config",
        "conflicts",
        "steals"
      ],
      "additionalProperties": false
    },
    "input.preview.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "input.preview"
        },
        "params": {
          "$ref": "#/$defs/input.preview.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "input.preview.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/input.preview.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "input.set.params": {
      "type": "object",
      "properties": {
        "config": {
          "$ref": "#/$defs/inputConfig"
        }
      },
      "required": [
        "config"
      ],
      "additionalProperties": false
    },
    "input.set.result": {
      "type": "object",
      "properties": {
        "revision": {
          "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/revision"
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "input.set.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "input.set"
        },
        "params": {
          "$ref": "#/$defs/input.set.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "input.set.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/input.set.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "input.capture.params": {
      "type": "object",
      "properties": {
        "leaseId": {
          "type": "string",
          "maxLength": 128
        },
        "mode": {
          "enum": [
            "world",
            "interactive",
            "focus",
            "menu"
          ]
        },
        "action": {
          "type": "string",
          "maxLength": 128
        },
        "slot": {
          "type": "integer",
          "minimum": 0,
          "maximum": 2
        }
      },
      "required": [
        "leaseId",
        "mode",
        "action",
        "slot"
      ],
      "additionalProperties": false
    },
    "input.capture.result": {
      "type": "object",
      "properties": {
        "revision": {
          "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/revision"
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "input.capture.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "input.capture"
        },
        "params": {
          "$ref": "#/$defs/input.capture.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "input.capture.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/input.capture.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "input.capture.cancel.params": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "input.capture.cancel.result": {
      "type": "object",
      "properties": {
        "revision": {
          "$ref": "https://hyprune.com/schema/v0.6/common.schema.json#/$defs/revision"
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "input.capture.cancel.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "input.capture.cancel"
        },
        "params": {
          "$ref": "#/$defs/input.capture.cancel.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "input.capture.cancel.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/input.capture.cancel.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "overlayStylePatch": {
      "type": "object",
      "properties": {
        "waypointColor": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "minItems": 3,
          "maxItems": 3
        },
        "routeColor": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "minItems": 3,
          "maxItems": 3
        },
        "labelColor": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "minItems": 3,
          "maxItems": 3
        },
        "promptColor": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "minItems": 3,
          "maxItems": 3
        },
        "fontFamily": {
          "type": "string",
          "minLength": 1,
          "maxLength": 96,
          "pattern": "^[^\\u0000-\\u001f\\u007f]+$"
        },
        "iconAtlas": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "type": "object",
              "properties": {
                "path": {
                  "type": "string",
                  "pattern": "^/[^\\u0000]*$",
                  "maxLength": 4096
                },
                "cellSize": {
                  "type": "integer",
                  "minimum": 16,
                  "maximum": 128
                },
                "waypointIndex": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 255
                },
                "promptIndex": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 255
                }
              },
              "required": [
                "path",
                "cellSize",
                "waypointIndex",
                "promptIndex"
              ],
              "additionalProperties": false
            }
          ]
        },
        "reticleColor": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "minItems": 3,
          "maxItems": 3
        },
        "validColor": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "minItems": 3,
          "maxItems": 3
        },
        "invalidColor": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "minItems": 3,
          "maxItems": 3
        },
        "questColor": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "minItems": 3,
          "maxItems": 3
        }
      },
      "additionalProperties": false
    },
    "overlayStyle": {
      "type": "object",
      "properties": {
        "waypointColor": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "minItems": 3,
          "maxItems": 3
        },
        "routeColor": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "minItems": 3,
          "maxItems": 3
        },
        "labelColor": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "minItems": 3,
          "maxItems": 3
        },
        "promptColor": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "minItems": 3,
          "maxItems": 3
        },
        "fontFamily": {
          "type": "string",
          "minLength": 1,
          "maxLength": 96,
          "pattern": "^[^\\u0000-\\u001f\\u007f]+$"
        },
        "iconAtlas": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "type": "object",
              "properties": {
                "path": {
                  "type": "string",
                  "pattern": "^/[^\\u0000]*$",
                  "maxLength": 4096
                },
                "cellSize": {
                  "type": "integer",
                  "minimum": 16,
                  "maximum": 128
                },
                "waypointIndex": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 255
                },
                "promptIndex": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 255
                }
              },
              "required": [
                "path",
                "cellSize",
                "waypointIndex",
                "promptIndex"
              ],
              "additionalProperties": false
            }
          ]
        },
        "reticleColor": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "minItems": 3,
          "maxItems": 3
        },
        "validColor": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "minItems": 3,
          "maxItems": 3
        },
        "invalidColor": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "minItems": 3,
          "maxItems": 3
        },
        "questColor": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "minItems": 3,
          "maxItems": 3
        }
      },
      "additionalProperties": false,
      "required": [
        "waypointColor",
        "routeColor",
        "labelColor",
        "promptColor",
        "fontFamily",
        "iconAtlas",
        "reticleColor",
        "validColor",
        "invalidColor",
        "questColor"
      ]
    },
    "overlay.style.params": {
      "type": "object",
      "properties": {
        "leaseId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "style": {
          "$ref": "#/$defs/overlayStylePatch"
        }
      },
      "required": [
        "leaseId",
        "style"
      ],
      "additionalProperties": false
    },
    "overlay.style.result": {
      "type": "object",
      "properties": {
        "style": {
          "$ref": "#/$defs/overlayStyle"
        }
      },
      "required": [
        "style"
      ],
      "additionalProperties": false
    },
    "overlay.style.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "overlay.style"
        },
        "params": {
          "$ref": "#/$defs/overlay.style.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "overlay.style.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/overlay.style.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "graphicsConfig": {
      "type": "object",
      "properties": {
        "quality": {
          "enum": [
            "auto",
            "low",
            "medium",
            "high",
            "ultra",
            "intel"
          ]
        },
        "msaa": {
          "enum": [
            1,
            2,
            4,
            null
          ]
        },
        "bloom": {
          "enum": [
            "off",
            "low",
            "high",
            null
          ]
        },
        "fog": {
          "enum": [
            "off",
            "linear",
            "height",
            null
          ]
        },
        "sky": {
          "enum": [
            "off",
            "gradient",
            "environment",
            null
          ]
        },
        "anisotropy": {
          "enum": [
            1,
            2,
            4,
            8,
            16,
            null
          ]
        },
        "reflections": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "normal_maps": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "specular": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "ambient_occlusion": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "alpha_haze": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "dynamic_resolution": {
          "type": "boolean"
        },
        "reduced_motion": {
          "type": "boolean"
        },
        "render_scale": {
          "anyOf": [
            {
              "const": "auto"
            },
            {
              "type": "number",
              "minimum": 0.375,
              "maximum": 1
            }
          ]
        },
        "target_fps": {
          "type": "integer",
          "minimum": 30,
          "maximum": 240
        },
        "fov": {
          "type": "number",
          "minimum": 30,
          "maximum": 120
        },
        "exposure": {
          "type": "number",
          "minimum": 0.01,
          "maximum": 16
        },
        "bloom_strength": {
          "type": "number",
          "minimum": 0,
          "maximum": 4
        },
        "sharpen": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        },
        "offload": {
          "enum": [
            "off",
            "auto",
            "on"
          ]
        },
        "offload_power_cap_w": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 20,
              "maximum": 1000
            },
            {
              "type": "null"
            }
          ],
          "description": "Offload renderer power cap in watts. Null (the default) is automatic: the battery profile ceiling on systems with a battery, otherwise 75 % of the offload GPU's enforced power limit (80 W when unknown). A number can only lower the profile ceiling with a battery and is clamped to the GPU's enforced limit without one."
        },
        "offload_device": {
          "type": "string",
          "pattern": "^(auto|[0-9a-f]{4}:[0-9a-f]{2}:[0-9a-f]{2}\\.[0-7])$",
          "description": "\"auto\" (the default) or the lowercase PCI address (domain:bus:device.function) of the GPU that runs the offload renderer. Auto prefers an NVIDIA render node that is not the compositor's GPU, then the least utilised; an unavailable explicit address stops offload with reason \"offload device unavailable\"."
        },
        "scale_min": {
          "type": "number",
          "minimum": 0.375,
          "maximum": 1
        },
        "scale_max": {
          "type": "number",
          "minimum": 0.375,
          "maximum": 1
        },
        "outline": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "visibility_culling": {
          "type": "boolean"
        },
        "outline_quality": {
          "enum": [
            "fast",
            "smooth",
            null
          ]
        },
        "outline_width_px": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "number",
              "minimum": 1,
              "maximum": 4
            }
          ]
        },
        "outline_colour": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "array",
              "minItems": 3,
              "maxItems": 3,
              "items": {
                "type": "number",
                "minimum": 0,
                "maximum": 1
              }
            }
          ]
        },
        "upscaler": {
          "enum": [
            "fsr1",
            "bilinear",
            null
          ],
          "description": "Reconstruction when the world renders below output size: AMD FidelityFX FSR 1 (EASU + RCAS) or bilinear + bounded unsharp mask. Null inherits the preset; bilinear is also used when the GPU lacks GLSL ES 3.1."
        }
      },
      "required": [
        "quality",
        "msaa",
        "bloom",
        "fog",
        "sky",
        "anisotropy",
        "reflections",
        "normal_maps",
        "specular",
        "ambient_occlusion",
        "alpha_haze",
        "dynamic_resolution",
        "reduced_motion",
        "render_scale",
        "target_fps",
        "fov",
        "exposure",
        "bloom_strength",
        "sharpen",
        "offload",
        "offload_power_cap_w",
        "scale_min",
        "scale_max",
        "outline",
        "visibility_culling",
        "outline_quality",
        "outline_width_px",
        "outline_colour"
      ],
      "additionalProperties": false
    },
    "graphicsPatch": {
      "type": "object",
      "properties": {
        "quality": {
          "enum": [
            "auto",
            "low",
            "medium",
            "high",
            "ultra",
            "intel"
          ]
        },
        "msaa": {
          "enum": [
            1,
            2,
            4,
            null
          ]
        },
        "bloom": {
          "enum": [
            "off",
            "low",
            "high",
            null
          ]
        },
        "fog": {
          "enum": [
            "off",
            "linear",
            "height",
            null
          ]
        },
        "sky": {
          "enum": [
            "off",
            "gradient",
            "environment",
            null
          ]
        },
        "anisotropy": {
          "enum": [
            1,
            2,
            4,
            8,
            16,
            null
          ]
        },
        "reflections": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "normal_maps": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "specular": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "ambient_occlusion": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "alpha_haze": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "dynamic_resolution": {
          "type": "boolean"
        },
        "reduced_motion": {
          "type": "boolean"
        },
        "render_scale": {
          "anyOf": [
            {
              "const": "auto"
            },
            {
              "type": "number",
              "minimum": 0.375,
              "maximum": 1
            }
          ]
        },
        "target_fps": {
          "type": "integer",
          "minimum": 30,
          "maximum": 240
        },
        "fov": {
          "type": "number",
          "minimum": 30,
          "maximum": 120
        },
        "exposure": {
          "type": "number",
          "minimum": 0.01,
          "maximum": 16
        },
        "bloom_strength": {
          "type": "number",
          "minimum": 0,
          "maximum": 4
        },
        "sharpen": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        },
        "offload": {
          "enum": [
            "off",
            "auto",
            "on"
          ]
        },
        "offload_power_cap_w": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 20,
              "maximum": 1000
            },
            {
              "type": "null"
            }
          ],
          "description": "Offload renderer power cap in watts. Null (the default) is automatic: the battery profile ceiling on systems with a battery, otherwise 75 % of the offload GPU's enforced power limit (80 W when unknown). A number can only lower the profile ceiling with a battery and is clamped to the GPU's enforced limit without one."
        },
        "offload_device": {
          "type": "string",
          "pattern": "^(auto|[0-9a-f]{4}:[0-9a-f]{2}:[0-9a-f]{2}\\.[0-7])$",
          "description": "\"auto\" (the default) or the lowercase PCI address (domain:bus:device.function) of the GPU that runs the offload renderer. Auto prefers an NVIDIA render node that is not the compositor's GPU, then the least utilised; an unavailable explicit address stops offload with reason \"offload device unavailable\"."
        },
        "scale_min": {
          "type": "number",
          "minimum": 0.375,
          "maximum": 1
        },
        "scale_max": {
          "type": "number",
          "minimum": 0.375,
          "maximum": 1
        },
        "outline": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "visibility_culling": {
          "type": "boolean"
        },
        "outline_quality": {
          "enum": [
            "fast",
            "smooth",
            null
          ]
        },
        "outline_width_px": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "number",
              "minimum": 1,
              "maximum": 4
            }
          ]
        },
        "outline_colour": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "array",
              "minItems": 3,
              "maxItems": 3,
              "items": {
                "type": "number",
                "minimum": 0,
                "maximum": 1
              }
            }
          ]
        },
        "upscaler": {
          "enum": [
            "fsr1",
            "bilinear",
            null
          ],
          "description": "Reconstruction when the world renders below output size: AMD FidelityFX FSR 1 (EASU + RCAS) or bilinear + bounded unsharp mask. Null inherits the preset; bilinear is also used when the GPU lacks GLSL ES 3.1."
        }
      },
      "required": [],
      "additionalProperties": false
    },
    "graphics.get.params": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "graphics.get.result": {
      "type": "object",
      "properties": {
        "config": {
          "$ref": "#/$defs/graphicsConfig"
        },
        "effective": {
          "$ref": "#/$defs/graphicsConfig"
        },
        "overrides": {
          "$ref": "#/$defs/graphicsPatch"
        },
        "path": {
          "type": "string",
          "maxLength": 4096
        },
        "error": {
          "type": "string"
        },
        "presets": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/graphicsPatch"
          }
        },
        "options": {
          "type": "object",
          "additionalProperties": {
            "type": "array"
          }
        },
        "unsupported": {
          "type": "array",
          "items": {
            "enum": [
              "ssr",
              "runtime_shadows",
              "contact_shadows"
            ]
          }
        },
        "timings": {
          "type": "object",
          "description": "Extensible diagnostic measurements; GPU timings can be null when unavailable."
        },
        "performance": {
          "$ref": "#/$defs/performance"
        }
      },
      "required": [
        "config",
        "effective",
        "overrides",
        "path",
        "error",
        "presets",
        "options",
        "unsupported",
        "timings",
        "performance"
      ],
      "additionalProperties": false
    },
    "graphics.get.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "graphics.get"
        },
        "params": {
          "$ref": "#/$defs/graphics.get.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "graphics.get.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/graphics.get.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "graphics.set.params": {
      "type": "object",
      "properties": {
        "patch": {
          "$ref": "#/$defs/graphicsPatch"
        }
      },
      "required": [
        "patch"
      ],
      "additionalProperties": false
    },
    "graphics.set.result": {
      "$ref": "#/$defs/graphics.get.result"
    },
    "graphics.set.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "graphics.set"
        },
        "params": {
          "$ref": "#/$defs/graphics.set.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "graphics.set.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/graphics.set.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "inputHolds": {
      "type": "array",
      "maxItems": 64,
      "items": {
        "type": "object",
        "properties": {
          "action": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "binding": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "startedAtMs": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "durationMs": {
            "type": "integer",
            "minimum": 100,
            "maximum": 5000
          }
        },
        "required": [
          "action",
          "binding",
          "startedAtMs",
          "durationMs"
        ],
        "additionalProperties": false
      }
    },
    "hud.subscribe.params": {
      "type": "object",
      "properties": {
        "topics": {
          "type": "array",
          "items": {
            "enum": [
              "hud.frame",
              "hud.pose",
              "zone.entered",
              "zone.exited",
              "tool.changed"
            ]
          },
          "minItems": 1,
          "maxItems": 5,
          "uniqueItems": true
        }
      },
      "required": [
        "topics"
      ],
      "additionalProperties": false
    },
    "hud.subscribe.result": {
      "type": "object",
      "properties": {
        "subscriptionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        }
      },
      "required": [
        "subscriptionId"
      ],
      "additionalProperties": false
    },
    "hud.subscribe.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "hud.subscribe"
        },
        "params": {
          "$ref": "#/$defs/hud.subscribe.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "hud.subscribe.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/hud.subscribe.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "hud.unsubscribe.params": {
      "type": "object",
      "properties": {
        "subscriptionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        }
      },
      "required": [
        "subscriptionId"
      ],
      "additionalProperties": false
    },
    "hud.unsubscribe.result": {
      "type": "object",
      "properties": {
        "ok": {
          "const": true
        }
      },
      "required": [
        "ok"
      ],
      "additionalProperties": false
    },
    "hud.unsubscribe.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "hud.unsubscribe"
        },
        "params": {
          "$ref": "#/$defs/hud.unsubscribe.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "hud.unsubscribe.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/hud.unsubscribe.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "hudZone": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "homeName": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "worldId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "worldName": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        }
      },
      "required": [
        "id",
        "homeName",
        "worldId",
        "worldName"
      ],
      "additionalProperties": false
    },
    "hud.frame.params": {
      "type": "object",
      "properties": {
        "subscriptionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "sessionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "revision": {
          "type": "integer",
          "minimum": 0
        },
        "monotonicMs": {
          "type": "integer",
          "minimum": 0
        },
        "fps": {
          "type": "number",
          "minimum": 0
        },
        "frameMs": {
          "type": "number",
          "minimum": 0
        },
        "cpuMs": {
          "type": "number",
          "minimum": 0
        },
        "gpuMs": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 0
            },
            {
              "type": "null"
            }
          ]
        },
        "renderScale": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        },
        "preset": {
          "enum": [
            "auto",
            "low",
            "medium",
            "high",
            "ultra"
          ]
        }
      },
      "required": [
        "subscriptionId",
        "sessionId",
        "revision",
        "monotonicMs",
        "fps",
        "frameMs",
        "cpuMs",
        "gpuMs",
        "renderScale",
        "preset"
      ],
      "additionalProperties": false
    },
    "hud.frame.notification": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "method": {
          "const": "hud.frame"
        },
        "params": {
          "$ref": "#/$defs/hud.frame.params"
        }
      },
      "required": [
        "jsonrpc",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "hud.pose.params": {
      "type": "object",
      "properties": {
        "subscriptionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "sessionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "revision": {
          "type": "integer",
          "minimum": 0
        },
        "monotonicMs": {
          "type": "integer",
          "minimum": 0
        },
        "outputId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "worldId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "worldName": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "position": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "minItems": 3,
          "maxItems": 3
        },
        "heading": {
          "type": "number"
        },
        "pitch": {
          "type": "number"
        },
        "zone": {
          "anyOf": [
            {
              "$ref": "#/$defs/hudZone"
            },
            {
              "type": "null"
            }
          ]
        },
        "tool": {
          "type": "integer",
          "minimum": 1,
          "maximum": 5
        },
        "subtype": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        }
      },
      "required": [
        "subscriptionId",
        "sessionId",
        "revision",
        "monotonicMs",
        "outputId",
        "worldId",
        "worldName",
        "position",
        "heading",
        "pitch",
        "zone",
        "tool",
        "subtype"
      ],
      "additionalProperties": false
    },
    "hud.pose.notification": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "method": {
          "const": "hud.pose"
        },
        "params": {
          "$ref": "#/$defs/hud.pose.params"
        }
      },
      "required": [
        "jsonrpc",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "zone.entered.params": {
      "type": "object",
      "properties": {
        "subscriptionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "sessionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "revision": {
          "type": "integer",
          "minimum": 0
        },
        "monotonicMs": {
          "type": "integer",
          "minimum": 0
        },
        "zone": {
          "$ref": "#/$defs/hudZone"
        }
      },
      "required": [
        "subscriptionId",
        "sessionId",
        "revision",
        "monotonicMs",
        "zone"
      ],
      "additionalProperties": false
    },
    "zone.entered.notification": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "method": {
          "const": "zone.entered"
        },
        "params": {
          "$ref": "#/$defs/zone.entered.params"
        }
      },
      "required": [
        "jsonrpc",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "zone.exited.params": {
      "type": "object",
      "properties": {
        "subscriptionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "sessionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "revision": {
          "type": "integer",
          "minimum": 0
        },
        "monotonicMs": {
          "type": "integer",
          "minimum": 0
        },
        "zone": {
          "$ref": "#/$defs/hudZone"
        }
      },
      "required": [
        "subscriptionId",
        "sessionId",
        "revision",
        "monotonicMs",
        "zone"
      ],
      "additionalProperties": false
    },
    "zone.exited.notification": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "method": {
          "const": "zone.exited"
        },
        "params": {
          "$ref": "#/$defs/zone.exited.params"
        }
      },
      "required": [
        "jsonrpc",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "tool.changed.params": {
      "type": "object",
      "properties": {
        "subscriptionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "sessionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "revision": {
          "type": "integer",
          "minimum": 0
        },
        "monotonicMs": {
          "type": "integer",
          "minimum": 0
        },
        "slot": {
          "type": "integer",
          "minimum": 1,
          "maximum": 5
        },
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "subtype": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        }
      },
      "required": [
        "subscriptionId",
        "sessionId",
        "revision",
        "monotonicMs",
        "slot",
        "name",
        "subtype"
      ],
      "additionalProperties": false
    },
    "tool.changed.notification": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "method": {
          "const": "tool.changed"
        },
        "params": {
          "$ref": "#/$defs/tool.changed.params"
        }
      },
      "required": [
        "jsonrpc",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "ui.hud.cycle.params": {
      "type": "object",
      "properties": {
        "sessionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "revision": {
          "type": "integer",
          "minimum": 0
        },
        "monotonicMs": {
          "type": "integer",
          "minimum": 0
        },
        "leaseId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "outputId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "sequence": {
          "type": "integer",
          "minimum": 0
        }
      },
      "required": [
        "sessionId",
        "revision",
        "monotonicMs",
        "leaseId",
        "outputId",
        "sequence"
      ],
      "additionalProperties": false
    },
    "ui.hud.cycle.notification": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "method": {
          "const": "ui.hud.cycle"
        },
        "params": {
          "$ref": "#/$defs/ui.hud.cycle.params"
        }
      },
      "required": [
        "jsonrpc",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "performanceControl": {
      "type": "object",
      "properties": {
        "requested": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "boolean"
            },
            {
              "type": "string"
            },
            {
              "type": "null"
            },
            {
              "type": "array",
              "minItems": 3,
              "maxItems": 3,
              "items": {
                "type": "number",
                "minimum": 0,
                "maximum": 1
              }
            }
          ]
        },
        "effective": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "boolean"
            },
            {
              "type": "string"
            },
            {
              "type": "null"
            },
            {
              "type": "array",
              "minItems": 3,
              "maxItems": 3,
              "items": {
                "type": "number",
                "minimum": 0,
                "maximum": 1
              }
            }
          ]
        },
        "gpuMs": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 0
            },
            {
              "type": "null"
            }
          ]
        },
        "sharedPass": {
          "type": [
            "string",
            "null"
          ]
        },
        "passGpuMs": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 0
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "requested",
        "effective",
        "gpuMs",
        "sharedPass",
        "passGpuMs"
      ],
      "additionalProperties": false
    },
    "performance": {
      "type": "object",
      "properties": {
        "profile": {
          "enum": [
            "unknown",
            "battery",
            "usb-c",
            "limited-ac",
            "full-ac"
          ]
        },
        "powerW": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 0
            },
            {
              "type": "null"
            }
          ]
        },
        "capW": {
          "type": "number",
          "minimum": 0
        },
        "capSource": {
          "enum": [
            "profile",
            "device",
            "configured",
            "fallback"
          ],
          "description": "Where capW comes from: profile = battery-present laptop rules; device = no battery, 75 % of the GPU's enforced power limit; configured = offload_power_cap_w (clamped to the profile ceiling with a battery, or to the GPU's enforced limit without one); fallback = no battery and the limit is unknown (80 W)."
        },
        "device": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "object",
              "properties": {
                "pci": {
                  "type": "string",
                  "pattern": "^[0-9a-f]{4}:[0-9a-f]{2}:[0-9a-f]{2}\\.[0-7]$"
                },
                "node": {
                  "type": "string",
                  "pattern": "^renderD[0-9]+$"
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 256
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "enforcedLimitW": {
                  "anyOf": [
                    {
                      "type": "number",
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "selection": {
                  "enum": [
                    "auto",
                    "explicit"
                  ]
                },
                "drivesCompositor": {
                  "type": "boolean"
                }
              },
              "required": [
                "pci",
                "node",
                "name",
                "enforcedLimitW",
                "selection",
                "drivesCompositor"
              ],
              "additionalProperties": false
            }
          ],
          "description": "The GPU chosen for the offload renderer, or null when none is chosen yet or none is available. drivesCompositor is true when it is the GPU the compositor renders with."
        },
        "targetFPS": {
          "type": "integer",
          "minimum": 0,
          "maximum": 60
        },
        "reason": {
          "type": "string"
        },
        "pid": {
          "type": [
            "integer",
            "null"
          ]
        },
        "generation": {
          "type": "integer",
          "minimum": 0
        },
        "mode": {
          "enum": [
            "off",
            "auto",
            "on"
          ]
        },
        "activeRenderer": {
          "enum": [
            "in-process",
            "offload"
          ]
        },
        "status": {
          "enum": [
            "active",
            "warming",
            "local"
          ]
        },
        "preset": {
          "enum": [
            "auto",
            "low",
            "medium",
            "high",
            "ultra",
            "custom",
            "intel"
          ]
        },
        "requested": {
          "$ref": "#/$defs/graphicsConfig"
        },
        "effective": {
          "$ref": "#/$defs/graphicsConfig"
        },
        "costsMs": {
          "type": "object",
          "additionalProperties": {
            "anyOf": [
              {
                "type": "number",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "workerTimings": {
          "type": [
            "object",
            "null"
          ]
        },
        "controls": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/performanceControl"
          }
        }
      },
      "required": [
        "profile",
        "powerW",
        "capW",
        "capSource",
        "device",
        "targetFPS",
        "reason",
        "pid",
        "generation",
        "mode",
        "activeRenderer",
        "status",
        "preset",
        "requested",
        "effective",
        "costsMs",
        "workerTimings",
        "controls"
      ],
      "additionalProperties": false
    },
    "replayAssertions": {
      "type": "object",
      "properties": {
        "recorded": {
          "type": "boolean"
        },
        "tolerance": {
          "type": "number",
          "minimum": 0,
          "maximum": 100
        },
        "marks": {
          "type": "object",
          "maxProperties": 128,
          "additionalProperties": {
            "type": "object",
            "properties": {
              "camera": {
                "type": "object",
                "properties": {
                  "position": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    },
                    "minItems": 3,
                    "maxItems": 3
                  },
                  "yaw": {
                    "type": "number"
                  },
                  "pitch": {
                    "type": "number"
                  },
                  "fov": {
                    "type": "number"
                  }
                },
                "required": [],
                "additionalProperties": false
              },
              "mode": {
                "enum": [
                  "world",
                  "interactive",
                  "focus",
                  "menu",
                  "cursor"
                ]
              },
              "tool": {
                "type": "integer",
                "minimum": 1,
                "maximum": 4
              },
              "subtype": {
                "type": "string",
                "maxLength": 64
              },
              "scope": {
                "type": "boolean"
              },
              "noclip": {
                "type": "boolean"
              },
              "movement": {
                "enum": [
                  "walk",
                  "fly"
                ]
              },
              "tolerance": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              }
            },
            "required": [],
            "additionalProperties": false
          }
        }
      },
      "required": [],
      "additionalProperties": false
    },
    "recordingStatus": {
      "type": "object",
      "properties": {
        "recording": {
          "type": "boolean"
        },
        "playing": {
          "type": "boolean"
        },
        "path": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 4096
        },
        "frame": {
          "type": "integer",
          "minimum": 0,
          "maximum": 36001
        },
        "mode": {
          "enum": [
            "input",
            "camera"
          ]
        },
        "failures": {
          "type": "array",
          "maxItems": 128,
          "items": {
            "type": "string",
            "maxLength": 512
          }
        },
        "error": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 256
        }
      },
      "required": [
        "recording",
        "playing",
        "path",
        "frame",
        "mode",
        "failures",
        "error"
      ],
      "additionalProperties": false
    },
    "recording.start.params": {
      "type": "object",
      "properties": {
        "includeAppKeys": {
          "type": "boolean"
        }
      },
      "required": [],
      "additionalProperties": false
    },
    "recording.start.result": {
      "$ref": "#/$defs/recordingStatus"
    },
    "recording.start.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "recording.start"
        },
        "params": {
          "$ref": "#/$defs/recording.start.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "recording.start.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/recording.start.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "recording.stop.params": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "recording.stop.result": {
      "$ref": "#/$defs/recordingStatus"
    },
    "recording.stop.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "recording.stop"
        },
        "params": {
          "$ref": "#/$defs/recording.stop.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "recording.stop.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/recording.stop.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "recording.mark.params": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 64
        }
      },
      "required": [
        "name"
      ],
      "additionalProperties": false
    },
    "recording.mark.result": {
      "$ref": "#/$defs/recordingStatus"
    },
    "recording.mark.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "recording.mark"
        },
        "params": {
          "$ref": "#/$defs/recording.mark.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "recording.mark.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/recording.mark.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "recording.status.params": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "recording.status.result": {
      "$ref": "#/$defs/recordingStatus"
    },
    "recording.status.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "recording.status"
        },
        "params": {
          "$ref": "#/$defs/recording.status.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "recording.status.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/recording.status.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "replay.start.params": {
      "type": "object",
      "properties": {
        "path": {
          "type": "string",
          "minLength": 1,
          "maxLength": 4096
        },
        "mode": {
          "enum": [
            "input",
            "camera"
          ]
        },
        "smoothingMs": {
          "type": "number",
          "minimum": 0,
          "maximum": 1000
        },
        "assertions": {
          "$ref": "#/$defs/replayAssertions"
        }
      },
      "required": [
        "path"
      ],
      "additionalProperties": false
    },
    "replay.start.result": {
      "$ref": "#/$defs/recordingStatus"
    },
    "replay.start.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "replay.start"
        },
        "params": {
          "$ref": "#/$defs/replay.start.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "replay.start.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/replay.start.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "replay.stop.params": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "replay.stop.result": {
      "$ref": "#/$defs/recordingStatus"
    },
    "replay.stop.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "replay.stop"
        },
        "params": {
          "$ref": "#/$defs/replay.stop.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "replay.stop.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/replay.stop.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "replay.status.params": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "replay.status.result": {
      "$ref": "#/$defs/recordingStatus"
    },
    "replay.status.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "replay.status"
        },
        "params": {
          "$ref": "#/$defs/replay.status.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "replay.status.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/replay.status.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "authorAtmosphere": {
      "type": "object",
      "properties": {
        "fog": {
          "type": "object",
          "properties": {
            "color": {
              "$ref": "https://hyprune.com/schema/v0.4/common.schema.json#/$defs/vec3"
            },
            "density": {
              "type": "number",
              "minimum": 0,
              "maximum": 1
            },
            "heightFalloff": {
              "type": "number",
              "minimum": 0,
              "maximum": 10
            },
            "baseHeight": {
              "type": "number",
              "minimum": -10000,
              "maximum": 10000
            },
            "excludeUnlit": {
              "type": "boolean"
            }
          },
          "required": [
            "color",
            "density",
            "heightFalloff",
            "baseHeight",
            "excludeUnlit"
          ],
          "additionalProperties": false
        },
        "sky": {
          "type": "object",
          "properties": {
            "zenith": {
              "$ref": "https://hyprune.com/schema/v0.4/common.schema.json#/$defs/vec3"
            },
            "horizon": {
              "$ref": "https://hyprune.com/schema/v0.4/common.schema.json#/$defs/vec3"
            },
            "ground": {
              "$ref": "https://hyprune.com/schema/v0.4/common.schema.json#/$defs/vec3"
            },
            "sun": {
              "type": "object",
              "properties": {
                "direction": {
                  "$ref": "https://hyprune.com/schema/v0.4/common.schema.json#/$defs/vec3"
                },
                "color": {
                  "$ref": "https://hyprune.com/schema/v0.4/common.schema.json#/$defs/vec3"
                },
                "intensity": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000
                },
                "angularRadius": {
                  "type": "number",
                  "minimum": 0.001,
                  "maximum": 1
                }
              },
              "required": [
                "direction",
                "color",
                "intensity",
                "angularRadius"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "zenith",
            "horizon",
            "ground",
            "sun"
          ],
          "additionalProperties": false
        },
        "environment": {
          "type": "object",
          "properties": {
            "faces": {
              "type": "array",
              "items": {
                "$ref": "https://hyprune.com/schema/v0.4/common.schema.json#/$defs/path"
              },
              "minItems": 6,
              "maxItems": 6
            },
            "encoding": {
              "enum": [
                "srgb",
                "linear"
              ]
            },
            "intensity": {
              "type": "number",
              "minimum": 0,
              "maximum": 10000
            },
            "rotation": {
              "type": "number",
              "minimum": -6.283186,
              "maximum": 6.283186
            },
            "maxResolution": {
              "type": "integer",
              "minimum": 16,
              "maximum": 512
            }
          },
          "required": [
            "faces",
            "encoding",
            "intensity",
            "rotation",
            "maxResolution"
          ],
          "additionalProperties": false
        },
        "exposure": {
          "type": "number",
          "minimum": 0.01,
          "maximum": 100
        },
        "toneMapping": {
          "enum": [
            "aces",
            "reinhard",
            "linear"
          ]
        },
        "bloom": {
          "type": "object",
          "properties": {
            "strength": {
              "type": "number",
              "minimum": 0,
              "maximum": 2
            },
            "threshold": {
              "type": "number",
              "minimum": 0,
              "maximum": 100
            },
            "radius": {
              "type": "number",
              "minimum": 1,
              "maximum": 8
            }
          },
          "required": [
            "strength",
            "threshold",
            "radius"
          ],
          "additionalProperties": false
        },
        "outline": {
          "type": "object",
          "properties": {
            "enabled": {
              "type": "boolean"
            },
            "colour": {
              "type": "array",
              "items": {
                "type": "number",
                "minimum": 0,
                "maximum": 1
              },
              "minItems": 3,
              "maxItems": 3
            },
            "widthPx": {
              "type": "number",
              "minimum": 1,
              "maximum": 4
            },
            "depthThreshold": {
              "type": "number",
              "minimum": 0.0001,
              "maximum": 1
            },
            "normalThreshold": {
              "type": "number",
              "minimum": 0.001,
              "maximum": 2
            }
          },
          "required": [
            "enabled",
            "colour",
            "widthPx",
            "depthThreshold",
            "normalThreshold"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "fog",
        "sky",
        "exposure",
        "toneMapping",
        "bloom"
      ],
      "additionalProperties": false
    },
    "camera.photo.params": {
      "type": "object",
      "properties": {
        "position": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": -100000,
            "maximum": 100000
          },
          "minItems": 3,
          "maxItems": 3
        },
        "orientation": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "minItems": 4,
          "maxItems": 4
        },
        "fov": {
          "type": "number",
          "minimum": 5,
          "maximum": 140
        },
        "renderScale": {
          "type": "number",
          "minimum": 0.25,
          "maximum": 1
        },
        "lensShift": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": -2,
            "maximum": 2
          },
          "minItems": 2,
          "maxItems": 2
        }
      },
      "required": [
        "position",
        "orientation",
        "fov",
        "renderScale"
      ],
      "additionalProperties": false
    },
    "camera.photo.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "camera.photo.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "camera.photo"
        },
        "params": {
          "$ref": "#/$defs/camera.photo.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "camera.photo.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/camera.photo.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "camera.release.params": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "camera.release.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "camera.release.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "camera.release"
        },
        "params": {
          "$ref": "#/$defs/camera.release.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "camera.release.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/camera.release.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "placementContent": {
      "type": "object",
      "properties": {
        "logicalSize": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 1,
            "maximum": 32768
          },
          "minItems": 2,
          "maxItems": 2
        },
        "baseSize": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 1,
            "maximum": 32768
          },
          "minItems": 2,
          "maxItems": 2
        },
        "worldSize": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": 0.001,
            "maximum": 32768
          },
          "minItems": 2,
          "maxItems": 2
        }
      },
      "required": [
        "logicalSize",
        "baseSize",
        "worldSize"
      ],
      "additionalProperties": false
    },
    "unplaced": {
      "type": "object",
      "properties": {
        "count": {
          "type": "integer",
          "minimum": 0,
          "maximum": 16
        },
        "windows": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "surfaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "title": {
                "type": "string",
                "maxLength": 4096
              },
              "appClass": {
                "type": "string",
                "maxLength": 256
              },
              "logicalSize": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 32768
                },
                "minItems": 2,
                "maxItems": 2
              }
            },
            "required": [
              "surfaceId",
              "title",
              "appClass",
              "logicalSize"
            ],
            "additionalProperties": false
          },
          "maxItems": 16
        },
        "selectedId": {
          "anyOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            {
              "type": "null"
            }
          ]
        },
        "preview": {
          "type": "boolean"
        }
      },
      "required": [
        "count",
        "windows",
        "selectedId",
        "preview"
      ],
      "additionalProperties": false
    },
    "contentScaleFeedback": {
      "type": "object",
      "properties": {
        "surfaceId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "scale": {
          "type": "number",
          "exclusiveMinimum": 0,
          "maximum": 32768
        },
        "logicalSize": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 1,
            "maximum": 32768
          },
          "minItems": 2,
          "maxItems": 2
        },
        "sequence": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "reset": {
          "type": "boolean"
        }
      },
      "required": [
        "surfaceId",
        "scale",
        "logicalSize",
        "sequence",
        "reset"
      ],
      "additionalProperties": false
    },
    "toolSlot": {
      "type": "object",
      "properties": {
        "action": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "label": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        }
      },
      "required": [
        "action",
        "label"
      ],
      "additionalProperties": false
    },
    "toolSlots": {
      "type": "object",
      "properties": {
        "primary": {
          "anyOf": [
            {
              "$ref": "#/$defs/toolSlot"
            },
            {
              "type": "null"
            }
          ]
        },
        "secondary": {
          "anyOf": [
            {
              "$ref": "#/$defs/toolSlot"
            },
            {
              "type": "null"
            }
          ]
        },
        "alternate": {
          "anyOf": [
            {
              "$ref": "#/$defs/toolSlot"
            },
            {
              "type": "null"
            }
          ]
        },
        "cycle": {
          "anyOf": [
            {
              "$ref": "#/$defs/toolSlot"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "primary",
        "secondary",
        "alternate",
        "cycle"
      ],
      "additionalProperties": false
    },
    "toolDefinition": {
      "type": "object",
      "properties": {
        "slot": {
          "type": "integer",
          "minimum": 1,
          "maximum": 5
        },
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "slots": {
          "$ref": "#/$defs/toolSlots"
        }
      },
      "required": [
        "slot",
        "name",
        "slots"
      ],
      "additionalProperties": false
    },
    "toolInput": {
      "type": "object",
      "properties": {
        "modifiers": {
          "type": "integer",
          "minimum": 0,
          "maximum": 255
        },
        "override": {
          "type": "boolean"
        },
        "gestures": {
          "type": "array",
          "maxItems": 7,
          "items": {
            "type": "object",
            "properties": {
              "action": {
                "type": "string",
                "maxLength": 128
              },
              "label": {
                "type": "string",
                "maxLength": 128
              },
              "bindings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 96
                },
                "maxItems": 3
              }
            },
            "required": [
              "action",
              "label",
              "bindings"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "modifiers",
        "override",
        "gestures"
      ],
      "additionalProperties": false
    },
    "captureId": {
      "type": "string",
      "pattern": "^capture-[0-9]{1,19}$",
      "maxLength": 27
    },
    "capture.annotate.params": {
      "type": "object",
      "properties": {
        "captureId": {
          "$ref": "#/$defs/captureId"
        },
        "note": {
          "type": "string",
          "maxLength": 1000,
          "pattern": "^[^\\u0000-\\u001f\\u007f-\\u009f]*$"
        }
      },
      "required": [
        "captureId",
        "note"
      ],
      "additionalProperties": false
    },
    "capture.annotate.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "capture.annotate.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "capture.annotate"
        },
        "params": {
          "$ref": "#/$defs/capture.annotate.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "capture.annotate.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/capture.annotate.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "capture.taken.notification": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "method": {
          "const": "capture.taken"
        },
        "params": {
          "type": "object",
          "properties": {
            "captureId": {
              "$ref": "#/$defs/captureId"
            },
            "timestampMs": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "mode": {
              "enum": [
                "world",
                "interactive",
                "focus",
                "cursor",
                "menu"
              ]
            },
            "sessionId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "revision": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          },
          "required": [
            "captureId",
            "timestampMs",
            "mode",
            "sessionId",
            "revision"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "jsonrpc",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "reticle": {
      "type": "object",
      "properties": {
        "state": {
          "enum": [
            "hidden",
            "neutral",
            "typing",
            "target",
            "valid",
            "out_of_range",
            "invalid",
            "holding"
          ]
        },
        "action": {
          "enum": [
            "",
            "click",
            "grab",
            "pocket",
            "place",
            "mount",
            "select",
            "path",
            "drop"
          ]
        }
      },
      "required": [
        "state",
        "action"
      ],
      "additionalProperties": false
    },
    "playerConfig": {
      "type": "object",
      "properties": {
        "walk_speed": {
          "type": "number",
          "minimum": 0.5,
          "maximum": 20
        },
        "run_speed": {
          "type": "number",
          "minimum": 0.5,
          "maximum": 30
        },
        "view_bob": {
          "enum": [
            "off",
            "subtle",
            "normal"
          ]
        },
        "reticle_style": {
          "enum": [
            "cross_dot",
            "t_dot",
            "circle_dot",
            "dot",
            "cross",
            "chevron"
          ]
        },
        "reticle_size": {
          "type": "number",
          "minimum": 6,
          "maximum": 64
        },
        "reticle_thickness": {
          "type": "number",
          "minimum": 1,
          "maximum": 6
        },
        "reticle_gap": {
          "type": "number",
          "minimum": 0,
          "maximum": 20
        },
        "reticle_opacity": {
          "type": "number",
          "minimum": 0.2,
          "maximum": 1
        },
        "reticle_outline": {
          "type": "boolean"
        },
        "reticle_colour": {
          "anyOf": [
            {
              "const": "theme"
            },
            {
              "type": "array",
              "items": {
                "type": "number",
                "minimum": 0,
                "maximum": 1
              },
              "minItems": 3,
              "maxItems": 3
            }
          ]
        },
        "reticle_dynamic": {
          "type": "boolean"
        },
        "reach_grab": {
          "type": "number",
          "minimum": 1,
          "maximum": 100
        },
        "reach_mount": {
          "type": "number",
          "minimum": 1,
          "maximum": 100
        },
        "reach_placement": {
          "type": "number",
          "minimum": 1,
          "maximum": 100
        }
      },
      "required": [
        "walk_speed",
        "run_speed",
        "view_bob",
        "reticle_style",
        "reticle_size",
        "reticle_thickness",
        "reticle_gap",
        "reticle_opacity",
        "reticle_outline",
        "reticle_colour",
        "reticle_dynamic",
        "reach_grab",
        "reach_mount",
        "reach_placement"
      ],
      "additionalProperties": false
    },
    "playerPatch": {
      "type": "object",
      "properties": {
        "walk_speed": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "number",
              "minimum": 0.5,
              "maximum": 20
            }
          ]
        },
        "run_speed": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "number",
              "minimum": 0.5,
              "maximum": 30
            }
          ]
        },
        "view_bob": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "enum": [
                "off",
                "subtle",
                "normal"
              ]
            }
          ]
        },
        "reticle_style": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "enum": [
                "cross_dot",
                "t_dot",
                "circle_dot",
                "dot",
                "cross",
                "chevron"
              ]
            }
          ]
        },
        "reticle_size": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "number",
              "minimum": 6,
              "maximum": 64
            }
          ]
        },
        "reticle_thickness": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "number",
              "minimum": 1,
              "maximum": 6
            }
          ]
        },
        "reticle_gap": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "number",
              "minimum": 0,
              "maximum": 20
            }
          ]
        },
        "reticle_opacity": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "number",
              "minimum": 0.2,
              "maximum": 1
            }
          ]
        },
        "reticle_outline": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "boolean"
            }
          ]
        },
        "reticle_colour": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "anyOf": [
                {
                  "const": "theme"
                },
                {
                  "type": "array",
                  "items": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1
                  },
                  "minItems": 3,
                  "maxItems": 3
                }
              ]
            }
          ]
        },
        "reticle_dynamic": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "boolean"
            }
          ]
        },
        "reach_grab": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "number",
              "minimum": 1,
              "maximum": 100
            }
          ]
        },
        "reach_mount": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "number",
              "minimum": 1,
              "maximum": 100
            }
          ]
        },
        "reach_placement": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "number",
              "minimum": 1,
              "maximum": 100
            }
          ]
        }
      },
      "required": [],
      "minProperties": 1,
      "additionalProperties": false,
      "description": "Changed keys only; null removes the persisted override (back to the default)."
    },
    "playerOverrides": {
      "type": "object",
      "properties": {
        "walk_speed": {
          "type": "number",
          "minimum": 0.5,
          "maximum": 20
        },
        "run_speed": {
          "type": "number",
          "minimum": 0.5,
          "maximum": 30
        },
        "view_bob": {
          "enum": [
            "off",
            "subtle",
            "normal"
          ]
        },
        "reticle_style": {
          "enum": [
            "cross_dot",
            "t_dot",
            "circle_dot",
            "dot",
            "cross",
            "chevron"
          ]
        },
        "reticle_size": {
          "type": "number",
          "minimum": 6,
          "maximum": 64
        },
        "reticle_thickness": {
          "type": "number",
          "minimum": 1,
          "maximum": 6
        },
        "reticle_gap": {
          "type": "number",
          "minimum": 0,
          "maximum": 20
        },
        "reticle_opacity": {
          "type": "number",
          "minimum": 0.2,
          "maximum": 1
        },
        "reticle_outline": {
          "type": "boolean"
        },
        "reticle_colour": {
          "anyOf": [
            {
              "const": "theme"
            },
            {
              "type": "array",
              "items": {
                "type": "number",
                "minimum": 0,
                "maximum": 1
              },
              "minItems": 3,
              "maxItems": 3
            }
          ]
        },
        "reticle_dynamic": {
          "type": "boolean"
        },
        "reach_grab": {
          "type": "number",
          "minimum": 1,
          "maximum": 100
        },
        "reach_mount": {
          "type": "number",
          "minimum": 1,
          "maximum": 100
        },
        "reach_placement": {
          "type": "number",
          "minimum": 1,
          "maximum": 100
        }
      },
      "required": [],
      "additionalProperties": false,
      "description": "Persisted player overrides (never null; may be empty)."
    },
    "playerSettings": {
      "type": "object",
      "properties": {
        "config": {
          "$ref": "#/$defs/playerConfig"
        },
        "defaults": {
          "$ref": "#/$defs/playerConfig"
        },
        "overrides": {
          "$ref": "#/$defs/playerOverrides"
        },
        "options": {
          "type": "object",
          "properties": {
            "view_bob": {
              "type": "array",
              "items": {
                "enum": [
                  "off",
                  "subtle",
                  "normal"
                ]
              },
              "minItems": 1,
              "uniqueItems": true
            },
            "reticle_style": {
              "type": "array",
              "items": {
                "enum": [
                  "cross_dot",
                  "t_dot",
                  "circle_dot",
                  "dot",
                  "cross",
                  "chevron"
                ]
              },
              "minItems": 1,
              "uniqueItems": true
            }
          },
          "required": [
            "view_bob",
            "reticle_style"
          ],
          "additionalProperties": false
        },
        "ranges": {
          "type": "object",
          "properties": {
            "walk_speed": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "minItems": 2,
              "maxItems": 2
            },
            "run_speed": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "minItems": 2,
              "maxItems": 2
            },
            "reticle_size": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "minItems": 2,
              "maxItems": 2
            },
            "reticle_thickness": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "minItems": 2,
              "maxItems": 2
            },
            "reticle_gap": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "minItems": 2,
              "maxItems": 2
            },
            "reticle_opacity": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "minItems": 2,
              "maxItems": 2
            },
            "reach_grab": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "minItems": 2,
              "maxItems": 2
            },
            "reach_mount": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "minItems": 2,
              "maxItems": 2
            },
            "reach_placement": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "minItems": 2,
              "maxItems": 2
            }
          },
          "required": [
            "walk_speed",
            "run_speed",
            "reticle_size",
            "reticle_thickness",
            "reticle_gap",
            "reticle_opacity",
            "reach_grab",
            "reach_mount",
            "reach_placement"
          ],
          "additionalProperties": false
        },
        "path": {
          "type": "string",
          "maxLength": 4096
        },
        "error": {
          "type": "string",
          "maxLength": 4096
        }
      },
      "required": [
        "config",
        "defaults",
        "overrides",
        "options",
        "ranges",
        "path",
        "error"
      ],
      "additionalProperties": false
    },
    "player.get.params": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "player.get.result": {
      "$ref": "#/$defs/playerSettings"
    },
    "player.get.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "player.get"
        },
        "params": {
          "$ref": "#/$defs/player.get.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "player.get.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/player.get.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "player.set.params": {
      "type": "object",
      "properties": {
        "patch": {
          "$ref": "#/$defs/playerPatch"
        }
      },
      "required": [
        "patch"
      ],
      "additionalProperties": false
    },
    "player.set.result": {
      "$ref": "#/$defs/playerSettings"
    },
    "player.set.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "player.set"
        },
        "params": {
          "$ref": "#/$defs/player.set.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "player.set.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/player.set.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "surface.pocket.params": {
      "type": "object",
      "properties": {
        "surfaceId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        }
      },
      "required": [
        "surfaceId"
      ],
      "additionalProperties": false
    },
    "surface.pocket.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "surface.pocket.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "surface.pocket"
        },
        "params": {
          "$ref": "#/$defs/surface.pocket.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "surface.pocket.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/surface.pocket.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "surface.unpocket.params": {
      "type": "object",
      "properties": {
        "surfaceId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        }
      },
      "required": [
        "surfaceId"
      ],
      "additionalProperties": false
    },
    "surface.unpocket.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "placed": {
          "type": "boolean"
        }
      },
      "required": [
        "revision",
        "placed"
      ],
      "additionalProperties": false
    },
    "surface.unpocket.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "surface.unpocket"
        },
        "params": {
          "$ref": "#/$defs/surface.unpocket.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "surface.unpocket.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/surface.unpocket.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "questSlug": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "pattern": "^[a-z0-9][a-z0-9-]{0,63}$"
    },
    "questRef": {
      "type": "object",
      "properties": {
        "source": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "id": {
          "$ref": "#/$defs/questSlug"
        }
      },
      "required": [
        "source",
        "id"
      ],
      "additionalProperties": false,
      "description": "A quest reference: source (\"personal\", a world ID or a provider ID) and the quest slug."
    },
    "questProgress": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 10000
      },
      "minItems": 2,
      "maxItems": 2,
      "description": "[done, of]."
    },
    "questTarget": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "position": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "minItems": 3,
              "maxItems": 3
            },
            "worldId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            }
          },
          "required": [
            "position"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "zoneId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            }
          },
          "required": [
            "zoneId"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "areaId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            }
          },
          "required": [
            "areaId"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "placeId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            }
          },
          "required": [
            "placeId"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "workspaceId": {
              "type": "integer",
              "minimum": 1,
              "maximum": 2147483647
            }
          },
          "required": [
            "workspaceId"
          ],
          "additionalProperties": false
        }
      ],
      "description": "Exactly one of position (optionally with worldId), zoneId, areaId, placeId or workspaceId."
    },
    "markerSource": {
      "type": "object",
      "properties": {
        "questId": {
          "type": "string",
          "minLength": 3,
          "maxLength": 200,
          "pattern": "^[^/]{1,128}/[a-z0-9][a-z0-9-]{0,63}$"
        },
        "stepId": {
          "$ref": "#/$defs/questSlug"
        },
        "objectiveId": {
          "$ref": "#/$defs/questSlug"
        },
        "areaId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "zoneId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "placeId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "workspaceId": {
          "type": "integer",
          "minimum": 1,
          "maximum": 2147483647
        },
        "waypoint": {
          "const": true
        },
        "route": {
          "const": true
        },
        "focus": {
          "const": true
        },
        "break": {
          "const": true
        }
      },
      "required": [],
      "additionalProperties": false,
      "description": "Where a marker comes from (\"open in Quests\"); questId is \"<source>/<id>\"."
    },
    "guidanceMarker": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 160
        },
        "kind": {
          "enum": [
            "quest",
            "offer",
            "waypoint",
            "route",
            "home",
            "workspace",
            "place",
            "vista",
            "discover",
            "machine",
            "focus",
            "break"
          ]
        },
        "tier": {
          "type": "integer",
          "minimum": 1,
          "maximum": 4
        },
        "label": {
          "type": "string",
          "minLength": 0,
          "maxLength": 48
        },
        "icon": {
          "enum": [
            "quest",
            "quest-optional",
            "offer",
            "turn-in",
            "waypoint",
            "route",
            "home",
            "workspace",
            "place",
            "vista",
            "discover",
            "door",
            "stairs",
            "lift",
            "water",
            "machine",
            "focus",
            "break"
          ]
        },
        "target": {
          "$ref": "#/$defs/questTarget"
        },
        "position": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "array",
              "items": {
                "type": "number"
              },
              "minItems": 3,
              "maxItems": 3
            }
          ]
        },
        "areaId": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            }
          ]
        },
        "range": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000
          },
          "minItems": 2,
          "maxItems": 2
        },
        "labelRange": {
          "type": "number",
          "minimum": 0,
          "maximum": 10000
        },
        "occlusion": {
          "enum": [
            "through",
            "edge",
            "visible"
          ]
        },
        "tracked": {
          "type": "boolean"
        },
        "source": {
          "$ref": "#/$defs/markerSource"
        }
      },
      "required": [
        "id",
        "kind",
        "tier",
        "label",
        "icon",
        "target",
        "position",
        "areaId",
        "range",
        "labelRange",
        "occlusion",
        "tracked",
        "source"
      ],
      "additionalProperties": false,
      "description": "A resolved marker (RFC-0012). id is \"<kind>:<source id>\" (at most 160 bytes); position is null when the target is not in the loaded world; range is [min, max] metres with min < max. Kinds and icons beyond quest, waypoint, route, home, workspace, place, focus and break (plus quest-optional and vista icons) are reserved for later quest sources."
    },
    "markersState": {
      "type": "object",
      "properties": {
        "reveal": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "object",
              "properties": {
                "startedAtMs": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "holdMs": {
                  "type": "integer",
                  "anyOf": [
                    {
                      "const": 0
                    },
                    {
                      "minimum": 1000,
                      "maximum": 15000
                    }
                  ]
                },
                "fadeMs": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 600
                },
                "reason": {
                  "enum": [
                    "tap",
                    "request"
                  ]
                }
              },
              "required": [
                "startedAtMs",
                "holdMs",
                "fadeMs",
                "reason"
              ],
              "additionalProperties": false
            }
          ]
        },
        "persistent": {
          "enum": [
            "off",
            "edge",
            "always"
          ]
        },
        "calm": {
          "type": "boolean"
        },
        "coreDraw": {
          "type": "boolean"
        },
        "list": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/guidanceMarker"
          },
          "maxItems": 64
        }
      },
      "required": [
        "reveal",
        "persistent",
        "calm",
        "coreDraw",
        "list"
      ],
      "additionalProperties": false,
      "description": "Marker reveal and the resolved marker list (sorted by tier, then id). reveal.holdMs 0 is toggle mode; *AtMs are CLOCK_MONOTONIC milliseconds."
    },
    "activeQuest": {
      "type": "object",
      "properties": {
        "id": {
          "$ref": "#/$defs/questSlug"
        },
        "source": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "title": {
          "type": "string",
          "minLength": 1,
          "maxLength": 64
        },
        "step": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "object",
              "properties": {
                "id": {
                  "$ref": "#/$defs/questSlug"
                },
                "title": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64
                },
                "progress": {
                  "$ref": "#/$defs/questProgress"
                }
              },
              "required": [
                "id",
                "title",
                "progress"
              ],
              "additionalProperties": false
            }
          ]
        },
        "progress": {
          "$ref": "#/$defs/questProgress"
        }
      },
      "required": [
        "id",
        "source",
        "title",
        "step",
        "progress"
      ],
      "additionalProperties": false
    },
    "questsState": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean"
        },
        "tracked": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/questRef"
            }
          ]
        },
        "active": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/activeQuest"
          },
          "maxItems": 16
        },
        "counts": {
          "type": "object",
          "properties": {
            "available": {
              "type": "integer",
              "minimum": 0,
              "maximum": 10000
            },
            "active": {
              "type": "integer",
              "minimum": 0,
              "maximum": 10000
            },
            "completed": {
              "type": "integer",
              "minimum": 0,
              "maximum": 10000
            }
          },
          "required": [
            "available",
            "active",
            "completed"
          ],
          "additionalProperties": false
        },
        "world": {
          "type": "null"
        }
      },
      "required": [
        "enabled",
        "tracked",
        "active",
        "counts",
        "world"
      ],
      "additionalProperties": false,
      "description": "Active quests (tracked first) and counts. world is reserved and always null in this version."
    },
    "focusTarget": {
      "type": "object",
      "properties": {
        "kind": {
          "enum": [
            "any",
            "workspace",
            "window",
            "app"
          ]
        },
        "label": {
          "type": "string",
          "minLength": 0,
          "maxLength": 64
        },
        "workspaceId": {
          "type": "integer",
          "minimum": 1,
          "maximum": 2147483647
        },
        "appClass": {
          "type": "string",
          "minLength": 0,
          "maxLength": 128
        },
        "questRef": {
          "$ref": "#/$defs/questRef"
        }
      },
      "required": [
        "kind",
        "label"
      ],
      "additionalProperties": false
    },
    "focusState": {
      "type": "object",
      "properties": {
        "state": {
          "enum": [
            "idle",
            "work",
            "break",
            "ready",
            "paused"
          ]
        },
        "pausedState": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "enum": [
                "work",
                "break",
                "ready"
              ]
            }
          ]
        },
        "sessionId": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 64,
              "pattern": "^focus-[0-9a-f]{1,58}$"
            }
          ]
        },
        "phaseStartedAtMs": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          ]
        },
        "phaseEndsAtMs": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          ]
        },
        "phaseMs": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "remainingMs": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "creditedMs": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "crediting": {
          "type": "boolean"
        },
        "cycle": {
          "type": "integer",
          "minimum": 0,
          "maximum": 12
        },
        "cycles": {
          "type": "integer",
          "minimum": 1,
          "maximum": 12
        },
        "breakKind": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "enum": [
                "short",
                "long"
              ]
            }
          ]
        },
        "countMode": {
          "enum": [
            "focus",
            "wall"
          ]
        },
        "target": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/focusTarget"
            }
          ]
        },
        "calm": {
          "type": "boolean"
        }
      },
      "required": [
        "state",
        "pausedState",
        "sessionId",
        "phaseStartedAtMs",
        "phaseEndsAtMs",
        "phaseMs",
        "remainingMs",
        "creditedMs",
        "crediting",
        "cycle",
        "cycles",
        "breakKind",
        "countMode",
        "target",
        "calm"
      ],
      "additionalProperties": false,
      "description": "The focus session. Phase times are CLOCK_MONOTONIC milliseconds (null when idle, ready or paused); remainingMs is at publication time; creditedMs and crediting are sampled at most every 10 s and on every phase change."
    },
    "guidanceConfig": {
      "type": "object",
      "properties": {
        "markers.reveal_ms": {
          "type": "integer",
          "minimum": 1000,
          "maximum": 15000
        },
        "markers.reveal_mode": {
          "enum": [
            "timer",
            "toggle"
          ]
        },
        "markers.max_revealed": {
          "type": "integer",
          "minimum": 4,
          "maximum": 16
        },
        "markers.labels": {
          "type": "integer",
          "minimum": 2,
          "maximum": 8
        },
        "markers.persistent": {
          "enum": [
            "off",
            "edge",
            "always"
          ]
        },
        "markers.core_draw": {
          "type": "boolean"
        },
        "quests.notifications": {
          "enum": [
            "all",
            "important",
            "off"
          ]
        },
        "focus.work_min": {
          "type": "integer",
          "minimum": 5,
          "maximum": 120
        },
        "focus.short_break_min": {
          "type": "integer",
          "minimum": 1,
          "maximum": 30
        },
        "focus.long_break_min": {
          "type": "integer",
          "minimum": 5,
          "maximum": 60
        },
        "focus.long_break_every": {
          "type": "integer",
          "minimum": 2,
          "maximum": 12
        },
        "focus.cycles": {
          "type": "integer",
          "minimum": 1,
          "maximum": 12
        },
        "focus.auto_start_breaks": {
          "type": "boolean"
        },
        "focus.auto_start_work": {
          "type": "boolean"
        },
        "focus.count_mode": {
          "enum": [
            "focus",
            "wall"
          ]
        },
        "focus.idle_s": {
          "type": "integer",
          "minimum": 60,
          "maximum": 900
        },
        "focus.grace_s": {
          "type": "integer",
          "minimum": 0,
          "maximum": 120
        },
        "focus.calm": {
          "type": "boolean"
        },
        "focus.calm_npc_distance": {
          "type": "number",
          "minimum": 2,
          "maximum": 20
        },
        "focus.desktop_chip": {
          "type": "boolean"
        },
        "focus.history_days": {
          "type": "integer",
          "minimum": 0,
          "maximum": 365
        }
      },
      "required": [
        "markers.reveal_ms",
        "markers.reveal_mode",
        "markers.max_revealed",
        "markers.labels",
        "markers.persistent",
        "markers.core_draw",
        "quests.notifications",
        "focus.work_min",
        "focus.short_break_min",
        "focus.long_break_min",
        "focus.long_break_every",
        "focus.cycles",
        "focus.auto_start_breaks",
        "focus.auto_start_work",
        "focus.count_mode",
        "focus.idle_s",
        "focus.grace_s",
        "focus.calm",
        "focus.calm_npc_distance",
        "focus.desktop_chip",
        "focus.history_days"
      ],
      "additionalProperties": false,
      "description": "Every guidance setting (effective values or defaults)."
    },
    "guidanceOverrides": {
      "type": "object",
      "properties": {
        "markers.reveal_ms": {
          "type": "integer",
          "minimum": 1000,
          "maximum": 15000
        },
        "markers.reveal_mode": {
          "enum": [
            "timer",
            "toggle"
          ]
        },
        "markers.max_revealed": {
          "type": "integer",
          "minimum": 4,
          "maximum": 16
        },
        "markers.labels": {
          "type": "integer",
          "minimum": 2,
          "maximum": 8
        },
        "markers.persistent": {
          "enum": [
            "off",
            "edge",
            "always"
          ]
        },
        "markers.core_draw": {
          "type": "boolean"
        },
        "quests.notifications": {
          "enum": [
            "all",
            "important",
            "off"
          ]
        },
        "focus.work_min": {
          "type": "integer",
          "minimum": 5,
          "maximum": 120
        },
        "focus.short_break_min": {
          "type": "integer",
          "minimum": 1,
          "maximum": 30
        },
        "focus.long_break_min": {
          "type": "integer",
          "minimum": 5,
          "maximum": 60
        },
        "focus.long_break_every": {
          "type": "integer",
          "minimum": 2,
          "maximum": 12
        },
        "focus.cycles": {
          "type": "integer",
          "minimum": 1,
          "maximum": 12
        },
        "focus.auto_start_breaks": {
          "type": "boolean"
        },
        "focus.auto_start_work": {
          "type": "boolean"
        },
        "focus.count_mode": {
          "enum": [
            "focus",
            "wall"
          ]
        },
        "focus.idle_s": {
          "type": "integer",
          "minimum": 60,
          "maximum": 900
        },
        "focus.grace_s": {
          "type": "integer",
          "minimum": 0,
          "maximum": 120
        },
        "focus.calm": {
          "type": "boolean"
        },
        "focus.calm_npc_distance": {
          "type": "number",
          "minimum": 2,
          "maximum": 20
        },
        "focus.desktop_chip": {
          "type": "boolean"
        },
        "focus.history_days": {
          "type": "integer",
          "minimum": 0,
          "maximum": 365
        }
      },
      "required": [],
      "additionalProperties": false,
      "description": "Persisted guidance overrides (never null; may be empty)."
    },
    "guidancePatch": {
      "type": "object",
      "properties": {
        "markers.reveal_ms": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "integer",
              "minimum": 1000,
              "maximum": 15000
            }
          ]
        },
        "markers.reveal_mode": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "enum": [
                "timer",
                "toggle"
              ]
            }
          ]
        },
        "markers.max_revealed": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "integer",
              "minimum": 4,
              "maximum": 16
            }
          ]
        },
        "markers.labels": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "integer",
              "minimum": 2,
              "maximum": 8
            }
          ]
        },
        "markers.persistent": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "enum": [
                "off",
                "edge",
                "always"
              ]
            }
          ]
        },
        "markers.core_draw": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "boolean"
            }
          ]
        },
        "quests.notifications": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "enum": [
                "all",
                "important",
                "off"
              ]
            }
          ]
        },
        "focus.work_min": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "integer",
              "minimum": 5,
              "maximum": 120
            }
          ]
        },
        "focus.short_break_min": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "integer",
              "minimum": 1,
              "maximum": 30
            }
          ]
        },
        "focus.long_break_min": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "integer",
              "minimum": 5,
              "maximum": 60
            }
          ]
        },
        "focus.long_break_every": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "integer",
              "minimum": 2,
              "maximum": 12
            }
          ]
        },
        "focus.cycles": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "integer",
              "minimum": 1,
              "maximum": 12
            }
          ]
        },
        "focus.auto_start_breaks": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "boolean"
            }
          ]
        },
        "focus.auto_start_work": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "boolean"
            }
          ]
        },
        "focus.count_mode": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "enum": [
                "focus",
                "wall"
              ]
            }
          ]
        },
        "focus.idle_s": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "integer",
              "minimum": 60,
              "maximum": 900
            }
          ]
        },
        "focus.grace_s": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "integer",
              "minimum": 0,
              "maximum": 120
            }
          ]
        },
        "focus.calm": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "boolean"
            }
          ]
        },
        "focus.calm_npc_distance": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "number",
              "minimum": 2,
              "maximum": 20
            }
          ]
        },
        "focus.desktop_chip": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "boolean"
            }
          ]
        },
        "focus.history_days": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "integer",
              "minimum": 0,
              "maximum": 365
            }
          ]
        }
      },
      "required": [],
      "additionalProperties": false,
      "minProperties": 1,
      "description": "Changed keys only; null removes the persisted override (back to the default)."
    },
    "guidanceSettings": {
      "type": "object",
      "properties": {
        "config": {
          "$ref": "#/$defs/guidanceConfig"
        },
        "defaults": {
          "$ref": "#/$defs/guidanceConfig"
        },
        "overrides": {
          "$ref": "#/$defs/guidanceOverrides"
        },
        "ranges": {
          "type": "object",
          "properties": {
            "markers.reveal_ms": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "minItems": 2,
              "maxItems": 2
            },
            "markers.max_revealed": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "minItems": 2,
              "maxItems": 2
            },
            "markers.labels": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "minItems": 2,
              "maxItems": 2
            },
            "focus.work_min": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "minItems": 2,
              "maxItems": 2
            },
            "focus.short_break_min": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "minItems": 2,
              "maxItems": 2
            },
            "focus.long_break_min": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "minItems": 2,
              "maxItems": 2
            },
            "focus.long_break_every": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "minItems": 2,
              "maxItems": 2
            },
            "focus.cycles": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "minItems": 2,
              "maxItems": 2
            },
            "focus.idle_s": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "minItems": 2,
              "maxItems": 2
            },
            "focus.grace_s": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "minItems": 2,
              "maxItems": 2
            },
            "focus.calm_npc_distance": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "minItems": 2,
              "maxItems": 2
            },
            "focus.history_days": {
              "type": "array",
              "items": {
                "type": "number"
              },
              "minItems": 2,
              "maxItems": 2
            }
          },
          "required": [
            "markers.reveal_ms",
            "markers.max_revealed",
            "markers.labels",
            "focus.work_min",
            "focus.short_break_min",
            "focus.long_break_min",
            "focus.long_break_every",
            "focus.cycles",
            "focus.idle_s",
            "focus.grace_s",
            "focus.calm_npc_distance",
            "focus.history_days"
          ],
          "additionalProperties": false
        },
        "options": {
          "type": "object",
          "properties": {
            "markers.reveal_mode": {
              "type": "array",
              "items": {
                "enum": [
                  "timer",
                  "toggle"
                ]
              },
              "minItems": 1,
              "uniqueItems": true
            },
            "markers.persistent": {
              "type": "array",
              "items": {
                "enum": [
                  "off",
                  "edge",
                  "always"
                ]
              },
              "minItems": 1,
              "uniqueItems": true
            },
            "quests.notifications": {
              "type": "array",
              "items": {
                "enum": [
                  "all",
                  "important",
                  "off"
                ]
              },
              "minItems": 1,
              "uniqueItems": true
            },
            "focus.count_mode": {
              "type": "array",
              "items": {
                "enum": [
                  "focus",
                  "wall"
                ]
              },
              "minItems": 1,
              "uniqueItems": true
            }
          },
          "required": [
            "markers.reveal_mode",
            "markers.persistent",
            "quests.notifications",
            "focus.count_mode"
          ],
          "additionalProperties": false
        },
        "path": {
          "type": "string",
          "maxLength": 4096
        },
        "error": {
          "type": "string",
          "maxLength": 4096
        }
      },
      "required": [
        "config",
        "defaults",
        "overrides",
        "ranges",
        "options",
        "path",
        "error"
      ],
      "additionalProperties": false
    },
    "objectiveInput": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "id": {
              "$ref": "#/$defs/questSlug"
            },
            "type": {
              "const": "manual"
            },
            "count": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            },
            "label": {
              "type": "string",
              "minLength": 0,
              "maxLength": 64
            }
          },
          "required": [
            "id",
            "type"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "id": {
              "$ref": "#/$defs/questSlug"
            },
            "type": {
              "const": "reach"
            },
            "count": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            },
            "label": {
              "type": "string",
              "minLength": 0,
              "maxLength": 64
            },
            "target": {
              "$ref": "#/$defs/questTarget"
            },
            "radius": {
              "type": "number",
              "minimum": 0.5,
              "maximum": 100
            }
          },
          "required": [
            "id",
            "type"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "id": {
              "$ref": "#/$defs/questSlug"
            },
            "type": {
              "const": "focus"
            },
            "count": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            },
            "label": {
              "type": "string",
              "minLength": 0,
              "maxLength": 64
            },
            "sessions": {
              "type": "integer",
              "minimum": 1,
              "maximum": 12
            },
            "minutes": {
              "type": "number",
              "minimum": 1,
              "maximum": 120
            },
            "focusTarget": {
              "enum": [
                "quest",
                "any"
              ]
            }
          },
          "required": [
            "id",
            "type",
            "sessions"
          ],
          "additionalProperties": false
        }
      ],
      "description": "manual: the user marks it done. reach: target (default the step target; one of them must exist), radius in metres (default 4; area/zone bounds for area and zone targets). focus: sessions, minutes per session (default 0.8 x focus.work_min), focusTarget (default quest: only sessions started from this quest count)."
    },
    "stepInput": {
      "type": "object",
      "properties": {
        "id": {
          "$ref": "#/$defs/questSlug"
        },
        "title": {
          "type": "string",
          "minLength": 1,
          "maxLength": 64
        },
        "optional": {
          "type": "boolean"
        },
        "any": {
          "type": "boolean"
        },
        "target": {
          "$ref": "#/$defs/questTarget"
        },
        "objectives": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/objectiveInput"
          },
          "minItems": 1,
          "maxItems": 8
        }
      },
      "required": [
        "title"
      ],
      "additionalProperties": false,
      "description": "id defaults to step-N; objectives default to [{\"id\": \"done\", \"type\": \"manual\"}]."
    },
    "personalQuestInput": {
      "type": "object",
      "properties": {
        "id": {
          "$ref": "#/$defs/questSlug"
        },
        "title": {
          "type": "string",
          "minLength": 1,
          "maxLength": 64
        },
        "summary": {
          "type": "string",
          "minLength": 0,
          "maxLength": 1000
        },
        "sequential": {
          "type": "boolean"
        },
        "expires": {
          "type": "string",
          "minLength": 16,
          "maxLength": 16,
          "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}$"
        },
        "steps": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/stepInput"
          },
          "minItems": 1,
          "maxItems": 16
        }
      },
      "required": [
        "title",
        "steps"
      ],
      "additionalProperties": false,
      "description": "A personal quest definition. On create, id is derived from the title when absent; on update it is ignored (questRef wins). expires is a local date-time YYYY-MM-DDTHH:MM."
    },
    "questSummary": {
      "type": "object",
      "properties": {
        "questRef": {
          "$ref": "#/$defs/questRef"
        },
        "title": {
          "type": "string",
          "minLength": 1,
          "maxLength": 64
        },
        "category": {
          "enum": [
            "main",
            "side",
            "discovery",
            "personal",
            "work"
          ]
        },
        "state": {
          "enum": [
            "available",
            "active",
            "completed",
            "failed",
            "abandoned"
          ]
        },
        "tracked": {
          "type": "boolean"
        },
        "step": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "object",
              "properties": {
                "id": {
                  "$ref": "#/$defs/questSlug"
                },
                "title": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64
                },
                "progress": {
                  "$ref": "#/$defs/questProgress"
                }
              },
              "required": [
                "id",
                "title",
                "progress"
              ],
              "additionalProperties": false
            }
          ]
        },
        "progress": {
          "$ref": "#/$defs/questProgress"
        },
        "offWorld": {
          "type": "boolean"
        },
        "updatedAt": {
          "type": "string",
          "minLength": 16,
          "maxLength": 40,
          "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}(:[0-9]{2}(\\.[0-9]{1,9})?)?(Z|[+-][0-9]{2}:[0-9]{2})?$"
        }
      },
      "required": [
        "questRef",
        "title",
        "category",
        "state",
        "tracked",
        "step",
        "progress",
        "offWorld",
        "updatedAt"
      ],
      "additionalProperties": false
    },
    "questObjective": {
      "type": "object",
      "properties": {
        "id": {
          "$ref": "#/$defs/questSlug"
        },
        "type": {
          "enum": [
            "manual",
            "reach",
            "focus"
          ]
        },
        "label": {
          "type": "string",
          "minLength": 0,
          "maxLength": 64
        },
        "count": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100
        },
        "done": {
          "type": "integer",
          "minimum": 0,
          "maximum": 100
        },
        "target": {
          "$ref": "#/$defs/questTarget"
        },
        "radius": {
          "type": "number",
          "minimum": 0.5,
          "maximum": 100
        },
        "sessions": {
          "type": "integer",
          "minimum": 1,
          "maximum": 12
        },
        "minutes": {
          "type": "number",
          "minimum": 1,
          "maximum": 120
        },
        "focusTarget": {
          "enum": [
            "quest",
            "any"
          ]
        },
        "creditedMinutes": {
          "type": "number",
          "minimum": 0,
          "maximum": 1000000
        }
      },
      "required": [
        "id",
        "type",
        "label",
        "count",
        "done"
      ],
      "additionalProperties": false
    },
    "questStep": {
      "type": "object",
      "properties": {
        "id": {
          "$ref": "#/$defs/questSlug"
        },
        "title": {
          "type": "string",
          "minLength": 1,
          "maxLength": 64
        },
        "optional": {
          "type": "boolean"
        },
        "any": {
          "type": "boolean"
        },
        "state": {
          "enum": [
            "pending",
            "current",
            "done"
          ]
        },
        "target": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/questTarget"
            }
          ]
        },
        "objectives": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/questObjective"
          },
          "minItems": 1,
          "maxItems": 8
        }
      },
      "required": [
        "id",
        "title",
        "optional",
        "any",
        "state",
        "target",
        "objectives"
      ],
      "additionalProperties": false
    },
    "questDetail": {
      "type": "object",
      "properties": {
        "questRef": {
          "$ref": "#/$defs/questRef"
        },
        "title": {
          "type": "string",
          "minLength": 1,
          "maxLength": 64
        },
        "summary": {
          "type": "string",
          "minLength": 0,
          "maxLength": 1000
        },
        "category": {
          "enum": [
            "main",
            "side",
            "discovery",
            "personal",
            "work"
          ]
        },
        "state": {
          "enum": [
            "available",
            "active",
            "completed",
            "failed",
            "abandoned"
          ]
        },
        "tracked": {
          "type": "boolean"
        },
        "sequential": {
          "type": "boolean"
        },
        "expires": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "string",
              "minLength": 16,
              "maxLength": 40,
              "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}(:[0-9]{2}(\\.[0-9]{1,9})?)?(Z|[+-][0-9]{2}:[0-9]{2})?$"
            }
          ]
        },
        "createdAt": {
          "type": "string",
          "minLength": 16,
          "maxLength": 40,
          "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}(:[0-9]{2}(\\.[0-9]{1,9})?)?(Z|[+-][0-9]{2}:[0-9]{2})?$"
        },
        "updatedAt": {
          "type": "string",
          "minLength": 16,
          "maxLength": 40,
          "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}(:[0-9]{2}(\\.[0-9]{1,9})?)?(Z|[+-][0-9]{2}:[0-9]{2})?$"
        },
        "completedAt": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "string",
              "minLength": 16,
              "maxLength": 40,
              "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}(:[0-9]{2}(\\.[0-9]{1,9})?)?(Z|[+-][0-9]{2}:[0-9]{2})?$"
            }
          ]
        },
        "personal": {
          "type": "boolean"
        },
        "steps": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/questStep"
          },
          "minItems": 1,
          "maxItems": 16
        }
      },
      "required": [
        "questRef",
        "title",
        "summary",
        "category",
        "state",
        "tracked",
        "sequential",
        "expires",
        "createdAt",
        "updatedAt",
        "completedAt",
        "personal",
        "steps"
      ],
      "additionalProperties": false
    },
    "focusTargetInput": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "kind": {
              "const": "any"
            },
            "label": {
              "type": "string",
              "minLength": 0,
              "maxLength": 64
            }
          },
          "required": [
            "kind"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "const": "workspace"
            },
            "workspaceId": {
              "type": "integer",
              "minimum": 1,
              "maximum": 2147483647
            },
            "label": {
              "type": "string",
              "minLength": 0,
              "maxLength": 64
            }
          },
          "required": [
            "kind",
            "workspaceId"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "const": "window"
            },
            "appClass": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "workspaceId": {
              "type": "integer",
              "minimum": 1,
              "maximum": 2147483647
            },
            "label": {
              "type": "string",
              "minLength": 0,
              "maxLength": 64
            }
          },
          "required": [
            "kind",
            "appClass",
            "workspaceId"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "const": "app"
            },
            "appClass": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "label": {
              "type": "string",
              "minLength": 0,
              "maxLength": 64
            }
          },
          "required": [
            "kind",
            "appClass"
          ],
          "additionalProperties": false
        }
      ],
      "description": "What credits work time; default {\"kind\": \"any\"}."
    },
    "focusOverrides": {
      "type": "object",
      "properties": {
        "work_min": {
          "type": "integer",
          "minimum": 1,
          "maximum": 120
        },
        "short_break_min": {
          "type": "integer",
          "minimum": 1,
          "maximum": 30
        },
        "long_break_min": {
          "type": "integer",
          "minimum": 1,
          "maximum": 60
        },
        "long_break_every": {
          "type": "integer",
          "minimum": 2,
          "maximum": 12
        },
        "cycles": {
          "type": "integer",
          "minimum": 1,
          "maximum": 12
        },
        "count_mode": {
          "enum": [
            "focus",
            "wall"
          ]
        },
        "idle_s": {
          "type": "integer",
          "minimum": 60,
          "maximum": 900
        },
        "grace_s": {
          "type": "integer",
          "minimum": 0,
          "maximum": 120
        },
        "calm": {
          "type": "boolean"
        },
        "auto_start_breaks": {
          "type": "boolean"
        },
        "auto_start_work": {
          "type": "boolean"
        }
      },
      "required": [],
      "additionalProperties": false,
      "description": "One-off values for this session (work_min may go below the 5-minute setting floor)."
    },
    "focusInterval": {
      "type": "object",
      "properties": {
        "start": {
          "type": "string",
          "minLength": 16,
          "maxLength": 40,
          "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}(:[0-9]{2}(\\.[0-9]{1,9})?)?(Z|[+-][0-9]{2}:[0-9]{2})?$"
        },
        "end": {
          "type": "string",
          "minLength": 16,
          "maxLength": 40,
          "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}(:[0-9]{2}(\\.[0-9]{1,9})?)?(Z|[+-][0-9]{2}:[0-9]{2})?$"
        },
        "phase": {
          "enum": [
            "work",
            "break"
          ]
        },
        "plannedMin": {
          "type": "number",
          "minimum": 0,
          "maximum": 120
        },
        "creditedMin": {
          "type": "number",
          "minimum": 0,
          "maximum": 120
        },
        "targetKind": {
          "type": "string",
          "minLength": 1,
          "maxLength": 32,
          "pattern": "^[a-z]+$"
        },
        "appClass": {
          "type": "string",
          "minLength": 0,
          "maxLength": 128
        },
        "workspaceId": {
          "type": "integer",
          "minimum": 1,
          "maximum": 2147483647
        },
        "questId": {
          "type": "string",
          "minLength": 3,
          "maxLength": 200,
          "pattern": "^[^/]{1,128}/[a-z0-9][a-z0-9-]{0,63}$"
        },
        "outcome": {
          "enum": [
            "completed",
            "skipped",
            "stopped"
          ]
        }
      },
      "required": [
        "start",
        "end",
        "phase",
        "plannedMin",
        "creditedMin",
        "targetKind",
        "outcome"
      ],
      "additionalProperties": false,
      "description": "One finished interval (also one line of focus/history.jsonl). Never titles."
    },
    "markers.reveal.params": {
      "type": "object",
      "properties": {
        "durationMs": {
          "type": "integer",
          "minimum": 1000,
          "maximum": 15000
        }
      },
      "required": [],
      "additionalProperties": false
    },
    "markers.reveal.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "markers.reveal.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "markers.reveal"
        },
        "params": {
          "$ref": "#/$defs/markers.reveal.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "markers.reveal.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/markers.reveal.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "guidance.get.params": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "guidance.get.result": {
      "$ref": "#/$defs/guidanceSettings"
    },
    "guidance.get.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "guidance.get"
        },
        "params": {
          "$ref": "#/$defs/guidance.get.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "guidance.get.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/guidance.get.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "guidance.set.params": {
      "type": "object",
      "properties": {
        "patch": {
          "$ref": "#/$defs/guidancePatch"
        }
      },
      "required": [
        "patch"
      ],
      "additionalProperties": false
    },
    "guidance.set.result": {
      "$ref": "#/$defs/guidanceSettings"
    },
    "guidance.set.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "guidance.set"
        },
        "params": {
          "$ref": "#/$defs/guidance.set.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "guidance.set.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/guidance.set.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "quests.list.params": {
      "type": "object",
      "properties": {
        "states": {
          "type": "array",
          "items": {
            "enum": [
              "available",
              "active",
              "completed",
              "failed",
              "abandoned"
            ]
          },
          "minItems": 1,
          "maxItems": 5,
          "uniqueItems": true
        },
        "sources": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "minItems": 1,
          "maxItems": 64,
          "uniqueItems": true
        }
      },
      "required": [],
      "additionalProperties": false
    },
    "quests.list.result": {
      "type": "object",
      "properties": {
        "quests": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/questSummary"
          },
          "maxItems": 256
        }
      },
      "required": [
        "quests"
      ],
      "additionalProperties": false
    },
    "quests.list.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "quests.list"
        },
        "params": {
          "$ref": "#/$defs/quests.list.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "quests.list.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/quests.list.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "quests.get.params": {
      "type": "object",
      "properties": {
        "questRef": {
          "$ref": "#/$defs/questRef"
        }
      },
      "required": [
        "questRef"
      ],
      "additionalProperties": false
    },
    "quests.get.result": {
      "type": "object",
      "properties": {
        "quest": {
          "$ref": "#/$defs/questDetail"
        }
      },
      "required": [
        "quest"
      ],
      "additionalProperties": false
    },
    "quests.get.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "quests.get"
        },
        "params": {
          "$ref": "#/$defs/quests.get.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "quests.get.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/quests.get.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "quests.track.params": {
      "type": "object",
      "properties": {
        "questRef": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/questRef"
            }
          ]
        }
      },
      "required": [
        "questRef"
      ],
      "additionalProperties": false
    },
    "quests.track.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "quests.track.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "quests.track"
        },
        "params": {
          "$ref": "#/$defs/quests.track.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "quests.track.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/quests.track.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "quests.accept.params": {
      "type": "object",
      "properties": {
        "questRef": {
          "$ref": "#/$defs/questRef"
        }
      },
      "required": [
        "questRef"
      ],
      "additionalProperties": false
    },
    "quests.accept.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "quests.accept.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "quests.accept"
        },
        "params": {
          "$ref": "#/$defs/quests.accept.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "quests.accept.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/quests.accept.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "quests.abandon.params": {
      "type": "object",
      "properties": {
        "questRef": {
          "$ref": "#/$defs/questRef"
        }
      },
      "required": [
        "questRef"
      ],
      "additionalProperties": false
    },
    "quests.abandon.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "quests.abandon.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "quests.abandon"
        },
        "params": {
          "$ref": "#/$defs/quests.abandon.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "quests.abandon.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/quests.abandon.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "quests.resume.params": {
      "type": "object",
      "properties": {
        "questRef": {
          "$ref": "#/$defs/questRef"
        }
      },
      "required": [
        "questRef"
      ],
      "additionalProperties": false
    },
    "quests.resume.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "quests.resume.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "quests.resume"
        },
        "params": {
          "$ref": "#/$defs/quests.resume.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "quests.resume.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/quests.resume.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "quests.create.params": {
      "type": "object",
      "properties": {
        "quest": {
          "$ref": "#/$defs/personalQuestInput"
        }
      },
      "required": [
        "quest"
      ],
      "additionalProperties": false
    },
    "quests.create.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "questRef": {
          "$ref": "#/$defs/questRef"
        }
      },
      "required": [
        "revision",
        "questRef"
      ],
      "additionalProperties": false
    },
    "quests.create.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "quests.create"
        },
        "params": {
          "$ref": "#/$defs/quests.create.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "quests.create.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/quests.create.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "quests.update.params": {
      "type": "object",
      "properties": {
        "questRef": {
          "$ref": "#/$defs/questRef"
        },
        "quest": {
          "$ref": "#/$defs/personalQuestInput"
        }
      },
      "required": [
        "questRef",
        "quest"
      ],
      "additionalProperties": false
    },
    "quests.update.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "quests.update.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "quests.update"
        },
        "params": {
          "$ref": "#/$defs/quests.update.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "quests.update.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/quests.update.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "quests.delete.params": {
      "type": "object",
      "properties": {
        "questRef": {
          "$ref": "#/$defs/questRef"
        }
      },
      "required": [
        "questRef"
      ],
      "additionalProperties": false
    },
    "quests.delete.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "quests.delete.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "quests.delete"
        },
        "params": {
          "$ref": "#/$defs/quests.delete.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "quests.delete.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/quests.delete.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "quests.mark.params": {
      "type": "object",
      "properties": {
        "questRef": {
          "$ref": "#/$defs/questRef"
        },
        "stepId": {
          "$ref": "#/$defs/questSlug"
        },
        "objectiveId": {
          "$ref": "#/$defs/questSlug"
        }
      },
      "required": [
        "questRef",
        "stepId",
        "objectiveId"
      ],
      "additionalProperties": false
    },
    "quests.mark.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "quests.mark.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "quests.mark"
        },
        "params": {
          "$ref": "#/$defs/quests.mark.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "quests.mark.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/quests.mark.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "focus.start.params": {
      "type": "object",
      "properties": {
        "target": {
          "$ref": "#/$defs/focusTargetInput"
        },
        "questRef": {
          "$ref": "#/$defs/questRef"
        },
        "objectiveId": {
          "$ref": "#/$defs/questSlug"
        },
        "overrides": {
          "$ref": "#/$defs/focusOverrides"
        }
      },
      "required": [],
      "additionalProperties": false,
      "dependentRequired": {
        "objectiveId": [
          "questRef"
        ]
      }
    },
    "focus.start.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "sessionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 64,
          "pattern": "^focus-[0-9a-f]{1,58}$"
        }
      },
      "required": [
        "revision",
        "sessionId"
      ],
      "additionalProperties": false
    },
    "focus.start.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "focus.start"
        },
        "params": {
          "$ref": "#/$defs/focus.start.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "focus.start.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/focus.start.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "focus.pause.params": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "focus.pause.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "focus.pause.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "focus.pause"
        },
        "params": {
          "$ref": "#/$defs/focus.pause.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "focus.pause.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/focus.pause.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "focus.resume.params": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "focus.resume.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "focus.resume.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "focus.resume"
        },
        "params": {
          "$ref": "#/$defs/focus.resume.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "focus.resume.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/focus.resume.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "focus.skip.params": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "focus.skip.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "focus.skip.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "focus.skip"
        },
        "params": {
          "$ref": "#/$defs/focus.skip.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "focus.skip.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/focus.skip.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "focus.stop.params": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "focus.stop.result": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "revision"
      ],
      "additionalProperties": false
    },
    "focus.stop.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "focus.stop"
        },
        "params": {
          "$ref": "#/$defs/focus.stop.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "focus.stop.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/focus.stop.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "focus.history.params": {
      "type": "object",
      "properties": {
        "days": {
          "type": "integer",
          "minimum": 1,
          "maximum": 365
        }
      },
      "required": [],
      "additionalProperties": false
    },
    "focus.history.result": {
      "type": "object",
      "properties": {
        "intervals": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/focusInterval"
          },
          "maxItems": 512
        }
      },
      "required": [
        "intervals"
      ],
      "additionalProperties": false
    },
    "focus.history.request": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "method": {
          "const": "focus.history"
        },
        "params": {
          "$ref": "#/$defs/focus.history.params"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "focus.history.response": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "result": {
          "$ref": "#/$defs/focus.history.result"
        }
      },
      "required": [
        "jsonrpc",
        "id",
        "result"
      ],
      "additionalProperties": false
    },
    "quest.progress.params": {
      "type": "object",
      "properties": {
        "questRef": {
          "$ref": "#/$defs/questRef"
        },
        "kind": {
          "enum": [
            "objective",
            "step",
            "completed",
            "available",
            "failed"
          ]
        },
        "title": {
          "type": "string",
          "minLength": 1,
          "maxLength": 64
        },
        "stepId": {
          "$ref": "#/$defs/questSlug"
        },
        "stepTitle": {
          "type": "string",
          "minLength": 1,
          "maxLength": 64
        },
        "nextStepTitle": {
          "type": "string",
          "minLength": 1,
          "maxLength": 64
        },
        "objectiveId": {
          "$ref": "#/$defs/questSlug"
        },
        "progress": {
          "$ref": "#/$defs/questProgress"
        },
        "sessionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "questRef",
        "kind",
        "title",
        "sessionId",
        "revision"
      ],
      "additionalProperties": false
    },
    "quest.progress.notification": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "method": {
          "const": "quest.progress"
        },
        "params": {
          "$ref": "#/$defs/quest.progress.params"
        }
      },
      "required": [
        "jsonrpc",
        "method",
        "params"
      ],
      "additionalProperties": false
    },
    "focus.phase.params": {
      "type": "object",
      "properties": {
        "focusSessionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 64,
          "pattern": "^focus-[0-9a-f]{1,58}$"
        },
        "phase": {
          "enum": [
            "work",
            "break",
            "ready",
            "paused",
            "ended"
          ]
        },
        "cycle": {
          "type": "integer",
          "minimum": 0,
          "maximum": 12
        },
        "cycles": {
          "type": "integer",
          "minimum": 1,
          "maximum": 12
        },
        "creditedMs": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "breakKind": {
          "enum": [
            "short",
            "long"
          ]
        },
        "outcome": {
          "enum": [
            "completed",
            "skipped",
            "stopped"
          ]
        },
        "counted": {
          "type": "boolean"
        },
        "suggestion": {
          "type": "object",
          "properties": {
            "markerId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 160
            },
            "label": {
              "type": "string",
              "minLength": 0,
              "maxLength": 48
            }
          },
          "required": [
            "markerId",
            "label"
          ],
          "additionalProperties": false
        },
        "sessionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "revision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "focusSessionId",
        "phase",
        "cycle",
        "cycles",
        "creditedMs",
        "sessionId",
        "revision"
      ],
      "additionalProperties": false
    },
    "focus.phase.notification": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "method": {
          "const": "focus.phase"
        },
        "params": {
          "$ref": "#/$defs/focus.phase.params"
        }
      },
      "required": [
        "jsonrpc",
        "method",
        "params"
      ],
      "additionalProperties": false
    }
  },
  "anyOf": [
    {
      "$ref": "#/$defs/request"
    },
    {
      "$ref": "#/$defs/response"
    },
    {
      "$ref": "#/$defs/notification"
    },
    {
      "$ref": "#/$defs/error"
    },
    {
      "$ref": "#/$defs/camera.photo.request"
    },
    {
      "$ref": "#/$defs/camera.photo.response"
    },
    {
      "$ref": "#/$defs/camera.release.request"
    },
    {
      "$ref": "#/$defs/camera.release.response"
    }
  ]
}
