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" type="xsd:string"/>
|
---|
11 | <xsd:element name="problemParameters" type="paramsType"/>
|
---|
12 | <xsd:element name="algorithmParameters" type="paramsType"/>
|
---|
13 | </xsd:sequence>
|
---|
14 | <xsd:attribute name="problemType" use="required"/>
|
---|
15 | <xsd:attribute name="algorithmType" use="required"/>
|
---|
16 | <xsd:attribute name="mapper" use="required"/>
|
---|
17 | </xsd:complexType>
|
---|
18 |
|
---|
19 | <xsd:complexType name="paramsType">
|
---|
20 | <xsd:sequence>
|
---|
21 | <xsd:element name="param" type="parameterType" minOccurs="1" maxOccurs="unbounded"/>
|
---|
22 | </xsd:sequence>
|
---|
23 | </xsd:complexType>
|
---|
24 |
|
---|
25 | <xsd:complexType name="parameterType">
|
---|
26 | <xsd:choice>
|
---|
27 | <xsd:element name="value" type="valueType" minOccurs="0" maxOccurs="unbounded"/>
|
---|
28 | <xsd:element name="choice" type="choiceType" minOccurs="0" maxOccurs="unbounded"/>
|
---|
29 | </xsd:choice>
|
---|
30 | <xsd:attribute name="type" type="xsd:string" use="required"/>
|
---|
31 | <xsd:attribute name="name" type="xsd:string" use="required"/>
|
---|
32 | <xsd:attribute name="value" type="xsd:string"/>
|
---|
33 | </xsd:complexType>
|
---|
34 |
|
---|
35 | <xsd:complexType name="choiceType">
|
---|
36 | <xsd:attribute name="name" type="xsd:string" use="required"/>
|
---|
37 | <xsd:attribute name="selected" type="xsd:string"/>
|
---|
38 | </xsd:complexType>
|
---|
39 |
|
---|
40 | <xsd:complexType name="valueType">
|
---|
41 | <xsd:attribute name="v1" type="xsd:string"/>
|
---|
42 | <xsd:attribute name="v2" type="xsd:string"/>
|
---|
43 | </xsd:complexType>
|
---|
44 |
|
---|
45 | </xsd:schema>
|
---|