document:
  dsl: '1.0.0'
  namespace: for-tests
  name: sum-numbers
  version: '1.0.0'
do:
  - sumLoop:
      for:
        in: ${ .numbers }
        each: item
      do:
        - addNumber:
            set:
              total: ${ .total + $item }
  - finalize:
      set:
        result: ${ .total }
