{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/frase-io/json-schema/frase-io-content-outline-section-schema.json",
  "title": "ContentOutlineSection",
  "description": "A section in the content outline. Each section represents a heading that will be generated as a content section.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/frase-io-briefs-api-openapi.yml#/components/schemas/ContentOutlineSection",
  "type": "object",
  "required": [
    "heading",
    "level"
  ],
  "properties": {
    "heading": {
      "type": "string",
      "maxLength": 500,
      "description": "The section heading text"
    },
    "level": {
      "type": "integer",
      "minimum": 1,
      "maximum": 4,
      "description": "Heading level (1=H1, 2=H2, 3=H3, 4=H4)"
    },
    "key_points": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "default": [],
      "description": "Key points to cover in this section"
    },
    "suggested_word_count": {
      "type": "integer",
      "minimum": 0,
      "default": 200,
      "description": "Suggested word count for this section"
    },
    "generation_mode": {
      "type": "string",
      "enum": [
        "ai",
        "manual"
      ],
      "default": "ai",
      "description": "Whether AI generates this section ('ai') or user provides content ('manual')"
    }
  }
}