@bentley/substation-symbols-schema 1.0.5-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE.md ADDED
@@ -0,0 +1,9 @@
1
+ # MIT License
2
+
3
+ Copyright © 2017-2026 Bentley Systems, Incorporated. All rights reserved.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,9 @@
1
+ # @bentley/substation-symbols-schema
2
+
3
+ Copyright © Bentley Systems, Incorporated. All rights reserved. See [LICENSE.md](./LICENSE.md) for license terms and full copyright notice.
4
+
5
+ [iTwin.js](http://itwinjs.org) is an open source platform for creating, querying, modifying, and displaying Infrastructure Digital Twins.
6
+
7
+ ## BIS Schemas
8
+
9
+ The acronym “BIS” stands for “Base Infrastructure Schemas”. BIS is an “open” and extensible family of schemas that is modularized into Domains. Please go to [iTwinjs.org](https://www.itwinjs.org/bis/) for more information.
@@ -0,0 +1 @@
1
+ {"$schema":"https://dev.bentley.com/json_schemas/ec/32/ecschema","name":"SubstationSymbols","version":"01.00.05","alias":"subsym","label":"SubstationSymbols","description":"This schema contains classes used for Substation Design.","references":[{"name":"BisCore","version":"01.00.26"},{"name":"PowerSystemResourcesPhysical","version":"01.00.01"},{"name":"SubstationPhysical","version":"01.00.05"},{"name":"SubstationDrawing","version":"01.00.05"},{"name":"CoreCustomAttributes","version":"01.00.05"},{"name":"BisCustomAttributes","version":"01.00.00"}],"customAttributes":[{"className":"CoreCustomAttributes.ProductionStatus","SupportedUse":"NotForProduction"},{"className":"BisCustomAttributes.SchemaLayerInfo","Value":"Application"}],"items":{"SymbolDrawingAffinity":{"schemaItemType":"Enumeration","type":"int","isStrict":true,"enumerators":[{"name":"Schematic","value":0,"label":"Schematic Drawing"},{"name":"Layout","value":1,"label":"Layout Drawing"},{"name":"Wire","value":2,"label":"Wire Drawing"},{"name":"SingleLine","value":3,"label":"Single Line Drawing"}]},"ElectricalEquipmentDefinition":{"schemaItemType":"EntityClass","label":"Electrical Equipment Definition","description":"Represents the Functional, 2D Graphical, 3D Physical and Connection data associated with an Electrical Equipment or Device.","baseClass":"BisCore.DefinitionElement","properties":[{"name":"PhysicalClassName","type":"PrimitiveProperty","description":"Fully Qualified Class-Name of the Equipment's Physical Class.","typeName":"string"},{"name":"FunctionalClassName","type":"PrimitiveProperty","description":"Fully Qualified Class-Name of the Equipment's Functional Class.","typeName":"string"},{"name":"PhysicalType","type":"NavigationProperty","description":"Reference to the Equipment's Physical Type Class.","relationshipName":"SubstationSymbols.PhysicalTypeReference","direction":"Forward"}]},"PhysicalTypeReference":{"schemaItemType":"RelationshipClass","modifier":"None","strength":"Referencing","strengthDirection":"Backward","source":{"multiplicity":"(1..1)","roleLabel":"refers to","polymorphic":true,"abstractConstraint":"SubstationSymbols.ElectricalEquipmentDefinition","constraintClasses":["SubstationSymbols.ElectricalEquipmentDefinition"]},"target":{"multiplicity":"(0..1)","roleLabel":"is referred by","polymorphic":true,"abstractConstraint":"PowerSystemResourcesPhysical.EquipmentPhysicalType","constraintClasses":["PowerSystemResourcesPhysical.EquipmentPhysicalType"]}},"EquipmentSymbolsPhysicalType":{"schemaItemType":"EntityClass","label":"Equipment Symbols Physical Type","description":"Represents the Physical Type that stores the name of the physical class to be instanced when an electrical equipment is placed. Further the physical type has a reference to the recipe of the graphical elements that need to instanced. These graphical elements represent the physical geometry of the equipment. Can also a shared set of properties whose values vary per-type of an ElectricalPhysicalType.","baseClass":"PowerSystemResourcesPhysical.EquipmentPhysicalType"},"StructureSymbolsPhysicalType":{"schemaItemType":"EntityClass","label":"Structure Symbols Physical Type","description":"Represents the Physical Type that stores the name of the physical class to be instanced when an electrical equipment is placed. Further the physical type has a reference to the recipe of the graphical elements that need to instanced. These graphical elements represent the physical geometry of the equipment. Can also a shared set of properties whose values vary per-type of an ElectricalPhysicalType.","baseClass":"PowerSystemResourcesPhysical.StructurePhysicalType"},"FoundationSymbolsPhysicalType":{"schemaItemType":"EntityClass","label":"Foundation Symbols Physical Type","description":"Represents the Physical Type that stores the name of the physical class to be instanced when an electrical equipment is placed. Further the physical type has a reference to the recipe of the graphical elements that need to instanced. These graphical elements represent the physical geometry of the equipment. Can also a shared set of properties whose values vary per-type of an ElectricalPhysicalType.","baseClass":"PowerSystemResourcesPhysical.FoundationPhysicalType"},"SubstationSymbolsPhysicalType":{"schemaItemType":"EntityClass","label":"Substation Symbols Physical Type","description":"Represents the Physical Type that stores the name of the physical class to be instanced when an electrical equipment is placed. Further the physical type has a reference to the recipe of the graphical elements that need to instanced. These graphical elements represent the physical geometry of the equipment. Can also a shared set of properties whose values vary per-type of an ElectricalPhysicalType.","baseClass":"SubstationPhysical.SubstationPhysicalType"},"EquipmentDefinitionRefersToSymbol":{"schemaItemType":"RelationshipClass","modifier":"None","baseClass":"BisCore.ElementRefersToElements","properties":[{"name":"DrawingAffinity","type":"PrimitiveProperty","description":"The Drawing affinity of the Equipment Definition's Symbol reference","label":"Symbol Drawing Affinity","typeName":"SubstationSymbols.SymbolDrawingAffinity"}],"strength":"Referencing","strengthDirection":"Forward","source":{"multiplicity":"(0..*)","roleLabel":"refers to","polymorphic":true,"abstractConstraint":"SubstationSymbols.ElectricalEquipmentDefinition","constraintClasses":["SubstationSymbols.ElectricalEquipmentDefinition"]},"target":{"multiplicity":"(0..*)","roleLabel":"is referred by","polymorphic":true,"abstractConstraint":"SubstationDrawing.ElectricalSingleSymbolDefinition","constraintClasses":["SubstationDrawing.ElectricalSingleSymbolDefinition"]}}}}
@@ -0,0 +1,63 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- ==================================================================================
3
+ | * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
+ | * See LICENSE.md in the project root for license terms and full copyright notice.
5
+ ======================================================================================= -->
6
+ <ECSchema xmlns="http://www.bentley.com/schemas/Bentley.ECXML.3.2" schemaName="SubstationSymbols" version="01.00.05" alias="subsym" displayLabel="SubstationSymbols" description="This schema contains classes used for Substation Design.">
7
+ <ECSchemaReference name="BisCore" version="01.00.25" alias="bis" />
8
+ <ECSchemaReference name="PowerSystemResourcesPhysical" version="01.00.01" alias="psrp" />
9
+ <ECSchemaReference name="SubstationPhysical" version="01.00.05" alias="subphy" />
10
+ <ECSchemaReference name="SubstationDrawing" version="01.00.05" alias="subdwg" />
11
+ <ECSchemaReference name="CoreCustomAttributes" version="01.00.04" alias="CoreCA" />
12
+ <ECSchemaReference name="BisCustomAttributes" version="01.00.00" alias="bisCA" />
13
+ <ECCustomAttributes>
14
+ <ProductionStatus xmlns="CoreCustomAttributes.01.00.04">
15
+ <SupportedUse>NotForProduction</SupportedUse>
16
+ </ProductionStatus>
17
+ <SchemaLayerInfo xmlns="BisCustomAttributes.01.00.00">
18
+ <Value>Application</Value>
19
+ </SchemaLayerInfo>
20
+ </ECCustomAttributes>
21
+ <ECEnumeration typeName="SymbolDrawingAffinity" backingTypeName="int" isStrict="true">
22
+ <ECEnumerator name="Schematic" value="0" displayLabel="Schematic Drawing" />
23
+ <ECEnumerator name="Layout" value="1" displayLabel="Layout Drawing" />
24
+ <ECEnumerator name="Wire" value="2" displayLabel="Wire Drawing" />
25
+ <ECEnumerator name="SingleLine" value="3" displayLabel="Single Line Drawing" />
26
+ </ECEnumeration>
27
+ <ECEntityClass typeName="ElectricalEquipmentDefinition" displayLabel="Electrical Equipment Definition" description="Represents the Functional, 2D Graphical, 3D Physical and Connection data associated with an Electrical Equipment or Device." modifier="None">
28
+ <BaseClass>bis:DefinitionElement</BaseClass>
29
+ <ECProperty propertyName="PhysicalClassName" description="Fully Qualified Class-Name of the Equipment's Physical Class." typeName="string" />
30
+ <ECProperty propertyName="FunctionalClassName" description="Fully Qualified Class-Name of the Equipment's Functional Class." typeName="string" />
31
+ <ECNavigationProperty propertyName="PhysicalType" description="Reference to the Equipment's Physical Type Class." relationshipName="PhysicalTypeReference" direction="Forward" />
32
+ </ECEntityClass>
33
+ <ECRelationshipClass typeName="PhysicalTypeReference" modifier="None" strength="Referencing" strengthDirection="Backward">
34
+ <Source polymorphic="true" roleLabel="refers to" multiplicity="(1..1)" abstractConstraint="ElectricalEquipmentDefinition">
35
+ <Class class="ElectricalEquipmentDefinition" />
36
+ </Source>
37
+ <Target polymorphic="true" roleLabel="is referred by" multiplicity="(0..1)" abstractConstraint="psrp:EquipmentPhysicalType">
38
+ <Class class="psrp:EquipmentPhysicalType" />
39
+ </Target>
40
+ </ECRelationshipClass>
41
+ <ECEntityClass typeName="EquipmentSymbolsPhysicalType" displayLabel="Equipment Symbols Physical Type" description="Represents the Physical Type that stores the name of the physical class to be instanced when an electrical equipment is placed. Further the physical type has a reference to the recipe of the graphical elements that need to instanced. These graphical elements represent the physical geometry of the equipment. Can also a shared set of properties whose values vary per-type of an ElectricalPhysicalType." modifier="None">
42
+ <BaseClass>psrp:EquipmentPhysicalType</BaseClass>
43
+ </ECEntityClass>
44
+ <ECEntityClass typeName="StructureSymbolsPhysicalType" displayLabel="Structure Symbols Physical Type" description="Represents the Physical Type that stores the name of the physical class to be instanced when an electrical equipment is placed. Further the physical type has a reference to the recipe of the graphical elements that need to instanced. These graphical elements represent the physical geometry of the equipment. Can also a shared set of properties whose values vary per-type of an ElectricalPhysicalType." modifier="None">
45
+ <BaseClass>psrp:StructurePhysicalType</BaseClass>
46
+ </ECEntityClass>
47
+ <ECEntityClass typeName="FoundationSymbolsPhysicalType" displayLabel="Foundation Symbols Physical Type" description="Represents the Physical Type that stores the name of the physical class to be instanced when an electrical equipment is placed. Further the physical type has a reference to the recipe of the graphical elements that need to instanced. These graphical elements represent the physical geometry of the equipment. Can also a shared set of properties whose values vary per-type of an ElectricalPhysicalType." modifier="None">
48
+ <BaseClass>psrp:FoundationPhysicalType</BaseClass>
49
+ </ECEntityClass>
50
+ <ECEntityClass typeName="SubstationSymbolsPhysicalType" displayLabel="Substation Symbols Physical Type" description="Represents the Physical Type that stores the name of the physical class to be instanced when an electrical equipment is placed. Further the physical type has a reference to the recipe of the graphical elements that need to instanced. These graphical elements represent the physical geometry of the equipment. Can also a shared set of properties whose values vary per-type of an ElectricalPhysicalType." modifier="None">
51
+ <BaseClass>subphy:SubstationPhysicalType</BaseClass>
52
+ </ECEntityClass>
53
+ <ECRelationshipClass typeName="EquipmentDefinitionRefersToSymbol" modifier="None" strength="Referencing" strengthDirection="Forward">
54
+ <BaseClass>bis:ElementRefersToElements</BaseClass>
55
+ <ECProperty propertyName="DrawingAffinity" description="The Drawing affinity of the Equipment Definition's Symbol reference" displayLabel="Symbol Drawing Affinity" typeName="SymbolDrawingAffinity" />
56
+ <Source polymorphic="true" roleLabel="refers to" multiplicity="(0..*)" abstractConstraint="ElectricalEquipmentDefinition">
57
+ <Class class="ElectricalEquipmentDefinition" />
58
+ </Source>
59
+ <Target polymorphic="true" roleLabel="is referred by" multiplicity="(0..*)" abstractConstraint="subdwg:ElectricalSingleSymbolDefinition">
60
+ <Class class="subdwg:ElectricalSingleSymbolDefinition" />
61
+ </Target>
62
+ </ECRelationshipClass>
63
+ </ECSchema>
package/package.json ADDED
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "@bentley/substation-symbols-schema",
3
+ "license": "MIT",
4
+ "version": "1.0.5-dev.1",
5
+ "homepage": "https://www.itwinjs.org/",
6
+ "keywords": [
7
+ "Bentley",
8
+ "BIS",
9
+ "iModel"
10
+ ],
11
+ "description": "SubstationSymbols BIS Domains",
12
+ "author": {
13
+ "name": "Bentley Systems, Inc.",
14
+ "url": "http://www.bentley.com"
15
+ },
16
+ "exports" : {
17
+ "./SubstationSymbols.ecschema.xml": "./SubstationSymbols.ecschema.xml",
18
+ "./SubstationSymbols.ecschema.json": "./SubstationSymbols.ecschema.json"
19
+ }
20
+ }