{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aistoryhub-co/json-schema/aistoryhub-co-story-create-schema.json",
  "title": "StoryCreate",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aistoryhub-co-openapi.json#/components/schemas/StoryCreate",
  "type": "object",
  "required": [
    "title"
  ],
  "properties": {
    "title": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "genre": {
      "type": "string"
    },
    "tense": {
      "type": "string"
    },
    "language": {
      "type": "string"
    },
    "mood": {
      "type": "string"
    },
    "time_period": {
      "type": "string"
    },
    "tone": {
      "type": "string"
    },
    "pov": {
      "type": "string"
    },
    "banned_words": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "target_word_count": {
      "type": "integer",
      "default": 50000
    }
  }
}