{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pixeldojo-ai/json-schema/pixeldojo-ai-brand-overlay-request-schema.json",
  "title": "Brand OverlaysRequest",
  "description": "Add a hook title, a lower-third callout, a review card, a progress bar, a countdown timer, a price tag, an offer badge and a branded end card to any video. Exact text in your brand color.",
  "x-generated": "2026-12-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pixeldojo-ai-openapi.yml#/components/schemas/BrandOverlayRequest",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "video": {
      "title": "Video",
      "description": "Reference video URL.",
      "type": "string",
      "format": "uri"
    },
    "color": {
      "title": "Color",
      "description": "Brand color as #RRGGBB: fills the offer badge and the CTA button. Defaults to #FFE500.",
      "type": "string"
    },
    "hook_text": {
      "title": "Hook text",
      "description": "Hook title for the first seconds, 5-8 words, e.g. \"Octopuses have THREE hearts?\".",
      "type": "string"
    },
    "hook_duration": {
      "title": "Hook duration",
      "description": "Seconds the hook stays. Defaults to 2.5.",
      "type": "number",
      "minimum": 1,
      "maximum": 6
    },
    "callout_title": {
      "title": "Callout title",
      "description": "Lower third: a benefit (\"Ships in 24h\") or a name.",
      "type": "string"
    },
    "callout_subtitle": {
      "title": "Callout subtitle",
      "description": "Second line under the label, e.g. a title or detail.",
      "type": "string"
    },
    "callout_style": {
      "title": "Callout style",
      "description": "label (default): a brand-colored box. classic: the broadcast lower third, an accent bar beside a bold name and a lighter title (bottom band on 16:9).",
      "type": "string",
      "enum": [
        "label",
        "classic"
      ]
    },
    "callout_start": {
      "title": "Callout start",
      "description": "Second the label slides in. Defaults to 3.",
      "type": "number",
      "minimum": 0,
      "maximum": 600
    },
    "callout_duration": {
      "title": "Callout duration",
      "description": "Seconds it stays. Defaults to 4.",
      "type": "number",
      "minimum": 1,
      "maximum": 10
    },
    "review_quote": {
      "title": "Review quote",
      "description": "Review card quote, e.g. \"Best mug I have ever owned\".",
      "type": "string"
    },
    "review_name": {
      "title": "Review name",
      "description": "Who said it, e.g. \"Jess, verified buyer\".",
      "type": "string"
    },
    "review_stars": {
      "title": "Review stars",
      "description": "Stars on the review card. Defaults to 5.",
      "type": "integer",
      "minimum": 1,
      "maximum": 5
    },
    "review_start": {
      "title": "Review start",
      "description": "Second the review card appears. Defaults to just after the hook.",
      "type": "number",
      "minimum": 0,
      "maximum": 600
    },
    "review_duration": {
      "title": "Review duration",
      "description": "Seconds it stays. Defaults to 4.",
      "type": "number",
      "minimum": 1,
      "maximum": 10
    },
    "progress_bar": {
      "title": "Progress bar",
      "description": "A thin bar in the brand color across the top that fills as the video plays.",
      "type": "boolean"
    },
    "countdown_from": {
      "title": "Countdown from",
      "description": "Countdown start, e.g. \"23:59:59\"; the digits tick down each second it is on screen.",
      "type": "string"
    },
    "countdown_label": {
      "title": "Countdown label",
      "description": "Words above the timer. Defaults to \"Ends in\".",
      "type": "string"
    },
    "countdown_start": {
      "title": "Countdown start",
      "description": "Second the timer appears. Defaults to 0.5, or just after the hook.",
      "type": "number",
      "minimum": 0,
      "maximum": 600
    },
    "countdown_duration": {
      "title": "Countdown duration",
      "description": "Seconds it stays. Defaults to 4.",
      "type": "number",
      "minimum": 1,
      "maximum": 10
    },
    "price_now": {
      "title": "Price now",
      "description": "Price tag, the price to pay, e.g. \"$49\".",
      "type": "string"
    },
    "price_was": {
      "title": "Price was",
      "description": "Old price, shown struck through, e.g. \"$79\".",
      "type": "string"
    },
    "price_label": {
      "title": "Price label",
      "description": "Small line under the price, e.g. \"Today only\".",
      "type": "string"
    },
    "price_start": {
      "title": "Price start",
      "description": "Second the tag appears. Defaults to just after the hook.",
      "type": "number",
      "minimum": 0,
      "maximum": 600
    },
    "price_duration": {
      "title": "Price duration",
      "description": "Seconds it stays. Defaults to 4.",
      "type": "number",
      "minimum": 1,
      "maximum": 10
    },
    "offer_text": {
      "title": "Offer text",
      "description": "Offer callout headline, e.g. \"50% OFF\".",
      "type": "string"
    },
    "offer_subtext": {
      "title": "Offer subtext",
      "description": "Small line under the offer, e.g. \"This week only\".",
      "type": "string"
    },
    "offer_start": {
      "title": "Offer start",
      "description": "Second the offer appears. Defaults to 0.5, or just after the hook.",
      "type": "number",
      "minimum": 0,
      "maximum": 600
    },
    "offer_duration": {
      "title": "Offer duration",
      "description": "Seconds the callout stays. Defaults to 3.",
      "type": "number",
      "minimum": 1,
      "maximum": 10
    },
    "offer_position": {
      "title": "Offer position",
      "description": "top (default) or bottom, above where captions sit.",
      "type": "string",
      "enum": [
        "top",
        "bottom"
      ]
    },
    "end_headline": {
      "title": "End headline",
      "description": "End card headline. Setting it adds the end card.",
      "type": "string"
    },
    "end_cta": {
      "title": "End cta",
      "description": "End card button text, e.g. \"Shop now\".",
      "type": "string"
    },
    "end_url": {
      "title": "End URL",
      "description": "End card web address, e.g. \"pixeldojo.ai\".",
      "type": "string",
      "format": "uri"
    },
    "logo_url": {
      "title": "Logo URL",
      "description": "End card logo: a PNG (transparent works best) or JPG URL.",
      "type": "string",
      "format": "uri"
    },
    "end_duration": {
      "title": "End duration",
      "description": "Seconds the end card holds after the video. Defaults to 3.",
      "type": "number",
      "minimum": 2,
      "maximum": 5
    },
    "webhook_url": {
      "type": "string",
      "format": "uri",
      "description": "Optional webhook callback for terminal job events."
    }
  },
  "required": [
    "video"
  ]
}