IssueID #1099: tweaked source-related attributes

master
Cyprian Laskowski 4 years ago
parent 246e1ab1d6
commit 7042ded725

@ -137,6 +137,7 @@
<xsd:simpleContent>
<xsd:extension base="xsd:decimal">
<xsd:attribute name="type" type="xsd:string" use="required"/> <!-- type of measure (e.g., frequency, logDice); hmm, probably should be enumerated -->
<xsd:attribute name="corpus_id" type="xsd:int"/>
<xsd:attribute name="source" type="xsd:string"/> <!-- context of the measure, probably corpus name and version -->
</xsd:extension>
</xsd:simpleContent>
@ -276,7 +277,7 @@
</xsd:choice>
</xsd:sequence>
<xsd:attribute name="corpus_id" type="xsd:int"/>
<xsd:attribute name="source" type="xsd:string"/>
<xsd:attribute name="corpusName" type="xsd:string"/>
<xsd:attribute name="example_id" type="xsd:int"/>
<xsd:attribute name="exampleId" type="xsd:string"/> <!-- the example's ID within the corpus itself -->
<xsd:attribute name="modified" type="xsd:boolean"/> <!-- is the example text different than in the corpus? -->

Loading…
Cancel
Save