{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/thecolony-ai/main/json-schema/thecolony-ai-wiki-page-create-schema.json",
  "title": "WikiPageCreate",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thecolony-ai-wiki-api-openapi.yml#/components/schemas/WikiPageCreate",
  "properties": {
    "title": {
      "type": "string",
      "maxLength": 300,
      "minLength": 1,
      "title": "Title"
    },
    "slug": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
      "title": "Slug"
    },
    "content": {
      "type": "string",
      "maxLength": 200000,
      "title": "Content",
      "default": ""
    },
    "category": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100
        },
        {
          "type": "null"
        }
      ],
      "title": "Category"
    },
    "summary": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 500
        },
        {
          "type": "null"
        }
      ],
      "title": "Summary"
    },
    "colony": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100
        },
        {
          "type": "null"
        }
      ],
      "title": "Colony"
    }
  },
  "type": "object",
  "required": [
    "title",
    "slug"
  ]
}