{
  "fonts": [
    { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" },
    { "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }
  ],
  "compositions": [
    {
      "id": "interview", "description": "A React component becomes a composition: one lowerThird, used twice with different props over muted video",
      "width": 1280, "height": 720, "fps": 30, "duration": "5s",
      "layers": [
        { "id": "broll", "type": "video", "src": "assets/clip.mp4", "width": "100%", "height": "100%", "muted": true,
          "saturation": 0, "brightness": 1.1, "blur": 12, "scale": { "from": 1.1, "to": 1, "duration": "5s", "ease": "linear" } },
        { "id": "vignette", "type": "rect", "fill": { "type": "radial", "radius": 0.8, "stops": ["#f4f1ea66", "#f4f1eaee"] } },
        { "id": "first", "type": "use", "ref": "lowerThird", "start": 0,
          "props": { "name": "Ada Okafor", "role": "Motion design", "color": "#c92a26" } },
        { "id": "second", "type": "use", "ref": "lowerThird", "start": "2.5s",
          "props": { "name": "Lin Bao", "role": "Rendering", "color": "#1f5fb0" } }
      ]
    },
    {
      "id": "lowerThird", "description": "Props: name, role, color",
      "width": 1280, "height": 720, "fps": 30, "duration": "2.5s",
      "props": { "name": "Name", "role": "Role", "color": "#c92a26" },
      "layers": [
        { "id": "bar", "type": "rect", "anchor": "left", "x": 96, "y": 596, "width": 6, "height": 92, "fill": "{{color}}",
          "enter": { "type": "wipeDown", "duration": "0.35s" }, "exit": "fade" },
        { "id": "name", "type": "text", "text": "{{name}}", "font": "Schibsted Grotesk", "fontWeight": 860, "fontSize": 52, "letterSpacing": -2, "fill": "#161412",
          "anchor": "left", "x": 128, "y": 576, "start": "0.15s", "enter": "fadeRight", "exit": "fade" },
        { "id": "role", "type": "text", "text": "{{role}}", "font": "JetBrains Mono", "fontSize": 17, "letterSpacing": 2, "uppercase": true,
          "fill": "{{color}}", "anchor": "left", "x": 130, "y": 624, "start": "0.3s", "enter": "fadeRight", "exit": "fade" }
      ]
    }
  ]
}
