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

    - type: rect
      bounds: 200.3 50.3 100 100
      color: green

