IssueID #1099: tweaked source-related attributes

This commit is contained in:
Cyprian Laskowski 2020-05-29 14:25:48 +02:00
parent 246e1ab1d6
commit 7042ded725

View File

@ -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? -->