1
1
<?xml version="1.0" encoding="UTF-8"?>
2
<schema xmlns="http://www.w3.org/2001/XMLSchema"
3
xmlns:tns="http://plinstool.wattazoum.fr/platform_def/"
4
targetNamespace="http://plinstool.wattazoum.fr/platform_def/">
5
<element name="platform">
8
<element name="description" type="string" />
9
<element name="software" maxOccurs="unbounded" minOccurs="0">
12
<element name="description" type="string" minOccurs="0" />
13
<element name="item" type="tns:itemType" minOccurs="1"
14
maxOccurs="unbounded" />
15
<element name="dependency" maxOccurs="unbounded"
18
<attribute name="name" type="string" />
22
<attribute name="name" type="string" />
23
<attribute name="level" use="optional">
25
<documentation>Platform requirement level.</documentation>
28
<restriction base="string">
29
<enumeration value="mandatory" />
30
<enumeration value="recommended" />
31
<enumeration value="optional" />
38
<attribute name="name" type="string" />
42
<complexType name="itemType">
44
<element name="description" type="string" minOccurs="0" maxOccurs="1"/>
45
<element name="option" minOccurs="0" maxOccurs="unbounded">
47
<attribute name="name" type="string"/>
48
<attribute name="value" type="string"/>
52
<attribute name="name" type="string"/>
53
<attribute name="type" type="string"/>
b'\\ No newline at end of file'
2
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
3
<xs:element name="platformdefinition">
5
<xs:sequence maxOccurs="1" minOccurs="1">
6
<xs:element name="Platform">
9
<xs:element name="description" type="xs:string" minOccurs="0"/>
10
<xs:element name="software" maxOccurs="unbounded" minOccurs="0">
13
<xs:element name="description" type="xs:string" minOccurs="0" />
14
<xs:element ref="item" minOccurs="1" maxOccurs="unbounded" />
15
<xs:element name="dependency" maxOccurs="unbounded" minOccurs="0">
17
<xs:attribute name="name" type="xs:string" />
21
<xs:attribute name="name" type="xs:string" />
22
<xs:attribute name="level" use="optional">
24
<xs:documentation>Platform requirement level.</xs:documentation>
27
<xs:restriction base="xs:string">
28
<xs:enumeration value="mandatory" />
29
<xs:enumeration value="recommended" />
30
<xs:enumeration value="optional" />
38
<xs:attribute name="name" type="xs:string" use="required" />
45
<xs:element name="item">
48
<xs:element name="description" type="xs:string" minOccurs="0" />
49
<xs:element name="option" minOccurs="0" maxOccurs="unbounded">
51
<xs:attribute name="name" type="xs:string" />
52
<xs:attribute name="value" type="xs:string" />
56
<xs:attribute name="name" type="xs:string" />
57
<xs:attribute name="type" type="xs:string" />
b'\\ No newline at end of file'