{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/templated-email/json-schema/templated-email-guided-brief-schema.json",
  "title": "GuidedBrief",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/templated-email-openapi.yaml#/components/schemas/GuidedBrief",
  "type": "object",
  "required": [
    "purpose",
    "content"
  ],
  "properties": {
    "purpose": {
      "type": "string",
      "maxLength": 200
    },
    "content": {
      "type": "string",
      "maxLength": 5000
    },
    "vibe": {
      "type": "string",
      "maxLength": 200
    },
    "layout": {
      "type": "string",
      "enum": [
        "single-column",
        "hero-two-col",
        "zigzag",
        "grid",
        "ai-decide"
      ]
    },
    "background": {
      "type": "string",
      "enum": [
        "white-clean",
        "soft-tint",
        "bold-color",
        "photo-forward"
      ]
    },
    "images": {
      "type": "string",
      "enum": [
        "own",
        "stock",
        "none"
      ]
    },
    "followUp": {
      "type": "object",
      "properties": {
        "question": {
          "type": "string",
          "maxLength": 500
        },
        "answer": {
          "type": "string",
          "maxLength": 1000
        }
      }
    }
  }
}