{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stormmcp/json-schema/stormmcp-mcp-registry-server-list-response-schema.json",
  "title": "McpRegistryServerListResponse",
  "description": "MCP Registry server-list response.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stormmcp-mcpregistry-api-openapi.yml#/components/schemas/McpRegistryServerListResponse",
  "type": "object",
  "properties": {
    "servers": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/McpRegistryServerResponse"
      },
      "description": "Gets or sets the returned servers."
    },
    "metadata": {
      "description": "Gets or sets pagination metadata.",
      "$ref": "#/$defs/McpRegistryListMetadata"
    }
  },
  "$defs": {
    "McpRegistryListMetadata": {
      "type": "object",
      "properties": {
        "count": {
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "type": [
            "integer",
            "string"
          ],
          "description": "Gets or sets the count of returned records.",
          "format": "int32"
        },
        "nextCursor": {
          "type": [
            "null",
            "string"
          ],
          "description": "Gets or sets the opaque cursor for the next page."
        }
      },
      "description": "Server-list pagination metadata."
    },
    "McpRegistryRemote": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "Gets or sets the remote transport type."
        },
        "url": {
          "type": "string",
          "description": "Gets or sets the remote transport URL."
        }
      },
      "description": "MCP Registry remote transport definition."
    },
    "McpRegistryServerDetail": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Gets or sets the stable registry name."
        },
        "title": {
          "type": "string",
          "description": "Gets or sets the gateway display title."
        },
        "description": {
          "type": "string",
          "description": "Gets or sets the public description."
        },
        "version": {
          "type": "string",
          "description": "Gets or sets the synthetic registry version."
        },
        "remotes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/McpRegistryRemote"
          },
          "description": "Gets or sets remote transport definitions."
        }
      },
      "description": "MCP Registry server detail."
    },
    "McpRegistryServerResponse": {
      "type": "object",
      "properties": {
        "server": {
          "description": "Gets or sets the server detail.",
          "$ref": "#/$defs/McpRegistryServerDetail"
        },
        "_meta": {
          "description": "Gets or sets non-sensitive registry metadata."
        }
      },
      "description": "MCP Registry server envelope."
    }
  }
}