document:
  dsl: '1.0.0'
  namespace: test
  name: set-conditional-expression
  version: '0.1.0'
do:
  - setConditional:
      set:
        category: "${ if .age >= 18 then \"adult\" else \"minor\" end }"
