Length bounds count characters, never bytes
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
- A string config value shorter than its schema's
minLengthor longer than itsmaxLengthis refused withR6_CONFIG_INVALIDatnode.{id}.config.{key}. - Both bounds count Unicode code points, never bytes.
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.g · changed in spec 1.0