{
    "title": "kb_articles",
    "type": "object",
    "properties": {
        "id": {
            "type": "integer",
            "description": "Primary key, auto-increment"
        },
        "title": {
            "type": "string",
            "description": "Article title"
        },
        "slug": {
            "type": "string",
            "description": "URL slug"
        },
        "source": {
            "type": "string",
            "description": "website|whmcs_product|faq|manual"
        },
        "source_url": {
            "type": "string",
            "description": "Origin URL when crawled"
        },
        "content": {
            "type": "string",
            "description": "Article body in markdown/plain text"
        },
        "tags": {
            "type": "string",
            "description": "Comma-separated tags"
        },
        "is_published": {
            "type": "boolean",
            "description": "Whether article is included in KB search"
        }
    },
    "required": [
        "id",
        "title",
        "content",
        "source"
    ]
}