---
root:
  items:
    - type: clip
      id: 2
      complex:
        - rect: [50, 50, 100, 100]
          radius: 16
    - type: rect
      bounds: 50 50 100 100
      color: red
      clip-chain: [2]

    - type: rect
      bounds: 200 50 100 100
      color: green

