@itwin/process-pid-graphical-schema 0.0.0-stage → 1.0.4-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 +9 -0
- package/ProcessPidGraphical.ecschema.json +1 -0
- package/ProcessPidGraphical.ecschema.xml +69 -0
- package/README.md +9 -3
- package/package.json +24 -6
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.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://dev.bentley.com/json_schemas/ec/32/ecschema","name":"ProcessPidGraphical","version":"01.00.04","alias":"ppidg","label":"Process PID Graphical","description":"Process PID graphical schema","references":[{"name":"BisCore","version":"01.00.28"},{"name":"CoreCustomAttributes","version":"01.00.05"},{"name":"PlantCustomAttributes","version":"01.00.01"}],"customAttributes":[{"className":"CoreCustomAttributes.HiddenSchema"}],"items":{"OpCheckOutId":{"schemaItemType":"EntityClass","label":"OpenPlant checkout Id","description":"Element that contains the checkout Id","baseClass":"BisCore.DefinitionElement","properties":[{"name":"UserName","type":"PrimitiveProperty","description":"Name of the user that did the checkout","label":"User Name","typeName":"string"},{"name":"DgnFileName","type":"PrimitiveProperty","description":"Name of the file that was the target of the check-out","label":"Dgn File Name","typeName":"string"},{"name":"BriefcaseId","type":"PrimitiveProperty","description":"Briefcase ID that was the source for the check-out","label":"Briefcase ID","typeName":"int"},{"name":"IsActive","type":"PrimitiveProperty","description":"Identifies if the check-out Id is active.","label":"Is Active","typeName":"boolean"}]},"OpFontMap":{"schemaItemType":"EntityClass","label":"OpenPlant Font Map","description":"Element that contains the mapping to V8 Fonts","baseClass":"BisCore.DefinitionElement","properties":[{"name":"FontName","type":"PrimitiveProperty","description":"Name of the V8 Font","label":"Font Name","typeName":"string"}]},"OpLevelMap":{"schemaItemType":"EntityClass","label":"OpenPlant Level Map","description":"Element that contains the mapping to V8 levels","baseClass":"BisCore.DefinitionElement","properties":[{"name":"LevelName","type":"PrimitiveProperty","description":"Name of the V8 Level","label":"Level Name","typeName":"string"}]},"OpLineStyleMap":{"schemaItemType":"EntityClass","label":"OpenPlant Line Style Map","description":"Element that contains the mapping to V8 Line Styles","baseClass":"BisCore.DefinitionElement","properties":[{"name":"StyleName","type":"PrimitiveProperty","description":"Name of the V8 Line Style","label":"Style Name","typeName":"string"}]},"OpSettings":{"schemaItemType":"EntityClass","label":"OpenPlant Settings","description":"Element that contains the settings to check for V8 Element Descriptors","baseClass":"BisCore.DefinitionElement","properties":[{"name":"UorsPerMeter","type":"PrimitiveProperty","description":"Uors per Meter","label":"UorsPerMeter","typeName":"double"},{"name":"SolidWorkingArea","type":"PrimitiveProperty","description":"Solids Working Area","label":"Solids Working Area","typeName":"double"}]},"PidGraphic":{"schemaItemType":"EntityClass","label":"Pid Graphic","description":"Pid graphic","baseClass":"BisCore.DrawingGraphic","properties":[{"name":"TypeName","type":"PrimitiveProperty","description":"Class name corresponding to OpenPlant v8i round tripping","label":"Type Name","typeName":"string"},{"name":"V8Id","type":"PrimitiveProperty","description":"v8i Element ID","label":"V8 ID","typeName":"int"},{"name":"V8ModifiedTime","type":"PrimitiveProperty","description":"V8 Last Modified of the cooresponding V8 Element","label":"V8 Last Modified","typeName":"double"}]},"PIDGraphicOwnsPidTextAnnotation":{"schemaItemType":"RelationshipClass","modifier":"None","baseClass":"BisCore.ElementOwnsChildElements","strength":"Embedding","strengthDirection":"Forward","source":{"multiplicity":"(1..1)","roleLabel":"owns","polymorphic":true,"constraintClasses":["ProcessPidGraphical.PidGraphic"]},"target":{"multiplicity":"(0..1)","roleLabel":"is owned by","polymorphic":false,"constraintClasses":["ProcessPidGraphical.PidTextAnnotation"]}},"PidTextAnnotation":{"schemaItemType":"EntityClass","label":"Pid text annotation","description":"Pid text annotation","baseClass":"ProcessPidGraphical.PidGraphic"},"PidLogicalAssembly":{"schemaItemType":"EntityClass","label":"Pid logical assembly","description":"An element without graphics which is used as a container to group related PidGraphic elements","baseClass":"ProcessPidGraphical.PidGraphic"},"PidLogicalAssemblyOwnsPidGraphic":{"schemaItemType":"RelationshipClass","modifier":"None","baseClass":"BisCore.ElementOwnsChildElements","strength":"Embedding","strengthDirection":"Forward","source":{"multiplicity":"(0..1)","roleLabel":"owns","polymorphic":true,"constraintClasses":["ProcessPidGraphical.PidLogicalAssembly"]},"target":{"multiplicity":"(0..*)","roleLabel":"is owned by","polymorphic":true,"constraintClasses":["ProcessPidGraphical.PidGraphic"]}}}}
|
|
@@ -0,0 +1,69 @@
|
|
|
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 schemaName="ProcessPidGraphical" alias="ppidg" version="01.00.04" description="Process PID graphical schema" displayLabel="Process PID Graphical" xmlns="http://www.bentley.com/schemas/Bentley.ECXML.3.1">
|
|
7
|
+
<ECSchemaReference name="CoreCustomAttributes" version="01.00.03" alias="CoreCA"/>
|
|
8
|
+
<ECSchemaReference name="BisCore" version="01.00.15" alias="bis"/>
|
|
9
|
+
<ECSchemaReference name="PlantCustomAttributes" version="01.00.00" alias="PlantCA"/>
|
|
10
|
+
<ECCustomAttributes>
|
|
11
|
+
<HiddenSchema xmlns="CoreCustomAttributes.01.03"/>
|
|
12
|
+
</ECCustomAttributes>
|
|
13
|
+
<ECEntityClass typeName="PidGraphic" description="Pid graphic" displayLabel="Pid Graphic">
|
|
14
|
+
<BaseClass>bis:DrawingGraphic</BaseClass>
|
|
15
|
+
<ECProperty propertyName="TypeName" typeName="string" displayLabel="Type Name" description="Class name corresponding to OpenPlant v8i round tripping" />
|
|
16
|
+
<ECProperty propertyName="V8Id" typeName="int" displayLabel="V8 ID" description="v8i Element ID" />
|
|
17
|
+
<ECProperty propertyName="V8ModifiedTime" typeName="double" displayLabel="V8 Last Modified" description="V8 Last Modified of the cooresponding V8 Element">
|
|
18
|
+
</ECProperty>
|
|
19
|
+
</ECEntityClass>
|
|
20
|
+
<ECEntityClass typeName="PidLogicalAssembly" description="An element without graphics which is used as a container to group related PidGraphic elements" displayLabel="Pid logical assembly">
|
|
21
|
+
<BaseClass>PidGraphic</BaseClass>
|
|
22
|
+
</ECEntityClass>
|
|
23
|
+
<ECEntityClass typeName="PidTextAnnotation" description="Pid text annotation" displayLabel="Pid text annotation">
|
|
24
|
+
<BaseClass>PidGraphic</BaseClass>
|
|
25
|
+
</ECEntityClass>
|
|
26
|
+
<ECRelationshipClass typeName="PIDGraphicOwnsPidTextAnnotation" strength="embedding" modifier="None">
|
|
27
|
+
<BaseClass>bis:ElementOwnsChildElements</BaseClass>
|
|
28
|
+
<Source multiplicity="(1..1)" roleLabel="owns" polymorphic="true">
|
|
29
|
+
<Class class="PidGraphic"/>
|
|
30
|
+
</Source>
|
|
31
|
+
<Target multiplicity="(0..1)" roleLabel="is owned by" polymorphic="false">
|
|
32
|
+
<Class class="PidTextAnnotation"/>
|
|
33
|
+
</Target>
|
|
34
|
+
</ECRelationshipClass>
|
|
35
|
+
<ECRelationshipClass typeName="PidLogicalAssemblyOwnsPidGraphic" strength="embedding" modifier="None">
|
|
36
|
+
<BaseClass>bis:ElementOwnsChildElements</BaseClass>
|
|
37
|
+
<Source multiplicity="(0..1)" roleLabel="owns" polymorphic="true">
|
|
38
|
+
<Class class="PidLogicalAssembly"/>
|
|
39
|
+
</Source>
|
|
40
|
+
<Target multiplicity="(0..*)" roleLabel="is owned by" polymorphic="true">
|
|
41
|
+
<Class class="PidGraphic"/>
|
|
42
|
+
</Target>
|
|
43
|
+
</ECRelationshipClass>
|
|
44
|
+
<ECEntityClass typeName="OpLevelMap" description="Element that contains the mapping to V8 levels" displayLabel="OpenPlant Level Map">
|
|
45
|
+
<BaseClass>bis:DefinitionElement</BaseClass>
|
|
46
|
+
<ECProperty propertyName="LevelName" typeName="string" displayLabel="Level Name" description="Name of the V8 Level" />
|
|
47
|
+
</ECEntityClass>
|
|
48
|
+
<ECEntityClass typeName="OpFontMap" description="Element that contains the mapping to V8 Fonts" displayLabel="OpenPlant Font Map">
|
|
49
|
+
<BaseClass>bis:DefinitionElement</BaseClass>
|
|
50
|
+
<ECProperty propertyName="FontName" typeName="string" displayLabel="Font Name" description="Name of the V8 Font" />
|
|
51
|
+
</ECEntityClass>
|
|
52
|
+
<ECEntityClass typeName="OpLineStyleMap" description="Element that contains the mapping to V8 Line Styles" displayLabel="OpenPlant Line Style Map">
|
|
53
|
+
<BaseClass>bis:DefinitionElement</BaseClass>
|
|
54
|
+
<ECProperty propertyName="StyleName" typeName="string" displayLabel="Style Name" description="Name of the V8 Line Style" />
|
|
55
|
+
</ECEntityClass>
|
|
56
|
+
<ECEntityClass typeName="OpSettings" description="Element that contains the settings to check for V8 Element Descriptors" displayLabel="OpenPlant Settings">
|
|
57
|
+
<BaseClass>bis:DefinitionElement</BaseClass>
|
|
58
|
+
<ECProperty propertyName="UorsPerMeter" typeName="double" displayLabel="UorsPerMeter" description="Uors per Meter" />
|
|
59
|
+
<ECProperty propertyName="SolidWorkingArea" typeName="double" displayLabel="Solids Working Area" description="Solids Working Area" />
|
|
60
|
+
</ECEntityClass>
|
|
61
|
+
<ECEntityClass typeName="OpCheckOutId" description="Element that contains the checkout Id" displayLabel="OpenPlant checkout Id">
|
|
62
|
+
<BaseClass>bis:DefinitionElement</BaseClass>
|
|
63
|
+
<ECProperty propertyName="UserName" typeName="string" displayLabel="User Name" description="Name of the user that did the checkout" />
|
|
64
|
+
<ECProperty propertyName="DgnFileName" typeName="string" displayLabel="Dgn File Name" description="Name of the file that was the target of the check-out" />
|
|
65
|
+
<ECProperty propertyName="BriefcaseId" typeName="int" displayLabel="Briefcase ID" description="Briefcase ID that was the source for the check-out" />
|
|
66
|
+
<ECProperty propertyName="IsActive" typeName="boolean" displayLabel="Is Active" description="Identifies if the check-out Id is active." />
|
|
67
|
+
</ECEntityClass>
|
|
68
|
+
</ECSchema>
|
|
69
|
+
|
package/README.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
# @itwin/process-pid-graphical-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.
|
package/package.json
CHANGED
|
@@ -1,6 +1,24 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@itwin/process-pid-graphical-schema",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@itwin/process-pid-graphical-schema",
|
|
3
|
+
"license": "MIT",
|
|
4
|
+
"version": "1.0.4-dev.1",
|
|
5
|
+
"homepage": "https://www.itwinjs.org/",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/iTwin/bis-schemas"
|
|
9
|
+
},
|
|
10
|
+
"keywords": [
|
|
11
|
+
"Bentley",
|
|
12
|
+
"BIS",
|
|
13
|
+
"iModel"
|
|
14
|
+
],
|
|
15
|
+
"description": "ProcessPidGraphical BIS Domains",
|
|
16
|
+
"author": {
|
|
17
|
+
"name": "Bentley Systems, Inc.",
|
|
18
|
+
"url": "http://www.bentley.com"
|
|
19
|
+
},
|
|
20
|
+
"exports" : {
|
|
21
|
+
"./ProcessPidGraphical.ecschema.xml": "./ProcessPidGraphical.ecschema.xml",
|
|
22
|
+
"./ProcessPidGraphical.ecschema.json": "./ProcessPidGraphical.ecschema.json"
|
|
23
|
+
}
|
|
24
|
+
}
|