1 | <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
---|
2 | xmlns="urn:scenario-schema"
|
---|
3 | elementFormDefault="qualified"
|
---|
4 | targetNamespace="urn:scenario-schema">
|
---|
5 |
|
---|
6 | <xsd:element name="scenario" type="scenarioType"/>
|
---|
7 |
|
---|
8 | <xsd:complexType name="scenarioType">
|
---|
9 | <xsd:sequence maxOccurs="1">
|
---|
10 | <xsd:element name="name" minOccurs="1" type="xsd:string"/>
|
---|
11 | <xsd:element name="algorithm" minOccurs="1" maxOccurs="unbounded" type="algorithmType"/>
|
---|
12 | </xsd:sequence>
|
---|
13 | </xsd:complexType>
|
---|
14 |
|
---|
15 | <xsd:complexType name="algorithmType">
|
---|
16 | <xsd:sequence maxOccurs="1">
|
---|
17 | <xsd:element name="parameters" type="paramsType"/>
|
---|
18 | <xsd:element name="problem" minOccurs="0" type="problemType"/>
|
---|
19 | <xsd:element name="algorithm" minOccurs="0" maxOccurs="unbounded" type="algorithmType"/>
|
---|
20 | </xsd:sequence>
|
---|
21 | <xsd:attribute name="mapper" use="required"/>
|
---|
22 | </xsd:complexType>
|
---|
23 |
|
---|
24 | <xsd:complexType name="problemType">
|
---|
25 | <xsd:sequence maxOccurs="1">
|
---|
26 | <xsd:element name="parameters" type="paramsType"/>
|
---|
27 | </xsd:sequence>
|
---|
28 | <xsd:attribute name="class"/>
|
---|
29 | </xsd:complexType>
|
---|
30 |
|
---|
31 | <xsd:complexType name="paramsType">
|
---|
32 | <xsd:sequence>
|
---|
33 | <xsd:element name="param" type="parameterType" minOccurs="0" maxOccurs="unbounded"/>
|
---|
34 | </xsd:sequence>
|
---|
35 | </xsd:complexType>
|
---|
36 |
|
---|
37 | <xsd:complexType name="parameterType">
|
---|
38 | <xsd:choice>
|
---|
39 | <xsd:element name="value" type="valueType" minOccurs="0" maxOccurs="unbounded"/>
|
---|
40 | <xsd:element name="choice" type="choiceType" minOccurs="0" maxOccurs="unbounded"/>
|
---|
41 | </xsd:choice>
|
---|
42 | <xsd:attribute name="type" type="xsd:string" use="required"/>
|
---|
43 | <xsd:attribute name="name" type="xsd:string" use="required"/>
|
---|
44 | <xsd:attribute name="value" type="xsd:string"/>
|
---|
45 | </xsd:complexType>
|
---|
46 |
|
---|
47 | <xsd:complexType name="choiceType">
|
---|
48 | <xsd:attribute name="name" type="xsd:string" use="required"/>
|
---|
49 | <xsd:attribute name="selected" type="xsd:string"/>
|
---|
50 | </xsd:complexType>
|
---|
51 |
|
---|
52 | <xsd:complexType name="valueType">
|
---|
53 | <xsd:attribute name="v1" type="xsd:string"/>
|
---|
54 | <xsd:attribute name="v2" type="xsd:string"/>
|
---|
55 | </xsd:complexType>
|
---|
56 |
|
---|
57 | </xsd:schema>
|
---|