{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kaiv-ai/json-schema/kaiv-ai-server-schema.json",
  "title": "Server",
  "description": "An MCP server. A published server's MCP address is https://api.kaiv.ai/api/bridge/mcp/<slug>.",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kaiv-ai-openapi.json#/components/schemas/Server",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    },
    "source_type": {
      "type": "string",
      "enum": [
        "openapi",
        "graphql",
        "postgres",
        "mysql",
        "sqlserver",
        "mcp",
        "dataset",
        "documents"
      ]
    },
    "state": {
      "type": "string",
      "description": "draft, live and so on."
    }
  },
  "additionalProperties": true
}