--- id: R6.g 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-g specification: FlowDrop Workflow Specification 1.0-draft licence: CC BY 4.0 --- # R6.g — Length bounds count characters, never bytes *GR-VAL (Part I) · level: core · profiles: storage-api · added in 1.0* A limit measured in bytes would depend on the alphabet the author writes in, so the same word would fit one implementation and not another. ## The rule > **Normative.** This is the rule. > > 1. A string config value shorter than its schema's `minLength` or longer than its `maxLength` is refused with `R6_CONFIG_INVALID` at `node.{id}.config.{key}`. > > 2. Both bounds count Unicode code points, never bytes. ## 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.