From: Jo-Philipp Wich Date: Tue, 2 Sep 2008 00:39:26 +0000 (+0000) Subject: * luci/libs: uvl: add definition of package sections to meta scheme X-Git-Tag: 0.8.0~196 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6179e46ff5bf206c5a008b4adadfd48c89061bd9;p=oweals%2Fluci.git * luci/libs: uvl: add definition of package sections to meta scheme --- diff --git a/libs/uvl/root/lib/uci/schema/meta/schema b/libs/uvl/root/lib/uci/schema/meta/schema index cb440fbe7..2454a188c 100644 --- a/libs/uvl/root/lib/uci/schema/meta/schema +++ b/libs/uvl/root/lib/uci/schema/meta/schema @@ -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 #