summaryrefslogtreecommitdiffstats
path: root/schemas/metadata.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'schemas/metadata.xsd')
-rw-r--r--schemas/metadata.xsd12
1 files changed, 3 insertions, 9 deletions
diff --git a/schemas/metadata.xsd b/schemas/metadata.xsd
index 1c2474eac..7d07c4971 100644
--- a/schemas/metadata.xsd
+++ b/schemas/metadata.xsd
@@ -11,12 +11,6 @@
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="xml.xsd"/>
- <xsd:simpleType name='booleanType'>
- <xsd:restriction base="xsd:string">
- <xsd:pattern value="true|false"/>
- </xsd:restriction>
- </xsd:simpleType>
-
<xsd:complexType name='groupType'>
<xsd:choice minOccurs='0' maxOccurs='unbounded'>
<xsd:element name='Bundle'>
@@ -30,9 +24,9 @@
</xsd:complexType>
</xsd:element>
</xsd:choice>
- <xsd:attribute type='booleanType' name='profile' use='optional'/>
- <xsd:attribute type='booleanType' name='public' use='optional'/>
- <xsd:attribute type='booleanType' name='default' use='optional'/>
+ <xsd:attribute type='xsd:boolean' name='profile' use='optional'/>
+ <xsd:attribute type='xsd:boolean' name='public' use='optional'/>
+ <xsd:attribute type='xsd:boolean' name='default' use='optional'/>
<xsd:attribute type='xsd:string' name='name' use='required'/>
<xsd:attribute type='xsd:string' name='auth' use='optional'/>
<xsd:attribute type='xsd:string' name='category' use='optional'/>