--- id: R6.e family: GR-VAL level: core profiles: [storage-api] posture: normative-target added: "1.0" changed: "1.0" source: https://flowdrop.io/spec/rules/gr-val/r6-e specification: FlowDrop Workflow Specification 1.0-draft licence: CC BY 4.0 --- # R6.e — A config value must be one of its enumerated values *GR-VAL (Part I) · level: core · profiles: storage-api · added in 1.0* ## 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. Comparison is exact and applies no type coercion, so the number `1` does not satisfy an `enum` listing the string `"1"`. > > 3. A value outside the list is refused with `R6_CONFIG_INVALID` at `node.{id}.config.{key}`. ## Related rules - Names: R6.d - Referenced by: R6.d --- Rule identifiers are permanent and are never renumbered. This specification carries no implementation status: each implementation publishes its own standing against these rules. Licensed CC BY 4.0.