{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bookmyhost/json-schema/bookmyhost-mcppublic-server-schema.json",
  "title": "MCPPublicServer",
  "description": "Safe params for public MCP servers",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bookmyhost-beta-mcp-api-openapi.yml#/components/schemas/MCPPublicServer",
  "properties": {
    "server_id": {
      "type": "string",
      "title": "Server Id"
    },
    "name": {
      "type": "string",
      "title": "Name"
    },
    "alias": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Alias"
    },
    "server_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Server Name"
    },
    "transport": {
      "type": "string",
      "enum": [
        "sse",
        "http",
        "stdio"
      ],
      "title": "Transport"
    },
    "spec_path": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Spec Path"
    },
    "auth_type": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "none",
            "api_key",
            "bearer_token",
            "basic",
            "authorization",
            "oauth2",
            "aws_sigv4",
            "token",
            "oauth2_token_exchange",
            "true_passthrough",
            "oauth_delegate"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Auth Type"
    },
    "mcp_info": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Mcp Info"
    }
  },
  "type": "object",
  "required": [
    "server_id",
    "name",
    "transport"
  ]
}