{
  "schemaVersion": "1.3",
  "kind": "template",
  "id": "eventcountdown-summit",
  "variantId": "eventcountdown-summit",
  "template": "eventcountdown",
  "engine": "hyperframes",
  "engineLabel": "HyperFrames",
  "title": "Summit Event Countdown",
  "url": "https://cliphou.se/templates/eventcountdown-summit/",
  "editorUrl": "https://cliphou.se/#/v/eventcountdown-summit",
  "templateVersion": 1,
  "latestTemplateVersion": 1,
  "sourceHash": "448aeb6271ac792b",
  "generation": {
    "model": "GPT-5",
    "modelId": "gpt-5",
    "provider": "OpenAI",
    "effort": "medium"
  },
  "siteCommit": "1339c8397c731da9921c763821bea988e0126bbf",
  "license": "MIT-0",
  "licenseUrl": "https://cliphou.se/license/",
  "price": "Free",
  "attributionRequired": false,
  "format": {
    "aspectRatio": "4:5",
    "width": 1080,
    "height": 1350,
    "fps": 30,
    "durationInFrames": 360,
    "seconds": 12
  },
  "scenes": [
    {
      "type": "date-card",
      "label": "Date card",
      "from": 0,
      "duration": 120,
      "roles": [
        "brand",
        "headline",
        "date"
      ]
    },
    {
      "type": "list",
      "label": "List",
      "from": 120,
      "duration": 120,
      "roles": [
        "point1",
        "point2",
        "point3"
      ]
    },
    {
      "type": "countdown",
      "label": "Countdown",
      "from": 240,
      "duration": 60,
      "roles": []
    },
    {
      "type": "end-screen",
      "label": "End screen",
      "from": 300,
      "duration": 60,
      "roles": [
        "cta"
      ]
    }
  ],
  "props": {
    "texts": {
      "brand": "FIELDWORK",
      "headline": "Design Summit",
      "date": "Thu, Nov 19 at 9 AM",
      "point1": "Keynotes",
      "point2": "Workshops",
      "point3": "Open studio",
      "cta": "Get a pass"
    },
    "theme": {
      "background": "#141210",
      "surface": "#2b2724",
      "foreground": "#f3ede4",
      "accent": "#ffcc33",
      "accent2": "#ff5d73"
    },
    "hidden": [],
    "audio": {
      "enabled": true
    }
  },
  "editableFields": {
    "texts": {
      "brand": {
        "label": "Brand",
        "maxLength": 18,
        "current": "FIELDWORK"
      },
      "headline": {
        "label": "Headline",
        "maxLength": 24,
        "current": "Design Summit"
      },
      "date": {
        "label": "Date",
        "maxLength": 32,
        "current": "Thu, Nov 19 at 9 AM"
      },
      "point1": {
        "label": "Point 1",
        "maxLength": 16,
        "current": "Keynotes"
      },
      "point2": {
        "label": "Point 2",
        "maxLength": 16,
        "current": "Workshops"
      },
      "point3": {
        "label": "Point 3",
        "maxLength": 16,
        "current": "Open studio"
      },
      "cta": {
        "label": "Call to action",
        "maxLength": 20,
        "current": "Get a pass"
      }
    },
    "theme": {
      "background": {
        "format": "#RRGGBB",
        "current": "#141210"
      },
      "surface": {
        "format": "#RRGGBB",
        "current": "#2b2724"
      },
      "foreground": {
        "format": "#RRGGBB",
        "current": "#f3ede4"
      },
      "accent": {
        "format": "#RRGGBB",
        "current": "#ffcc33"
      },
      "accent2": {
        "format": "#RRGGBB",
        "current": "#ff5d73"
      }
    },
    "hidden": {
      "format": "List of optional text roles",
      "options": [
        "point3"
      ],
      "current": [],
      "note": "Hidden roles disappear with their accent notes. brand, headline, and cta cannot be hidden."
    },
    "audio": {
      "format": "{\"enabled\": boolean}",
      "current": {
        "enabled": true
      },
      "note": "When enabled, the MP4 includes the generated score as AAC 48 kHz stereo audio."
    }
  },
  "music": {
    "bpm": 120,
    "meter": "4/4",
    "bars": 6,
    "seconds": 12,
    "scenes": [
      {
        "type": "date-card",
        "bars": 2,
        "roles": [
          "brand",
          "headline",
          "date"
        ]
      },
      {
        "type": "list",
        "bars": 2,
        "roles": [
          "point1",
          "point2",
          "point3"
        ]
      },
      {
        "type": "countdown",
        "bars": 1,
        "roles": []
      },
      {
        "type": "end-screen",
        "bars": 1,
        "roles": [
          "cta"
        ]
      }
    ],
    "accentSlots": [
      {
        "role": "brand",
        "scene": 0,
        "beat": 0,
        "beats": 1,
        "maxHits": 2
      },
      {
        "role": "headline",
        "scene": 0,
        "beat": 1,
        "beats": 2,
        "maxHits": 4
      },
      {
        "role": "date",
        "scene": 0,
        "beat": 3,
        "beats": 2,
        "maxHits": 4
      },
      {
        "role": "point1",
        "scene": 1,
        "beat": 0,
        "beats": 1,
        "maxHits": 2
      },
      {
        "role": "point2",
        "scene": 1,
        "beat": 1,
        "beats": 1,
        "maxHits": 2
      },
      {
        "role": "point3",
        "scene": 1,
        "beat": 2,
        "beats": 1.5,
        "maxHits": 3
      },
      {
        "role": "cta",
        "scene": 3,
        "beat": 0,
        "beats": 1,
        "maxHits": 2
      }
    ],
    "loudness": "-14 LUFS integrated, -1 dBTP ceiling",
    "sampleRate": 48000,
    "note": "Text edits change only accent notes inside each role's slot. Tempo, bars, scene timing, and length never change."
  },
  "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"
          },
          "date": {
            "type": "string",
            "minLength": 1,
            "maxLength": 32,
            "role": "date"
          },
          "point1": {
            "type": "string",
            "minLength": 1,
            "maxLength": 16,
            "role": "point1"
          },
          "point2": {
            "type": "string",
            "minLength": 1,
            "maxLength": 16,
            "role": "point2"
          },
          "point3": {
            "type": "string",
            "minLength": 1,
            "maxLength": 16,
            "role": "point3"
          },
          "cta": {
            "type": "string",
            "minLength": 1,
            "maxLength": 20,
            "role": "cta"
          }
        },
        "required": [
          "brand",
          "headline",
          "date",
          "point1",
          "point2",
          "point3",
          "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
      },
      "hidden": {
        "maxItems": 1,
        "type": "array",
        "items": {
          "type": "string",
          "enum": [
            "point3"
          ]
        },
        "kind": "hidden",
        "options": [
          "point3"
        ],
        "required": [
          "brand",
          "headline",
          "cta"
        ]
      },
      "audio": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          }
        },
        "required": [
          "enabled"
        ],
        "additionalProperties": false
      }
    },
    "required": [
      "texts",
      "theme",
      "hidden",
      "audio"
    ],
    "additionalProperties": false
  },
  "handoff": {
    "urlTemplate": "https://cliphou.se/#/v/eventcountdown-summit?props=<url-encoded props JSON>",
    "example": "https://cliphou.se/#/v/eventcountdown-summit?props=%7B%22texts%22%3A%7B%22brand%22%3A%22FIELDWORK%22%2C%22headline%22%3A%22Design%20Summit%22%2C%22date%22%3A%22Thu%2C%20Nov%2019%20at%209%20AM%22%2C%22point1%22%3A%22Keynotes%22%2C%22point2%22%3A%22Workshops%22%2C%22point3%22%3A%22Open%20studio%22%2C%22cta%22%3A%22Get%20a%20pass%22%7D%2C%22theme%22%3A%7B%22background%22%3A%22%23141210%22%2C%22surface%22%3A%22%232b2724%22%2C%22foreground%22%3A%22%23f3ede4%22%2C%22accent%22%3A%22%23ffcc33%22%2C%22accent2%22%3A%22%23ff5d73%22%7D%2C%22hidden%22%3A%5B%5D%2C%22audio%22%3A%7B%22enabled%22%3Atrue%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/eventcountdown/v1.tar.gz",
    "packageSha256": "cc1895f7a7c0c558334d20f33e18b8df6d72fa38f4d842ab98a87b121f7fce14",
    "templateVersion": 1,
    "renderCommand": "node music/render.mjs",
    "repository": "https://github.com/sunmer/voodoo",
    "path": "src/hyperframes/eventcountdown/",
    "contents": "Native HyperFrames HTML composition, declared variables, local GSAP, local fonts, example variables, the score, audio generator, generated WAV, render script, README, and MIT-0 license.",
    "note": "Rendering uses HyperFrames 0.8.146. GSAP and fonts keep their own licenses."
  },
  "instructions": [
    "For text, color, and image edits, change only props.texts, props.theme, and props.media when present. Keep each text within maxLength, each color as #RRGGBB, and each image as one of its listed options.",
    "For music templates, props.hidden lists optional roles to remove and props.audio.enabled turns the score on or off in the MP4.",
    "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 variables.json to change text and colors.",
    "Never send code through the handoff URL. It accepts props only."
  ]
}
