summaryrefslogtreecommitdiffstats
path: root/schemas/packages.xsd
diff options
context:
space:
mode:
authorTim Laszlo <tim.laszlo@gmail.com>2010-08-04 14:38:19 +0000
committerSol Jerome <sol.jerome@gmail.com>2010-08-04 16:59:36 -0500
commita617d20058389edc2ea40d670e21e2303226bef5 (patch)
treef37d4c43472ba883c9e8351835ddaa7307eff331 /schemas/packages.xsd
parent4f59c2116ec7cbfac91a709b12e1a370e0c9650a (diff)
downloadbcfg2-a617d20058389edc2ea40d670e21e2303226bef5.tar.gz
bcfg2-a617d20058389edc2ea40d670e21e2303226bef5.tar.bz2
bcfg2-a617d20058389edc2ea40d670e21e2303226bef5.zip
Packages: Document new knobs and added schema validator
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6000 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'schemas/packages.xsd')
-rw-r--r--schemas/packages.xsd19
1 files changed, 14 insertions, 5 deletions
diff --git a/schemas/packages.xsd b/schemas/packages.xsd
index e15fb7f99..1a8469ed6 100644
--- a/schemas/packages.xsd
+++ b/schemas/packages.xsd
@@ -33,11 +33,20 @@
</xsd:complexType>
<xsd:complexType name='SourcesType'>
- <xsd:choice minOccurs='1' maxOccurs='unbounded'>
- <xsd:element name='APTSource' type='SourceType'/>
- <xsd:element name='YUMSource' type='SourceType'/>
- <xsd:element name='Sources' type='SourcesType'/>
- </xsd:choice>
+ <xsd:sequence>
+ <xsd:element name='Config' minOccurs='0' maxOccurs='1'>
+ <xsd:complexType>
+ <xsd:attribute type='xsd:string' name='resolver' />
+ <xsd:attribute type='xsd:string' name='metadata' />
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:choice minOccurs='1' maxOccurs='unbounded'>
+ <xsd:element name='APTSource' type='SourceType'/>
+ <xsd:element name='YUMSource' type='SourceType'/>
+ <xsd:element name='Sources' type='SourcesType'/>
+ </xsd:choice>
+ </xsd:sequence>
</xsd:complexType>
<xsd:element name='Sources' type='SourcesType'/>