{
  "server": {
    "name": "arkita",
    "version": "0.1.0",
    "buildId": "7de5c0ecb4b9b7befc1fa4b7291bac36b4fb6f0997ccfedfceac92b57763dd02"
  },
  "tools": [
    {
      "name": "arkita_protocol_profiles",
      "description": "Read the explicitly supported protocol profiles; SDK clients must select a compatible profile.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "profiles": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "version": {
                  "type": "string"
                },
                "era": {
                  "type": "string",
                  "enum": [
                    "modern",
                    "legacy"
                  ]
                },
                "metadata": {
                  "type": "string"
                },
                "cancellation": {
                  "type": "string"
                }
              },
              "required": [
                "version",
                "era",
                "metadata",
                "cancellation"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "profiles"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      }
    },
    {
      "name": "arkita_capabilities",
      "description": "List only the tools implemented in this build and explicitly unavailable product features.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "schemaVersion": {
            "type": "string",
            "const": "1.0.0"
          },
          "tools": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "qualification": {
                  "type": "string",
                  "const": "implemented"
                }
              },
              "required": [
                "name",
                "qualification"
              ],
              "additionalProperties": false
            }
          },
          "transports": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "stdio",
                "streamable-http"
              ]
            }
          },
          "unavailable": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "schemaVersion",
          "tools",
          "transports",
          "unavailable"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      }
    },
    {
      "name": "arkita_health",
      "description": "Read the MCP companion process health. A ready companion does not mean the desktop application exists.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "schemaVersion": {
            "type": "string",
            "const": "1.0.0"
          },
          "status": {
            "type": "string",
            "const": "ready"
          },
          "server": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "const": "arkita"
              },
              "version": {
                "type": "string"
              },
              "buildId": {
                "type": "string"
              }
            },
            "required": [
              "name",
              "version",
              "buildId"
            ],
            "additionalProperties": false
          },
          "processId": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "application": {
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "not_implemented",
                  "stopped",
                  "running"
                ]
              }
            },
            "required": [
              "status"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "schemaVersion",
          "status",
          "server",
          "processId",
          "application"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      }
    },
    {
      "name": "arkita_app_start",
      "description": "Start the real native Qt application, or return its current state.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "applicationId": {
            "type": "string",
            "const": "arkita"
          },
          "version": {
            "type": "string"
          },
          "qtVersion": {
            "type": "string"
          },
          "processId": {
            "type": "string"
          },
          "visible": {
            "type": "boolean"
          },
          "title": {
            "type": "string"
          },
          "width": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "height": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "documentCount": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1
          }
        },
        "required": [
          "applicationId",
          "version",
          "qtVersion",
          "processId",
          "visible",
          "title",
          "width",
          "height",
          "documentCount"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      }
    },
    {
      "name": "arkita_app_stop",
      "description": "Stop the owned native application. The MCP companion remains alive.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "stopped": {
            "type": "boolean",
            "const": true
          },
          "exitCode": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "stopped"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      }
    },
    {
      "name": "arkita_app_status",
      "description": "Inspect the real Qt window through the authenticated IPC bridge.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "applicationId": {
            "type": "string",
            "const": "arkita"
          },
          "version": {
            "type": "string"
          },
          "qtVersion": {
            "type": "string"
          },
          "processId": {
            "type": "string"
          },
          "visible": {
            "type": "boolean"
          },
          "title": {
            "type": "string"
          },
          "width": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "height": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "documentCount": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1
          }
        },
        "required": [
          "applicationId",
          "version",
          "qtVersion",
          "processId",
          "visible",
          "title",
          "width",
          "height",
          "documentCount"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      }
    },
    {
      "name": "arkita_ui_state",
      "description": "Read real window/frame state; no synthetic document is created.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "windowId": {
            "default": "main-window",
            "type": "string",
            "const": "main-window"
          }
        },
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "applicationId": {
            "type": "string",
            "const": "arkita"
          },
          "windowId": {
            "type": "string",
            "const": "main-window"
          },
          "viewId": {
            "type": "string",
            "enum": [
              "main-window",
              "model-viewport"
            ]
          },
          "viewRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "frameId": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "visible": {
            "type": "boolean"
          },
          "width": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "height": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "dpiScale": {
            "type": "number",
            "exclusiveMinimum": 0
          },
          "focused": {
            "type": "boolean"
          },
          "inputButtons": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "inputKeys": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "applicationId",
          "windowId",
          "viewId",
          "viewRevision",
          "frameId",
          "documents",
          "visible",
          "width",
          "height",
          "dpiScale",
          "focused",
          "inputButtons",
          "inputKeys"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      }
    },
    {
      "name": "arkita_render_stats",
      "description": "Read the OpenGL renderer, physical viewport size, scene complexity and timing of the latest camera motion. Timing values are null before measurement.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "windowId": {
            "default": "main-window",
            "type": "string",
            "const": "main-window"
          }
        },
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "gpuVendor": {
            "type": "string"
          },
          "gpuRenderer": {
            "type": "string"
          },
          "gpuVersion": {
            "type": "string"
          },
          "widthPixels": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "heightPixels": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "displayRefreshHz": {
            "type": [
              "number",
              "null"
            ]
          },
          "triangles": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "lightSamples": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "mode": {
            "type": "string",
            "enum": [
              "simple",
              "fluidPreview",
              "litPreview",
              "realistic"
            ]
          },
          "adaptive": {
            "type": "boolean"
          },
          "simplified": {
            "type": "boolean"
          },
          "renderScale": {
            "type": "number"
          },
          "presentedFrames": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "gpuSamples": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "cpuSamples": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "gpuMilliseconds": {
            "type": [
              "number",
              "null"
            ]
          },
          "cpuMilliseconds": {
            "type": [
              "number",
              "null"
            ]
          },
          "fps": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "gpuVendor",
          "gpuRenderer",
          "gpuVersion",
          "widthPixels",
          "heightPixels",
          "displayRefreshHz",
          "triangles",
          "lightSamples",
          "mode",
          "adaptive",
          "simplified",
          "presentedFrames",
          "gpuSamples",
          "cpuSamples",
          "gpuMilliseconds",
          "cpuMilliseconds",
          "fps"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "arkita_ui_tree",
      "description": "Inspect real Qt widgets with pagination and client-coordinate rectangles.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "windowId": {
            "default": "main-window",
            "type": "string",
            "const": "main-window"
          },
          "offset": {
            "default": 0,
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "limit": {
            "default": 50,
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          }
        },
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "className": {
                  "type": "string"
                },
                "visible": {
                  "type": "boolean"
                },
                "enabled": {
                  "type": "boolean"
                },
                "x": {
                  "type": "number"
                },
                "y": {
                  "type": "number"
                },
                "width": {
                  "type": "number"
                },
                "height": {
                  "type": "number"
                }
              },
              "required": [
                "id",
                "className",
                "visible",
                "enabled",
                "x",
                "y",
                "width",
                "height"
              ],
              "additionalProperties": false
            }
          },
          "total": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "offset": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "nextOffset": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "items",
          "total",
          "offset",
          "nextOffset"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      }
    },
    {
      "name": "arkita_ui_sequence",
      "description": "Send bounded Qt events through actual handlers. A wait can hold inputs briefly before their next event. Release held inputs after each sequence.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "windowId": {
            "default": "main-window",
            "type": "string",
            "const": "main-window"
          },
          "events": {
            "minItems": 1,
            "maxItems": 128,
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "enum": [
                        "mouse_press",
                        "mouse_double_click",
                        "mouse_release",
                        "mouse_move"
                      ]
                    },
                    "targetId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 128
                    },
                    "x": {
                      "type": "number"
                    },
                    "y": {
                      "type": "number"
                    },
                    "button": {
                      "default": 0,
                      "anyOf": [
                        {
                          "type": "number",
                          "const": 0
                        },
                        {
                          "type": "number",
                          "const": 1
                        },
                        {
                          "type": "number",
                          "const": 2
                        },
                        {
                          "type": "number",
                          "const": 4
                        }
                      ]
                    },
                    "modifiers": {
                      "default": 0,
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 2147483647
                    }
                  },
                  "required": [
                    "type",
                    "targetId",
                    "x",
                    "y"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "enum": [
                        "key_press",
                        "key_release"
                      ]
                    },
                    "targetId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 128
                    },
                    "key": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 33554431
                    },
                    "text": {
                      "default": "",
                      "type": "string",
                      "maxLength": 256
                    },
                    "modifiers": {
                      "default": 0,
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 2147483647
                    }
                  },
                  "required": [
                    "type",
                    "targetId",
                    "key"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "focus"
                    },
                    "targetId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 128
                    }
                  },
                  "required": [
                    "type",
                    "targetId"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "wheel"
                    },
                    "targetId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 128
                    },
                    "x": {
                      "type": "number"
                    },
                    "y": {
                      "type": "number"
                    },
                    "delta": {
                      "type": "integer",
                      "minimum": -10000,
                      "maximum": 10000
                    },
                    "modifiers": {
                      "default": 0,
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 2147483647
                    }
                  },
                  "required": [
                    "type",
                    "targetId",
                    "x",
                    "y",
                    "delta"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "wait"
                    },
                    "durationMs": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 1000
                    }
                  },
                  "required": [
                    "type",
                    "durationMs"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "release_all"
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "window_deactivate"
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "additionalProperties": false
                }
              ]
            }
          }
        },
        "required": [
          "events"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "applicationId": {
            "type": "string",
            "const": "arkita"
          },
          "windowId": {
            "type": "string",
            "const": "main-window"
          },
          "viewId": {
            "type": "string",
            "enum": [
              "main-window",
              "model-viewport"
            ]
          },
          "viewRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "frameId": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "visible": {
            "type": "boolean"
          },
          "width": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "height": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "dpiScale": {
            "type": "number",
            "exclusiveMinimum": 0
          },
          "focused": {
            "type": "boolean"
          },
          "inputButtons": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "inputKeys": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "eventTrace": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string"
                },
                "buttons": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "keys": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                }
              },
              "required": [
                "type",
                "buttons",
                "keys"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "applicationId",
          "windowId",
          "viewId",
          "viewRevision",
          "frameId",
          "documents",
          "visible",
          "width",
          "height",
          "dpiScale",
          "focused",
          "inputButtons",
          "inputKeys",
          "eventTrace"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      }
    },
    {
      "name": "arkita_work_cutaway_state",
      "description": "Read the current camera-only work cutaway and its group path or face ID.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "groupPath": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "faceId": {
            "type": "string"
          },
          "automatic": {
            "type": "boolean",
            "const": true
          },
          "phase": {
            "type": "string",
            "enum": [
              "inactive",
              "choosing",
              "open"
            ]
          },
          "suspended": {
            "type": "string",
            "const": "inside"
          },
          "targets": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "groupPath": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "faceId": {
                  "type": "string"
                }
              },
              "required": [
                "groupPath"
              ],
              "additionalProperties": false
            }
          },
          "editing": {
            "type": "object",
            "properties": {
              "groupPath": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "faceId": {
                "type": "string"
              }
            },
            "required": [
              "groupPath"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "groupPath",
          "phase"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true
      }
    },
    {
      "name": "arkita_work_cutaway_open",
      "description": "Open the visible tagged face or group at viewport coordinates while retaining its light occlusion.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "x": {
            "type": "number"
          },
          "y": {
            "type": "number"
          }
        },
        "required": [
          "x",
          "y"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "groupPath": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "faceId": {
            "type": "string"
          },
          "automatic": {
            "type": "boolean",
            "const": true
          },
          "phase": {
            "type": "string",
            "enum": [
              "inactive",
              "choosing",
              "open"
            ]
          },
          "suspended": {
            "type": "string",
            "const": "inside"
          },
          "targets": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "groupPath": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "faceId": {
                  "type": "string"
                }
              },
              "required": [
                "groupPath"
              ],
              "additionalProperties": false
            }
          },
          "editing": {
            "type": "object",
            "properties": {
              "groupPath": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "faceId": {
                "type": "string"
              }
            },
            "required": [
              "groupPath"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "groupPath",
          "phase"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false
      }
    },
    {
      "name": "arkita_work_cutaway_clear",
      "description": "Restore the full camera view of the model.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "groupPath": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "faceId": {
            "type": "string"
          },
          "automatic": {
            "type": "boolean",
            "const": true
          },
          "phase": {
            "type": "string",
            "enum": [
              "inactive",
              "choosing",
              "open"
            ]
          },
          "suspended": {
            "type": "string",
            "const": "inside"
          },
          "targets": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "groupPath": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "faceId": {
                  "type": "string"
                }
              },
              "required": [
                "groupPath"
              ],
              "additionalProperties": false
            }
          },
          "editing": {
            "type": "object",
            "properties": {
              "groupPath": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "faceId": {
                "type": "string"
              }
            },
            "required": [
              "groupPath"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "groupPath",
          "phase"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_work_cutaway_set_auto",
      "description": "Enable or disable automatic cuts for eligible walls between the camera and its target. The walls still block light.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          }
        },
        "required": [
          "enabled"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "groupPath": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "faceId": {
            "type": "string"
          },
          "automatic": {
            "type": "boolean",
            "const": true
          },
          "phase": {
            "type": "string",
            "enum": [
              "inactive",
              "choosing",
              "open"
            ]
          },
          "suspended": {
            "type": "string",
            "const": "inside"
          },
          "targets": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "groupPath": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "faceId": {
                  "type": "string"
                }
              },
              "required": [
                "groupPath"
              ],
              "additionalProperties": false
            }
          },
          "editing": {
            "type": "object",
            "properties": {
              "groupPath": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "faceId": {
                "type": "string"
              }
            },
            "required": [
              "groupPath"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "groupPath",
          "phase"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_work_cutaway_restore",
      "description": "Restore the cut wall whose retained border is at the viewport coordinates.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "x": {
            "type": "number"
          },
          "y": {
            "type": "number"
          }
        },
        "required": [
          "x",
          "y"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "groupPath": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "faceId": {
            "type": "string"
          },
          "automatic": {
            "type": "boolean",
            "const": true
          },
          "phase": {
            "type": "string",
            "enum": [
              "inactive",
              "choosing",
              "open"
            ]
          },
          "suspended": {
            "type": "string",
            "const": "inside"
          },
          "targets": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "groupPath": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "faceId": {
                  "type": "string"
                }
              },
              "required": [
                "groupPath"
              ],
              "additionalProperties": false
            }
          },
          "editing": {
            "type": "object",
            "properties": {
              "groupPath": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "faceId": {
                "type": "string"
              }
            },
            "required": [
              "groupPath"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "groupPath",
          "phase"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false
      }
    },
    {
      "name": "arkita_work_cutaway_edit",
      "description": "Reveal the cut wall at its retained border as a translucent editable surface.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "x": {
            "type": "number"
          },
          "y": {
            "type": "number"
          }
        },
        "required": [
          "x",
          "y"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "groupPath": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "faceId": {
            "type": "string"
          },
          "automatic": {
            "type": "boolean",
            "const": true
          },
          "phase": {
            "type": "string",
            "enum": [
              "inactive",
              "choosing",
              "open"
            ]
          },
          "suspended": {
            "type": "string",
            "const": "inside"
          },
          "targets": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "groupPath": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "faceId": {
                  "type": "string"
                }
              },
              "required": [
                "groupPath"
              ],
              "additionalProperties": false
            }
          },
          "editing": {
            "type": "object",
            "properties": {
              "groupPath": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "faceId": {
                "type": "string"
              }
            },
            "required": [
              "groupPath"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "groupPath",
          "phase"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false
      }
    },
    {
      "name": "arkita_work_cutaway_end_edit",
      "description": "Close the translucent editing view and resume the cutaway of that wall.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "groupPath": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "faceId": {
            "type": "string"
          },
          "automatic": {
            "type": "boolean",
            "const": true
          },
          "phase": {
            "type": "string",
            "enum": [
              "inactive",
              "choosing",
              "open"
            ]
          },
          "suspended": {
            "type": "string",
            "const": "inside"
          },
          "targets": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "groupPath": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "faceId": {
                  "type": "string"
                }
              },
              "required": [
                "groupPath"
              ],
              "additionalProperties": false
            }
          },
          "editing": {
            "type": "object",
            "properties": {
              "groupPath": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "faceId": {
                "type": "string"
              }
            },
            "required": [
              "groupPath"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "groupPath",
          "phase"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_camera_field_of_view",
      "description": "Read the current design camera projection and its vertical field of view in degrees.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "projection": {
            "type": "string",
            "enum": [
              "perspective",
              "twoPoint",
              "parallel"
            ]
          },
          "editable": {
            "type": "boolean"
          },
          "verticalFovDegrees": {
            "anyOf": [
              {
                "type": "number",
                "exclusiveMinimum": 0,
                "maximum": 180
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "projection",
          "editable",
          "verticalFovDegrees"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true
      }
    },
    {
      "name": "arkita_camera_set_field_of_view",
      "description": "Change the vertical field of view without moving the design camera. Available in perspective and two-point perspective.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "verticalFovDegrees": {
            "type": "number",
            "minimum": 1,
            "maximum": 179
          }
        },
        "required": [
          "verticalFovDegrees"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "projection": {
            "type": "string",
            "enum": [
              "perspective",
              "twoPoint",
              "parallel"
            ]
          },
          "editable": {
            "type": "boolean"
          },
          "verticalFovDegrees": {
            "anyOf": [
              {
                "type": "number",
                "exclusiveMinimum": 0,
                "maximum": 180
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "projection",
          "editable",
          "verticalFovDegrees"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_camera_pose",
      "description": "Read the design camera eye, target and up vector in model coordinates, plus the projection and normalized lens shift.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "projection": {
            "type": "string",
            "enum": [
              "perspective",
              "twoPoint",
              "parallel"
            ]
          },
          "eye": {
            "type": "array",
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "items": false,
            "minItems": 3,
            "maxItems": 3
          },
          "target": {
            "type": "array",
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "items": false,
            "minItems": 3,
            "maxItems": 3
          },
          "up": {
            "type": "array",
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "items": false,
            "minItems": 3,
            "maxItems": 3
          },
          "imageCenter": {
            "type": "array",
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "items": false,
            "minItems": 2,
            "maxItems": 2
          }
        },
        "required": [
          "projection",
          "eye",
          "target",
          "up",
          "imageCenter"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true
      }
    },
    {
      "name": "arkita_camera_turn",
      "description": "Look right (positive yaw) or up (positive pitch) by relative angles in degrees, keeping the design camera eye fixed.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "yawDegrees": {
            "default": 0,
            "type": "number",
            "minimum": -360,
            "maximum": 360
          },
          "pitchDegrees": {
            "default": 0,
            "type": "number",
            "minimum": -89,
            "maximum": 89
          }
        },
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "projection": {
            "type": "string",
            "enum": [
              "perspective",
              "twoPoint",
              "parallel"
            ]
          },
          "eye": {
            "type": "array",
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "items": false,
            "minItems": 3,
            "maxItems": 3
          },
          "target": {
            "type": "array",
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "items": false,
            "minItems": 3,
            "maxItems": 3
          },
          "up": {
            "type": "array",
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "items": false,
            "minItems": 3,
            "maxItems": 3
          },
          "imageCenter": {
            "type": "array",
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "items": false,
            "minItems": 2,
            "maxItems": 2
          }
        },
        "required": [
          "projection",
          "eye",
          "target",
          "up",
          "imageCenter"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": false
      }
    },
    {
      "name": "arkita_view_wait",
      "description": "Wait for a frame and consecutive stable observations with a deadline.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "windowId": {
            "default": "main-window",
            "type": "string",
            "const": "main-window"
          },
          "minimumFrameId": {
            "default": "0",
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "timeoutMs": {
            "default": 3000,
            "type": "integer",
            "minimum": 20,
            "maximum": 10000
          }
        },
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "applicationId": {
            "type": "string",
            "const": "arkita"
          },
          "windowId": {
            "type": "string",
            "const": "main-window"
          },
          "viewId": {
            "type": "string",
            "enum": [
              "main-window",
              "model-viewport"
            ]
          },
          "viewRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "frameId": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "visible": {
            "type": "boolean"
          },
          "width": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "height": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "dpiScale": {
            "type": "number",
            "exclusiveMinimum": 0
          },
          "focused": {
            "type": "boolean"
          },
          "inputButtons": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "inputKeys": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "applicationId",
          "windowId",
          "viewId",
          "viewRevision",
          "frameId",
          "documents",
          "visible",
          "width",
          "height",
          "dpiScale",
          "focused",
          "inputButtons",
          "inputKeys"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      }
    },
    {
      "name": "arkita_window_capture",
      "description": "Capture the real Qt window or viewport as PNG; an OpenGL viewport is captured from its GPU framebuffer. Product readiness depends on the active mode.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "windowId": {
            "default": "main-window",
            "type": "string",
            "const": "main-window"
          }
        },
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "applicationId": {
            "type": "string",
            "const": "arkita"
          },
          "windowId": {
            "type": "string",
            "const": "main-window"
          },
          "viewId": {
            "type": "string",
            "enum": [
              "main-window",
              "model-viewport"
            ]
          },
          "viewRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "frameId": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "visible": {
            "type": "boolean"
          },
          "width": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "height": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "dpiScale": {
            "type": "number",
            "exclusiveMinimum": 0
          },
          "focused": {
            "type": "boolean"
          },
          "inputButtons": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "inputKeys": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "mimeType": {
            "type": "string",
            "const": "image/png"
          },
          "pixelWidth": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "pixelHeight": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "sha256": {
            "type": "string"
          }
        },
        "required": [
          "applicationId",
          "windowId",
          "viewId",
          "viewRevision",
          "frameId",
          "documents",
          "visible",
          "width",
          "height",
          "dpiScale",
          "focused",
          "inputButtons",
          "inputKeys",
          "mimeType",
          "pixelWidth",
          "pixelHeight",
          "sha256"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      }
    },
    {
      "name": "arkita_view_capture",
      "description": "Capture the real Qt window or viewport as PNG; an OpenGL viewport is captured from its GPU framebuffer. Product readiness depends on the active mode.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "windowId": {
            "default": "main-window",
            "type": "string",
            "const": "main-window"
          }
        },
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "applicationId": {
            "type": "string",
            "const": "arkita"
          },
          "windowId": {
            "type": "string",
            "const": "main-window"
          },
          "viewId": {
            "type": "string",
            "enum": [
              "main-window",
              "model-viewport"
            ]
          },
          "viewRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "frameId": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "visible": {
            "type": "boolean"
          },
          "width": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "height": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "dpiScale": {
            "type": "number",
            "exclusiveMinimum": 0
          },
          "focused": {
            "type": "boolean"
          },
          "inputButtons": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "inputKeys": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "mimeType": {
            "type": "string",
            "const": "image/png"
          },
          "pixelWidth": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "pixelHeight": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "sha256": {
            "type": "string"
          }
        },
        "required": [
          "applicationId",
          "windowId",
          "viewId",
          "viewRevision",
          "frameId",
          "documents",
          "visible",
          "width",
          "height",
          "dpiScale",
          "focused",
          "inputButtons",
          "inputKeys",
          "mimeType",
          "pixelWidth",
          "pixelHeight",
          "sha256"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      }
    },
    {
      "name": "arkita_document_list",
      "description": "Read the single-window document session, epoch and stateRevision.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_document_new",
      "description": "Create an empty Arkita document with stable IDs and display units, replacing the current document. Use current session epoch/stateRevision and a unique requestId.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "name": {
            "type": "string",
            "maxLength": 1024
          },
          "displayUnit": {
            "type": "string",
            "enum": [
              "metre",
              "millimetre",
              "centimetre",
              "inch",
              "foot"
            ]
          },
          "units": {
            "type": "object",
            "properties": {
              "temperature": {
                "type": "string",
                "enum": [
                  "celsius",
                  "fahrenheit"
                ]
              },
              "mass": {
                "type": "string",
                "enum": [
                  "kilogram",
                  "pound"
                ]
              },
              "angle": {
                "type": "string",
                "enum": [
                  "degree",
                  "radian"
                ]
              }
            },
            "required": [
              "temperature",
              "mass",
              "angle"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_document_close",
      "description": "Close the current document by exact document ID and session revision.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_document_save_work",
      "description": "Save a complete Arkita document at a direct local Windows path (240 characters, up to 64 MiB of document data). Use .arkt for lossless compression. Legacy JSON drawing paths are supported. A different existing file is rejected. Replace the active source atomically after verifying its last known SHA-256.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "path": {
            "type": "string",
            "minLength": 1,
            "maxLength": 240,
            "pattern": "^[A-Za-z]:[\\\\/][^\\0]*$"
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId",
          "path"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "arkita_document_open_work",
      "description": "Open a validated local Arkita 0.1.0 document in compressed .arkt or legacy JSON, up to 64 MiB after decoding. The local SKP bridge imports supported SKP 2020 and newer ZIP-container models without updating the source. The optional skpImport receipt reports the source version and omitted features.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "path": {
            "type": "string",
            "minLength": 1,
            "maxLength": 240,
            "pattern": "^[A-Za-z]:[\\\\/][^\\0]*$"
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "path"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "arkita_document_get_lighting",
      "description": "Read the active plan’s sunlight settings, solar angles and effective atmosphere.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          }
        },
        "required": [
          "documentId"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "sunlight": {
            "type": "object",
            "properties": {
              "elevation": {
                "type": "integer",
                "minimum": 0,
                "maximum": 90,
                "description": "Degrees above the horizon. 90 is the zenith."
              },
              "azimuth": {
                "type": "integer",
                "minimum": 0,
                "maximum": 359,
                "description": "Degrees clockwise from the defined north. 90 is east."
              },
              "intensity": {
                "type": "integer",
                "minimum": 0,
                "maximum": 200,
                "description": "Overall intensity as a percentage."
              },
              "cloudCover": {
                "type": "integer",
                "minimum": 0,
                "maximum": 100,
                "description": "0 is clear sun, 100 is fully diffuse."
              },
              "color": {
                "type": "string",
                "pattern": "^#[0-9a-fA-F]{6}$",
                "description": "RGB tint as #RRGGBB."
              },
              "northAngle": {
                "type": "number",
                "minimum": 0,
                "exclusiveMaximum": 360,
                "description": "Degrees clockwise from the green +Y axis to the defined north."
              },
              "weather": {
                "description": "Derive the effective light from a sky preset and solar elevation. Omit for manual intensity, cloud cover and tint.",
                "type": "string",
                "enum": [
                  "clear",
                  "hazy",
                  "overcast"
                ]
              },
              "fixedElevation": {
                "description": "Keep the manual elevation even when the azimuth is computed from the schedule.",
                "type": "boolean"
              },
              "schedule": {
                "description": "Compute the sun angles from this local date, time and position.",
                "type": "object",
                "properties": {
                  "date": {
                    "type": "string",
                    "format": "date",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                  },
                  "time": {
                    "type": "string",
                    "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                  },
                  "timeZone": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 100,
                    "description": "IANA time zone for the local date and time."
                  },
                  "latitude": {
                    "type": "number",
                    "minimum": -90,
                    "maximum": 90
                  },
                  "longitude": {
                    "type": "number",
                    "minimum": -180,
                    "maximum": 180
                  }
                },
                "required": [
                  "date",
                  "time",
                  "timeZone",
                  "latitude",
                  "longitude"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "elevation",
              "azimuth",
              "intensity",
              "cloudCover",
              "color",
              "northAngle"
            ],
            "additionalProperties": false
          },
          "sunAngles": {
            "type": "object",
            "properties": {
              "elevation": {
                "type": "number"
              },
              "azimuth": {
                "type": "number"
              }
            },
            "required": [
              "elevation",
              "azimuth"
            ],
            "additionalProperties": false
          },
          "atmosphere": {
            "type": "object",
            "properties": {
              "intensity": {
                "type": "integer",
                "minimum": 0,
                "maximum": 200,
                "description": "Overall intensity as a percentage."
              },
              "cloudCover": {
                "type": "integer",
                "minimum": 0,
                "maximum": 100,
                "description": "0 is clear sun, 100 is fully diffuse."
              },
              "color": {
                "type": "string",
                "pattern": "^#[0-9a-fA-F]{6}$",
                "description": "RGB tint as #RRGGBB."
              }
            },
            "required": [
              "intensity",
              "cloudCover",
              "color"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "documentId",
          "epoch",
          "stateRevision",
          "sunlight",
          "sunAngles"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_document_set_lighting",
      "description": "Set the sunlight of the active plan. The change is undoable and is saved with the plan.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "sunlight": {
            "type": "object",
            "properties": {
              "elevation": {
                "type": "integer",
                "minimum": 0,
                "maximum": 90,
                "description": "Degrees above the horizon. 90 is the zenith."
              },
              "azimuth": {
                "type": "integer",
                "minimum": 0,
                "maximum": 359,
                "description": "Degrees clockwise from the defined north. 90 is east."
              },
              "intensity": {
                "type": "integer",
                "minimum": 0,
                "maximum": 200,
                "description": "Overall intensity as a percentage."
              },
              "cloudCover": {
                "type": "integer",
                "minimum": 0,
                "maximum": 100,
                "description": "0 is clear sun, 100 is fully diffuse."
              },
              "color": {
                "type": "string",
                "pattern": "^#[0-9a-fA-F]{6}$",
                "description": "RGB tint as #RRGGBB."
              },
              "northAngle": {
                "type": "number",
                "minimum": 0,
                "exclusiveMaximum": 360,
                "description": "Degrees clockwise from the green +Y axis to the defined north."
              },
              "weather": {
                "description": "Derive the effective light from a sky preset and solar elevation. Omit for manual intensity, cloud cover and tint.",
                "type": "string",
                "enum": [
                  "clear",
                  "hazy",
                  "overcast"
                ]
              },
              "fixedElevation": {
                "description": "Keep the manual elevation even when the azimuth is computed from the schedule.",
                "type": "boolean"
              },
              "schedule": {
                "description": "Compute the sun angles from this local date, time and position.",
                "type": "object",
                "properties": {
                  "date": {
                    "type": "string",
                    "format": "date",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                  },
                  "time": {
                    "type": "string",
                    "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                  },
                  "timeZone": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 100,
                    "description": "IANA time zone for the local date and time."
                  },
                  "latitude": {
                    "type": "number",
                    "minimum": -90,
                    "maximum": 90
                  },
                  "longitude": {
                    "type": "number",
                    "minimum": -180,
                    "maximum": 180
                  }
                },
                "required": [
                  "date",
                  "time",
                  "timeZone",
                  "latitude",
                  "longitude"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "elevation",
              "azimuth",
              "intensity",
              "cloudCover",
              "color",
              "northAngle"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId",
          "sunlight"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_document_offset_face",
      "description": "Create a parallel contour of a face in the current editing context. The operation is undoable.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "faceId": {
            "type": "string",
            "pattern": "^face_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "distance": {
            "type": "number",
            "description": "Signed distance in metres. Positive is outward and negative is inward."
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId",
          "faceId",
          "distance"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_document_thicken_faces",
      "description": "Thicken selected faces as one undoable operation, joining adjacent faces and keeping openings. Positive distance in metres is outward on closed shells and wall belts, or along the reference normal for open surfaces.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "faceIds": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^face_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
            }
          },
          "referenceFaceId": {
            "type": "string",
            "pattern": "^face_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "distance": {
            "type": "number"
          },
          "rimAngleDegrees": {
            "description": "Angle between the wall and its open rim. Defaults to 90 degrees.",
            "type": "number",
            "exclusiveMinimum": 0,
            "exclusiveMaximum": 180
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId",
          "faceIds",
          "referenceFaceId",
          "distance"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_document_extrude",
      "description": "Extrude a face in the current editing context. Set copy to keep its original geometry and create a separate cap. The operation is undoable.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "faceId": {
            "type": "string",
            "pattern": "^face_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "height": {
            "type": "number",
            "description": "Signed distance in metres along the face normal."
          },
          "copy": {
            "type": "boolean"
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId",
          "faceId",
          "height"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_document_move",
      "description": "Translate the chosen geometry or instances in the current editing context. The change is undoable.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "entityIds": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
            }
          },
          "delta": {
            "type": "array",
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "items": false,
            "minItems": 3,
            "maxItems": 3,
            "description": "Translation in metres in the current editing context."
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId",
          "entityIds",
          "delta"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_document_merge_aligned_edges",
      "description": "Merge compatible collinear edges selected by ID in the current editing context, preserving face boundaries. The batch is undoable as one edit.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "entityIds": {
            "minItems": 2,
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
            }
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId",
          "entityIds"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          },
          "mergedJunctions": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents",
          "mergedJunctions"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_document_move_junction",
      "description": "Move the vertex shared by two collinear edges in the current editing context. Move it onto an adjacent endpoint to merge a compatible pair. The change is undoable.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "vertexId": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "delta": {
            "type": "array",
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "items": false,
            "minItems": 3,
            "maxItems": 3
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId",
          "vertexId",
          "delta"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_document_scale",
      "description": "Scale the chosen geometry or instances around a fixed point. Instance definitions are preserved.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "entityIds": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
            }
          },
          "pivot": {
            "type": "array",
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "items": false,
            "minItems": 3,
            "maxItems": 3,
            "description": "Fixed anchor in metres in the current editing context."
          },
          "factors": {
            "type": "array",
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "items": false,
            "minItems": 3,
            "maxItems": 3,
            "description": "Multipliers along the three axes. Use 1 for an unchanged axis."
          },
          "axes": {
            "description": "Orthonormal frame. Defaults to model X, Y and Z.",
            "type": "array",
            "prefixItems": [
              {
                "type": "array",
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "items": false,
                "minItems": 3,
                "maxItems": 3
              },
              {
                "type": "array",
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "items": false,
                "minItems": 3,
                "maxItems": 3
              },
              {
                "type": "array",
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "items": false,
                "minItems": 3,
                "maxItems": 3
              }
            ],
            "items": false,
            "minItems": 3,
            "maxItems": 3
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId",
          "entityIds",
          "pivot",
          "factors"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_document_solid_operation",
      "description": "Apply an undoable Boolean operation to closed solid instances and return the resulting group IDs.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "operation": {
            "type": "string",
            "enum": [
              "union",
              "intersection",
              "subtract",
              "trim",
              "split",
              "outerShell"
            ]
          },
          "operandIds": {
            "minItems": 2,
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
            },
            "description": "Sibling solid groups or component instances. Subtract and trim use the first solid as the cutter and the second as the target."
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId",
          "operation",
          "operandIds"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          },
          "solidResults": {
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
            }
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents",
          "solidResults"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_document_follow_me",
      "description": "Sweep a profile face along a connected open or closed edge path in the same editing context. The profile is consumed, and the path remains.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "profileId": {
            "type": "string",
            "pattern": "^face_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "edgeIds": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
            }
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId",
          "profileId",
          "edgeIds"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          },
          "sweptFaces": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^face_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
            }
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents",
          "sweptFaces"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_components_list",
      "description": "List reusable component definitions and direct occurrences in the active edit context. Pass entityId to read an occurrence’s dynamic attributes, effective values and dimensions in millimetres.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "entityId": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          }
        },
        "required": [
          "documentId"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "epoch": {
            "type": "string"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "editPath": {
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
            }
          },
          "definitions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "definitionId": {
                  "type": "string",
                  "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                },
                "attributes": {
                  "maxItems": 64,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "pattern": "^[A-Za-z][A-Za-z0-9_]{0,39}$"
                      },
                      "label": {
                        "type": "string",
                        "maxLength": 80
                      },
                      "value": {
                        "anyOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "string",
                            "maxLength": 1024
                          },
                          {
                            "type": "boolean"
                          }
                        ]
                      },
                      "dataType": {
                        "type": "string",
                        "enum": [
                          "text",
                          "number",
                          "boolean"
                        ]
                      },
                      "unit": {
                        "description": "The model length unit uses millimetres in MCP. Other numeric values use the stated unit.",
                        "type": "string",
                        "enum": [
                          "model",
                          "metre",
                          "celsius",
                          "radian",
                          "degree",
                          "percent",
                          "euro",
                          "dollar",
                          "yen",
                          "kilogram",
                          "pound"
                        ]
                      },
                      "visible": {
                        "description": "Whether the attribute is shown in occurrence options.",
                        "type": "boolean"
                      },
                      "editable": {
                        "type": "boolean"
                      },
                      "formula": {
                        "type": "string",
                        "maxLength": 512
                      },
                      "choices": {
                        "maxItems": 32,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "label": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 80
                            },
                            "value": {
                              "anyOf": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "string",
                                  "maxLength": 1024
                                },
                                {
                                  "type": "boolean"
                                }
                              ]
                            }
                          },
                          "required": [
                            "label",
                            "value"
                          ],
                          "additionalProperties": false
                        }
                      }
                    },
                    "required": [
                      "name",
                      "value"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "definitionId",
                "name",
                "description",
                "attributes"
              ],
              "additionalProperties": false
            }
          },
          "occurrences": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "entityId": {
                  "type": "string",
                  "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "definitionId": {
                  "type": "string",
                  "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "hidden": {
                  "type": "boolean"
                },
                "locked": {
                  "type": "boolean"
                }
              },
              "required": [
                "entityId",
                "definitionId",
                "hidden",
                "locked"
              ],
              "additionalProperties": false
            }
          },
          "component": {
            "type": "object",
            "properties": {
              "definitionId": {
                "type": "string",
                "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
              },
              "entityId": {
                "type": "string",
                "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
              },
              "name": {
                "type": "string"
              },
              "attributes": {
                "maxItems": 64,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "pattern": "^[A-Za-z][A-Za-z0-9_]{0,39}$"
                    },
                    "label": {
                      "type": "string",
                      "maxLength": 80
                    },
                    "value": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "string",
                          "maxLength": 1024
                        },
                        {
                          "type": "boolean"
                        }
                      ]
                    },
                    "dataType": {
                      "type": "string",
                      "enum": [
                        "text",
                        "number",
                        "boolean"
                      ]
                    },
                    "unit": {
                      "description": "The model length unit uses millimetres in MCP. Other numeric values use the stated unit.",
                      "type": "string",
                      "enum": [
                        "model",
                        "metre",
                        "celsius",
                        "radian",
                        "degree",
                        "percent",
                        "euro",
                        "dollar",
                        "yen",
                        "kilogram",
                        "pound"
                      ]
                    },
                    "visible": {
                      "description": "Whether the attribute is shown in occurrence options.",
                      "type": "boolean"
                    },
                    "editable": {
                      "type": "boolean"
                    },
                    "formula": {
                      "type": "string",
                      "maxLength": 512
                    },
                    "choices": {
                      "maxItems": 32,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "label": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 80
                          },
                          "value": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "string",
                                "maxLength": 1024
                              },
                              {
                                "type": "boolean"
                              }
                            ]
                          }
                        },
                        "required": [
                          "label",
                          "value"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "name",
                    "value"
                  ],
                  "additionalProperties": false
                }
              },
              "options": {
                "type": "object",
                "propertyNames": {
                  "type": "string",
                  "pattern": "^[A-Za-z][A-Za-z0-9_]{0,39}$"
                },
                "additionalProperties": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string",
                      "maxLength": 1024
                    },
                    {
                      "type": "boolean"
                    }
                  ]
                }
              },
              "values": {
                "type": "object",
                "propertyNames": {
                  "type": "string",
                  "pattern": "^[A-Za-z][A-Za-z0-9_]{0,39}$"
                },
                "additionalProperties": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string",
                      "maxLength": 1024
                    },
                    {
                      "type": "boolean"
                    }
                  ]
                }
              },
              "dimensionsMm": {
                "type": "array",
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "items": false,
                "minItems": 3,
                "maxItems": 3
              }
            },
            "required": [
              "definitionId",
              "entityId",
              "name",
              "attributes",
              "options",
              "values",
              "dimensionsMm"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "documentId",
          "epoch",
          "stateRevision",
          "editPath",
          "definitions",
          "occurrences"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true
      }
    },
    {
      "name": "arkita_component_create",
      "description": "Create a reusable component from the selected geometry, guides or instances in the active edit context. Replaces the selection by default. With replace=false, saves only the definition and returns a null entityId. An optional custom origin is in metres. An optional dynamic profile uses millimetres for LenX, LenY and LenZ.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "entityIds": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
            }
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "description": {
            "type": "string",
            "maxLength": 16384
          },
          "replace": {
            "type": "boolean"
          },
          "origin": {
            "type": "array",
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "items": false,
            "minItems": 3,
            "maxItems": 3
          },
          "attributes": {
            "maxItems": 64,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "pattern": "^[A-Za-z][A-Za-z0-9_]{0,39}$"
                },
                "label": {
                  "type": "string",
                  "maxLength": 80
                },
                "value": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string",
                      "maxLength": 1024
                    },
                    {
                      "type": "boolean"
                    }
                  ]
                },
                "dataType": {
                  "type": "string",
                  "enum": [
                    "text",
                    "number",
                    "boolean"
                  ]
                },
                "unit": {
                  "description": "The model length unit uses millimetres in MCP. Other numeric values use the stated unit.",
                  "type": "string",
                  "enum": [
                    "model",
                    "metre",
                    "celsius",
                    "radian",
                    "degree",
                    "percent",
                    "euro",
                    "dollar",
                    "yen",
                    "kilogram",
                    "pound"
                  ]
                },
                "visible": {
                  "description": "Whether the attribute is shown in occurrence options.",
                  "type": "boolean"
                },
                "editable": {
                  "type": "boolean"
                },
                "formula": {
                  "type": "string",
                  "maxLength": 512
                },
                "choices": {
                  "maxItems": 32,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "label": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 80
                      },
                      "value": {
                        "anyOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "string",
                            "maxLength": 1024
                          },
                          {
                            "type": "boolean"
                          }
                        ]
                      }
                    },
                    "required": [
                      "label",
                      "value"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "name",
                "value"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId",
          "entityIds",
          "name"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          },
          "entityId": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
              },
              {
                "type": "null"
              }
            ]
          },
          "definitionId": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents",
          "entityId",
          "definitionId"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_component_place",
      "description": "Place an occurrence at the given origin in metres. A PunchHoleAxis component requires the target wall occurrence and an inward surface normal. Pass punchOccurrenceId to relocate an existing opening.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "definitionId": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "position": {
            "type": "array",
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "items": false,
            "minItems": 3,
            "maxItems": 3
          },
          "punchHostId": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "punchNormal": {
            "type": "array",
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "items": false,
            "minItems": 3,
            "maxItems": 3
          },
          "punchOccurrenceId": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId",
          "definitionId",
          "position"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          },
          "entityId": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "definitionId": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents",
          "entityId",
          "definitionId"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_component_set_attributes",
      "description": "Replace the shared dynamic profile of a component definition. LenX, LenY and LenZ control local dimensions in millimetres. Hidden uses 0 for visible and any other value for hidden. Formula references are case-insensitive and may use arithmetic, comparisons, IF, MIN, MAX, ABS, SQRT and ROUND.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "entityId": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "attributes": {
            "maxItems": 64,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "pattern": "^[A-Za-z][A-Za-z0-9_]{0,39}$"
                },
                "label": {
                  "type": "string",
                  "maxLength": 80
                },
                "value": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string",
                      "maxLength": 1024
                    },
                    {
                      "type": "boolean"
                    }
                  ]
                },
                "dataType": {
                  "type": "string",
                  "enum": [
                    "text",
                    "number",
                    "boolean"
                  ]
                },
                "unit": {
                  "description": "The model length unit uses millimetres in MCP. Other numeric values use the stated unit.",
                  "type": "string",
                  "enum": [
                    "model",
                    "metre",
                    "celsius",
                    "radian",
                    "degree",
                    "percent",
                    "euro",
                    "dollar",
                    "yen",
                    "kilogram",
                    "pound"
                  ]
                },
                "visible": {
                  "description": "Whether the attribute is shown in occurrence options.",
                  "type": "boolean"
                },
                "editable": {
                  "type": "boolean"
                },
                "formula": {
                  "type": "string",
                  "maxLength": 512
                },
                "choices": {
                  "maxItems": 32,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "label": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 80
                      },
                      "value": {
                        "anyOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "string",
                            "maxLength": 1024
                          },
                          {
                            "type": "boolean"
                          }
                        ]
                      }
                    },
                    "required": [
                      "label",
                      "value"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "name",
                "value"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId",
          "entityId",
          "attributes"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          },
          "entityId": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "definitionId": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents",
          "entityId",
          "definitionId"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_component_set_options",
      "description": "Change editable values on one occurrence. A null value resets the option to its definition default. An update is atomic and undoable.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "entityId": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "options": {
            "type": "object",
            "propertyNames": {
              "type": "string",
              "pattern": "^[A-Za-z][A-Za-z0-9_]{0,39}$"
            },
            "additionalProperties": {
              "anyOf": [
                {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "string",
                      "maxLength": 1024
                    },
                    {
                      "type": "boolean"
                    }
                  ]
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId",
          "entityId",
          "options"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          },
          "entityId": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "definitionId": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents",
          "entityId",
          "definitionId"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_component_enter",
      "description": "Enter a component occurrence for editing. Changes to geometry inside it affect every occurrence of the same definition.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "entityId": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId",
          "entityId"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_component_leave",
      "description": "Leave the current component editing context.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_component_make_unique",
      "description": "Detach an occurrence to its own component definition. Its geometry and dynamic settings are kept.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "entityId": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId",
          "entityId"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_document_draw_line",
      "description": "Draw a line between two points in metres in the current editing context. Coplanar closed contours can form or restore faces.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "first": {
            "type": "array",
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "items": false,
            "minItems": 3,
            "maxItems": 3
          },
          "opposite": {
            "type": "array",
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "items": false,
            "minItems": 3,
            "maxItems": 3
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId",
          "first",
          "opposite"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          },
          "existingLine": {
            "type": "boolean",
            "const": true
          },
          "rebuiltFace": {
            "type": "boolean",
            "const": true
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_document_draw_rectangle",
      "description": "Draw a rectangle from opposite corners in metres. Use XY coordinates for the ground plane, or two 3D points and a plane normal.",
      "inputSchema": {
        "type": "object",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "epoch": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "expectedStateRevision": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^(0|[1-9][0-9]*)$"
              },
              "requestId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "documentId": {
                "type": "string",
                "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
              },
              "first": {
                "type": "array",
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "items": false,
                "minItems": 2,
                "maxItems": 2
              },
              "opposite": {
                "type": "array",
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "items": false,
                "minItems": 2,
                "maxItems": 2
              }
            },
            "required": [
              "epoch",
              "expectedStateRevision",
              "requestId",
              "documentId",
              "first",
              "opposite"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "epoch": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "expectedStateRevision": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^(0|[1-9][0-9]*)$"
              },
              "requestId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "documentId": {
                "type": "string",
                "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
              },
              "first": {
                "type": "array",
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "items": false,
                "minItems": 3,
                "maxItems": 3
              },
              "opposite": {
                "type": "array",
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "items": false,
                "minItems": 3,
                "maxItems": 3
              },
              "normal": {
                "type": "array",
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "items": false,
                "minItems": 3,
                "maxItems": 3
              }
            },
            "required": [
              "epoch",
              "expectedStateRevision",
              "requestId",
              "documentId",
              "first",
              "opposite",
              "normal"
            ],
            "additionalProperties": false
          }
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_document_rotate",
      "description": "Rotate the specified geometry or instances about a pivot in metres in the current editing context.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "entityIds": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
            }
          },
          "pivot": {
            "type": "array",
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "items": false,
            "minItems": 3,
            "maxItems": 3
          },
          "axis": {
            "type": "array",
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "items": false,
            "minItems": 3,
            "maxItems": 3,
            "description": "Rotation axis vector in the current editing context. It need not be normalized."
          },
          "angle": {
            "type": "number",
            "description": "Signed angle in degrees. Positive follows the right-hand rule."
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId",
          "entityIds",
          "pivot",
          "axis",
          "angle"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_document_add_guide_point",
      "description": "Add a persistent snap guide point at a position in metres in the current editing context.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "position": {
            "type": "array",
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "items": false,
            "minItems": 3,
            "maxItems": 3
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId",
          "position"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_document_add_guide_line",
      "description": "Add a persistent snap guide line from a position in metres and a direction vector in the current editing context.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "position": {
            "type": "array",
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "items": false,
            "minItems": 3,
            "maxItems": 3
          },
          "direction": {
            "type": "array",
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "items": false,
            "minItems": 3,
            "maxItems": 3
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId",
          "position",
          "direction"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_document_delete_guides",
      "description": "Delete all persistent guides in the document. The edit can be undone.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_document_delete_selection",
      "description": "Delete the specified visible entities in the current editing context. Coplanar faces can merge across deleted edges.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "entityIds": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
            }
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId",
          "entityIds"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_document_undo",
      "description": "Undo the latest committed edit to the current drawing.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_document_redo",
      "description": "Redo the latest undone edit to the current drawing.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_tag_set_cutaway",
      "description": "Set whether this tag may be opened in the camera-only work cutaway, and optionally set the maximum wall thickness in millimetres. Saved with the plan.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "tagId": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "allowed": {
            "type": "boolean"
          },
          "toleranceMillimetres": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId",
          "tagId",
          "allowed"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_group_set_cutaway_protection",
      "description": "Set whether a group in the current editing context and its descendants always remain visible in the work cutaway. Saved with the plan.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "groupId": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "protected": {
            "type": "boolean"
          }
        },
        "required": [
          "epoch",
          "expectedStateRevision",
          "requestId",
          "documentId",
          "groupId",
          "protected"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_material_list",
      "description": "List the colors, textures and lights in the active plan. Materials with emission belong to the Lights category.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          }
        },
        "required": [
          "documentId"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "materials": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "const": "color"
                    },
                    "id": {
                      "type": "string",
                      "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                    },
                    "name": {
                      "type": "string"
                    },
                    "used": {
                      "type": "boolean"
                    },
                    "color": {
                      "type": "string",
                      "pattern": "^#[0-9a-fA-F]{6}$",
                      "description": "Opaque RGB color, #RRGGBB."
                    },
                    "opacity": {
                      "description": "Opacity from 0 (clear) to 1 (opaque), independent of emission.",
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1
                    },
                    "emission": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "intensity": {
                              "type": "number",
                              "minimum": 0,
                              "maximum": 1000000,
                              "description": "Emitted luminance in cd/m²."
                            },
                            "beam": {
                              "type": "object",
                              "properties": {
                                "angleDegrees": {
                                  "type": "number",
                                  "minimum": 1,
                                  "maximum": 179,
                                  "description": "Full beam opening in degrees."
                                },
                                "softness": {
                                  "type": "number",
                                  "minimum": 0.1,
                                  "maximum": 1,
                                  "description": "Fraction of the beam half-angle used for the gradual edge."
                                },
                                "side": {
                                  "type": "string",
                                  "enum": [
                                    "front",
                                    "back",
                                    "both"
                                  ]
                                }
                              },
                              "required": [
                                "angleDegrees",
                                "softness",
                                "side"
                              ],
                              "additionalProperties": false
                            },
                            "temperatureKelvin": {
                              "type": "integer",
                              "minimum": 1700,
                              "maximum": 25000
                            },
                            "hasImage": {
                              "type": "boolean"
                            },
                            "useSurfaceTexture": {
                              "description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "intensity",
                            "temperatureKelvin",
                            "hasImage"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "intensity": {
                              "type": "number",
                              "minimum": 0,
                              "maximum": 1000000,
                              "description": "Emitted luminance in cd/m²."
                            },
                            "beam": {
                              "type": "object",
                              "properties": {
                                "angleDegrees": {
                                  "type": "number",
                                  "minimum": 1,
                                  "maximum": 179,
                                  "description": "Full beam opening in degrees."
                                },
                                "softness": {
                                  "type": "number",
                                  "minimum": 0.1,
                                  "maximum": 1,
                                  "description": "Fraction of the beam half-angle used for the gradual edge."
                                },
                                "side": {
                                  "type": "string",
                                  "enum": [
                                    "front",
                                    "back",
                                    "both"
                                  ]
                                }
                              },
                              "required": [
                                "angleDegrees",
                                "softness",
                                "side"
                              ],
                              "additionalProperties": false
                            },
                            "color": {
                              "type": "string",
                              "pattern": "^#[0-9a-fA-F]{6}$",
                              "description": "Opaque RGB color, #RRGGBB."
                            },
                            "hasImage": {
                              "type": "boolean"
                            },
                            "useSurfaceTexture": {
                              "description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "intensity",
                            "color",
                            "hasImage"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    },
                    "reflection": {
                      "type": "object",
                      "properties": {
                        "strength": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 1,
                          "description": "Reflection strength from 0 (matte) to 1 (mirror)."
                        },
                        "roughness": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 1,
                          "description": "Reflection roughness from 0 (sharp) to 1 (diffuse)."
                        }
                      },
                      "required": [
                        "strength",
                        "roughness"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "kind",
                    "id",
                    "name",
                    "used",
                    "color"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "const": "texture"
                    },
                    "id": {
                      "type": "string",
                      "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                    },
                    "name": {
                      "type": "string"
                    },
                    "used": {
                      "type": "boolean"
                    },
                    "width": {
                      "type": "number",
                      "minimum": 0.000001,
                      "maximum": 1000000,
                      "description": "Length of one repeat in metres."
                    },
                    "height": {
                      "type": "number",
                      "minimum": 0.000001,
                      "maximum": 1000000,
                      "description": "Length of one repeat in metres."
                    },
                    "rotationDegrees": {
                      "type": "number",
                      "minimum": -360,
                      "maximum": 360,
                      "description": "Orientation of the repeat in degrees. Defaults to 0."
                    },
                    "pixelWidth": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "pixelHeight": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "sha256": {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    "opacity": {
                      "description": "Opacity from 0 (clear) to 1 (opaque), independent of emission.",
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1
                    },
                    "emission": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "intensity": {
                              "type": "number",
                              "minimum": 0,
                              "maximum": 1000000,
                              "description": "Emitted luminance in cd/m²."
                            },
                            "beam": {
                              "type": "object",
                              "properties": {
                                "angleDegrees": {
                                  "type": "number",
                                  "minimum": 1,
                                  "maximum": 179,
                                  "description": "Full beam opening in degrees."
                                },
                                "softness": {
                                  "type": "number",
                                  "minimum": 0.1,
                                  "maximum": 1,
                                  "description": "Fraction of the beam half-angle used for the gradual edge."
                                },
                                "side": {
                                  "type": "string",
                                  "enum": [
                                    "front",
                                    "back",
                                    "both"
                                  ]
                                }
                              },
                              "required": [
                                "angleDegrees",
                                "softness",
                                "side"
                              ],
                              "additionalProperties": false
                            },
                            "temperatureKelvin": {
                              "type": "integer",
                              "minimum": 1700,
                              "maximum": 25000
                            },
                            "hasImage": {
                              "type": "boolean"
                            },
                            "useSurfaceTexture": {
                              "description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "intensity",
                            "temperatureKelvin",
                            "hasImage"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "intensity": {
                              "type": "number",
                              "minimum": 0,
                              "maximum": 1000000,
                              "description": "Emitted luminance in cd/m²."
                            },
                            "beam": {
                              "type": "object",
                              "properties": {
                                "angleDegrees": {
                                  "type": "number",
                                  "minimum": 1,
                                  "maximum": 179,
                                  "description": "Full beam opening in degrees."
                                },
                                "softness": {
                                  "type": "number",
                                  "minimum": 0.1,
                                  "maximum": 1,
                                  "description": "Fraction of the beam half-angle used for the gradual edge."
                                },
                                "side": {
                                  "type": "string",
                                  "enum": [
                                    "front",
                                    "back",
                                    "both"
                                  ]
                                }
                              },
                              "required": [
                                "angleDegrees",
                                "softness",
                                "side"
                              ],
                              "additionalProperties": false
                            },
                            "color": {
                              "type": "string",
                              "pattern": "^#[0-9a-fA-F]{6}$",
                              "description": "Opaque RGB color, #RRGGBB."
                            },
                            "hasImage": {
                              "type": "boolean"
                            },
                            "useSurfaceTexture": {
                              "description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "intensity",
                            "color",
                            "hasImage"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    },
                    "reflection": {
                      "type": "object",
                      "properties": {
                        "strength": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 1,
                          "description": "Reflection strength from 0 (matte) to 1 (mirror)."
                        },
                        "roughness": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 1,
                          "description": "Reflection roughness from 0 (sharp) to 1 (diffuse)."
                        }
                      },
                      "required": [
                        "strength",
                        "roughness"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "kind",
                    "id",
                    "name",
                    "used",
                    "width",
                    "height",
                    "pixelWidth",
                    "pixelHeight",
                    "sha256"
                  ],
                  "additionalProperties": false
                }
              ]
            }
          }
        },
        "required": [
          "documentId",
          "epoch",
          "stateRevision",
          "materials"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_material_add",
      "description": "Add a color, a texture or a light. A light can reuse a stored material or library texture without editing it.",
      "inputSchema": {
        "type": "object",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "documentId": {
                "type": "string",
                "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
              },
              "epoch": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "expectedStateRevision": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^(0|[1-9][0-9]*)$"
              },
              "requestId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "kind": {
                "type": "string",
                "const": "color"
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100
              },
              "color": {
                "type": "string",
                "pattern": "^#[0-9a-fA-F]{6}$",
                "description": "Opaque RGB color, #RRGGBB."
              },
              "opacity": {
                "description": "Opacity from 0 (clear) to 1 (opaque), independent of emission.",
                "type": "number",
                "minimum": 0,
                "maximum": 1
              },
              "emission": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "intensity": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000,
                        "description": "Emitted luminance in cd/m²."
                      },
                      "beam": {
                        "type": "object",
                        "properties": {
                          "angleDegrees": {
                            "type": "number",
                            "minimum": 1,
                            "maximum": 179,
                            "description": "Full beam opening in degrees."
                          },
                          "softness": {
                            "type": "number",
                            "minimum": 0.1,
                            "maximum": 1,
                            "description": "Fraction of the beam half-angle used for the gradual edge."
                          },
                          "side": {
                            "type": "string",
                            "enum": [
                              "front",
                              "back",
                              "both"
                            ]
                          }
                        },
                        "required": [
                          "angleDegrees",
                          "softness",
                          "side"
                        ],
                        "additionalProperties": false
                      },
                      "temperatureKelvin": {
                        "type": "integer",
                        "minimum": 1700,
                        "maximum": 25000
                      },
                      "imagePath": {
                        "type": "string",
                        "maxLength": 240,
                        "pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
                        "description": "Absolute local Windows path to a JPEG, PNG or BMP."
                      },
                      "materialSource": {
                        "description": "Use the chosen material's texture as the emission map.",
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "materialId": {
                                "type": "string",
                                "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                              }
                            },
                            "required": [
                              "materialId"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "libraryMaterial": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200
                              }
                            },
                            "required": [
                              "libraryMaterial"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "useSurfaceTexture": {
                        "description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "intensity",
                      "temperatureKelvin"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "intensity": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000,
                        "description": "Emitted luminance in cd/m²."
                      },
                      "beam": {
                        "type": "object",
                        "properties": {
                          "angleDegrees": {
                            "type": "number",
                            "minimum": 1,
                            "maximum": 179,
                            "description": "Full beam opening in degrees."
                          },
                          "softness": {
                            "type": "number",
                            "minimum": 0.1,
                            "maximum": 1,
                            "description": "Fraction of the beam half-angle used for the gradual edge."
                          },
                          "side": {
                            "type": "string",
                            "enum": [
                              "front",
                              "back",
                              "both"
                            ]
                          }
                        },
                        "required": [
                          "angleDegrees",
                          "softness",
                          "side"
                        ],
                        "additionalProperties": false
                      },
                      "color": {
                        "type": "string",
                        "pattern": "^#[0-9a-fA-F]{6}$",
                        "description": "Opaque RGB color, #RRGGBB."
                      },
                      "imagePath": {
                        "type": "string",
                        "maxLength": 240,
                        "pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
                        "description": "Absolute local Windows path to a JPEG, PNG or BMP."
                      },
                      "materialSource": {
                        "description": "Use the chosen material's texture as the emission map.",
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "materialId": {
                                "type": "string",
                                "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                              }
                            },
                            "required": [
                              "materialId"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "libraryMaterial": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200
                              }
                            },
                            "required": [
                              "libraryMaterial"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "useSurfaceTexture": {
                        "description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "intensity",
                      "color"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              "reflection": {
                "type": "object",
                "properties": {
                  "strength": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1,
                    "description": "Reflection strength from 0 (matte) to 1 (mirror)."
                  },
                  "roughness": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1,
                    "description": "Reflection roughness from 0 (sharp) to 1 (diffuse)."
                  }
                },
                "required": [
                  "strength",
                  "roughness"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "documentId",
              "epoch",
              "expectedStateRevision",
              "requestId",
              "kind",
              "name",
              "color"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "documentId": {
                "type": "string",
                "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
              },
              "epoch": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "expectedStateRevision": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^(0|[1-9][0-9]*)$"
              },
              "requestId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "kind": {
                "type": "string",
                "const": "texture"
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100
              },
              "imagePath": {
                "type": "string",
                "maxLength": 240,
                "pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
                "description": "Absolute local Windows path to a JPEG, PNG or BMP."
              },
              "width": {
                "type": "number",
                "minimum": 0.000001,
                "maximum": 1000000,
                "description": "Length of one repeat in metres."
              },
              "height": {
                "type": "number",
                "minimum": 0.000001,
                "maximum": 1000000,
                "description": "Length of one repeat in metres."
              },
              "opacity": {
                "description": "Opacity from 0 (clear) to 1 (opaque), independent of emission.",
                "type": "number",
                "minimum": 0,
                "maximum": 1
              },
              "emission": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "intensity": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000,
                        "description": "Emitted luminance in cd/m²."
                      },
                      "beam": {
                        "type": "object",
                        "properties": {
                          "angleDegrees": {
                            "type": "number",
                            "minimum": 1,
                            "maximum": 179,
                            "description": "Full beam opening in degrees."
                          },
                          "softness": {
                            "type": "number",
                            "minimum": 0.1,
                            "maximum": 1,
                            "description": "Fraction of the beam half-angle used for the gradual edge."
                          },
                          "side": {
                            "type": "string",
                            "enum": [
                              "front",
                              "back",
                              "both"
                            ]
                          }
                        },
                        "required": [
                          "angleDegrees",
                          "softness",
                          "side"
                        ],
                        "additionalProperties": false
                      },
                      "temperatureKelvin": {
                        "type": "integer",
                        "minimum": 1700,
                        "maximum": 25000
                      },
                      "imagePath": {
                        "type": "string",
                        "maxLength": 240,
                        "pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
                        "description": "Absolute local Windows path to a JPEG, PNG or BMP."
                      },
                      "materialSource": {
                        "description": "Use the chosen material's texture as the emission map.",
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "materialId": {
                                "type": "string",
                                "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                              }
                            },
                            "required": [
                              "materialId"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "libraryMaterial": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200
                              }
                            },
                            "required": [
                              "libraryMaterial"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "useSurfaceTexture": {
                        "description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "intensity",
                      "temperatureKelvin"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "intensity": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000,
                        "description": "Emitted luminance in cd/m²."
                      },
                      "beam": {
                        "type": "object",
                        "properties": {
                          "angleDegrees": {
                            "type": "number",
                            "minimum": 1,
                            "maximum": 179,
                            "description": "Full beam opening in degrees."
                          },
                          "softness": {
                            "type": "number",
                            "minimum": 0.1,
                            "maximum": 1,
                            "description": "Fraction of the beam half-angle used for the gradual edge."
                          },
                          "side": {
                            "type": "string",
                            "enum": [
                              "front",
                              "back",
                              "both"
                            ]
                          }
                        },
                        "required": [
                          "angleDegrees",
                          "softness",
                          "side"
                        ],
                        "additionalProperties": false
                      },
                      "color": {
                        "type": "string",
                        "pattern": "^#[0-9a-fA-F]{6}$",
                        "description": "Opaque RGB color, #RRGGBB."
                      },
                      "imagePath": {
                        "type": "string",
                        "maxLength": 240,
                        "pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
                        "description": "Absolute local Windows path to a JPEG, PNG or BMP."
                      },
                      "materialSource": {
                        "description": "Use the chosen material's texture as the emission map.",
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "materialId": {
                                "type": "string",
                                "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                              }
                            },
                            "required": [
                              "materialId"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "libraryMaterial": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200
                              }
                            },
                            "required": [
                              "libraryMaterial"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "useSurfaceTexture": {
                        "description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "intensity",
                      "color"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              "reflection": {
                "type": "object",
                "properties": {
                  "strength": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1,
                    "description": "Reflection strength from 0 (matte) to 1 (mirror)."
                  },
                  "roughness": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1,
                    "description": "Reflection roughness from 0 (sharp) to 1 (diffuse)."
                  }
                },
                "required": [
                  "strength",
                  "roughness"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "documentId",
              "epoch",
              "expectedStateRevision",
              "requestId",
              "kind",
              "name",
              "imagePath",
              "width",
              "height"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "documentId": {
                "type": "string",
                "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
              },
              "epoch": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "expectedStateRevision": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^(0|[1-9][0-9]*)$"
              },
              "requestId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "kind": {
                "type": "string",
                "const": "light"
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100
              },
              "base": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "materialId": {
                        "type": "string",
                        "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                      }
                    },
                    "required": [
                      "materialId"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "libraryMaterial": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      }
                    },
                    "required": [
                      "libraryMaterial"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 100
                      },
                      "color": {
                        "type": "string",
                        "pattern": "^#[0-9a-fA-F]{6}$",
                        "description": "Opaque RGB color, #RRGGBB."
                      }
                    },
                    "required": [
                      "name",
                      "color"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              "opacity": {
                "description": "Opacity from 0 (clear) to 1 (opaque), independent of emission.",
                "type": "number",
                "minimum": 0,
                "maximum": 1
              },
              "emission": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "intensity": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000,
                        "description": "Emitted luminance in cd/m²."
                      },
                      "beam": {
                        "type": "object",
                        "properties": {
                          "angleDegrees": {
                            "type": "number",
                            "minimum": 1,
                            "maximum": 179,
                            "description": "Full beam opening in degrees."
                          },
                          "softness": {
                            "type": "number",
                            "minimum": 0.1,
                            "maximum": 1,
                            "description": "Fraction of the beam half-angle used for the gradual edge."
                          },
                          "side": {
                            "type": "string",
                            "enum": [
                              "front",
                              "back",
                              "both"
                            ]
                          }
                        },
                        "required": [
                          "angleDegrees",
                          "softness",
                          "side"
                        ],
                        "additionalProperties": false
                      },
                      "temperatureKelvin": {
                        "type": "integer",
                        "minimum": 1700,
                        "maximum": 25000
                      },
                      "imagePath": {
                        "type": "string",
                        "maxLength": 240,
                        "pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
                        "description": "Absolute local Windows path to a JPEG, PNG or BMP."
                      },
                      "materialSource": {
                        "description": "Use the chosen material's texture as the emission map.",
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "materialId": {
                                "type": "string",
                                "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                              }
                            },
                            "required": [
                              "materialId"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "libraryMaterial": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200
                              }
                            },
                            "required": [
                              "libraryMaterial"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "useSurfaceTexture": {
                        "description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "intensity",
                      "temperatureKelvin"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "intensity": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000,
                        "description": "Emitted luminance in cd/m²."
                      },
                      "beam": {
                        "type": "object",
                        "properties": {
                          "angleDegrees": {
                            "type": "number",
                            "minimum": 1,
                            "maximum": 179,
                            "description": "Full beam opening in degrees."
                          },
                          "softness": {
                            "type": "number",
                            "minimum": 0.1,
                            "maximum": 1,
                            "description": "Fraction of the beam half-angle used for the gradual edge."
                          },
                          "side": {
                            "type": "string",
                            "enum": [
                              "front",
                              "back",
                              "both"
                            ]
                          }
                        },
                        "required": [
                          "angleDegrees",
                          "softness",
                          "side"
                        ],
                        "additionalProperties": false
                      },
                      "color": {
                        "type": "string",
                        "pattern": "^#[0-9a-fA-F]{6}$",
                        "description": "Opaque RGB color, #RRGGBB."
                      },
                      "imagePath": {
                        "type": "string",
                        "maxLength": 240,
                        "pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
                        "description": "Absolute local Windows path to a JPEG, PNG or BMP."
                      },
                      "materialSource": {
                        "description": "Use the chosen material's texture as the emission map.",
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "materialId": {
                                "type": "string",
                                "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                              }
                            },
                            "required": [
                              "materialId"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "libraryMaterial": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200
                              }
                            },
                            "required": [
                              "libraryMaterial"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "useSurfaceTexture": {
                        "description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "intensity",
                      "color"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            },
            "required": [
              "documentId",
              "epoch",
              "expectedStateRevision",
              "requestId",
              "kind",
              "name",
              "base",
              "emission"
            ],
            "additionalProperties": false
          }
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          },
          "materialId": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents",
          "materialId"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_material_update",
      "description": "Edit a color, texture or light while preserving assignments. Opacity, emission and reflection can be edited independently.",
      "inputSchema": {
        "type": "object",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "documentId": {
                "type": "string",
                "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
              },
              "epoch": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "expectedStateRevision": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^(0|[1-9][0-9]*)$"
              },
              "requestId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "materialId": {
                "type": "string",
                "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
              },
              "kind": {
                "type": "string",
                "const": "color"
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100
              },
              "color": {
                "type": "string",
                "pattern": "^#[0-9a-fA-F]{6}$",
                "description": "Opaque RGB color, #RRGGBB."
              },
              "opacity": {
                "description": "Opacity from 0 (clear) to 1 (opaque), independent of emission.",
                "type": "number",
                "minimum": 0,
                "maximum": 1
              },
              "emission": {
                "description": "Configure emission or clear it with null. Omit beam to preserve it or set beam to null for diffuse light.",
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "intensity": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000,
                        "description": "Emitted luminance in cd/m²."
                      },
                      "beam": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "angleDegrees": {
                                "type": "number",
                                "minimum": 1,
                                "maximum": 179,
                                "description": "Full beam opening in degrees."
                              },
                              "softness": {
                                "type": "number",
                                "minimum": 0.1,
                                "maximum": 1,
                                "description": "Fraction of the beam half-angle used for the gradual edge."
                              },
                              "side": {
                                "type": "string",
                                "enum": [
                                  "front",
                                  "back",
                                  "both"
                                ]
                              }
                            },
                            "required": [
                              "angleDegrees",
                              "softness",
                              "side"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "temperatureKelvin": {
                        "type": "integer",
                        "minimum": 1700,
                        "maximum": 25000
                      },
                      "imagePath": {
                        "type": "string",
                        "maxLength": 240,
                        "pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
                        "description": "Absolute local Windows path to a JPEG, PNG or BMP."
                      },
                      "removeImage": {
                        "type": "boolean"
                      },
                      "materialSource": {
                        "description": "Use the chosen material's texture as the emission map.",
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "materialId": {
                                "type": "string",
                                "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                              }
                            },
                            "required": [
                              "materialId"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "libraryMaterial": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200
                              }
                            },
                            "required": [
                              "libraryMaterial"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "useSurfaceTexture": {
                        "description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "intensity",
                      "temperatureKelvin"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "intensity": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000,
                        "description": "Emitted luminance in cd/m²."
                      },
                      "beam": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "angleDegrees": {
                                "type": "number",
                                "minimum": 1,
                                "maximum": 179,
                                "description": "Full beam opening in degrees."
                              },
                              "softness": {
                                "type": "number",
                                "minimum": 0.1,
                                "maximum": 1,
                                "description": "Fraction of the beam half-angle used for the gradual edge."
                              },
                              "side": {
                                "type": "string",
                                "enum": [
                                  "front",
                                  "back",
                                  "both"
                                ]
                              }
                            },
                            "required": [
                              "angleDegrees",
                              "softness",
                              "side"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "color": {
                        "type": "string",
                        "pattern": "^#[0-9a-fA-F]{6}$",
                        "description": "Opaque RGB color, #RRGGBB."
                      },
                      "imagePath": {
                        "type": "string",
                        "maxLength": 240,
                        "pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
                        "description": "Absolute local Windows path to a JPEG, PNG or BMP."
                      },
                      "removeImage": {
                        "type": "boolean"
                      },
                      "materialSource": {
                        "description": "Use the chosen material's texture as the emission map.",
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "materialId": {
                                "type": "string",
                                "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                              }
                            },
                            "required": [
                              "materialId"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "libraryMaterial": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200
                              }
                            },
                            "required": [
                              "libraryMaterial"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "useSurfaceTexture": {
                        "description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "intensity",
                      "color"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "reflection": {
                "type": "object",
                "properties": {
                  "strength": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1,
                    "description": "Reflection strength from 0 (matte) to 1 (mirror)."
                  },
                  "roughness": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1,
                    "description": "Reflection roughness from 0 (sharp) to 1 (diffuse)."
                  }
                },
                "required": [
                  "strength",
                  "roughness"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "documentId",
              "epoch",
              "expectedStateRevision",
              "requestId",
              "materialId",
              "kind"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "documentId": {
                "type": "string",
                "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
              },
              "epoch": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "expectedStateRevision": {
                "type": "string",
                "maxLength": 20,
                "pattern": "^(0|[1-9][0-9]*)$"
              },
              "requestId": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "materialId": {
                "type": "string",
                "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
              },
              "kind": {
                "type": "string",
                "const": "texture"
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100
              },
              "imagePath": {
                "type": "string",
                "maxLength": 240,
                "pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
                "description": "Absolute local Windows path to a JPEG, PNG or BMP."
              },
              "width": {
                "type": "number",
                "minimum": 0.000001,
                "maximum": 1000000,
                "description": "Length of one repeat in metres."
              },
              "height": {
                "type": "number",
                "minimum": 0.000001,
                "maximum": 1000000,
                "description": "Length of one repeat in metres."
              },
              "rotationDegrees": {
                "type": "number",
                "minimum": -360,
                "maximum": 360,
                "description": "Orientation of the repeat in degrees. Defaults to 0."
              },
              "opacity": {
                "description": "Opacity from 0 (clear) to 1 (opaque), independent of emission.",
                "type": "number",
                "minimum": 0,
                "maximum": 1
              },
              "emission": {
                "description": "Configure emission or clear it with null. Omit beam to preserve it or set beam to null for diffuse light.",
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "intensity": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000,
                        "description": "Emitted luminance in cd/m²."
                      },
                      "beam": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "angleDegrees": {
                                "type": "number",
                                "minimum": 1,
                                "maximum": 179,
                                "description": "Full beam opening in degrees."
                              },
                              "softness": {
                                "type": "number",
                                "minimum": 0.1,
                                "maximum": 1,
                                "description": "Fraction of the beam half-angle used for the gradual edge."
                              },
                              "side": {
                                "type": "string",
                                "enum": [
                                  "front",
                                  "back",
                                  "both"
                                ]
                              }
                            },
                            "required": [
                              "angleDegrees",
                              "softness",
                              "side"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "temperatureKelvin": {
                        "type": "integer",
                        "minimum": 1700,
                        "maximum": 25000
                      },
                      "imagePath": {
                        "type": "string",
                        "maxLength": 240,
                        "pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
                        "description": "Absolute local Windows path to a JPEG, PNG or BMP."
                      },
                      "removeImage": {
                        "type": "boolean"
                      },
                      "materialSource": {
                        "description": "Use the chosen material's texture as the emission map.",
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "materialId": {
                                "type": "string",
                                "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                              }
                            },
                            "required": [
                              "materialId"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "libraryMaterial": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200
                              }
                            },
                            "required": [
                              "libraryMaterial"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "useSurfaceTexture": {
                        "description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "intensity",
                      "temperatureKelvin"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "intensity": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000,
                        "description": "Emitted luminance in cd/m²."
                      },
                      "beam": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "angleDegrees": {
                                "type": "number",
                                "minimum": 1,
                                "maximum": 179,
                                "description": "Full beam opening in degrees."
                              },
                              "softness": {
                                "type": "number",
                                "minimum": 0.1,
                                "maximum": 1,
                                "description": "Fraction of the beam half-angle used for the gradual edge."
                              },
                              "side": {
                                "type": "string",
                                "enum": [
                                  "front",
                                  "back",
                                  "both"
                                ]
                              }
                            },
                            "required": [
                              "angleDegrees",
                              "softness",
                              "side"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "color": {
                        "type": "string",
                        "pattern": "^#[0-9a-fA-F]{6}$",
                        "description": "Opaque RGB color, #RRGGBB."
                      },
                      "imagePath": {
                        "type": "string",
                        "maxLength": 240,
                        "pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
                        "description": "Absolute local Windows path to a JPEG, PNG or BMP."
                      },
                      "removeImage": {
                        "type": "boolean"
                      },
                      "materialSource": {
                        "description": "Use the chosen material's texture as the emission map.",
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "materialId": {
                                "type": "string",
                                "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                              }
                            },
                            "required": [
                              "materialId"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "libraryMaterial": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200
                              }
                            },
                            "required": [
                              "libraryMaterial"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "useSurfaceTexture": {
                        "description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "intensity",
                      "color"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "reflection": {
                "type": "object",
                "properties": {
                  "strength": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1,
                    "description": "Reflection strength from 0 (matte) to 1 (mirror)."
                  },
                  "roughness": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1,
                    "description": "Reflection roughness from 0 (sharp) to 1 (diffuse)."
                  }
                },
                "required": [
                  "strength",
                  "roughness"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "documentId",
              "epoch",
              "expectedStateRevision",
              "requestId",
              "materialId",
              "kind"
            ],
            "additionalProperties": false
          }
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          },
          "materialId": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents",
          "materialId"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_face_texture_update",
      "description": "Edit the texture of one side of a face in the chosen occurrence. Returns the new material ID.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "faceId": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "instancePath": {
            "default": [],
            "description": "Instance IDs from the root collection to the clicked face.",
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
            }
          },
          "side": {
            "type": "string",
            "enum": [
              "front",
              "back"
            ]
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100
          },
          "opacity": {
            "description": "Opacity from 0 (clear) to 1 (opaque), independent of emission.",
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "emission": {
            "description": "Configure emission or clear it with null. Omit beam to preserve it or set beam to null for diffuse light.",
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "intensity": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000,
                    "description": "Emitted luminance in cd/m²."
                  },
                  "beam": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "angleDegrees": {
                            "type": "number",
                            "minimum": 1,
                            "maximum": 179,
                            "description": "Full beam opening in degrees."
                          },
                          "softness": {
                            "type": "number",
                            "minimum": 0.1,
                            "maximum": 1,
                            "description": "Fraction of the beam half-angle used for the gradual edge."
                          },
                          "side": {
                            "type": "string",
                            "enum": [
                              "front",
                              "back",
                              "both"
                            ]
                          }
                        },
                        "required": [
                          "angleDegrees",
                          "softness",
                          "side"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "temperatureKelvin": {
                    "type": "integer",
                    "minimum": 1700,
                    "maximum": 25000
                  },
                  "imagePath": {
                    "type": "string",
                    "maxLength": 240,
                    "pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
                    "description": "Absolute local Windows path to a JPEG, PNG or BMP."
                  },
                  "removeImage": {
                    "type": "boolean"
                  },
                  "materialSource": {
                    "description": "Use the chosen material's texture as the emission map.",
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "materialId": {
                            "type": "string",
                            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                          }
                        },
                        "required": [
                          "materialId"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "libraryMaterial": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 200
                          }
                        },
                        "required": [
                          "libraryMaterial"
                        ],
                        "additionalProperties": false
                      }
                    ]
                  },
                  "useSurfaceTexture": {
                    "description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
                    "type": "boolean"
                  }
                },
                "required": [
                  "intensity",
                  "temperatureKelvin"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "intensity": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000,
                    "description": "Emitted luminance in cd/m²."
                  },
                  "beam": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "angleDegrees": {
                            "type": "number",
                            "minimum": 1,
                            "maximum": 179,
                            "description": "Full beam opening in degrees."
                          },
                          "softness": {
                            "type": "number",
                            "minimum": 0.1,
                            "maximum": 1,
                            "description": "Fraction of the beam half-angle used for the gradual edge."
                          },
                          "side": {
                            "type": "string",
                            "enum": [
                              "front",
                              "back",
                              "both"
                            ]
                          }
                        },
                        "required": [
                          "angleDegrees",
                          "softness",
                          "side"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "color": {
                    "type": "string",
                    "pattern": "^#[0-9a-fA-F]{6}$",
                    "description": "Opaque RGB color, #RRGGBB."
                  },
                  "imagePath": {
                    "type": "string",
                    "maxLength": 240,
                    "pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
                    "description": "Absolute local Windows path to a JPEG, PNG or BMP."
                  },
                  "removeImage": {
                    "type": "boolean"
                  },
                  "materialSource": {
                    "description": "Use the chosen material's texture as the emission map.",
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "materialId": {
                            "type": "string",
                            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                          }
                        },
                        "required": [
                          "materialId"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "libraryMaterial": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 200
                          }
                        },
                        "required": [
                          "libraryMaterial"
                        ],
                        "additionalProperties": false
                      }
                    ]
                  },
                  "useSurfaceTexture": {
                    "description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
                    "type": "boolean"
                  }
                },
                "required": [
                  "intensity",
                  "color"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          },
          "reflection": {
            "type": "object",
            "properties": {
              "strength": {
                "type": "number",
                "minimum": 0,
                "maximum": 1,
                "description": "Reflection strength from 0 (matte) to 1 (mirror)."
              },
              "roughness": {
                "type": "number",
                "minimum": 0,
                "maximum": 1,
                "description": "Reflection roughness from 0 (sharp) to 1 (diffuse)."
              }
            },
            "required": [
              "strength",
              "roughness"
            ],
            "additionalProperties": false
          },
          "imagePath": {
            "type": "string",
            "maxLength": 240,
            "pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
            "description": "Absolute local Windows path to a JPEG, PNG or BMP."
          },
          "width": {
            "type": "number",
            "minimum": 0.000001,
            "maximum": 1000000,
            "description": "Length of one repeat in metres."
          },
          "height": {
            "type": "number",
            "minimum": 0.000001,
            "maximum": 1000000,
            "description": "Length of one repeat in metres."
          },
          "rotationDegrees": {
            "type": "number",
            "minimum": -360,
            "maximum": 360,
            "description": "Orientation of the repeat in degrees. Defaults to 0."
          }
        },
        "required": [
          "documentId",
          "epoch",
          "expectedStateRevision",
          "requestId",
          "faceId",
          "side"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          },
          "materialId": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "occurrence": {
            "type": "object",
            "properties": {
              "faceId": {
                "type": "string",
                "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
              },
              "instancePath": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                }
              }
            },
            "required": [
              "faceId",
              "instancePath"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents",
          "materialId",
          "occurrence"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_face_color_update",
      "description": "Edit the color or the color-based light on one side of a face in the chosen occurrence.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "faceId": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "instancePath": {
            "default": [],
            "description": "Instance IDs from the root collection to the clicked face.",
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
            }
          },
          "side": {
            "type": "string",
            "enum": [
              "front",
              "back"
            ]
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100
          },
          "opacity": {
            "description": "Opacity from 0 (clear) to 1 (opaque), independent of emission.",
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "emission": {
            "description": "Configure emission or clear it with null. Omit beam to preserve it or set beam to null for diffuse light.",
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "intensity": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000,
                    "description": "Emitted luminance in cd/m²."
                  },
                  "beam": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "angleDegrees": {
                            "type": "number",
                            "minimum": 1,
                            "maximum": 179,
                            "description": "Full beam opening in degrees."
                          },
                          "softness": {
                            "type": "number",
                            "minimum": 0.1,
                            "maximum": 1,
                            "description": "Fraction of the beam half-angle used for the gradual edge."
                          },
                          "side": {
                            "type": "string",
                            "enum": [
                              "front",
                              "back",
                              "both"
                            ]
                          }
                        },
                        "required": [
                          "angleDegrees",
                          "softness",
                          "side"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "temperatureKelvin": {
                    "type": "integer",
                    "minimum": 1700,
                    "maximum": 25000
                  },
                  "imagePath": {
                    "type": "string",
                    "maxLength": 240,
                    "pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
                    "description": "Absolute local Windows path to a JPEG, PNG or BMP."
                  },
                  "removeImage": {
                    "type": "boolean"
                  },
                  "materialSource": {
                    "description": "Use the chosen material's texture as the emission map.",
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "materialId": {
                            "type": "string",
                            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                          }
                        },
                        "required": [
                          "materialId"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "libraryMaterial": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 200
                          }
                        },
                        "required": [
                          "libraryMaterial"
                        ],
                        "additionalProperties": false
                      }
                    ]
                  },
                  "useSurfaceTexture": {
                    "description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
                    "type": "boolean"
                  }
                },
                "required": [
                  "intensity",
                  "temperatureKelvin"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "intensity": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000,
                    "description": "Emitted luminance in cd/m²."
                  },
                  "beam": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "angleDegrees": {
                            "type": "number",
                            "minimum": 1,
                            "maximum": 179,
                            "description": "Full beam opening in degrees."
                          },
                          "softness": {
                            "type": "number",
                            "minimum": 0.1,
                            "maximum": 1,
                            "description": "Fraction of the beam half-angle used for the gradual edge."
                          },
                          "side": {
                            "type": "string",
                            "enum": [
                              "front",
                              "back",
                              "both"
                            ]
                          }
                        },
                        "required": [
                          "angleDegrees",
                          "softness",
                          "side"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "color": {
                    "type": "string",
                    "pattern": "^#[0-9a-fA-F]{6}$",
                    "description": "Opaque RGB color, #RRGGBB."
                  },
                  "imagePath": {
                    "type": "string",
                    "maxLength": 240,
                    "pattern": "^[A-Za-z]:[\\\\/][^\\0]+\\.(?:jpe?g|png|bmp)$",
                    "description": "Absolute local Windows path to a JPEG, PNG or BMP."
                  },
                  "removeImage": {
                    "type": "boolean"
                  },
                  "materialSource": {
                    "description": "Use the chosen material's texture as the emission map.",
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "materialId": {
                            "type": "string",
                            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                          }
                        },
                        "required": [
                          "materialId"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "libraryMaterial": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 200
                          }
                        },
                        "required": [
                          "libraryMaterial"
                        ],
                        "additionalProperties": false
                      }
                    ]
                  },
                  "useSurfaceTexture": {
                    "description": "Allow the surface's own texture to modulate emission when no separate emission material or image is selected.",
                    "type": "boolean"
                  }
                },
                "required": [
                  "intensity",
                  "color"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          },
          "reflection": {
            "type": "object",
            "properties": {
              "strength": {
                "type": "number",
                "minimum": 0,
                "maximum": 1,
                "description": "Reflection strength from 0 (matte) to 1 (mirror)."
              },
              "roughness": {
                "type": "number",
                "minimum": 0,
                "maximum": 1,
                "description": "Reflection roughness from 0 (sharp) to 1 (diffuse)."
              }
            },
            "required": [
              "strength",
              "roughness"
            ],
            "additionalProperties": false
          },
          "color": {
            "type": "string",
            "pattern": "^#[0-9a-fA-F]{6}$",
            "description": "Opaque RGB color, #RRGGBB."
          }
        },
        "required": [
          "documentId",
          "epoch",
          "expectedStateRevision",
          "requestId",
          "faceId",
          "side"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          },
          "materialId": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "occurrence": {
            "type": "object",
            "properties": {
              "faceId": {
                "type": "string",
                "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
              },
              "instancePath": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                }
              }
            },
            "required": [
              "faceId",
              "instancePath"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents",
          "materialId",
          "occurrence"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": false,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_eyedropper_state",
      "description": "Read the selected coating and exact face side, including the instance path and the base material kind.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "active": {
            "type": "boolean"
          },
          "sample": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "documentId": {
                    "type": "string",
                    "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                  },
                  "faceId": {
                    "type": "string",
                    "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                  },
                  "instancePath": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                    }
                  },
                  "side": {
                    "type": "string",
                    "enum": [
                      "front",
                      "back"
                    ]
                  },
                  "materialId": {
                    "type": "string",
                    "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                  },
                  "name": {
                    "type": "string"
                  },
                  "kind": {
                    "type": "string",
                    "enum": [
                      "color",
                      "texture",
                      "light"
                    ]
                  },
                  "baseKind": {
                    "type": "string",
                    "enum": [
                      "color",
                      "texture"
                    ]
                  }
                },
                "required": [
                  "documentId",
                  "faceId",
                  "instancePath",
                  "side",
                  "materialId",
                  "name",
                  "kind",
                  "baseKind"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "active",
          "sample"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false
      }
    },
    {
      "name": "arkita_eyedropper_start",
      "description": "Activate the eyedropper in the current drawing.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "active": {
            "type": "boolean"
          },
          "sample": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "documentId": {
                    "type": "string",
                    "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                  },
                  "faceId": {
                    "type": "string",
                    "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                  },
                  "instancePath": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                    }
                  },
                  "side": {
                    "type": "string",
                    "enum": [
                      "front",
                      "back"
                    ]
                  },
                  "materialId": {
                    "type": "string",
                    "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                  },
                  "name": {
                    "type": "string"
                  },
                  "kind": {
                    "type": "string",
                    "enum": [
                      "color",
                      "texture",
                      "light"
                    ]
                  },
                  "baseKind": {
                    "type": "string",
                    "enum": [
                      "color",
                      "texture"
                    ]
                  }
                },
                "required": [
                  "documentId",
                  "faceId",
                  "instancePath",
                  "side",
                  "materialId",
                  "name",
                  "kind",
                  "baseKind"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "active",
          "sample"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false
      }
    },
    {
      "name": "arkita_eyedropper_sample",
      "description": "Sample the visible face coating at viewport coordinates in logical pixels and activate Paint with it.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "x": {
            "type": "number",
            "minimum": 0
          },
          "y": {
            "type": "number",
            "minimum": 0
          }
        },
        "required": [
          "x",
          "y"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "active": {
            "type": "boolean"
          },
          "sample": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "documentId": {
                    "type": "string",
                    "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                  },
                  "faceId": {
                    "type": "string",
                    "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                  },
                  "instancePath": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                    }
                  },
                  "side": {
                    "type": "string",
                    "enum": [
                      "front",
                      "back"
                    ]
                  },
                  "materialId": {
                    "type": "string",
                    "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                  },
                  "name": {
                    "type": "string"
                  },
                  "kind": {
                    "type": "string",
                    "enum": [
                      "color",
                      "texture",
                      "light"
                    ]
                  },
                  "baseKind": {
                    "type": "string",
                    "enum": [
                      "color",
                      "texture"
                    ]
                  }
                },
                "required": [
                  "documentId",
                  "faceId",
                  "instancePath",
                  "side",
                  "materialId",
                  "name",
                  "kind",
                  "baseKind"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "active",
          "sample"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false
      }
    },
    {
      "name": "arkita_eyedropper_use",
      "description": "Activate Paint with the exact sampled coating. Use the Paint tool in the viewport to apply it.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "active": {
            "type": "boolean"
          },
          "sample": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "documentId": {
                    "type": "string",
                    "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                  },
                  "faceId": {
                    "type": "string",
                    "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                  },
                  "instancePath": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                    }
                  },
                  "side": {
                    "type": "string",
                    "enum": [
                      "front",
                      "back"
                    ]
                  },
                  "materialId": {
                    "type": "string",
                    "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                  },
                  "name": {
                    "type": "string"
                  },
                  "kind": {
                    "type": "string",
                    "enum": [
                      "color",
                      "texture",
                      "light"
                    ]
                  },
                  "baseKind": {
                    "type": "string",
                    "enum": [
                      "color",
                      "texture"
                    ]
                  }
                },
                "required": [
                  "documentId",
                  "faceId",
                  "instancePath",
                  "side",
                  "materialId",
                  "name",
                  "kind",
                  "baseKind"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "active",
          "sample"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false
      }
    },
    {
      "name": "arkita_eyedropper_edit",
      "description": "Open the matching editor for the sampled side. For direct changes, use arkita_face_color_update or arkita_face_texture_update with the sampled occurrence.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "active": {
            "type": "boolean"
          },
          "sample": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "documentId": {
                    "type": "string",
                    "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                  },
                  "faceId": {
                    "type": "string",
                    "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                  },
                  "instancePath": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                    }
                  },
                  "side": {
                    "type": "string",
                    "enum": [
                      "front",
                      "back"
                    ]
                  },
                  "materialId": {
                    "type": "string",
                    "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                  },
                  "name": {
                    "type": "string"
                  },
                  "kind": {
                    "type": "string",
                    "enum": [
                      "color",
                      "texture",
                      "light"
                    ]
                  },
                  "baseKind": {
                    "type": "string",
                    "enum": [
                      "color",
                      "texture"
                    ]
                  }
                },
                "required": [
                  "documentId",
                  "faceId",
                  "instancePath",
                  "side",
                  "materialId",
                  "name",
                  "kind",
                  "baseKind"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "active",
          "sample"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false
      }
    },
    {
      "name": "arkita_material_remove",
      "description": "Remove a color or texture from the active plan. A used material requires replaceUsed=true. Undo restores the material and its assignments.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "documentId": {
            "type": "string",
            "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "expectedStateRevision": {
            "type": "string",
            "maxLength": 20,
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "materialId": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          },
          "replaceUsed": {
            "default": false,
            "description": "Allow removing a used material and resetting its assignments to the default or inherited material.",
            "type": "boolean"
          }
        },
        "required": [
          "documentId",
          "epoch",
          "expectedStateRevision",
          "requestId",
          "materialId"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "work_document_session"
          },
          "epoch": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "stateRevision": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]*)$"
          },
          "formatVersion": {
            "type": "string",
            "const": "0.1.0"
          },
          "capacity": {
            "type": "number",
            "const": 1
          },
          "documents": {
            "maxItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "documentId": {
                  "type": "string",
                  "pattern": "^doc_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                },
                "name": {
                  "type": "string"
                },
                "revision": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]*)$"
                },
                "displayUnit": {
                  "type": "string",
                  "enum": [
                    "metre",
                    "millimetre",
                    "centimetre",
                    "inch",
                    "foot"
                  ]
                },
                "units": {
                  "type": "object",
                  "properties": {
                    "temperature": {
                      "type": "string",
                      "enum": [
                        "celsius",
                        "fahrenheit"
                      ]
                    },
                    "mass": {
                      "type": "string",
                      "enum": [
                        "kilogram",
                        "pound"
                      ]
                    },
                    "angle": {
                      "type": "string",
                      "enum": [
                        "degree",
                        "radian"
                      ]
                    }
                  },
                  "required": [
                    "temperature",
                    "mass",
                    "angle"
                  ],
                  "additionalProperties": false
                },
                "empty": {
                  "type": "boolean"
                },
                "modified": {
                  "type": "boolean"
                },
                "path": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileSha256": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "documentId",
                "name",
                "revision",
                "displayUnit",
                "empty",
                "modified",
                "path",
                "fileSha256"
              ],
              "additionalProperties": false
            }
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "replayed": {
            "type": "boolean"
          },
          "skpImport": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "placementExport": {
                "type": "boolean"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "scenes",
                    "annotations",
                    "metadata",
                    "presentation"
                  ]
                }
              }
            },
            "required": [
              "version",
              "placementExport",
              "warnings"
            ],
            "additionalProperties": false
          },
          "materialId": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9]{0,15}_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
          }
        },
        "required": [
          "kind",
          "epoch",
          "stateRevision",
          "formatVersion",
          "capacity",
          "documents",
          "materialId"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": true
      }
    },
    {
      "name": "arkita_visit_state",
      "description": "Read whether first-person visit mode is active, its world eye position (metres), heading, ground contact, and whether a requested move completed or was blocked.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "active": {
                "type": "boolean",
                "const": true
              },
              "eye": {
                "type": "array",
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "items": false,
                "minItems": 3,
                "maxItems": 3
              },
              "direction": {
                "type": "array",
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "items": false,
                "minItems": 3,
                "maxItems": 3
              },
              "grounded": {
                "type": "boolean"
              },
              "verticalFov": {
                "type": "number"
              },
              "bodyHeight": {
                "type": "number"
              },
              "kneeHeight": {
                "type": "number"
              },
              "remainingMetres": {
                "type": "number",
                "minimum": 0
              },
              "blocked": {
                "type": "boolean"
              }
            },
            "required": [
              "active",
              "eye",
              "direction",
              "grounded",
              "verticalFov",
              "bodyHeight",
              "kneeHeight",
              "remainingMetres",
              "blocked"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "active": {
                "type": "boolean",
                "const": false
              }
            },
            "required": [
              "active"
            ],
            "additionalProperties": false
          }
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "arkita_visit_start",
      "description": "Start first-person visit mode at a clear floor near the current camera in the open Arkita drawing.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "active": {
                "type": "boolean",
                "const": true
              },
              "eye": {
                "type": "array",
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "items": false,
                "minItems": 3,
                "maxItems": 3
              },
              "direction": {
                "type": "array",
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "items": false,
                "minItems": 3,
                "maxItems": 3
              },
              "grounded": {
                "type": "boolean"
              },
              "verticalFov": {
                "type": "number"
              },
              "bodyHeight": {
                "type": "number"
              },
              "kneeHeight": {
                "type": "number"
              },
              "remainingMetres": {
                "type": "number",
                "minimum": 0
              },
              "blocked": {
                "type": "boolean"
              }
            },
            "required": [
              "active",
              "eye",
              "direction",
              "grounded",
              "verticalFov",
              "bodyHeight",
              "kneeHeight",
              "remainingMetres",
              "blocked"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "active": {
                "type": "boolean",
                "const": false
              }
            },
            "required": [
              "active"
            ],
            "additionalProperties": false
          }
        ]
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "arkita_visit_move",
      "description": "Walk or run a relative distance in metres. Motion is animated and respects collisions. Poll arkita_visit_state until remainingMetres is zero, then check blocked.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "direction": {
            "type": "string",
            "enum": [
              "forward",
              "backward",
              "left",
              "right"
            ]
          },
          "metres": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 30
          },
          "run": {
            "default": false,
            "type": "boolean"
          }
        },
        "required": [
          "direction",
          "metres"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "active": {
                "type": "boolean",
                "const": true
              },
              "eye": {
                "type": "array",
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "items": false,
                "minItems": 3,
                "maxItems": 3
              },
              "direction": {
                "type": "array",
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "items": false,
                "minItems": 3,
                "maxItems": 3
              },
              "grounded": {
                "type": "boolean"
              },
              "verticalFov": {
                "type": "number"
              },
              "bodyHeight": {
                "type": "number"
              },
              "kneeHeight": {
                "type": "number"
              },
              "remainingMetres": {
                "type": "number",
                "minimum": 0
              },
              "blocked": {
                "type": "boolean"
              }
            },
            "required": [
              "active",
              "eye",
              "direction",
              "grounded",
              "verticalFov",
              "bodyHeight",
              "kneeHeight",
              "remainingMetres",
              "blocked"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "active": {
                "type": "boolean",
                "const": false
              }
            },
            "required": [
              "active"
            ],
            "additionalProperties": false
          }
        ]
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "arkita_visit_turn",
      "description": "Turn the visitor’s view by relative angles in degrees. Positive yaw turns right; positive pitch looks up.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "yawDegrees": {
            "default": 0,
            "type": "number",
            "minimum": -360,
            "maximum": 360
          },
          "pitchDegrees": {
            "default": 0,
            "type": "number",
            "minimum": -180,
            "maximum": 180
          }
        },
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "active": {
                "type": "boolean",
                "const": true
              },
              "eye": {
                "type": "array",
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "items": false,
                "minItems": 3,
                "maxItems": 3
              },
              "direction": {
                "type": "array",
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "items": false,
                "minItems": 3,
                "maxItems": 3
              },
              "grounded": {
                "type": "boolean"
              },
              "verticalFov": {
                "type": "number"
              },
              "bodyHeight": {
                "type": "number"
              },
              "kneeHeight": {
                "type": "number"
              },
              "remainingMetres": {
                "type": "number",
                "minimum": 0
              },
              "blocked": {
                "type": "boolean"
              }
            },
            "required": [
              "active",
              "eye",
              "direction",
              "grounded",
              "verticalFov",
              "bodyHeight",
              "kneeHeight",
              "remainingMetres",
              "blocked"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "active": {
                "type": "boolean",
                "const": false
              }
            },
            "required": [
              "active"
            ],
            "additionalProperties": false
          }
        ]
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "arkita_visit_jump",
      "description": "Jump from the floor using the visitor’s physical height and collisions. Combine with a move command to jump forwards.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "active": {
                "type": "boolean",
                "const": true
              },
              "eye": {
                "type": "array",
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "items": false,
                "minItems": 3,
                "maxItems": 3
              },
              "direction": {
                "type": "array",
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "items": false,
                "minItems": 3,
                "maxItems": 3
              },
              "grounded": {
                "type": "boolean"
              },
              "verticalFov": {
                "type": "number"
              },
              "bodyHeight": {
                "type": "number"
              },
              "kneeHeight": {
                "type": "number"
              },
              "remainingMetres": {
                "type": "number",
                "minimum": 0
              },
              "blocked": {
                "type": "boolean"
              }
            },
            "required": [
              "active",
              "eye",
              "direction",
              "grounded",
              "verticalFov",
              "bodyHeight",
              "kneeHeight",
              "remainingMetres",
              "blocked"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "active": {
                "type": "boolean",
                "const": false
              }
            },
            "required": [
              "active"
            ],
            "additionalProperties": false
          }
        ]
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "arkita_visit_stop",
      "description": "Stop the current first-person movement. Set leaveVisit to return to Design mode.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "leaveVisit": {
            "default": false,
            "type": "boolean"
          }
        },
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "active": {
                "type": "boolean",
                "const": true
              },
              "eye": {
                "type": "array",
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "items": false,
                "minItems": 3,
                "maxItems": 3
              },
              "direction": {
                "type": "array",
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "items": false,
                "minItems": 3,
                "maxItems": 3
              },
              "grounded": {
                "type": "boolean"
              },
              "verticalFov": {
                "type": "number"
              },
              "bodyHeight": {
                "type": "number"
              },
              "kneeHeight": {
                "type": "number"
              },
              "remainingMetres": {
                "type": "number",
                "minimum": 0
              },
              "blocked": {
                "type": "boolean"
              }
            },
            "required": [
              "active",
              "eye",
              "direction",
              "grounded",
              "verticalFov",
              "bodyHeight",
              "kneeHeight",
              "remainingMetres",
              "blocked"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "active": {
                "type": "boolean",
                "const": false
              }
            },
            "required": [
              "active"
            ],
            "additionalProperties": false
          }
        ]
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "arkita_support_versions",
      "description": "List published Windows versions for bug reports using the signed-in account in the Arkita window.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "versions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "versions"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "arkita_support_find_bugs",
      "description": "Find up to three similar public bug reports on the Arkita website from the open application.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "minLength": 5,
            "maxLength": 140
          }
        },
        "required": [
          "title"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "matches": {
            "maxItems": 3,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "title": {
                  "type": "string"
                },
                "area": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "status": {
                  "type": "string"
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                }
              },
              "required": [
                "id",
                "title",
                "area",
                "status",
                "url"
              ],
              "additionalProperties": false
            }
          },
          "lexicalOnly": {
            "type": "boolean"
          }
        },
        "required": [
          "matches",
          "lexicalOnly"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "arkita_support_prepare_ticket",
      "description": "Prepare a bug report using the current Arkita account. Show the draft and possible duplicates to the user.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "const": "bug"
          },
          "title": {
            "type": "string",
            "minLength": 5,
            "maxLength": 140
          },
          "area": {
            "description": "Required for bugs. Use desktop for the Windows application.",
            "type": "string",
            "enum": [
              "desktop",
              "web",
              ""
            ]
          },
          "app_version": {
            "description": "For Windows bugs, select a version from the published versions.",
            "type": "string",
            "maxLength": 64
          },
          "steps": {
            "type": "string",
            "maxLength": 3000
          },
          "expected": {
            "type": "string",
            "maxLength": 2000
          },
          "observed": {
            "type": "string",
            "minLength": 10,
            "maxLength": 2000
          },
          "environment": {
            "type": "string",
            "maxLength": 160
          }
        },
        "required": [
          "kind",
          "title",
          "observed"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "draft": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "bug"
              },
              "title": {
                "type": "string",
                "minLength": 5,
                "maxLength": 140
              },
              "area": {
                "description": "Required for bugs. Use desktop for the Windows application.",
                "type": "string",
                "enum": [
                  "desktop",
                  "web",
                  ""
                ]
              },
              "app_version": {
                "description": "For Windows bugs, select a version from the published versions.",
                "type": "string",
                "maxLength": 64
              },
              "steps": {
                "type": "string",
                "maxLength": 3000
              },
              "expected": {
                "type": "string",
                "maxLength": 2000
              },
              "observed": {
                "type": "string",
                "minLength": 10,
                "maxLength": 2000
              },
              "environment": {
                "type": "string",
                "maxLength": 160
              }
            },
            "required": [
              "kind",
              "title",
              "observed"
            ],
            "additionalProperties": false
          },
          "matches": {
            "maxItems": 3,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "title": {
                  "type": "string"
                },
                "area": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "status": {
                  "type": "string"
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                }
              },
              "required": [
                "id",
                "title",
                "area",
                "status",
                "url"
              ],
              "additionalProperties": false
            }
          },
          "lexicalOnly": {
            "type": "boolean"
          },
          "confirmation": {
            "type": "object",
            "properties": {
              "stamp": {
                "type": "string",
                "maxLength": 60
              },
              "sig": {
                "type": "string",
                "minLength": 43,
                "maxLength": 43
              }
            },
            "required": [
              "stamp",
              "sig"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "draft",
          "matches",
          "confirmation"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "arkita_support_submit_ticket",
      "description": "Send a ticket to the Arkita website under the account signed in to this window. Use the unchanged draft and confirmation from arkita_support_prepare_ticket only after the user approves submission.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "draft": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "bug"
              },
              "title": {
                "type": "string",
                "minLength": 5,
                "maxLength": 140
              },
              "area": {
                "description": "Required for bugs. Use desktop for the Windows application.",
                "type": "string",
                "enum": [
                  "desktop",
                  "web",
                  ""
                ]
              },
              "app_version": {
                "description": "For Windows bugs, select a version from the published versions.",
                "type": "string",
                "maxLength": 64
              },
              "steps": {
                "type": "string",
                "maxLength": 3000
              },
              "expected": {
                "type": "string",
                "maxLength": 2000
              },
              "observed": {
                "type": "string",
                "minLength": 10,
                "maxLength": 2000
              },
              "environment": {
                "type": "string",
                "maxLength": 160
              }
            },
            "required": [
              "kind",
              "title",
              "observed"
            ],
            "additionalProperties": false
          },
          "confirmation": {
            "type": "object",
            "properties": {
              "stamp": {
                "type": "string",
                "maxLength": 60
              },
              "sig": {
                "type": "string",
                "minLength": 43,
                "maxLength": 43
              }
            },
            "required": [
              "stamp",
              "sig"
            ],
            "additionalProperties": false
          },
          "confirmed": {
            "type": "boolean",
            "const": true
          }
        },
        "required": [
          "draft",
          "confirmation",
          "confirmed"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "id",
          "url"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "arkita_catalogue_install_material",
      "description": "Install a texture or light from the configured Arkita website into this workspace. The desktop session supplies authentication.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "textures",
              "lights"
            ]
          },
          "id": {
            "type": "string",
            "pattern": "^[a-z0-9-]{1,80}$"
          }
        },
        "required": [
          "kind",
          "id"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "state": {
            "type": "string",
            "enum": [
              "downloading",
              "awaiting_sign_in"
            ]
          }
        },
        "required": [
          "state"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "arkita_commands_list",
      "description": "Paginate the actual tool registry with schemas; nativeCommands lists direct bindings and uiCommands lists commands reached through Qt gestures. Compare both with the live registry when Qt is running.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "offset": {
            "default": 0,
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "limit": {
            "default": 20,
            "type": "integer",
            "minimum": 1,
            "maximum": 50
          }
        },
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "buildId": {
            "type": "string"
          },
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                },
                "inputSchema": {},
                "outputSchema": {},
                "nativeCommands": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "uiCommands": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "qualification": {
                  "type": "string",
                  "const": "implemented"
                }
              },
              "required": [
                "name",
                "description",
                "inputSchema",
                "outputSchema",
                "nativeCommands",
                "qualification"
              ],
              "additionalProperties": false
            }
          },
          "total": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "nextOffset": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "nativeCommands": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "uncovered": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "buildId",
          "items",
          "total",
          "nextOffset",
          "nativeCommands",
          "uncovered"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      }
    },
    {
      "name": "arkita_diagnostics_get",
      "description": "Get bounded command names, origins and outcomes; never arguments, IPC secrets or environment.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "buildId": {
            "type": "string"
          },
          "runtime": {
            "type": "string"
          },
          "application": {
            "type": "string",
            "enum": [
              "not_implemented",
              "stopped",
              "running"
            ]
          },
          "trace": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "sequence": {
                  "type": "string"
                },
                "command": {
                  "type": "string"
                },
                "origin": {
                  "type": "string",
                  "enum": [
                    "ui",
                    "mcp",
                    "test"
                  ]
                },
                "succeeded": {
                  "type": "boolean"
                }
              },
              "required": [
                "sequence",
                "command",
                "origin",
                "succeeded"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "buildId",
          "runtime",
          "application",
          "trace"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      }
    },
    {
      "name": "arkita_work_history",
      "description": "Inspect the current tool, selection and group edit path, plus up to 128 recent tool actions, viewport gestures, selections, group transitions and moves. Pointer coordinates are relative to the viewport in logical pixels.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "state": {
            "type": "object",
            "properties": {
              "tool": {
                "type": "string"
              },
              "navigation": {
                "type": "string"
              },
              "selection": {
                "type": "string"
              },
              "selectionMode": {
                "type": "string",
                "enum": [
                  "replace",
                  "add",
                  "toggle"
                ]
              },
              "selectionIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "zoomReference": {
                "type": "string",
                "enum": [
                  "front",
                  "behind"
                ]
              },
              "lightFluxLumens": {
                "type": "number",
                "minimum": 0
              },
              "straightJunctions": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "extrusionCopy": {
                "type": "boolean"
              },
              "drawingPlaneReference": {
                "type": "object",
                "properties": {
                  "faceId": {
                    "type": "string"
                  },
                  "instancePath": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "normal": {
                    "type": "array",
                    "prefixItems": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "number"
                      },
                      {
                        "type": "number"
                      }
                    ],
                    "items": false,
                    "minItems": 3,
                    "maxItems": 3
                  },
                  "fixed": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "faceId",
                  "instancePath",
                  "normal",
                  "fixed"
                ],
                "additionalProperties": false
              },
              "visit": {
                "type": "object",
                "properties": {
                  "active": {
                    "type": "boolean",
                    "const": true
                  },
                  "eye": {
                    "type": "array",
                    "prefixItems": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "number"
                      },
                      {
                        "type": "number"
                      }
                    ],
                    "items": false,
                    "minItems": 3,
                    "maxItems": 3
                  },
                  "direction": {
                    "type": "array",
                    "prefixItems": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "number"
                      },
                      {
                        "type": "number"
                      }
                    ],
                    "items": false,
                    "minItems": 3,
                    "maxItems": 3
                  },
                  "grounded": {
                    "type": "boolean"
                  },
                  "verticalFov": {
                    "type": "number"
                  },
                  "bodyHeight": {
                    "type": "number"
                  },
                  "kneeHeight": {
                    "type": "number"
                  },
                  "remainingMetres": {
                    "type": "number",
                    "minimum": 0
                  },
                  "blocked": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "active",
                  "eye",
                  "direction",
                  "grounded",
                  "verticalFov",
                  "bodyHeight",
                  "kneeHeight",
                  "remainingMetres",
                  "blocked"
                ],
                "additionalProperties": false
              },
              "workCutaway": {
                "type": "object",
                "properties": {
                  "groupPath": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "faceId": {
                    "type": "string"
                  },
                  "automatic": {
                    "type": "boolean",
                    "const": true
                  },
                  "phase": {
                    "type": "string",
                    "enum": [
                      "inactive",
                      "choosing",
                      "open"
                    ]
                  },
                  "suspended": {
                    "type": "string",
                    "const": "inside"
                  },
                  "targets": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "groupPath": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "faceId": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "groupPath"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "editing": {
                    "type": "object",
                    "properties": {
                      "groupPath": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "faceId": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "groupPath"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "groupPath",
                  "phase"
                ],
                "additionalProperties": false
              },
              "editPath": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "viewWidth": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "viewHeight": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "cursorShape": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "tool",
              "navigation",
              "selection",
              "editPath",
              "viewWidth",
              "viewHeight"
            ],
            "additionalProperties": false
          },
          "events": {
            "maxItems": 128,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "sequence": {
                  "type": "string"
                },
                "kind": {
                  "type": "string",
                  "enum": [
                    "action",
                    "pointer",
                    "wheel",
                    "select",
                    "openGroup",
                    "leaveGroup",
                    "move",
                    "tapeMeasure",
                    "extrusionAttempt",
                    "extrusionObstacle",
                    "drawingPlaneReference",
                    "workCutaway"
                  ]
                },
                "state": {
                  "type": "object",
                  "properties": {
                    "tool": {
                      "type": "string"
                    },
                    "navigation": {
                      "type": "string"
                    },
                    "selection": {
                      "type": "string"
                    },
                    "selectionMode": {
                      "type": "string",
                      "enum": [
                        "replace",
                        "add",
                        "toggle"
                      ]
                    },
                    "selectionIds": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "zoomReference": {
                      "type": "string",
                      "enum": [
                        "front",
                        "behind"
                      ]
                    },
                    "lightFluxLumens": {
                      "type": "number",
                      "minimum": 0
                    },
                    "straightJunctions": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "extrusionCopy": {
                      "type": "boolean"
                    },
                    "drawingPlaneReference": {
                      "type": "object",
                      "properties": {
                        "faceId": {
                          "type": "string"
                        },
                        "instancePath": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "normal": {
                          "type": "array",
                          "prefixItems": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "number"
                            },
                            {
                              "type": "number"
                            }
                          ],
                          "items": false,
                          "minItems": 3,
                          "maxItems": 3
                        },
                        "fixed": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "faceId",
                        "instancePath",
                        "normal",
                        "fixed"
                      ],
                      "additionalProperties": false
                    },
                    "visit": {
                      "type": "object",
                      "properties": {
                        "active": {
                          "type": "boolean",
                          "const": true
                        },
                        "eye": {
                          "type": "array",
                          "prefixItems": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "number"
                            },
                            {
                              "type": "number"
                            }
                          ],
                          "items": false,
                          "minItems": 3,
                          "maxItems": 3
                        },
                        "direction": {
                          "type": "array",
                          "prefixItems": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "number"
                            },
                            {
                              "type": "number"
                            }
                          ],
                          "items": false,
                          "minItems": 3,
                          "maxItems": 3
                        },
                        "grounded": {
                          "type": "boolean"
                        },
                        "verticalFov": {
                          "type": "number"
                        },
                        "bodyHeight": {
                          "type": "number"
                        },
                        "kneeHeight": {
                          "type": "number"
                        },
                        "remainingMetres": {
                          "type": "number",
                          "minimum": 0
                        },
                        "blocked": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "active",
                        "eye",
                        "direction",
                        "grounded",
                        "verticalFov",
                        "bodyHeight",
                        "kneeHeight",
                        "remainingMetres",
                        "blocked"
                      ],
                      "additionalProperties": false
                    },
                    "workCutaway": {
                      "type": "object",
                      "properties": {
                        "groupPath": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "faceId": {
                          "type": "string"
                        },
                        "automatic": {
                          "type": "boolean",
                          "const": true
                        },
                        "phase": {
                          "type": "string",
                          "enum": [
                            "inactive",
                            "choosing",
                            "open"
                          ]
                        },
                        "suspended": {
                          "type": "string",
                          "const": "inside"
                        },
                        "targets": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "groupPath": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "faceId": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "groupPath"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "editing": {
                          "type": "object",
                          "properties": {
                            "groupPath": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "faceId": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "groupPath"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "groupPath",
                        "phase"
                      ],
                      "additionalProperties": false
                    },
                    "editPath": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "viewWidth": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    "viewHeight": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    "cursorShape": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    }
                  },
                  "required": [
                    "tool",
                    "navigation",
                    "selection",
                    "editPath",
                    "viewWidth",
                    "viewHeight"
                  ],
                  "additionalProperties": false
                },
                "details": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {}
                }
              },
              "required": [
                "sequence",
                "kind",
                "state",
                "details"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "state",
          "events"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true
      }
    },
    {
      "name": "arkita_guide_get",
      "description": "Read the agent guide through tools even without resource support.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string"
          },
          "scope": {
            "type": "string",
            "const": "mcp_foundation"
          }
        },
        "required": [
          "text",
          "scope"
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false
      }
    }
  ],
  "resources": [
    {
      "name": "agent-guide",
      "uri": "arkita://guide",
      "description": "MCP foundation operating guide; identical to arkita_guide_get.",
      "mimeType": "text/plain"
    },
    {
      "name": "diagnostics",
      "uri": "arkita://diagnostics",
      "description": "Bounded secret-free diagnostics; tool equivalent arkita_diagnostics_get.",
      "mimeType": "application/json"
    },
    {
      "name": "catalogue-0",
      "uri": "arkita://catalogue/0",
      "description": "Registry page with nextOffset; equivalent to arkita_commands_list.",
      "mimeType": "application/json"
    },
    {
      "name": "catalogue-20",
      "uri": "arkita://catalogue/20",
      "description": "Registry page with nextOffset; equivalent to arkita_commands_list.",
      "mimeType": "application/json"
    },
    {
      "name": "catalogue-40",
      "uri": "arkita://catalogue/40",
      "description": "Registry page with nextOffset; equivalent to arkita_commands_list.",
      "mimeType": "application/json"
    },
    {
      "name": "catalogue-60",
      "uri": "arkita://catalogue/60",
      "description": "Registry page with nextOffset; equivalent to arkita_commands_list.",
      "mimeType": "application/json"
    },
    {
      "name": "catalogue-80",
      "uri": "arkita://catalogue/80",
      "description": "Registry page with nextOffset; equivalent to arkita_commands_list.",
      "mimeType": "application/json"
    },
    {
      "name": "catalogue-100",
      "uri": "arkita://catalogue/100",
      "description": "Registry page with nextOffset; equivalent to arkita_commands_list.",
      "mimeType": "application/json"
    },
    {
      "name": "catalogue-120",
      "uri": "arkita://catalogue/120",
      "description": "Registry page with nextOffset; equivalent to arkita_commands_list.",
      "mimeType": "application/json"
    },
    {
      "name": "catalogue-140",
      "uri": "arkita://catalogue/140",
      "description": "Registry page with nextOffset; equivalent to arkita_commands_list.",
      "mimeType": "application/json"
    },
    {
      "name": "catalogue-160",
      "uri": "arkita://catalogue/160",
      "description": "Registry page with nextOffset; equivalent to arkita_commands_list.",
      "mimeType": "application/json"
    },
    {
      "name": "catalogue-180",
      "uri": "arkita://catalogue/180",
      "description": "Registry page with nextOffset; equivalent to arkita_commands_list.",
      "mimeType": "application/json"
    }
  ]
}
