From 18fc4f7c6e758118efff186fa09507c162732c59 Mon Sep 17 00:00:00 2001 From: pommicket Date: Tue, 9 Sep 2025 23:27:53 -0400 Subject: Relax rules around min/max schema keys --- site/spec.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/site/spec.html b/site/spec.html index f5cb5e2..2e45352 100644 --- a/site/spec.html +++ b/site/spec.html @@ -542,10 +542,10 @@ and for my.nephews.car.id is Any (no schema key matches, so the default is used)

min, max rules

- This schema key’s value sets the minimum/maximum value for the key’s value. - This may only be set if type explicitly allows numeric values - (i.e. it contains a type Int/UInt/Float). - The value must be a valid Float (may contain a decimal even if the type is just Int). + This schema key’s value must be a valid Float as described above. + It sets the minimum/maximum value for configuration keys’ values. + It only applies if the configuration key’s value + can be parsed as a Float.

maxlength rule

-- cgit v1.2.3