IssueID #937: made many more elements and attributes optional

simon
Cyprian Laskowski 5 years ago
parent 51a0f3cc22
commit 121c1fd3b1

@ -30,7 +30,7 @@
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="lexical_unit_lexeme_id" type="xsd:int" use="required"/>
<xsd:attribute name="lexical_unit_lexeme_id" type="xsd:int"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
@ -60,7 +60,7 @@
<xsd:complexType name="grammarType">
<xsd:sequence>
<xsd:element name="category" type="categoryType"/>
<xsd:element name="category" type="categoryType" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
@ -131,7 +131,7 @@
<xsd:complexType name="translationContainerType">
<xsd:sequence>
<xsd:element name="labelList" type="labelListType"/>
<xsd:element name="labelList" type="labelListType" minOccurs="0"/>
<xsd:element name="translation" type="translationType"/>
<xsd:element name="explanation" type="xsd:string" minOccurs="0"/>
</xsd:sequence>
@ -148,14 +148,14 @@
<xsd:sequence>
<xsd:element name="h" type="xsd:string"/>
</xsd:sequence>
<xsd:attribute name="corpus_id" type="xsd:int" use="required"/>
<xsd:attribute name="modified" type="xsd:string" use="required"/>
<xsd:attribute name="corpus_id" type="xsd:int"/>
<xsd:attribute name="modified" type="xsd:string"/>
</xsd:complexType>
<xsd:complexType name="exampleContainerType">
<xsd:sequence>
<xsd:element name="example" type="exampleType"/>
<xsd:element name="translationContainer" type="translationContainerType"/>
<xsd:element name="translationContainer" type="translationContainerType" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
@ -169,7 +169,7 @@
<xsd:complexType>
<xsd:sequence>
<xsd:element name="entry">
<xsd:element name="entry" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
@ -178,12 +178,12 @@
<xsd:sequence>
<xsd:element name="status" type="xsd:string"/>
<xsd:element name="headword" type="headwordType"/>
<xsd:element name="lexical_unit" type="lexical_unitType"/>
<xsd:element name="grammar" type="grammarType"/>
<xsd:element name="measureList" type="measureListType"/>
<xsd:element name="variantList" type="variantListType"/>
<xsd:element name="labelList" type="labelListType"/>
<xsd:element name="comment" type="xsd:string"/>
<xsd:element name="lexical_unit" type="lexical_unitType" minOccurs="0"/>
<xsd:element name="grammar" type="grammarType" minOccurs="0"/>
<xsd:element name="measureList" type="measureListType" minOccurs="0"/>
<xsd:element name="variantList" type="variantListType" minOccurs="0"/>
<xsd:element name="labelList" type="labelListType" minOccurs="0"/>
<xsd:element name="comment" type="xsd:string" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
@ -194,15 +194,15 @@
<xsd:element name="senseList">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="sense" maxOccurs="unbounded">
<xsd:element name="sense" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="labelList" type="labelListType"/>
<xsd:element name="definitionList" type="definitionListType"/>
<xsd:element name="translationContainerList" type="translationContainerListType"/>
<xsd:element name="exampleContainerList" type="exampleContainerListType"/>
<xsd:element name="labelList" type="labelListType" minOccurs="0"/>
<xsd:element name="definitionList" type="definitionListType" minOccurs="0"/>
<xsd:element name="translationContainerList" type="translationContainerListType" minOccurs="0"/>
<xsd:element name="exampleContainerList" type="exampleContainerListType" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="id" type="xsd:int" use="required"/>
<xsd:attribute name="id" type="xsd:int"/>
</xsd:complexType>
</xsd:element>
</xsd:sequence>

Loading…
Cancel
Save