33 lines
944 B
Plaintext
33 lines
944 B
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||
|
<!-- https://www.freeformatter.com/xml-validator-xsd.html -->
|
||
|
|
||
|
<xs:attribute name="id" type="xs:string"/>
|
||
|
<xs:attribute name="pp" type="xs:string"/>
|
||
|
<xs:attribute name="rank" type="xs:string"/>
|
||
|
|
||
|
<!--<proposition id="00" parent="None">a text</proposition>-->
|
||
|
|
||
|
<xs:element name="p">
|
||
|
<xs:complexType>
|
||
|
<xs:simpleContent>
|
||
|
<xs:extension base="xs:string">
|
||
|
<xs:attribute ref="id" use="required"/>
|
||
|
<xs:attribute ref="pp" use="required"/>
|
||
|
<xs:attribute ref="rank" use="optional"/>
|
||
|
</xs:extension>
|
||
|
</xs:simpleContent>
|
||
|
</xs:complexType>
|
||
|
</xs:element>
|
||
|
|
||
|
<xs:element name="root">
|
||
|
<xs:complexType>
|
||
|
<xs:sequence minOccurs="1" maxOccurs="unbounded">
|
||
|
<xs:element ref="p"/>
|
||
|
</xs:sequence>
|
||
|
<xs:attribute name="version" use="required"/>
|
||
|
</xs:complexType>
|
||
|
</xs:element>
|
||
|
</xs:schema>
|
||
|
|