IssueID #959: added a few rudimentary elements to valency schema

This commit is contained in:
Cyprian Laskowski 2020-02-19 17:34:42 +01:00
parent a479977b3f
commit 47802a3577
2 changed files with 73 additions and 2 deletions

View File

@ -1,3 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<lexicon/> <lexicon>
<entry>
<head>
<status>testing</status>
<headword>
<lemma>blahblahblahati</lemma>
</headword>
<grammar>
<category>glagol</category>
</grammar>
<measureList>
<measure type="frequency">88888</measure>
</measureList>
</head>
<body>
<senseList/>
</body>
</entry>
<entry>
<head>
<status>testing</status>
<headword>
<lemma>bluhbluhbluhati</lemma>
</headword>
<grammar>
<category>glagol</category>
</grammar>
<measureList>
<measure type="frequency">999999</measure>
</measureList>
</head>
<body>
<senseList/>
</body>
</entry>
</lexicon>

View File

@ -5,6 +5,41 @@
schemaLocation="http://www.w3.org/2001/xml.xsd" /> schemaLocation="http://www.w3.org/2001/xml.xsd" />
<xsd:include schemaLocation="inventory.xsd"/> <xsd:include schemaLocation="inventory.xsd"/>
<xsd:element name="lexicon"/> <xsd:element name="lexicon">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="entry" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="head">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="status" type="statusType"/>
<xsd:element name="headword" type="headwordType"/>
<xsd:element name="lexicalUnit" type="lexicalUnitType" minOccurs="0"/>
<xsd:element name="grammar" type="grammarType" minOccurs="0"/>
<xsd:element name="measureList" type="measureListType" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="body">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="senseList">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="sense" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema> </xsd:schema>