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

61 lines
2.6 KiB
Plaintext
Raw Normal View History

2021-09-18 16:44:10 +02:00
<?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>
2021-09-18 16:46:39 +02:00
<xs:element name="model_name" type="xs:string"/>
<xs:element name="name">
<xs:complexType>
<xs:attribute name="value" type="xs:string"/>
</xs:complexType>
</xs:element>
2021-09-18 16:44:10 +02:00
<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>
2021-09-18 16:46:39 +02:00
<xs:element name="parameters">
<xs:complexType>
<xs:sequence>
<xs:element name="modelization">
<xs:complexType>
<xs:sequence>
<xs:element name="max_thread" type="xs:integer"/>
<xs:element name="max_cycles" type="xs:integer"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="space">
<xs:complexType>
<xs:sequence>
<xs:element name="dimension" type="xs:integer"/>
<xs:element name="size" type="xs:integer"/>
<xs:element name="site_multiplicity" type="xs:integer"/>
<xs:element name="boundaries" type="xs:integer"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="id" type="xs:string"/>
<xs:attribute name="date" type="xs:integer"/>
<xs:attribute name="author" type="xs:string"/>
</xs:complexType>
</xs:element>
2021-09-18 16:44:10 +02:00
<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>