{
  "fonts": [
    { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk.ttf" },
    { "family": "Schibsted Grotesk", "path": "fonts/SchibstedGrotesk-Italic.ttf" },
    { "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" },
    { "family": "JetBrains Mono", "path": "fonts/JetBrainsMono-Italic.ttf" }
  ],
  "compositions": [{
    "id": "spans", "description": "Rich-text spans with their own italic, fontWeight and font, each laid out in one block",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s", "background": "#f4f1ea",
    "layers": [
      { "id": "headline", "type": "text", "y": 215, "font": "Schibsted Grotesk", "fontWeight": 860, "fontSize": 92,
        "letterSpacing": -4, "fill": "#161412", "enter": "fadeUp",
        "text": ["Made with ", { "text": "care,", "italic": true, "fontWeight": 400, "fill": "#c92a26" }, " in JSON."] },
      { "id": "body", "type": "text", "y": 375, "font": "Schibsted Grotesk", "fontSize": 36, "fill": "#4a4640",
        "start": "0.4s", "enter": "fadeUp",
        "text": ["Spans can be ", { "text": "bold", "fontWeight": "bold", "fill": "#161412" }, ", ",
          { "text": "italic", "italic": true, "fill": "#161412" }, " or set in ",
          { "text": "another font", "font": "JetBrains Mono", "fill": "#161412" }, "."] },
      { "id": "code", "type": "text", "y": 525, "font": "JetBrains Mono", "fontSize": 30, "fill": "#161412",
        "background": "#e9e4d8", "padding": [22, 30], "cornerRadius": 4, "start": "0.8s", "enter": "fadeUp",
        "text": [{ "text": "let", "fontWeight": "bold", "fill": "#4a4640" }, " frames = ", { "text": "90", "italic": true },
          ";  ", { "text": "// three seconds", "italic": true, "fill": "#4a4640" }] }
    ]
  }]
}
