{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/h2o-ai/main/json-schema/h2o-ai-ai-assistant-collection-link-schema.json",
  "title": "AiAssistantCollectionLink",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/h2o-ai-ai-assistants-api-openapi.yml#/components/schemas/AiAssistantCollectionLink",
  "required": [
    "junction_id",
    "collection_id",
    "access_mode",
    "collection_name",
    "document_count"
  ],
  "properties": {
    "junction_id": {
      "type": "string",
      "format": "uuid"
    },
    "collection_id": {
      "type": "string",
      "format": "uuid"
    },
    "access_mode": {
      "type": "string"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "collection_name": {
      "type": "string"
    },
    "collection_description": {
      "type": [
        "string",
        "null"
      ]
    },
    "user_id": {
      "type": "string",
      "format": "uuid"
    },
    "username": {
      "type": "string"
    },
    "document_count": {
      "type": "integer"
    }
  }
}