XMLSchema recherche (suite)

This commit is contained in:
Jean Sirmai 2021-09-18 19:32:29 +02:00
parent d3f52853d5
commit e18df35372
Signed by untrusted user who does not match committer: jean
GPG Key ID: FB3115C340E057E3
1 changed files with 79 additions and 62 deletions

View File

@ -1,76 +1,93 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="gem-graph-model"> <xs:element name="gem-graph-model">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="identity">
<xs:complexType>
<xs:sequence>
<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>
<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">
<xs:complexType>
<xs:sequence>
<xs:element name="modelization">
<xs:complexType>
<xs:sequence>
<xs:element name="max_thread">
<xs:complexType>
<xs:attribute name="value" type="xs:integer"/>
</xs:complexType>
</xs:element>
<xs:element name="max_cycles">
<xs:complexType>
<xs:attribute name="value" type="xs:integer"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="space"> <xs:element name="identity">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="dimension">
<xs:complexType> <xs:element name="model_name" type="xs:string"/>
<xs:attribute name="value" type="xs:integer"/>
</xs:complexType> <xs:element name="name">
</xs:element> <xs:complexType>
<xs:element name="size"> <xs:attribute name="value" type="xs:string"/>
<xs:complexType> </xs:complexType>
<xs:attribute name="value" type="xs:integer"/> </xs:element>
</xs:complexType>
</xs:element> <xs:element name="owner_id" type="xs:integer"/>
<xs:element name="site_multiplicity"> <xs:element name="date" type="xs:integer"/>
<xs:complexType> <xs:element name="version" type="xs:float"/>
<xs:attribute name="value" type="xs:integer"/>
</xs:complexType> </xs:sequence>
</xs:element> </xs:complexType>
<xs:element name="boundaries"> </xs:element>
<xs:complexType>
</xs:complexType> <xs:element name="parameters">
</xs:element> <xs:complexType>
</xs:sequence> <xs:sequence>
</xs:complexType>
<xs:element name="modelization">
<xs:complexType>
<xs:sequence>
<xs:element name="max_thread">
<xs:complexType>
<xs:attribute name="value" type="xs:integer"/>
</xs:complexType>
</xs:element>
<xs:element name="max_cycles">
<xs:complexType>
<xs:attribute name="value" type="xs:integer"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="space">
<xs:complexType>
<xs:sequence>
<xs:element name="dimension">
<xs:complexType>
<xs:attribute name="value" type="xs:integer"/>
</xs:complexType>
</xs:element>
<xs:element name="size">
<xs:complexType>
<xs:attribute name="value" type="xs:integer"/>
</xs:complexType>
</xs:element>
<xs:element name="site_multiplicity">
<xs:complexType>
<xs:attribute name="value" type="xs:integer"/>
</xs:complexType>
</xs:element>
<xs:element name="boundaries">
<xs:complexType>
</xs:complexType>
</xs:element> </xs:element>
</xs:sequence> </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: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> </xs:element>
<xs:element name="objects" type="xs:string"/>
<xs:element name="objects" type="xs:string"/>
<xs:element name="space" type="xs:string"/> <xs:element name="space" type="xs:string"/>
<xs:element name="savestates" type="xs:string"/> <xs:element name="savestates" type="xs:string"/>
<xs:element name="transitions" type="xs:string"/> <xs:element name="transitions" type="xs:string"/>