Skip to content

Commit

Permalink
Update comacorpus.xsd for #457
Browse files Browse the repository at this point in the history
Restrict values for 'sex'
  • Loading branch information
berndmoos committed Mar 29, 2024
1 parent 883b367 commit 88f3643
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/org/exmaralda/coma/comacorpus.xsd
Expand Up @@ -229,7 +229,13 @@
pseudos</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Sex" type="xs:anySimpleType" minOccurs="0" maxOccurs="1"/>
<xs:element name="Sex" type="xs:anySimpleType" minOccurs="0" maxOccurs="1">
<xs:restriction base="xs:string">
<xs:enumeration value="male"/>
<xs:enumeration value="female"/>
<xs:enumeration value="unknown"/>
</xs:restriction>
</xs:element>
<xs:element name="Location" type="LocationType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="Description" type="DescriptionType" minOccurs="0" maxOccurs="1"/>
<xs:element name="Language" type="LanguageType" minOccurs="0" maxOccurs="unbounded"/>
Expand Down

0 comments on commit 88f3643

Please sign in to comment.