FlowDrop Workflow Specification 1.0-draft

A null config value means unset

The rule

Normative: this is the rule
  1. A config value of null means the key is unset.
  2. It satisfies a required key, and no schema constraint is evaluated against it, so a null never fails type, enum, bounds or pattern.

What it means

Presence and value are judged separately. A required key set to null is still present, so it satisfies the requirement, and once it is treated as unset no other constraint on that key is ever evaluated — a null cannot fail a type, enum, bound or pattern check it would otherwise fail, because none of those checks run against it at all.

Example

A required key's schema demands a string at least five characters long, matching a pattern, and the key's value is null:

A required key set to nullaccepted
{"url": null}

None of the string's type, minimum length or pattern is evaluated against it.

Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0-draft · R6.i · changed in spec 1.0