350 lines
13 KiB
XML
350 lines
13 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
|
|
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"
|
|
schemaLocation="http://www.w3.org/2001/xml.xsd" />
|
|
|
|
<xsd:complexType name="restrictionType">
|
|
<xsd:sequence>
|
|
<xsd:element name="feature" type="restrictionFeatureType" maxOccurs="unbounded"/>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="type">
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="morphology"/>
|
|
<xsd:enumeration value="lexis"/>
|
|
<xsd:enumeration value="space"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:attribute>
|
|
</xsd:complexType>
|
|
|
|
<xsd:complexType name="restrictionOrType">
|
|
<xsd:sequence>
|
|
<xsd:element name="restriction" type="restrictionType" minOccurs="2" maxOccurs="unbounded"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
|
|
<xsd:complexType name="representationType">
|
|
<xsd:sequence>
|
|
<xsd:element name="feature" type="representationFeatureType" maxOccurs="unbounded"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
|
|
<xsd:complexType name="restrictionFeatureType">
|
|
<xsd:attribute name="POS">
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="noun"/>
|
|
<xsd:enumeration value="verb"/>
|
|
<xsd:enumeration value="adjective"/>
|
|
<xsd:enumeration value="adverb"/>
|
|
<xsd:enumeration value="pronoun"/>
|
|
<xsd:enumeration value="numeral"/>
|
|
<xsd:enumeration value="preposition"/>
|
|
<xsd:enumeration value="conjunction"/>
|
|
<xsd:enumeration value="particle"/>
|
|
<xsd:enumeration value="interjection"/>
|
|
<xsd:enumeration value="abbreviation"/>
|
|
<xsd:enumeration value="residual"/>
|
|
<xsd:enumeration value="punctuation"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:attribute>
|
|
<xsd:attribute name="case">
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="nominative"/>
|
|
<xsd:enumeration value="genitive"/>
|
|
<xsd:enumeration value="dative"/>
|
|
<xsd:enumeration value="accusative"/>
|
|
<xsd:enumeration value="locative"/>
|
|
<xsd:enumeration value="instrumental"/>
|
|
<xsd:enumeration value="genitive|accusative"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:attribute>
|
|
<xsd:attribute name="type">
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="main"/>
|
|
<xsd:enumeration value="auxiliary"/>
|
|
<xsd:enumeration value="reflexive"/>
|
|
<xsd:enumeration value="common"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:attribute>
|
|
<xsd:attribute name="form">
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="digit"/>
|
|
<xsd:enumeration value="roman"/>
|
|
<xsd:enumeration value="letter"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:attribute>
|
|
<xsd:attribute name="clitic">
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="yes"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:attribute>
|
|
<xsd:attribute name="negative">
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="yes"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:attribute>
|
|
<xsd:attribute name="filter">
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="negative"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:attribute>
|
|
<xsd:attribute name="vform">
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="present"/>
|
|
<xsd:enumeration value="infinitive"/>
|
|
<xsd:enumeration value="supine"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:attribute>
|
|
<xsd:attribute name="lemma">
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="in|ali"/>
|
|
<xsd:enumeration value="kot|kakor|ko"/>
|
|
<xsd:enumeration value="ne"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:attribute>
|
|
<xsd:attribute name="level">
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="lemma"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:attribute>
|
|
<xsd:attribute name="contact">
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="neither"/>
|
|
<xsd:enumeration value="left"/>
|
|
<xsd:enumeration value="right"/>
|
|
<xsd:enumeration value="both"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:attribute>
|
|
</xsd:complexType>
|
|
|
|
<xsd:complexType name="representationFeatureType">
|
|
<xsd:attribute name="rendition">
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="word_form"/>
|
|
<xsd:enumeration value="lemma"/>
|
|
<xsd:enumeration value="lexis"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:attribute>
|
|
<xsd:attribute name="selection">
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="msd"/>
|
|
<xsd:enumeration value="agreement"/>
|
|
<xsd:enumeration value="all"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:attribute>
|
|
<xsd:attribute name="msd">
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="number"/>
|
|
<xsd:enumeration value="gender+number+case"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:attribute>
|
|
<xsd:attribute name="head_cid" type="xsd:integer"/>
|
|
<xsd:attribute name="case">
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="nominative"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:attribute>
|
|
<xsd:attribute name="vform">
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="present"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:attribute>
|
|
<xsd:attribute name="person">
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="third"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:attribute>
|
|
<xsd:attribute name="string">
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="ne"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:attribute>
|
|
</xsd:complexType>
|
|
|
|
<xsd:complexType name="componentsComponentType">
|
|
<xsd:attribute name="cid" use="required" type="xsd:integer"/>
|
|
<xsd:attribute name="type" use="required">
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="core"/>
|
|
<xsd:enumeration value="other"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:attribute>
|
|
<xsd:attribute name="label" type="xsd:string"/>
|
|
<xsd:attribute name="status">
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="forbidden"/>
|
|
<xsd:enumeration value="obligatory"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:attribute>
|
|
</xsd:complexType>
|
|
|
|
<xsd:complexType name="dependencyType">
|
|
<xsd:attribute name="from" use="required">
|
|
<xsd:simpleType>
|
|
<xsd:union>
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:integer"/>
|
|
</xsd:simpleType>
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="#"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:union>
|
|
</xsd:simpleType>
|
|
</xsd:attribute>
|
|
<xsd:attribute name="to" use="required" type="xsd:integer"/>
|
|
<xsd:attribute name="label" use="required">
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="#"/>
|
|
<xsd:enumeration value="modra"/>
|
|
<xsd:enumeration value="del"/>
|
|
<xsd:enumeration value="dol"/>
|
|
<xsd:enumeration value="ena"/>
|
|
<xsd:enumeration value="dve"/>
|
|
<xsd:enumeration value="tri"/>
|
|
<xsd:enumeration value="štiri"/>
|
|
<xsd:enumeration value="prir"/>
|
|
<xsd:enumeration value="vez"/>
|
|
<xsd:enumeration value="skup"/>
|
|
<xsd:enumeration value="tri|štiri"/>
|
|
<xsd:enumeration value="dve|tri|štiri"/>
|
|
<xsd:enumeration value="dol|dve|tri|štiri"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:attribute>
|
|
<xsd:attribute name="order">
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="to-from"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:attribute>
|
|
</xsd:complexType>
|
|
|
|
<xsd:element name="syntactic_structures">
|
|
<xsd:complexType>
|
|
<xsd:sequence>
|
|
<xsd:element name="syntactic_structure" minOccurs="0" maxOccurs="unbounded">
|
|
<xsd:complexType>
|
|
<xsd:sequence>
|
|
<xsd:element name="system">
|
|
<xsd:complexType>
|
|
<xsd:sequence>
|
|
<xsd:element name="components">
|
|
<xsd:complexType>
|
|
<xsd:sequence>
|
|
<xsd:element name="component" type="componentsComponentType" minOccurs="0" maxOccurs="unbounded"/>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="order" use="required">
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="fixed"/>
|
|
<xsd:enumeration value="variable"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:attribute>
|
|
</xsd:complexType>
|
|
</xsd:element>
|
|
<xsd:element name="dependencies">
|
|
<xsd:complexType>
|
|
<xsd:sequence>
|
|
<xsd:element name="dependency" type="dependencyType" minOccurs="0" maxOccurs="unbounded"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
</xsd:element>
|
|
<xsd:element name="definition">
|
|
<xsd:complexType>
|
|
<xsd:sequence>
|
|
<xsd:element name="component" minOccurs="0" maxOccurs="unbounded">
|
|
<xsd:complexType>
|
|
<xsd:sequence>
|
|
<xsd:choice minOccurs="0">
|
|
<xsd:element name="restriction" type="restrictionType" maxOccurs="unbounded"/>
|
|
<xsd:element name="restriction_or" type="restrictionOrType" maxOccurs="unbounded"/>
|
|
</xsd:choice>
|
|
<xsd:element name="representation" type="representationType" minOccurs="0" maxOccurs="unbounded"/>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="cid" type="xsd:integer"/>
|
|
</xsd:complexType>
|
|
</xsd:element>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
</xsd:element>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="type" use="required">
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="JOS"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:attribute>
|
|
</xsd:complexType>
|
|
</xsd:element>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="id" type="xsd:integer"/>
|
|
<xsd:attribute name="parent_id" type="xsd:integer"/>
|
|
<xsd:attribute name="tempId" type="xsd:integer"/>
|
|
<xsd:attribute name="label" type="xsd:string"/>
|
|
<xsd:attribute name="formal_descendants" type="xsd:string"/>
|
|
<xsd:attribute name="type" use="required">
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="single"/>
|
|
<xsd:enumeration value="collocation"/>
|
|
<xsd:enumeration value="formal"/>
|
|
<xsd:enumeration value="other"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:attribute>
|
|
</xsd:complexType>
|
|
</xsd:element>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
</xsd:element>
|
|
|
|
</xsd:schema>
|