{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/the-driscoll-com/json-schema/the-driscoll-com-mcp-json-rpc-response-schema.json",
  "title": "McpJsonRpcResponse",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/the-driscoll-com-openapi.json#/components/schemas/McpJsonRpcResponse",
  "type": "object",
  "additionalProperties": true,
  "required": [
    "jsonrpc",
    "id"
  ],
  "properties": {
    "jsonrpc": {
      "type": "string",
      "const": "2.0"
    },
    "id": {
      "type": [
        "string",
        "number",
        "null"
      ]
    },
    "result": {
      "oneOf": [
        {
          "$ref": "#/$defs/McpModernCompleteResult"
        },
        {
          "type": "object",
          "description": "Negotiated legacy 2025 MCP result. Its method-specific shape is defined by the selected legacy protocol revision.",
          "not": {
            "required": [
              "resultType"
            ]
          }
        }
      ]
    },
    "error": {
      "type": "object"
    }
  },
  "$defs": {
    "McpModernCompleteResult": {
      "type": "object",
      "additionalProperties": true,
      "required": [
        "resultType",
        "_meta"
      ],
      "properties": {
        "resultType": {
          "type": "string",
          "const": "complete"
        },
        "_meta": {
          "type": "object",
          "required": [
            "io.modelcontextprotocol/serverInfo"
          ],
          "properties": {
            "io.modelcontextprotocol/serverInfo": {
              "$ref": "#/$defs/McpServerInfo"
            }
          },
          "additionalProperties": true
        }
      }
    },
    "McpServerInfo": {
      "type": "object",
      "additionalProperties": true,
      "required": [
        "name",
        "version"
      ],
      "properties": {
        "name": {
          "type": "string",
          "const": "the-driscoll-public-ai"
        },
        "title": {
          "type": "string"
        },
        "version": {
          "type": "string",
          "const": "2.4.3"
        },
        "websiteUrl": {
          "type": "string",
          "format": "uri"
        }
      }
    }
  }
}