{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/quiz-video/json-schema/quiz-video-hook-input-schema.json",
  "title": "HookInput",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/quiz-video-openapi.json#/components/schemas/HookInput",
  "type": "object",
  "properties": {
    "hookType": {
      "type": "string",
      "enum": [
        "engagement",
        "reminder",
        "conclusion",
        "custom"
      ]
    },
    "positionType": {
      "type": "string",
      "enum": [
        "after_question",
        "time_based",
        "start",
        "end"
      ]
    },
    "positionValue": {
      "type": "integer"
    },
    "title": {
      "type": "string"
    },
    "content": {
      "type": "string"
    },
    "emoji": {
      "type": "string"
    },
    "animationStyle": {
      "type": "string",
      "enum": [
        "fade",
        "bounce",
        "slide",
        "zoom"
      ],
      "default": "fade"
    },
    "displayDuration": {
      "type": "integer",
      "default": 5
    },
    "ttsEnabled": {
      "type": "boolean",
      "default": true
    },
    "ttsText": {
      "type": "string"
    },
    "themeColor": {
      "type": "string"
    },
    "backgroundColor": {
      "type": "string"
    },
    "fontSize": {
      "type": "integer",
      "default": 64
    },
    "enabled": {
      "type": "boolean",
      "default": true
    },
    "introTemplate": {
      "type": "string"
    }
  }
}