init: tortue xsd

This commit is contained in:
Mylloon 2024-04-27 00:08:16 +02:00
parent aa0851f221
commit b87bb81be1
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -1,6 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <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> </xs:schema>