Skip to content

A config value is one of its enumerated values

The rule

Normative: this is the rule
  1. Where a config value's schema declares an enum, the value MUST be one of the listed values.
  2. Values MUST be compared as JSON Schema's enum compares them (the conventions' equal values), so the number 1 does not satisfy an enum listing the string "1", and 1.0 does satisfy one listing 1.
  3. A value outside the enumerated values MUST be refused with R6_CONFIG_INVALID at node.{id}.config.{key}.

Why

Recorded under OPEN-25, OPEN-29.

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.e · changed in spec 1.0