{
  "openapi": "3.1.0",
  "info": {
    "title": "Whitestone runtime",
    "version": "1.4.0",
    "summary": "Ephemeral pro se advisor download tracker. Hosted API is advisory only. Not a lawyer.",
    "description": "Not a lawyer. Not a law firm. Not legal advice. Whitestone is educational procedural software for Criminal, Civil, and Divorce. Session-only memory; End & erase wipes the session. No case exports. Hosted /v1 never stores case files. The live app Worker is https://whitestone.vibelock.workers.dev/ — this Worker is the isolated download counter. Not a FragGate engine: do not invent door ops. Author: Aziel Eliab only. Suite mesh /v1/mesh/* PROXY to aziel-runtime (AZIEL_RUNTIME). Default OFF. QNM-BUILD-1.0 live|locked|isolated. No Node Gate. No auto-heal. Not anonymity. Aziel Eliab only."
  },
  "servers": [
    {
      "url": "https://whitestone-download-tracker.vibelock.workers.dev"
    }
  ],
  "paths": {
    "/v1/example": {
      "get": {
        "operationId": "whitestoneExample",
        "summary": "Sample JSON payload. Does not increment downloads.",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/health": {
      "get": {
        "operationId": "whitestone_health",
        "summary": "Liveness. Does not increment download KV. Never stores case files.",
        "responses": {
          "200": {
            "description": "ok"
          }
        }
      }
    },
    "/v1/skill": {
      "get": {
        "operationId": "whitestone_skill",
        "summary": "Live skill markdown. Does not increment downloads.",
        "responses": {
          "200": {
            "description": "markdown"
          }
        }
      }
    },
    "/v1/mesh": {
      "get": {
        "operationId": "whitestone_mesh_status_proxy",
        "summary": "PROXY to aziel-runtime GET /v1/mesh. Suite mesh status. Default OFF. QNS-CD-1.0 cross-map. Not a local op. Not a public qnsd proxy.",
        "tags": [
          "mesh"
        ],
        "responses": {
          "200": {
            "description": "aziel-runtime mesh envelope"
          }
        }
      },
      "head": {
        "operationId": "whitestone_mesh_status_head_proxy",
        "summary": "PROXY to aziel-runtime GET /v1/mesh. Suite mesh status. Default OFF. QNS-CD-1.0 cross-map. Not a local op. Not a public qnsd proxy.",
        "tags": [
          "mesh"
        ],
        "responses": {
          "200": {
            "description": "aziel-runtime mesh envelope"
          }
        }
      }
    },
    "/v1/mesh/status": {
      "get": {
        "operationId": "whitestone_mesh_status_proxy",
        "summary": "PROXY alias of GET /v1/mesh. Not a local op.",
        "tags": [
          "mesh"
        ],
        "responses": {
          "200": {
            "description": "aziel-runtime mesh envelope"
          }
        }
      },
      "head": {
        "operationId": "whitestone_mesh_status_head_proxy",
        "summary": "PROXY alias of GET /v1/mesh. Not a local op.",
        "tags": [
          "mesh"
        ],
        "responses": {
          "200": {
            "description": "aziel-runtime mesh envelope"
          }
        }
      }
    },
    "/v1/mesh/nodes": {
      "get": {
        "operationId": "whitestone_mesh_nodes_proxy",
        "summary": "PROXY to aziel-runtime GET /v1/mesh/nodes. Live Nodes (5-minute presence). Not a local op.",
        "tags": [
          "mesh"
        ],
        "responses": {
          "200": {
            "description": "aziel-runtime mesh envelope"
          }
        }
      },
      "head": {
        "operationId": "whitestone_mesh_nodes_head_proxy",
        "summary": "PROXY to aziel-runtime GET /v1/mesh/nodes. Live Nodes (5-minute presence). Not a local op.",
        "tags": [
          "mesh"
        ],
        "responses": {
          "200": {
            "description": "aziel-runtime mesh envelope"
          }
        }
      }
    },
    "/v1/mesh/enable": {
      "post": {
        "operationId": "whitestone_mesh_enable_proxy",
        "summary": "PROXY to aziel-runtime POST /v1/mesh/enable. Operator bearer required. Rate-limited. Not a local op.",
        "tags": [
          "mesh"
        ],
        "responses": {
          "200": {
            "description": "aziel-runtime mesh envelope"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      }
    },
    "/v1/mesh/disable": {
      "post": {
        "operationId": "whitestone_mesh_disable_proxy",
        "summary": "PROXY to aziel-runtime POST /v1/mesh/disable. Always allowed. Not a local op.",
        "tags": [
          "mesh"
        ],
        "responses": {
          "200": {
            "description": "aziel-runtime mesh envelope"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      }
    },
    "/v1/mesh/join": {
      "post": {
        "operationId": "whitestone_mesh_join_proxy",
        "summary": "PROXY to aziel-runtime POST /v1/mesh/join. Body {product, node_id?, label?, presence?}. Refused while OFF. Not a local op.",
        "tags": [
          "mesh"
        ],
        "responses": {
          "200": {
            "description": "aziel-runtime mesh envelope"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      }
    },
    "/v1/mesh/heartbeat": {
      "post": {
        "operationId": "whitestone_mesh_heartbeat_proxy",
        "summary": "PROXY to aziel-runtime POST /v1/mesh/heartbeat. Body {node_id}. Not a local op.",
        "tags": [
          "mesh"
        ],
        "responses": {
          "200": {
            "description": "aziel-runtime mesh envelope"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      }
    },
    "/v1/mesh/leave": {
      "post": {
        "operationId": "whitestone_mesh_leave_proxy",
        "summary": "PROXY to aziel-runtime POST /v1/mesh/leave. Body {node_id}. Not a local op.",
        "tags": [
          "mesh"
        ],
        "responses": {
          "200": {
            "description": "aziel-runtime mesh envelope"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      }
    },
    "/v1/mesh/broadcast": {
      "post": {
        "operationId": "whitestone_mesh_broadcast_proxy",
        "summary": "PROXY to aziel-runtime POST /v1/mesh/broadcast. SHA-256 receipt only. Not AnonBroadcast upload. Not a local op.",
        "tags": [
          "mesh"
        ],
        "responses": {
          "200": {
            "description": "aziel-runtime mesh envelope"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      }
    }
  }
}