{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/docsbot-ai/json-schema/docsbot-ai-bot-results-schema.json",
  "title": "BotResults",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/docsbot-ai-libraries-api-openapi.yml#/components/schemas/BotResults",
  "properties": {
    "libraries": {
      "items": {
        "$ref": "#/$defs/Bot"
      },
      "type": "array",
      "title": "Libraries",
      "description": "List of libraries that can be searched"
    }
  },
  "type": "object",
  "required": [
    "libraries"
  ],
  "$defs": {
    "Bot": {
      "properties": {
        "name": {
          "type": "string",
          "title": "Name of the bot library"
        },
        "description": {
          "type": "string",
          "title": "Description of the bot library"
        },
        "team_id": {
          "type": "string",
          "title": "team_id to use for /search endpoint to search this library"
        },
        "bot_id": {
          "type": "string",
          "title": "bot_id to use for /search endpoint to search this library"
        }
      },
      "type": "object",
      "required": [
        "name",
        "description",
        "team_id",
        "bot_id"
      ],
      "title": "Bot"
    }
  }
}