{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/watermelon-sh/json-schema/watermelon-sh-api-docs-index-response-schema.json",
  "title": "ApiDocsIndexResponse",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ui-openapi.json#/components/schemas/ApiDocsIndexResponse",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "version": {
      "type": "string"
    },
    "canonicalBase": {
      "type": "string",
      "format": "uri"
    },
    "compatibilityAliases": {
      "type": "boolean"
    },
    "deprecationPolicy": {
      "type": "string"
    },
    "auth": {
      "$ref": "#/$defs/PublicAuthSummary"
    },
    "resources": {
      "$ref": "#/$defs/ApiDocsResources"
    },
    "openapi": {
      "type": "string",
      "format": "uri"
    },
    "endpoints": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "name",
    "version",
    "canonicalBase",
    "compatibilityAliases",
    "deprecationPolicy",
    "auth",
    "resources",
    "openapi",
    "endpoints"
  ],
  "$defs": {
    "ApiDocsResources": {
      "type": "object",
      "properties": {
        "developers": {
          "type": "string",
          "format": "uri"
        },
        "authDocs": {
          "type": "string",
          "format": "uri"
        },
        "mcpDocs": {
          "type": "string",
          "format": "uri"
        },
        "mcpServer": {
          "type": "string",
          "format": "uri"
        }
      },
      "required": [
        "developers",
        "authDocs",
        "mcpDocs",
        "mcpServer"
      ]
    },
    "PublicAuthSummary": {
      "type": "object",
      "properties": {
        "required": {
          "type": "boolean"
        },
        "mode": {
          "type": "string",
          "enum": [
            "none"
          ]
        },
        "docs": {
          "type": "string",
          "format": "uri"
        }
      },
      "required": [
        "required",
        "mode",
        "docs"
      ]
    }
  }
}