undefined
undefined
will check that a given JSON Path does not exist/has not been defined.
Example ruleset configuration
my-important-rule:
message: "The thing should NOT BE defined"
given: $.some.thing
then:
- field: chicken
function: undefined
- field: nugget
function: undefined