{
  "fonts": [
    { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" },
    { "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }
  ],
  "compositions": [
    { "id": "lineup", "description": "One component, three instances: each use layer passes its own props",
      "width": 1280, "height": 720, "fps": 30, "duration": "4s", "background": "#f4f1ea",
      "props": { "accent": "#c92a26" },
      "layers": [
        { "id": "heading", "type": "text", "text": "Speakers", "font": "Schibsted Grotesk", "fontWeight": 860, "fontSize": 72,
          "letterSpacing": -3, "fill": "#161412", "y": "16%" },
        { "id": "ada", "type": "use", "ref": "speaker", "y": "38%", "start": "0.2s",
          "props": { "name": "Ada Lovelace", "topic": "Notes on the Engine", "color": "{{accent}}" } },
        { "id": "grace", "type": "use", "ref": "speaker", "y": "58%", "start": "0.5s",
          "props": { "name": "Grace Hopper", "topic": "Compilers", "color": "#1f5fb0" } },
        { "id": "alan", "type": "use", "ref": "speaker", "y": "78%", "start": "0.8s",
          "props": { "name": "Alan Turing", "topic": "Computable numbers" } }
      ] },
    { "id": "speaker", "description": "Component: a speaker row. Props: name, topic, color",
      "width": 760, "height": 120, "fps": 30, "duration": "3.8s",
      "props": { "name": "Name", "topic": "Topic", "color": "#161412" },
      "layers": [
        { "id": "row", "type": "rect", "cornerRadius": 2, "fill": "#fbf9f4", "stroke": "#d8d1c1", "strokeWidth": 2, "enter": "fadeUp" },
        { "id": "dot", "type": "ellipse", "x": 60, "width": 22, "fill": "{{color}}", "enter": "pop" },
        { "id": "name", "type": "text", "text": "{{name}}", "anchor": "left", "x": 100, "y": "50%", "font": "Schibsted Grotesk",
          "fontWeight": 800, "fontSize": 42, "letterSpacing": -1.6, "fill": "#161412", "enter": "fadeUp" },
        { "id": "topic", "type": "text", "text": "{{topic}}", "anchor": "right", "x": 730, "y": "50%", "font": "JetBrains Mono",
          "fontSize": 16, "letterSpacing": 2, "uppercase": true, "fill": "{{color}}", "enter": "fade" }
      ] }
  ]
}
