{
  "fonts": [
    { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" },
    { "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }
  ],
  "compositions": [{
    "id": "card", "description": "A title card driven by props: strings, a color, numbers and a nested object",
    "width": 1280, "height": 720, "fps": 30, "duration": "{{seconds}}", "background": "#f4f1ea",
    "props": { "name": "Ada Lovelace", "role": "First programmer", "accent": "#c92a26", "seconds": "4s",
               "nameSize": 104, "work": { "year": 1843, "title": "Note G" } },
    "layers": [
      { "id": "bar", "type": "rect", "anchor": "left", "x": 200, "y": "50%", "width": 8, "height": 220, "fill": "{{accent}}",
        "scaleY": { "from": 0, "to": 1, "duration": "0.6s", "ease": "easeOutCubic" } },
      { "id": "name", "type": "text", "text": "{{name}}", "anchor": "left", "x": 246, "y": "43%", "font": "Schibsted Grotesk",
        "fontWeight": 860, "letterSpacing": -4.5, "fontSize": "{{nameSize}}", "fill": "#161412", "start": "0.2s", "enter": "fadeRight" },
      { "id": "role", "type": "text", "text": "{{role}}", "anchor": "left", "x": 254, "y": "57%", "font": "JetBrains Mono", "fontSize": 24,
        "letterSpacing": 3, "uppercase": true, "fill": "{{accent}}", "start": "0.5s", "enter": "fadeRight" },
      { "id": "meta", "type": "text", "text": "{{work.title}}, {{work.year}}", "anchor": "left", "x": 254, "y": "66%",
        "font": "JetBrains Mono", "fontSize": 20, "fill": "#8a857a", "start": "0.8s", "enter": "fade" }
    ]
  }]
}
