falsy
falsy will check that a given JSON Path does not exist, or has been not defined or is empty.
The value should not be true or an empty string "" or a null object
Example ruleset configuration
my-important-rule:
description: This is an important rule
message: "'chicken' or 'nugget' has been defined! Oh no! You need to remove it!"
given: $.some.path
then:
- field: chicken
function: falsy
- field: nugget
function: falsy
