{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aidelly-ai/json-schema/aidelly-ai-create-idea-request-schema.json",
  "title": "CreateIdeaRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aidelly-ai-ideas-api-openapi.yml#/components/schemas/CreateIdeaRequest",
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "maxLength": 200,
      "description": "Optional human title for the idea card."
    },
    "origin": {
      "$ref": "#/$defs/IdeaOrigin"
    },
    "seed_topic": {
      "type": "string",
      "maxLength": 500,
      "description": "Originating prompt or trending-topic seed text. When supplied without\nan `initial_body`, this text seeds the idea's first entry.\n"
    },
    "initial_body": {
      "type": "string",
      "maxLength": 20000,
      "description": "Optional starter text. Stored as the idea's first timeline entry so\nthe editor opens with something to build on.\n"
    },
    "tags": {
      "type": "array",
      "maxItems": 12,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 40
      }
    }
  },
  "$defs": {
    "IdeaOrigin": {
      "type": "string",
      "enum": [
        "blank",
        "prompt",
        "trending_topic"
      ],
      "description": "How the idea was started."
    }
  }
}