Skip to content

Commit 6715d34

Browse files
authored
Merge pull request #226 from com-pas/feat/update_compas_xsd
Update scl-extension XSD file
2 parents d538d82 + 57b4b74 commit 6715d34

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

scl-extension/src/main/resources/xsd/SCL_CoMPAS.xsd

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ SPDX-License-Identifier: Apache-2.0
1616
Version 1.2 Release 2022/06/08
1717
Version 1.3 Release 2022/09/08
1818
Version 1.4 Release 2023/02/28
19+
Version 1.5 Release 2023/04/05
1920
</xs:documentation>
2021
</xs:annotation>
2122

@@ -199,11 +200,11 @@ SPDX-License-Identifier: Apache-2.0
199200
</xs:restriction>
200201
</xs:simpleType>
201202

202-
203203
<xs:complexType name="tCompasFlow">
204204
<xs:annotation>
205205
<xs:documentation xml:lang="en">
206-
Define the link between specific Compas attributes and one ExtRef within the STD file. The dataStreamKey is the key with the ExtRef.desc. The ExtRef attributes are directly linked to the attributes of the ExRef.
206+
Define the link between specific Compas attributes and one ExtRef within the STD file. The dataStreamKey is the key with the ExtRef.desc.
207+
The ExtRef attributes are directly linked to the attributes of the ExRef.
207208
The FlowID is used to link additional informations to the flow as the criteria.
208209
The FlowStatus define whether if the flow is qualified, non qualified or untested accordingly to the source IED which is bellonging to a define SystemVersion
209210
</xs:documentation>
@@ -222,19 +223,20 @@ SPDX-License-Identifier: Apache-2.0
222223
<xs:complexType name="tCompasBay">
223224
<xs:annotation>
224225
<xs:documentation xml:lang="en">
225-
Define the specific Compas attributes linked to the Bay. The Main and Second Labels are label of the bay specific to each user. MainLabel and Version identify uniquely the instanciated Bay as the UUID
226+
Define the specific Compas attributes linked to the Bay. The Main and Second Labels are label of the bay specific to each user.
227+
MainLabel and Version identify uniquely the instanciated Bay as the UUID
226228
The BayCodif is specific to each user to identify the bay kind.
227229
</xs:documentation>
228230
</xs:annotation>
229231
<xs:attribute name="UUID" type="xs:string" use="optional"/>
230232
<xs:attribute name="Indice" type="xs:string" use="optional"/>
231233
<xs:attribute name="Version" type="xs:string" use="optional"/>
232-
<xs:attribute name="MainShortLabel" type="xs:string" use="optional"/>
234+
<xs:attribute name="MainShortLabel" type="xs:string" use="required"/>
233235
<xs:attribute name="MainLongLabel" type="xs:string" use="optional"/>
234236
<xs:attribute name="SecondLabel" type="xs:string" use="optional"/>
235-
<xs:attribute name="BayCodif" type="xs:string" use="optional"/>
236-
<xs:attribute name="NumBay" type="xs:integer" use="optional"/>
237-
<xs:attribute name="BayCount" type="xs:integer" use="optional"/>
237+
<xs:attribute name="BayCodif" type="xs:string" use="required"/>
238+
<xs:attribute name="NumBay" type="xs:integer" use="required"/>
239+
<xs:attribute name="BayCount" type="xs:integer" use="required"/>
238240
</xs:complexType>
239241

240242
<xs:complexType name="tCompasICDHeader" mixed="true">
@@ -243,20 +245,22 @@ SPDX-License-Identifier: Apache-2.0
243245
Define specific Compas attributes to identify uniquely one IED with-in a SystemVersion for a given ICD, IEDredundancy, IEDSystemVersionInstance
244246
The IEDType defines the set of LD which are supported by the hardware
245247
The VendorName, IEDmodel, hwRev, swRev, headerId, headerVersion, headerRevision are issued from the ICD file
246-
The UUID of this combination is defined by the ICDSystemVersionUUID.
248+
The UUID of this combinaison is defined by the ICDSystemVersionUUID.
249+
The IEDSubstationinstance is defining the instance number of the IED at the substation.
250+
The IEDSystemVersioninstance is defining the instance number of the IED within a bay which is defined for a given MinorSystemVersion and MajorSystemVersion
247251
This private is intended to be used in the STD file (/IED level) and SSD (/LNode level)
248252
At LNode level it defines the link between the Function, the associated LD, LN and the implementation in a given IED
249253
At IED level, it defines the link of the IED within the SystemVersion
250254
</xs:documentation>
251255
</xs:annotation>
252-
<xs:attribute name="ICDSystemVersionUUID" type="xs:string" use="optional"/>
256+
<xs:attribute name="ICDSystemVersionUUID" type="xs:string" use="required"/>
253257
<xs:attribute name="IEDType" type="tCompasIEDType" use="required"/>
254258
<xs:attribute name="IEDSubstationinstance" type="xs:integer" use="optional"/>
255-
<xs:attribute name="IEDSystemVersioninstance" type="xs:integer" use="optional"/>
259+
<xs:attribute name="IEDSystemVersioninstance" type="xs:integer" use="required"/>
256260
<xs:attribute name="IEDName" type="xs:string" use="optional"/>
257261
<xs:attribute name="VendorName" type="xs:string" use="required"/>
258262
<xs:attribute name="IEDmodel" type="xs:string" use="required"/>
259-
<xs:attribute name="IEDredundancy" type="tCompasIEDRedundancy" use="optional"/>
263+
<xs:attribute name="IEDredundancy" type="tCompasIEDRedundancy" use="required"/>
260264
<xs:attribute name="BayLabel" type="xs:string" use="optional"/>
261265
<xs:attribute name="hwRev" type="xs:string" use="required"/>
262266
<xs:attribute name="swRev" type="xs:string" use="required"/>
@@ -270,7 +274,7 @@ SPDX-License-Identifier: Apache-2.0
270274
<xs:documentation xml:lang="en">
271275
Identify the SystemVersion to which the functional Bay and IED belongs to. This Private can be used in /Bay in substation and in the /IED.
272276
The MainSystemVersion refers to a set of functional requirements and functions
273-
The MinorSystemVersion is linked to a given bayKind and defines uniquely the set of ICD which are qualified
277+
The MinorSystemVersion is linked to a given baykind and defines uniquely the set of ICD which are qualified
274278
</xs:documentation>
275279
</xs:annotation>
276280
<xs:attribute name="MainSystemVersion" type="xs:string" use="optional"/>

0 commit comments

Comments
 (0)