summaryrefslogtreecommitdiffstats
path: root/schemas/metadata.xsd
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2004-10-07 13:37:19 +0000
committerNarayan Desai <desai@mcs.anl.gov>2004-10-07 13:37:19 +0000
commit11ce5c5007f3f3251f48d9abff9bfe40ecd2e459 (patch)
treef31bda1fa0209bbd11be8bc60809b4d11c42dc9c /schemas/metadata.xsd
parentdd85a75bed17c049e44394571b07ea431e41d8f7 (diff)
downloadbcfg2-11ce5c5007f3f3251f48d9abff9bfe40ecd2e459.tar.gz
bcfg2-11ce5c5007f3f3251f48d9abff9bfe40ecd2e459.tar.bz2
bcfg2-11ce5c5007f3f3251f48d9abff9bfe40ecd2e459.zip
fix schema for current metadata format
(Logical change 1.77) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@376 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'schemas/metadata.xsd')
-rw-r--r--schemas/metadata.xsd17
1 files changed, 12 insertions, 5 deletions
diff --git a/schemas/metadata.xsd b/schemas/metadata.xsd
index 9a6ba0f01..fa5df54f1 100644
--- a/schemas/metadata.xsd
+++ b/schemas/metadata.xsd
@@ -9,6 +9,12 @@
</xsd:annotation>
<xsd:complexType name='ClientType'>
+ <xsd:attribute type='xsd:string' name='name' use='required'/>
+ <xsd:attribute type='xsd:string' name='image' use='required'/>
+ <xsd:attribute type='xsd:string' name='profile' use='required'/>
+ </xsd:complexType>
+
+ <xsd:complexType name='ProfileType'>
<xsd:choice minOccurs='0' maxOccurs='unbounded'>
<xsd:element name='Class'>
<xsd:complexType>
@@ -17,15 +23,13 @@
</xsd:element>
<xsd:element name='Attribute'>
<xsd:complexType>
- <xsd:attribute name='name' type='xsd:string'
- use='required'/>
- <xsd:attribute name='scope' type='xsd:string'
- use='required'/>
+ <xsd:attribute name='name' type='xsd:string' use='required'/>
+ <xsd:attribute name='scope' type='xsd:string' use='required'/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
<xsd:attribute type='xsd:string' name='name' use='required'/>
- <xsd:attribute type='xsd:string' name='image' use='required'/>
+ <xsd:attribute type='xsd:string' name='public' use='required'/>
</xsd:complexType>
<xsd:complexType name='ClassType'>
@@ -44,8 +48,11 @@
<xsd:choice minOccurs='0' maxOccurs='unbounded'>
<xsd:element name='Client' type='ClientType'/>
<xsd:element name='Class' type='ClassType'/>
+ <xsd:element name='Profile' type='ProfileType'/>
</xsd:choice>
<xsd:attribute name='version' type='xsd:string'/>
+ <xsd:attribute type='xsd:string' name='default_image' use='required'/>
+ <xsd:attribute type='xsd:string' name='default_profile' use='required'/>
</xsd:complexType>
</xsd:element>