gem-graph-server/debian/var/models/XMLSchema example (in progr...

46 lines
1.5 KiB
Plaintext
Raw Normal View History

2021-09-18 16:44:10 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<gem-graph-model>
<identity>
<name>Modèle de test</name>
<owner_id>2</owner_id>
<date>1629830000</date>
<version>1.0</version>
</identity>
<parameters>aaa</parameters>
<objects>aaa</objects>
<space>aaa</space>
<savestates>aaa</savestates>
<transitions>aaa</transitions>
<ref>aaa</ref>
<quote>aaa</quote>
</gem-graph-model>
----------------------------------------------------
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="gem-graph-model">
<xs:complexType>
<xs:sequence>
<xs:element name="identity">
<xs:complexType>
<xs:sequence>
<xs:element name="name" type="xs:string"/>
<xs:element name="owner_id" type="xs:integer"/>
<xs:element name="date" type="xs:integer"/>
<xs:element name="version" type="xs:float"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="parameters" type="xs:string"/>
<xs:element name="objects" type="xs:string"/>
<xs:element name="space" type="xs:string"/>
<xs:element name="savestates" type="xs:string"/>
<xs:element name="transitions" type="xs:string"/>
<xs:element name="ref" type="xs:string"/>
<xs:element name="quote" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>