{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/classifier-dev/json-schema/classifier-dev-agent-index-schema.json",
  "title": "AgentIndex",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/classifier-dev-docs-api-openapi.yml#/components/schemas/AgentIndex",
  "type": "object",
  "required": [
    "name",
    "version",
    "api",
    "mcp",
    "limits"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "version": {
      "type": "string"
    },
    "authentication": {
      "type": "object",
      "properties": {
        "required": {
          "type": "boolean"
        },
        "optional_bearer": {
          "type": "string"
        },
        "docs": {
          "type": "string"
        }
      }
    },
    "api": {
      "type": "object",
      "properties": {
        "classify": {
          "type": "object",
          "properties": {
            "method": {
              "type": "string"
            },
            "url": {
              "type": "string"
            },
            "alias": {
              "type": "string"
            }
          }
        },
        "classify_one": {
          "type": "object",
          "properties": {
            "method": {
              "type": "string"
            },
            "url": {
              "type": "string"
            }
          }
        },
        "openapi": {
          "type": "string"
        }
      }
    },
    "mcp": {
      "type": "object",
      "properties": {
        "tools": {
          "type": "string"
        },
        "docs": {
          "type": "string"
        },
        "card": {
          "type": "string"
        },
        "setup": {
          "type": "string"
        }
      }
    },
    "cli": {
      "type": "object",
      "properties": {
        "install": {
          "type": "string"
        }
      }
    },
    "skill": {
      "type": "object",
      "properties": {
        "install": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    },
    "limits": {
      "type": "object",
      "properties": {
        "fast": {
          "type": "string"
        },
        "smart": {
          "type": "string"
        },
        "headers": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "pricing": {
      "type": "object",
      "properties": {
        "price": {
          "type": "number"
        },
        "currency": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    },
    "docs": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "discovery": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      }
    }
  }
}