{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kintoolkit-com/json-schema/kintoolkit-com-catalog-schema.json",
  "title": "Catalog",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kintoolkit-com-openapi.json#/components/schemas/Catalog",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "documentation": {
      "type": "string",
      "format": "uri"
    },
    "apiCatalog": {
      "type": "string",
      "format": "uri"
    },
    "openapi": {
      "type": "string",
      "format": "uri"
    },
    "purpose": {
      "type": "string"
    },
    "calculators": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "markdown": {
            "type": "string",
            "format": "uri"
          },
          "manufacturerSource": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "title",
          "description",
          "url",
          "markdown",
          "manufacturerSource"
        ]
      }
    },
    "labelReferences": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "markdown": {
            "type": "string",
            "format": "uri"
          },
          "manufacturerSource": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "title",
          "description",
          "url",
          "markdown",
          "manufacturerSource"
        ]
      }
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "title",
          "url"
        ]
      }
    },
    "mcp": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "format": "uri"
        },
        "transport": {
          "const": "streamable-http"
        },
        "authentication": {
          "const": "none"
        },
        "stateless": {
          "const": true
        },
        "tools": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "list_calculator_bottles",
              "get_label_directions",
              "find_label_references",
              "list_question_guides",
              "get_question_guide"
            ]
          }
        },
        "scope": {
          "type": "string"
        },
        "serverCard": {
          "type": "string",
          "format": "uri"
        },
        "documentation": {
          "type": "string",
          "format": "uri"
        },
        "markdown": {
          "type": "string",
          "format": "uri"
        }
      },
      "required": [
        "url",
        "transport",
        "authentication",
        "stateless",
        "tools",
        "scope",
        "serverCard",
        "documentation",
        "markdown"
      ]
    }
  },
  "required": [
    "name",
    "url",
    "documentation",
    "apiCatalog",
    "purpose",
    "calculators",
    "labelReferences",
    "sources",
    "mcp"
  ]
}