* luci/libs: uvl: add definition of package sections to meta scheme
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 2 Sep 2008 00:39:26 +0000 (00:39 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 2 Sep 2008 00:39:26 +0000 (00:39 +0000)
libs/uvl/root/lib/uci/schema/meta/schema

index cb440fbe75e77378fe144f4c2b27864e1657d65f..2454a188c6efad42f2dd10d1472f25c18a32a8a1 100644 (file)
@@ -7,6 +7,42 @@
 
 package schema
 
+#-------------------------------------------------------------------------------
+# Central package definition
+#
+#      config package
+#              option ...
+#-------------------------------------------------------------------------------
+
+# Section definition (schema.@package)
+config section
+       option name             'package'
+       option title    'Definition of uci package'
+       option package  'schema'
+       option required false
+       option named    false
+       option unique   true
+       option dynamic  false
+
+# Section title (schema.@package.title)
+config variable
+       option name             'title'
+       option title    'Title of the defined package'
+       option section  'schema.package'
+       option type             'variable'
+       option datatype 'string'
+       option required false
+
+# Section description (schema.@package.description)
+config variable
+       option name             'description'
+       option title    'Description of the defined package'
+       option section  'schema.package'
+       option type             'variable'
+       option datatype 'string'
+       option required false
+
+
 #-------------------------------------------------------------------------------
 # Central section definition
 #