diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-09-02 00:39:26 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-09-02 00:39:26 +0000 |
commit | 6179e46ff5bf206c5a008b4adadfd48c89061bd9 (patch) | |
tree | c6efb08867bade39d9158cafbac99f407ad373fd /libs/uvl/root/lib/uci/schema | |
parent | 730b5fad7a42e1d51b7ea2a59a500342ff4ff2bf (diff) |
* luci/libs: uvl: add definition of package sections to meta scheme
Diffstat (limited to 'libs/uvl/root/lib/uci/schema')
-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 cb440fbe75..2454a188c6 100644 --- a/libs/uvl/root/lib/uci/schema/meta/schema +++ b/libs/uvl/root/lib/uci/schema/meta/schema @@ -8,6 +8,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 # # config section |