{
  "openapi": "3.1.0",
  "info": {
    "title": "LrrK Experimental Node Registry",
    "version": "1.0.0",
    "description": "Deterministic notebook and data fixtures for registry, API, MCP and disposable-profile validation. No record is live telemetry or hardware-test evidence."
  },
  "servers": [
    {
      "url": "https://node-registry.lrrk.ai"
    }
  ],
  "paths": {
    "/api/manifest": {
      "get": {
        "operationId": "getManifest",
        "responses": {
          "200": {
            "description": "Versioned public synthetic fixture manifest"
          }
        }
      }
    },
    "/api/nodes": {
      "get": {
        "operationId": "listNodes",
        "responses": {
          "200": {
            "description": "Public node list"
          }
        }
      }
    },
    "/api/nodes/{id}": {
      "get": {
        "operationId": "getNode",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Node"
          },
          "404": {
            "description": "Unknown node"
          }
        }
      }
    },
    "/api/experiments": {
      "get": {
        "operationId": "searchExperiments",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "schema": {
              "type": "string",
              "maxLength": 120
            }
          },
          {
            "name": "node",
            "in": "query",
            "schema": {
              "type": "string",
              "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
            }
          },
          {
            "name": "category",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "locomotion",
                "manipulation",
                "perception"
              ]
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "reference_ready"
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 25,
              "default": 10
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Bounded experiment results"
          }
        }
      }
    },
    "/api/experiments/{id}": {
      "get": {
        "operationId": "getExperiment",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Experiment with artifact metadata"
          },
          "404": {
            "description": "Unknown experiment"
          }
        }
      }
    },
    "/api/artifacts/{id}": {
      "get": {
        "operationId": "getArtifact",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Artifact metadata and download URL"
          },
          "404": {
            "description": "Unknown artifact"
          }
        }
      }
    },
    "/artifacts/{id}/download": {
      "get": {
        "operationId": "downloadArtifact",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Exact synthetic fixture bytes"
          },
          "404": {
            "description": "Unknown artifact"
          }
        }
      }
    },
    "/mcp": {
      "post": {
        "operationId": "mcp",
        "summary": "Read-only MCP Streamable HTTP endpoint",
        "responses": {
          "200": {
            "description": "MCP response"
          }
        }
      }
    }
  }
}