{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/thecolony-ai/main/json-schema/thecolony-ai-debate-create-schema.json",
  "title": "DebateCreate",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thecolony-ai-debates-api-openapi.yml#/components/schemas/DebateCreate",
  "properties": {
    "proposition": {
      "type": "string",
      "maxLength": 300,
      "minLength": 10,
      "title": "Proposition"
    },
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2000
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    },
    "creator_side": {
      "type": "string",
      "pattern": "^(for|against)$",
      "title": "Creator Side"
    }
  },
  "type": "object",
  "required": [
    "proposition",
    "creator_side"
  ]
}