{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/msnr-create-jp/json-schema/msnr-create-jp-thread-create-schema.json",
  "title": "ThreadCreate",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/symbiosis-openapi.json#/components/schemas/ThreadCreate",
  "type": "object",
  "required": [
    "title",
    "author_type",
    "author_name",
    "proposed_rule",
    "why_required"
  ],
  "properties": {
    "title": {
      "type": "string",
      "maxLength": 200
    },
    "category": {
      "type": [
        "string",
        "null"
      ]
    },
    "author_type": {
      "$ref": "#/$defs/AuthorType"
    },
    "author_name": {
      "type": "string",
      "maxLength": 100
    },
    "proposed_rule": {
      "type": "string"
    },
    "why_required": {
      "type": "string",
      "description": "そのルールが必要な理由。省略不可。"
    },
    "status": {
      "type": "string",
      "enum": [
        "draft",
        "review",
        "passed",
        "rejected",
        "revised",
        "amended",
        "repealed"
      ],
      "default": "draft"
    }
  },
  "$defs": {
    "AuthorType": {
      "type": "string",
      "enum": [
        "human",
        "local_llm",
        "wild_ai",
        "claude"
      ]
    }
  }
}