root:
  items:
    - type: rect
      bounds: [0, 0, 100, 100]
      color: green
    - type: scroll-frame
      bounds: [0, 0, 100, 100]
      items:
        - type: clip
          id: 2
          bounds: [0, 0, 0, 0]
        - type: clip
          id: 3
          complex:
            - rect: [0, 0, 100, 100]
              radius: 20
        - type: rect
          bounds: [0, 0, 500, 500]
          color: red
          clip-chain: [2, 3]
