{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/flowra-dev/json-schema/flowra-dev-knowledge-collection-info-dto-array-success-response-schema.json",
  "title": "KnowledgeCollectionInfoDtoArraySuccessResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/flowra-dev-knowledge-api-openapi.yml#/components/schemas/KnowledgeCollectionInfoDtoArraySuccessResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "Success status"
    },
    "message": {
      "type": "string",
      "description": "Success message"
    },
    "data": {
      "description": "Response data",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Collection ID (use for knowledgeCollectionIds when creating agents)"
          },
          "name": {
            "type": "string",
            "description": "Collection name"
          },
          "chunkCount": {
            "type": "number",
            "description": "Number of chunks in this collection"
          },
          "exposeViaMcp": {
            "type": "boolean",
            "description": "When true, MCP tools may list and search this collection (read-only)",
            "default": false
          },
          "ownerEUID": {
            "type": "string",
            "description": "External user id of the collection owner (required for non-admin knowledge tools)"
          }
        },
        "required": [
          "id",
          "name"
        ]
      }
    }
  },
  "required": [
    "success",
    "message",
    "data"
  ]
}