diff options
Diffstat (limited to 'site/spec.html')
-rw-r--r-- | site/spec.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/site/spec.html b/site/spec.html index e0d8871..b456e97 100644 --- a/site/spec.html +++ b/site/spec.html @@ -545,10 +545,11 @@ and for my.nephews.car.id is String (no schema key matches, so the default of St This schema key’s value sets the minimum/maximum value for the key’s value. This may only be set if <code>type</code> explicitly allows numeric values (i.e. it contains a type <code>Int</code>/<code>UInt</code>/<code>Float</code>). + The value must be a valid <code>Float</code> (may contain a decimal even if the type is just <code>Int</code>). </p> <h3><code>maxlength</code> rule</h3> <p> - This schema key’s value must be a non-negative integer no greater than 2<sup>31</sup>−1, + This schema key’s value must be a positive integer no greater than 2<sup>31</sup>−1, written in decimal with no leading sign. It specifies that the value of a key can be no longer than that number of UTF-8 bytes. </p> |