forked from modelica/ssp-ls-traceability
-
Notifications
You must be signed in to change notification settings - Fork 0
/
STMD.xsd
174 lines (171 loc) · 10.4 KB
/
STMD.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" elementFormDefault="qualified"
vc:minVersion="1.1"
xmlns:stmd="http://apps.pmsf.net/STMD/SimulationTaskMetaData"
xmlns:stc="http://apps.pmsf.net/SSPTraceability/SSPTraceabilityCommon"
xmlns:ssc="http://ssp-standard.org/SSP1/SystemStructureCommon"
xmlns:xlink="http://www.w3.org/1999/xlink"
targetNamespace="http://apps.pmsf.net/STMD/SimulationTaskMetaData">
<xs:import namespace="http://ssp-standard.org/SSP1/SystemStructureCommon" schemaLocation="ssp/SystemStructureCommon.xsd"/>
<xs:import namespace="http://apps.pmsf.net/SSPTraceability/SSPTraceabilityCommon" schemaLocation="STC.xsd"/>
<xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="https://www.w3.org/XML/2008/06/xlink.xsd"/>
<xs:element name="SimulationTaskMetaData">
<xs:complexType>
<xs:sequence>
<xs:element name="GeneralInformation" minOccurs="0" type="stc:GeneralInformationType"/>
<xs:element name="AnalysisPhase" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">
This element specifies the Analysis Phase of the overall Simulation Task.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="AnalyzeSimulationTaskAndObjectives" type="stc:StepType" minOccurs="0"/>
<xs:element name="VerifyAnalysis" type="stc:StepType" minOccurs="0"/>
<xs:group ref="stc:GPhaseCommon"/>
</xs:sequence>
<xs:attributeGroup ref="ssc:ABaseElement"/>
</xs:complexType>
</xs:element>
<xs:element name="RequirementsPhase" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">
This element specifies the Requirements Phase of the overall Simulation Task.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="DefineModelRequirements" type="stc:StepType" minOccurs="0"/>
<xs:element name="DefineParameterRequirements" type="stc:StepType" minOccurs="0"/>
<xs:element name="DefineSimulationEnvironmentRequirements" type="stc:StepType" minOccurs="0"/>
<xs:element name="DefineSimulationIntegrationRequirements" type="stc:StepType" minOccurs="0"/>
<xs:element name="DefineTestCaseRequirements" type="stc:StepType" minOccurs="0"/>
<xs:element name="DefineQualityAssuranceRequirements" type="stc:StepType" minOccurs="0"/>
<xs:element name="VerifyRequirements" type="stc:StepType" minOccurs="0"/>
<xs:group ref="stc:GPhaseCommon"/>
</xs:sequence>
<xs:attributeGroup ref="ssc:ABaseElement"/>
</xs:complexType>
</xs:element>
<xs:element name="DesignPhase" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">
This element specifies the Specification Phase of the overall Simulation Task.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="DefineModelDesignSpecification" type="stc:StepType" minOccurs="0"/>
<xs:element name="DefineParameterDesignSpecification" type="stc:StepType" minOccurs="0"/>
<xs:element name="DefineSimulationEnvironmentDesignSpecification" type="stc:StepType" minOccurs="0"/>
<xs:element name="DefineSimulationIntegrationDesignSpecification" type="stc:StepType" minOccurs="0"/>
<xs:element name="DefineTestCaseDesignSpecification" type="stc:StepType" minOccurs="0"/>
<xs:element name="DefineQualityAssuranceDesignSpecification" type="stc:StepType" minOccurs="0"/>
<xs:element name="VerifyDesignSpecification" type="stc:StepType" minOccurs="0"/>
<xs:group ref="stc:GPhaseCommon"/>
</xs:sequence>
<xs:attributeGroup ref="ssc:ABaseElement"/>
</xs:complexType>
</xs:element>
<xs:element name="ImplementationPhase" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">
This element specifies the Implementation and Validation Phase of the overall Simulation Task.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ImplementModel" type="stc:StepType" minOccurs="0"/>
<xs:element name="ImplementParameter" type="stc:StepType" minOccurs="0"/>
<xs:element name="ImplementSimulationEnvironment" type="stc:StepType" minOccurs="0"/>
<xs:element name="ImplementTestCase" type="stc:StepType" minOccurs="0"/>
<xs:element name="IntegrateSimulation" type="stc:StepType" minOccurs="0"/>
<xs:element name="AssureSimulationSetupQuality" type="stc:StepType" minOccurs="0"/>
<xs:element name="DeriveSimulationSetupQualityVerdict" type="stc:StepType" minOccurs="0"/>
<xs:group ref="stc:GPhaseCommon"/>
</xs:sequence>
<xs:attributeGroup ref="ssc:ABaseElement"/>
</xs:complexType>
</xs:element>
<xs:element name="ExecutionPhase" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">
This element specifies the Execution Phase of the overall Simulation Task.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ExecuteSimulation" type="stc:StepType" minOccurs="0"/>
<xs:group ref="stc:GPhaseCommon"/>
</xs:sequence>
<xs:attributeGroup ref="ssc:ABaseElement"/>
</xs:complexType>
</xs:element>
<xs:element name="EvaluationPhase" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">
This element specifies the Evaluation Phase of the overall Simulation Task.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="EvaluateSimulationResults" type="stc:StepType" minOccurs="0"/>
<xs:element name="AssureSimulationQuality" type="stc:StepType" minOccurs="0"/>
<xs:element name="DeriveSimulationQualityVerdict" type="stc:StepType" minOccurs="0"/>
<xs:group ref="stc:GPhaseCommon"/>
</xs:sequence>
<xs:attributeGroup ref="ssc:ABaseElement"/>
</xs:complexType>
</xs:element>
<xs:element name="FulfillmentPhase" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">
This element specifies the Fulfillment Phase of the overall Simulation Task.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="DecideSimulationObjectiveFulfillment" type="stc:StepType" minOccurs="0"/>
<xs:group ref="stc:GPhaseCommon"/>
</xs:sequence>
<xs:attributeGroup ref="ssc:ABaseElement"/>
</xs:complexType>
</xs:element>
<xs:group ref="stc:GElementCommon"/>
</xs:sequence>
<xs:attribute name="version" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
Version of STMD format, 1.0.0-beta2 for this pre-release.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:normalizedString">
<xs:pattern value="[0-9]+[.][0-9]+([.][0-9]+)?(-.*)?"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
This attribute gives the simulation task a name, which can be used
for purposes of presenting the simulation task to the user, e.g.
when selecting individual variant STMDs from an SSP.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="ssc:ABaseElement"/>
<xs:attributeGroup ref="ssc:ATopLevelMetaData"/>
<xs:attribute name="GUID" use="required" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
GUID identifier of this STMD file. Must be globally unique and MUST
change, whenever a new file with differing information is written.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:schema>