{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fastdrop-dev/json-schema/fastdrop-dev-server-list-schema.json",
  "title": "ServerList",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fastdrop-dev-openapi.json#/components/schemas/ServerList",
  "type": "object",
  "required": [
    "servers",
    "metadata"
  ],
  "properties": {
    "servers": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ServerEntry"
      }
    },
    "metadata": {
      "type": "object",
      "required": [
        "count"
      ],
      "properties": {
        "count": {
          "type": "integer",
          "minimum": 0
        },
        "nextCursor": {
          "type": "string",
          "description": "Cursor for the next page; omitted when exhausted"
        }
      }
    }
  },
  "$defs": {
    "ServerEntry": {
      "type": "object",
      "required": [
        "server",
        "_meta"
      ],
      "properties": {
        "server": {
          "type": "object",
          "description": "MCP Registry server record (name, version, remotes, packages, description)",
          "properties": {
            "name": {
              "type": "string"
            },
            "version": {
              "type": "string"
            },
            "description": {
              "type": "string"
            },
            "remotes": {
              "type": "array",
              "items": {
                "type": "object"
              }
            }
          },
          "required": [
            "name",
            "version",
            "description"
          ]
        },
        "_meta": {
          "type": "object",
          "properties": {
            "io.modelcontextprotocol.registry/official": {
              "type": "object",
              "properties": {
                "status": {
                  "type": "string"
                },
                "publishedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "isLatest": {
                  "type": "boolean"
                }
              }
            },
            "dev.fastdrop/verification": {
              "$ref": "#/$defs/VerificationMeta"
            }
          }
        }
      }
    },
    "VerificationMeta": {
      "type": "object",
      "description": "FastDrop probe results for one MCP endpoint",
      "properties": {
        "last_probed": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "answered": {
          "type": "boolean",
          "description": "True when the endpoint completed initialize + tools/list"
        },
        "keyed": {
          "type": "boolean",
          "description": "True when the probe used a maker-supplied read-only credential"
        },
        "tools_count": {
          "type": "integer"
        },
        "consecutive_failures": {
          "type": "integer"
        },
        "package_only": {
          "type": "boolean",
          "description": "stdio package server - no URL to probe"
        },
        "product_slug": {
          "type": [
            "string",
            "null"
          ]
        },
        "product_url": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        }
      }
    }
  }
}