IssueID #1102: adjusted explanation and example container types

This commit is contained in:
2020-08-07 16:35:41 +02:00
parent 7042ded725
commit e5d057ae6f
2 changed files with 29 additions and 14 deletions

View File

@@ -330,10 +330,19 @@
</xsd:sequence>
</xsd:complexType>
<!-- Explanation (in contrast with translation) -->
<xsd:complexType name="explanationType">
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="language" type="xsd:string"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- List of explanations -->
<xsd:complexType name="explanationListType">
<xsd:sequence>
<xsd:element name="explanation" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="explanation" type="explanationType" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
@@ -344,7 +353,7 @@
<xsd:element name="corpusExample" type="corpusExampleType"/>
<xsd:element name="multiwordExample" type="multipleLexemeExampleType"/>
</xsd:choice>
<xsd:element name="translationContainer" type="translationContainerType" minOccurs="0"/>
<xsd:element name="translationContainerList" type="translationContainerListType" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>