Skip to content

Numeric bounds apply to numbers only

The rule

Normative: this is the rule
  1. A config value below its schema's minimum or above its maximum MUST be refused with R6_CONFIG_INVALID at node.{id}.config.{key}.
  2. Bounds MUST be evaluated only for a value that is a JSON number.
  3. A string MUST NOT be bounds-checked, even when it spells a number.

Why

Recorded under OPEN-25.

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