Added UVL values minlength, maxlength, minimum, maximum
[project/luci.git] / libs / uvl / root / lib / uci / schema / meta / schema
index 3b78725..a4fed42 100644 (file)
@@ -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