---
root:
  items:
    - type: stacking-context
      bounds: [0, 0, 800, 800]
      transform: scale(2)
      items:
      - type: clip
        id: 1
        complex:
          - rect: [10, 10, 300, 300]
            radius: 32
      - type: rect
        bounds: 10 10 300 300
        color: red
        clip-chain: [1]
