* luci/libs/uvl: implement default value option for variable sections
[oweals/luci.git] / libs / uvl / root / lib / uci / schema / meta / schema
index 1d673d3502fdf5f83c235916d9e0869619eb6d00..7f6981a024e9c153b82aeea095dfdfb2c83d32b9 100644 (file)
@@ -267,6 +267,15 @@ config variable
        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'
@@ -305,8 +314,8 @@ config section
 
 # 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'