Added cardinality

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/gcubedatacatalogue-metadata-discovery@158725 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2017-11-21 13:21:54 +00:00
parent 631cd86682
commit 76ea47cd2c
1 changed files with 5 additions and 3 deletions

View File

@ -5,7 +5,7 @@
<xs:element name="metadataformat">
<xs:complexType>
<xs:sequence>
<xs:element name="metadatafield" minOccurs="1" maxOccurs="unbounded">
<xs:element name="metadatafield" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="fieldName" />
@ -25,6 +25,8 @@
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element type="xs:string" name="maxOccurs"
minOccurs="0" maxOccurs="1" />
<xs:element type="xs:string" name="defaultValue"
minOccurs="0" maxOccurs="1" />
<xs:element type="xs:string" name="note" minOccurs="0"
@ -56,7 +58,7 @@
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute type="NotEmpty" use="required" name="metadatatype" />
<xs:attribute type="NotEmpty" use="required" name="type" />
</xs:complexType>
</xs:element>
<xs:simpleType name="TaggingGroupingValue">
@ -88,4 +90,4 @@
<xs:minLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:schema>
</xs:schema>