{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/financegenius-ai/json-schema/financegenius-ai-article-in-schema.json",
  "title": "ArticleIn",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/financegenius-ai-crm-console-knowledge-base-api-openapi.yml#/components/schemas/ArticleIn",
  "properties": {
    "slug": {
      "type": "string",
      "maxLength": 64,
      "minLength": 3,
      "title": "Slug"
    },
    "language": {
      "type": "string",
      "enum": [
        "en",
        "hi"
      ],
      "title": "Language",
      "default": "en"
    },
    "title": {
      "type": "string",
      "maxLength": 120,
      "minLength": 3,
      "title": "Title"
    },
    "body": {
      "type": "string",
      "maxLength": 8000,
      "minLength": 1,
      "title": "Body"
    },
    "category": {
      "type": "string",
      "maxLength": 20,
      "title": "Category"
    },
    "article_ref": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Article Ref"
    }
  },
  "type": "object",
  "required": [
    "slug",
    "title",
    "body",
    "category"
  ]
}