rules:
  one-of:
    given: $.*
    then:
      function: xor
      functionOptions:
        properties: [p, q]
