{
  "schemaVersion": "1.2",
  "kind": "template",
  "id": "cybermonday-sale",
  "variantId": "cybermonday-sale",
  "template": "cybermonday",
  "title": "Cyber Monday Sale",
  "url": "https://cliphou.se/templates/cybermonday-sale/",
  "editorUrl": "https://cliphou.se/#/v/cybermonday-sale",
  "templateVersion": 1,
  "latestTemplateVersion": 1,
  "sourceHash": "0c7b42e14e1b7c04",
  "generation": {
    "model": "Claude Opus 5.5",
    "modelId": "claude-opus-5-5",
    "provider": "Anthropic",
    "effort": "medium"
  },
  "siteCommit": "27d0f0df8e4cf1d189d78476bbbb4d8c7f2dacaa",
  "license": "MIT-0",
  "licenseUrl": "https://cliphou.se/license/",
  "price": "Free",
  "attributionRequired": false,
  "format": {
    "aspectRatio": "9:16",
    "width": 1080,
    "height": 1920,
    "fps": 30,
    "durationInFrames": 270,
    "seconds": 9
  },
  "scenes": [
    {
      "type": "title-reveal",
      "label": "Title reveal",
      "from": 0,
      "duration": 80,
      "roles": [
        "brand",
        "headline"
      ]
    },
    {
      "type": "price-reveal",
      "label": "Price reveal",
      "from": 80,
      "duration": 110,
      "roles": [
        "subhead",
        "price",
        "priceNote"
      ]
    },
    {
      "type": "date-card",
      "label": "Date card",
      "from": 190,
      "duration": 80,
      "roles": [
        "date",
        "cta"
      ]
    }
  ],
  "props": {
    "texts": {
      "brand": "VOLT AUDIO",
      "headline": "Cyber Monday",
      "subhead": "Studio headphones, today only",
      "price": "$129",
      "priceNote": "Was $249",
      "date": "Nov 30, ends midnight",
      "cta": "Shop the drop"
    },
    "theme": {
      "background": "#07060f",
      "surface": "#141228",
      "foreground": "#f7f5ff",
      "accent": "#00f0ff",
      "accent2": "#ff2bd6"
    }
  },
  "editableFields": {
    "texts": {
      "brand": {
        "label": "Brand",
        "maxLength": 18,
        "current": "VOLT AUDIO"
      },
      "headline": {
        "label": "Headline",
        "maxLength": 24,
        "current": "Cyber Monday"
      },
      "subhead": {
        "label": "Subhead",
        "maxLength": 52,
        "current": "Studio headphones, today only"
      },
      "price": {
        "label": "Price",
        "maxLength": 12,
        "format": "Include a number, for example $29.",
        "current": "$129"
      },
      "priceNote": {
        "label": "Price note",
        "maxLength": 24,
        "current": "Was $249"
      },
      "date": {
        "label": "Date",
        "maxLength": 32,
        "current": "Nov 30, ends midnight"
      },
      "cta": {
        "label": "Call to action",
        "maxLength": 20,
        "current": "Shop the drop"
      }
    },
    "theme": {
      "background": {
        "format": "#RRGGBB",
        "current": "#07060f"
      },
      "surface": {
        "format": "#RRGGBB",
        "current": "#141228"
      },
      "foreground": {
        "format": "#RRGGBB",
        "current": "#f7f5ff"
      },
      "accent": {
        "format": "#RRGGBB",
        "current": "#00f0ff"
      },
      "accent2": {
        "format": "#RRGGBB",
        "current": "#ff2bd6"
      }
    }
  },
  "jsonSchema": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "texts": {
        "type": "object",
        "properties": {
          "brand": {
            "type": "string",
            "minLength": 1,
            "maxLength": 18,
            "role": "brand"
          },
          "headline": {
            "type": "string",
            "minLength": 1,
            "maxLength": 24,
            "role": "headline"
          },
          "subhead": {
            "type": "string",
            "minLength": 1,
            "maxLength": 52,
            "role": "subhead"
          },
          "price": {
            "type": "string",
            "minLength": 1,
            "maxLength": 12,
            "pattern": "\\d",
            "role": "price"
          },
          "priceNote": {
            "type": "string",
            "minLength": 1,
            "maxLength": 24,
            "role": "priceNote"
          },
          "date": {
            "type": "string",
            "minLength": 1,
            "maxLength": 32,
            "role": "date"
          },
          "cta": {
            "type": "string",
            "minLength": 1,
            "maxLength": 20,
            "role": "cta"
          }
        },
        "required": [
          "brand",
          "headline",
          "subhead",
          "price",
          "priceNote",
          "date",
          "cta"
        ],
        "additionalProperties": false
      },
      "theme": {
        "type": "object",
        "properties": {
          "background": {
            "type": "string",
            "pattern": "^#[0-9a-fA-F]{6}$",
            "role": "background"
          },
          "surface": {
            "type": "string",
            "pattern": "^#[0-9a-fA-F]{6}$",
            "role": "surface"
          },
          "foreground": {
            "type": "string",
            "pattern": "^#[0-9a-fA-F]{6}$",
            "role": "foreground"
          },
          "accent": {
            "type": "string",
            "pattern": "^#[0-9a-fA-F]{6}$",
            "role": "accent"
          },
          "accent2": {
            "type": "string",
            "pattern": "^#[0-9a-fA-F]{6}$",
            "role": "accent2"
          }
        },
        "required": [
          "background",
          "surface",
          "foreground",
          "accent",
          "accent2"
        ],
        "additionalProperties": false
      }
    },
    "required": [
      "texts",
      "theme"
    ],
    "additionalProperties": false
  },
  "handoff": {
    "urlTemplate": "https://cliphou.se/#/v/cybermonday-sale?props=<url-encoded props JSON>",
    "example": "https://cliphou.se/#/v/cybermonday-sale?props=%7B%22texts%22%3A%7B%22brand%22%3A%22VOLT%20AUDIO%22%2C%22headline%22%3A%22Cyber%20Monday%22%2C%22subhead%22%3A%22Studio%20headphones%2C%20today%20only%22%2C%22price%22%3A%22%24129%22%2C%22priceNote%22%3A%22Was%20%24249%22%2C%22date%22%3A%22Nov%2030%2C%20ends%20midnight%22%2C%22cta%22%3A%22Shop%20the%20drop%22%7D%2C%22theme%22%3A%7B%22background%22%3A%22%2307060f%22%2C%22surface%22%3A%22%23141228%22%2C%22foreground%22%3A%22%23f7f5ff%22%2C%22accent%22%3A%22%2300f0ff%22%2C%22accent2%22%3A%22%23ff2bd6%22%7D%7D",
    "maxEncodedLength": 8000,
    "note": "cliphou.se validates the props before it opens them. Invalid props are rejected and never saved."
  },
  "source": {
    "package": "https://cliphou.se/source/cybermonday/v1.tar.gz",
    "packageSha256": "a1004f030a1371349cbe161948a85420c8db4ee96e5bfcc05240e2145d65fe8a",
    "templateVersion": 1,
    "renderCommand": "npm ci && npx remotion render src/index.ts cybermonday out/video.mp4 --props=props.json",
    "repository": "https://github.com/sunmer/voodoo",
    "path": "src/videos/cybermonday/",
    "contents": "Remotion component, schema, scene metadata, shared helpers, exact dependency versions, lockfile, example props, and MIT-0 license. Fonts install from pinned Fontsource packages.",
    "note": "Rendering uses Remotion, which has separate license terms: https://remotion.dev/license"
  },
  "instructions": [
    "For text and color edits, change only props.texts and props.theme. Keep each text within maxLength and each color as #RRGGBB.",
    "Return text and color edits as handoff.urlTemplate with the props JSON URL-encoded.",
    "For layout, motion, timing, or scene edits, download source.package, extract it, and edit the code.",
    "Render the source package with source.renderCommand. Edit props.json to change text and colors.",
    "Never send code through the handoff URL. It accepts props only."
  ]
}
