Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 34 additions & 17 deletions scl-extension/src/main/resources/xsd/SCL_CoMPAS.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ SPDX-License-Identifier: Apache-2.0
<xs:documentation xml:lang="en">
Version 1.0 Release 2021/06/16
Version 1.1 Release 2022/01/21
Version 1.2 Release 2022/06/08
</xs:documentation>
</xs:annotation>

Expand Down Expand Up @@ -150,12 +151,24 @@ SPDX-License-Identifier: Apache-2.0
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="BAY_EXTERNAL"/>
<xs:enumeration value="BAY_INTERNAL"/>
<xs:enumeration value="BAY_INTERNAL_EXTERNAL"/>
<xs:enumeration value="BAY_EXTERNAL"/>
</xs:restriction>
</xs:simpleType>

<xs:simpleType name="tCompasTopoNodeDirection">
<xs:annotation>
<xs:documentation xml:lang="en">
Define if a Node Direction is Up or Down
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="Up"/>
<xs:enumeration value="Down"/>
</xs:restriction>
</xs:simpleType>


<xs:complexType name="tCompasFlow">
<xs:annotation>
<xs:documentation xml:lang="en">
Expand All @@ -182,23 +195,14 @@ SPDX-License-Identifier: Apache-2.0
The BayCodif is specific to each user to identify the bay kind.
</xs:documentation>
</xs:annotation>
<xs:attribute name="BayCodif" type="xs:string" use="optional"/>
<xs:attribute name="UUID" type="xs:string" use="optional"/>
<xs:attribute name="Indice" type="xs:string" use="optional"/>
<xs:attribute name="Version" type="xs:string" use="optional"/>
<xs:attribute name="MainLabel" type="xs:string" use="optional"/>
<xs:attribute name="SecondLabel" type="xs:string" use="optional"/>
<xs:attribute name="NumBay" type="xs:string" use="optional"/>
<xs:attribute name="ZoneNumber" type="xs:string" use="optional"/>
</xs:complexType>

<xs:complexType name="tCompasConnectivityNode">
<xs:annotation>
<xs:documentation xml:lang="en">
Define the specific busbarsection or zone of the connectivity node
</xs:documentation>
</xs:annotation>
<xs:attribute name="UUID" type="xs:string" use="optional"/>
<xs:attribute name="ZoneNumber" type="xs:string" use="optional"/>
<xs:attribute name="BayCodif" type="xs:string" use="optional"/>
<xs:attribute name="NumBay" type="xs:integer" use="optional"/>
<xs:attribute name="BayCount" type="xs:integer" use="optional"/>
</xs:complexType>

<xs:complexType name="tCompasICDHeader" mixed="true">
Expand Down Expand Up @@ -263,14 +267,27 @@ SPDX-License-Identifier: Apache-2.0
<xs:attribute name="CriteriaAssociationID" type="xs:string" use="optional"/>
</xs:complexType>

<xs:complexType name="tCompasTopo">
<xs:annotation>
<xs:documentation xml:lang="en">
Describe the connectivity node and layout order for a given Bay;can be multiple instanciated in case of bay which is connected to multiple nodes
</xs:documentation>
</xs:annotation>
<xs:attribute name="Node" type="xs:string" use="required"/>
<xs:attribute name="NodeOrder" type="xs:integer" use="required"/>
<xs:attribute name="Direction" type="tCompasTopoNodeDirection" use="required"/>
</xs:complexType>


<xs:element name="SclName" type="tCompasSclName"/>
<xs:element name="SclFileType" type="tCompasSclFileType"/>
<xs:element name="Flow" type="tCompasFlow"/>
<xs:element name="ConnectivityNode" type="tCompasConnectivityNode"/>
<xs:element name="Bay" type="tCompasBay"/>
<xs:element name="LDevice" type="tCompasLDevice"/>
<xs:element name="Criteria" type="tCompasCriteria"/>
<xs:element name="ICDHeader" type="tCompasICDHeader"/>
<xs:element name="SystemVersion" type="tCompasSystemVersion"/>
<xs:element name="Function" type="tCompasFunction"/>
</xs:schema>
<xs:element name="Topo" type="tCompasTopo"/>

</xs:schema>