init: tortue xsd
This commit is contained in:
parent
aa0851f221
commit
b87bb81be1
1 changed files with 18 additions and 1 deletions
19
tortue.xsd
19
tortue.xsd
|
@ -1,6 +1,23 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
|
||||
<!-- TODO : Anri -->
|
||||
<xs:complexType name="Empty">
|
||||
</xs:complexType>
|
||||
|
||||
<xs:element name="tortue">
|
||||
<xs:complexType>
|
||||
<xs:choice maxOccurs="unbounded">
|
||||
<xs:element name="turn" type="xs:integer" />
|
||||
<xs:element name="move" type="xs:positiveInteger" />
|
||||
<xs:element name="line" type="xs:positiveInteger" />
|
||||
|
||||
<!-- TODO: Store que si on a déja eu un line/move -->
|
||||
<xs:element name="store" type="Empty" />
|
||||
|
||||
<!-- TODO: Restore que si on a déjà eu un store -->
|
||||
<xs:element name="restore" type="Empty" />
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
</xs:schema>
|
||||
|
|
Reference in a new issue