diff options
author | Steven Barth <steven@midlink.org> | 2008-11-02 21:42:16 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-11-02 21:42:16 +0000 |
commit | de80e2a708653e825434753a1b48559648942a3b (patch) | |
tree | 6aa9fb4b01f7ec4d5d48fbb248d0eeb260c5b9da /libs/uvl/root/lib | |
parent | 9e4c03a9c35a2ff29030a645bccf5984dd2978d6 (diff) |
Added UVL values minlength, maxlength, minimum, maximum
Diffstat (limited to 'libs/uvl/root/lib')
-rw-r--r-- | libs/uvl/root/lib/uci/schema/meta/schema | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/libs/uvl/root/lib/uci/schema/meta/schema b/libs/uvl/root/lib/uci/schema/meta/schema index 3b78725d53..a4fed422d9 100644 --- a/libs/uvl/root/lib/uci/schema/meta/schema +++ b/libs/uvl/root/lib/uci/schema/meta/schema @@ -275,6 +275,42 @@ config variable option type 'variable' option datatype 'string' option required false + +# Variable minimum length (schema.@variable.minlength) +config variable + option name 'minlength' + option title 'Minimum length of this variable' + option section 'schema.variable' + option type 'variable' + option datatype 'uint' + option required false + +# Variable maximum length (schema.@variable.minlength) +config variable + option name 'maxlength' + option title 'Maximum length of this variable' + option section 'schema.variable' + option type 'variable' + option datatype 'uint' + option required false + +# Variable minimum value (schema.@variable.minlength) +config variable + option name 'minimum' + option title 'Minimum value of this variable' + option section 'schema.variable' + option type 'variable' + option datatype 'integer' + option required false + +# Variable maximum value (schema.@variable.minlength) +config variable + option name 'maximum' + option title 'Maximum value of this variable' + option section 'schema.variable' + option type 'variable' + option datatype 'integer' + option required false # Variable validators (schema.@variable.validator) config variable |