# UVL - Reference-Spec
# This is a meta scheme defining the format of uci schemes.
-# Note that this spec is overly strict, it requires that the "depends",
-# "valueof" and "validator" fields are of type list but if only one value is
-# given, the notation as "option" is allowed too.
# $Id$
package schema
option datatype 'boolean'
option required false
+# Variable multiple values flag (schema.@variable.multival)
+config variable
+ option name 'multival'
+ option title 'Specify whether this variable may contain multiple values separated by space'
+ option section 'schema.variable'
+ option type 'variable'
+ option datatype 'boolean'
+ option required false
+
# Variable type (schema.@variable.type)
config variable
option name 'type'
option datatype 'string'
option required false
+# Variable default value (schema.@variable.default)
+config variable
+ option name 'default'
+ option title 'Datatype of this variable'
+ option section 'schema.variable'
+ option type 'variable'
+ option datatype 'string'
+ option required false
+
# Variable validators (schema.@variable.validator)
config variable
option name 'validator'
# Enum value (schema.@enum.value)
config variable
- option name 'name'
- option title 'Name of the defined variable'
+ option name 'value'
+ option title 'Value of the defined enum value'
option section 'schema.enum'
option type 'variable'
option datatype 'string'