---
root:
  items:
    - type: clip
      id: 2
      complex:
        - rect: [50, 50, 300, 300]
          radius: 32

    - type: rect
      bounds: 50 50 300 300
      color: green
      clip-chain: [2]
