---
root:
  items:
    - type: clip
      id: 3
      complex:
        - rect: [0, 0, 256, 256]
          radius: 16
    - type: clip-chain
      id: 5
      clips: [3]
    - type: clip
      id: 4
      bounds: [100, 100, 2000, 2000]
    -
      type: "clip-chain"
      id: 6
      clips: [4]
    - type: stacking-context
      bounds: [10, 10, 0, 0]
      filters: drop-shadow([50, 50], 25, red)
      clip-chain: 6
      items:
        - type: rect
          bounds: 0 0 256 256
          color: green
          clip-chain: 5
