Skip to content

Commit 6eb0478

Browse files
authoredApr 11, 2017
Update qgis-resource-metadata.xsd
1 parent 759842e commit 6eb0478

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed
 

‎resources/qgis-resource-metadata.xsd

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<xs:element name="abstract" type="xs:string"/>
4040
<xs:element name="keywords" type="rm:keywordsType" minOccurs="0" maxOccurs="unbounded"/>
4141
<xs:element name="fees" type="xs:string" minOccurs="0"/>
42-
<xs:element name="constraints" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
42+
<xs:element name="constraints" type="rm:constraintsType" minOccurs="0" maxOccurs="unbounded"/>
4343
<xs:element name="rights" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
4444
<xs:element name="encoding" type="xs:string" minOccurs="0"/>
4545
<xs:element name="crs" type="xs:string"/>
@@ -49,6 +49,13 @@
4949
</xs:sequence>
5050
<xs:attribute name="version" use="required" fixed="1.0"/>
5151
</xs:complexType>
52+
<xs:complexType name="constraintsType">
53+
<xs:simpleContent>
54+
<xs:extension base="xs:string">
55+
<xs:attribute name="type" type="xs:string"/>
56+
</xs:extension>
57+
</xs:simpleContent>
58+
</xs:complexType>
5259
<xs:complexType name="keywordsType">
5360
<xs:sequence>
5461
<xs:element name="keyword" maxOccurs="unbounded"/>

0 commit comments

Comments
 (0)
Please sign in to comment.