@itwin/presentation-backend 3.0.0-dev.100

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.
Files changed (79) hide show
  1. package/CHANGELOG.md +936 -0
  2. package/LICENSE.md +9 -0
  3. package/README.md +12 -0
  4. package/lib/cjs/assets/primary-presentation-rules/ElementProperties.PresentationRuleSet.json +14 -0
  5. package/lib/cjs/assets/supplemental-presentation-rules/BisCore.PresentationRuleSet.json +739 -0
  6. package/lib/cjs/assets/supplemental-presentation-rules/Functional.PresentationRuleSet.json +139 -0
  7. package/lib/cjs/presentation-backend/BackendLoggerCategory.d.ts +42 -0
  8. package/lib/cjs/presentation-backend/BackendLoggerCategory.d.ts.map +1 -0
  9. package/lib/cjs/presentation-backend/BackendLoggerCategory.js +51 -0
  10. package/lib/cjs/presentation-backend/BackendLoggerCategory.js.map +1 -0
  11. package/lib/cjs/presentation-backend/Constants.d.ts +14 -0
  12. package/lib/cjs/presentation-backend/Constants.d.ts.map +1 -0
  13. package/lib/cjs/presentation-backend/Constants.js +44 -0
  14. package/lib/cjs/presentation-backend/Constants.js.map +1 -0
  15. package/lib/cjs/presentation-backend/ElementPropertiesHelper.d.ts +12 -0
  16. package/lib/cjs/presentation-backend/ElementPropertiesHelper.d.ts.map +1 -0
  17. package/lib/cjs/presentation-backend/ElementPropertiesHelper.js +256 -0
  18. package/lib/cjs/presentation-backend/ElementPropertiesHelper.js.map +1 -0
  19. package/lib/cjs/presentation-backend/NativePlatform.d.ts +86 -0
  20. package/lib/cjs/presentation-backend/NativePlatform.d.ts.map +1 -0
  21. package/lib/cjs/presentation-backend/NativePlatform.js +153 -0
  22. package/lib/cjs/presentation-backend/NativePlatform.js.map +1 -0
  23. package/lib/cjs/presentation-backend/Presentation.d.ts +98 -0
  24. package/lib/cjs/presentation-backend/Presentation.d.ts.map +1 -0
  25. package/lib/cjs/presentation-backend/Presentation.js +135 -0
  26. package/lib/cjs/presentation-backend/Presentation.js.map +1 -0
  27. package/lib/cjs/presentation-backend/PresentationIpcHandler.d.ts +13 -0
  28. package/lib/cjs/presentation-backend/PresentationIpcHandler.d.ts.map +1 -0
  29. package/lib/cjs/presentation-backend/PresentationIpcHandler.js +41 -0
  30. package/lib/cjs/presentation-backend/PresentationIpcHandler.js.map +1 -0
  31. package/lib/cjs/presentation-backend/PresentationManager.d.ts +379 -0
  32. package/lib/cjs/presentation-backend/PresentationManager.d.ts.map +1 -0
  33. package/lib/cjs/presentation-backend/PresentationManager.js +635 -0
  34. package/lib/cjs/presentation-backend/PresentationManager.js.map +1 -0
  35. package/lib/cjs/presentation-backend/PresentationRpcImpl.d.ts +58 -0
  36. package/lib/cjs/presentation-backend/PresentationRpcImpl.d.ts.map +1 -0
  37. package/lib/cjs/presentation-backend/PresentationRpcImpl.js +271 -0
  38. package/lib/cjs/presentation-backend/PresentationRpcImpl.js.map +1 -0
  39. package/lib/cjs/presentation-backend/RulesetEmbedder.d.ts +105 -0
  40. package/lib/cjs/presentation-backend/RulesetEmbedder.d.ts.map +1 -0
  41. package/lib/cjs/presentation-backend/RulesetEmbedder.js +283 -0
  42. package/lib/cjs/presentation-backend/RulesetEmbedder.js.map +1 -0
  43. package/lib/cjs/presentation-backend/RulesetManager.d.ts +54 -0
  44. package/lib/cjs/presentation-backend/RulesetManager.d.ts.map +1 -0
  45. package/lib/cjs/presentation-backend/RulesetManager.js +74 -0
  46. package/lib/cjs/presentation-backend/RulesetManager.js.map +1 -0
  47. package/lib/cjs/presentation-backend/RulesetVariablesManager.d.ts +141 -0
  48. package/lib/cjs/presentation-backend/RulesetVariablesManager.d.ts.map +1 -0
  49. package/lib/cjs/presentation-backend/RulesetVariablesManager.js +130 -0
  50. package/lib/cjs/presentation-backend/RulesetVariablesManager.js.map +1 -0
  51. package/lib/cjs/presentation-backend/SelectionScopesHelper.d.ts +38 -0
  52. package/lib/cjs/presentation-backend/SelectionScopesHelper.d.ts.map +1 -0
  53. package/lib/cjs/presentation-backend/SelectionScopesHelper.js +257 -0
  54. package/lib/cjs/presentation-backend/SelectionScopesHelper.js.map +1 -0
  55. package/lib/cjs/presentation-backend/TemporaryStorage.d.ts +73 -0
  56. package/lib/cjs/presentation-backend/TemporaryStorage.d.ts.map +1 -0
  57. package/lib/cjs/presentation-backend/TemporaryStorage.js +92 -0
  58. package/lib/cjs/presentation-backend/TemporaryStorage.js.map +1 -0
  59. package/lib/cjs/presentation-backend/UpdatesTracker.d.ts +28 -0
  60. package/lib/cjs/presentation-backend/UpdatesTracker.d.ts.map +1 -0
  61. package/lib/cjs/presentation-backend/UpdatesTracker.js +55 -0
  62. package/lib/cjs/presentation-backend/UpdatesTracker.js.map +1 -0
  63. package/lib/cjs/presentation-backend/Utils.d.ts +11 -0
  64. package/lib/cjs/presentation-backend/Utils.d.ts.map +1 -0
  65. package/lib/cjs/presentation-backend/Utils.js +39 -0
  66. package/lib/cjs/presentation-backend/Utils.js.map +1 -0
  67. package/lib/cjs/presentation-backend/domain/PresentationRulesDomain.d.ts +17 -0
  68. package/lib/cjs/presentation-backend/domain/PresentationRulesDomain.d.ts.map +1 -0
  69. package/lib/cjs/presentation-backend/domain/PresentationRulesDomain.js +52 -0
  70. package/lib/cjs/presentation-backend/domain/PresentationRulesDomain.js.map +1 -0
  71. package/lib/cjs/presentation-backend/domain/RulesetElements.d.ts +22 -0
  72. package/lib/cjs/presentation-backend/domain/RulesetElements.d.ts.map +1 -0
  73. package/lib/cjs/presentation-backend/domain/RulesetElements.js +39 -0
  74. package/lib/cjs/presentation-backend/domain/RulesetElements.js.map +1 -0
  75. package/lib/cjs/presentation-backend.d.ts +20 -0
  76. package/lib/cjs/presentation-backend.d.ts.map +1 -0
  77. package/lib/cjs/presentation-backend.js +36 -0
  78. package/lib/cjs/presentation-backend.js.map +1 -0
  79. package/package.json +99 -0
@@ -0,0 +1,739 @@
1
+ {
2
+ "$schema": "../../../common/Ruleset.schema.json",
3
+ "id": "BisCore",
4
+ "supplementationInfo": {
5
+ "supplementationPurpose": "BisCore specific customization rules"
6
+ },
7
+ "requiredSchemas": [
8
+ {
9
+ "name": "BisCore"
10
+ }
11
+ ],
12
+ "rules": [
13
+ {
14
+ "ruleType": "InstanceLabelOverride",
15
+ "onlyIfNotHandled": true,
16
+ "class": {
17
+ "schemaName": "BisCore",
18
+ "className": "GeometricElement"
19
+ },
20
+ "values": [
21
+ {
22
+ "specType": "Property",
23
+ "propertyName": "CodeValue"
24
+ },
25
+ {
26
+ "specType": "Composite",
27
+ "separator": " ",
28
+ "parts": [
29
+ {
30
+ "spec": {
31
+ "specType": "Property",
32
+ "propertyName": "UserLabel"
33
+ },
34
+ "isRequired": true
35
+ },
36
+ {
37
+ "spec": {
38
+ "specType": "Composite",
39
+ "separator": "",
40
+ "parts": [
41
+ {
42
+ "spec": {
43
+ "specType": "String",
44
+ "value": "["
45
+ }
46
+ },
47
+ {
48
+ "spec": {
49
+ "specType": "BriefcaseId"
50
+ }
51
+ },
52
+ {
53
+ "spec": {
54
+ "specType": "String",
55
+ "value": "-"
56
+ }
57
+ },
58
+ {
59
+ "spec": {
60
+ "specType": "LocalId"
61
+ }
62
+ },
63
+ {
64
+ "spec": {
65
+ "specType": "String",
66
+ "value": "]"
67
+ }
68
+ }
69
+ ]
70
+ }
71
+ }
72
+ ]
73
+ },
74
+ {
75
+ "specType": "Composite",
76
+ "separator": " ",
77
+ "parts": [
78
+ {
79
+ "spec": {
80
+ "specType": "ClassLabel"
81
+ },
82
+ "isRequired": true
83
+ },
84
+ {
85
+ "spec": {
86
+ "specType": "Composite",
87
+ "separator": "",
88
+ "parts": [
89
+ {
90
+ "spec": {
91
+ "specType": "String",
92
+ "value": "["
93
+ }
94
+ },
95
+ {
96
+ "spec": {
97
+ "specType": "BriefcaseId"
98
+ }
99
+ },
100
+ {
101
+ "spec": {
102
+ "specType": "String",
103
+ "value": "-"
104
+ }
105
+ },
106
+ {
107
+ "spec": {
108
+ "specType": "LocalId"
109
+ }
110
+ },
111
+ {
112
+ "spec": {
113
+ "specType": "String",
114
+ "value": "]"
115
+ }
116
+ }
117
+ ]
118
+ }
119
+ }
120
+ ]
121
+ }
122
+ ]
123
+ },
124
+ {
125
+ "ruleType": "InstanceLabelOverride",
126
+ "onlyIfNotHandled": true,
127
+ "class": {
128
+ "schemaName": "BisCore",
129
+ "className": "Element"
130
+ },
131
+ "values": [
132
+ {
133
+ "specType": "Property",
134
+ "propertyName": "UserLabel"
135
+ },
136
+ {
137
+ "specType": "Property",
138
+ "propertyName": "CodeValue"
139
+ },
140
+ {
141
+ "specType": "Composite",
142
+ "separator": " ",
143
+ "parts": [
144
+ {
145
+ "spec": {
146
+ "specType": "ClassLabel"
147
+ },
148
+ "isRequired": true
149
+ },
150
+ {
151
+ "spec": {
152
+ "specType": "Composite",
153
+ "separator": "",
154
+ "parts": [
155
+ {
156
+ "spec": {
157
+ "specType": "String",
158
+ "value": "["
159
+ }
160
+ },
161
+ {
162
+ "spec": {
163
+ "specType": "BriefcaseId"
164
+ }
165
+ },
166
+ {
167
+ "spec": {
168
+ "specType": "String",
169
+ "value": "-"
170
+ }
171
+ },
172
+ {
173
+ "spec": {
174
+ "specType": "LocalId"
175
+ }
176
+ },
177
+ {
178
+ "spec": {
179
+ "specType": "String",
180
+ "value": "]"
181
+ }
182
+ }
183
+ ]
184
+ }
185
+ }
186
+ ]
187
+ }
188
+ ]
189
+ },
190
+ {
191
+ "ruleType": "InstanceLabelOverride",
192
+ "onlyIfNotHandled": true,
193
+ "class": {
194
+ "schemaName": "BisCore",
195
+ "className": "Model"
196
+ },
197
+ "values": [
198
+ {
199
+ "specType": "RelatedInstanceLabel",
200
+ "pathToRelatedInstance": {
201
+ "relationship": {
202
+ "schemaName": "BisCore",
203
+ "className": "ModelModelsElement"
204
+ },
205
+ "direction": "Forward"
206
+ }
207
+ }
208
+ ]
209
+ },
210
+ {
211
+ "ruleType": "ContentModifier",
212
+ "class": {
213
+ "schemaName": "BisCore",
214
+ "className": "Element"
215
+ },
216
+ "propertyCategories": [
217
+ {
218
+ "id": "source_information",
219
+ "label": "@BisCore:Categories.SourceInformation@"
220
+ },
221
+ {
222
+ "id": "model_source",
223
+ "label": "@BisCore:Categories.SourceInformationModelSource@",
224
+ "parentId": "source_information",
225
+ "autoExpand": true
226
+ }
227
+ ],
228
+ "relatedProperties": [
229
+ {
230
+ "propertiesSource": {
231
+ "relationship": {
232
+ "schemaName": "BisCore",
233
+ "className": "ElementOwnsUniqueAspect"
234
+ },
235
+ "direction": "Forward"
236
+ },
237
+ "handleTargetClassPolymorphically": true,
238
+ "relationshipMeaning": "SameInstance",
239
+ "skipIfDuplicate": true
240
+ },
241
+ {
242
+ "propertiesSource": {
243
+ "relationship": {
244
+ "schemaName": "BisCore",
245
+ "className": "ElementOwnsMultiAspects"
246
+ },
247
+ "direction": "Forward"
248
+ },
249
+ "handleTargetClassPolymorphically": true,
250
+ "relationshipMeaning": "SameInstance",
251
+ "skipIfDuplicate": true
252
+ },
253
+ {
254
+ "propertiesSource": {
255
+ "relationship": {
256
+ "schemaName": "BisCore",
257
+ "className": "ElementHasLinks"
258
+ },
259
+ "direction": "Forward"
260
+ },
261
+ "handleTargetClassPolymorphically": true,
262
+ "relationshipMeaning": "RelatedInstance",
263
+ "skipIfDuplicate": true
264
+ },
265
+ {
266
+ "propertiesSource": {
267
+ "relationship": {
268
+ "schemaName": "BisCore",
269
+ "className": "ElementGroupsMembers"
270
+ },
271
+ "targetClass": {
272
+ "schemaName": "BisCore",
273
+ "className": "GroupInformationElement"
274
+ },
275
+ "direction": "Backward"
276
+ },
277
+ "handleTargetClassPolymorphically": true,
278
+ "relationshipMeaning": "RelatedInstance",
279
+ "nestedRelatedProperties": [
280
+ {
281
+ "propertiesSource": {
282
+ "relationship": {
283
+ "schemaName": "BisCore",
284
+ "className": "ElementHasLinks"
285
+ },
286
+ "direction": "Forward"
287
+ },
288
+ "handleTargetClassPolymorphically": true,
289
+ "autoExpand": true,
290
+ "relationshipMeaning": "RelatedInstance"
291
+ }
292
+ ],
293
+ "skipIfDuplicate": true
294
+ },
295
+ {
296
+ "propertiesSource": {
297
+ "relationship": {
298
+ "schemaName": "BisCore",
299
+ "className": "ModelContainsElements"
300
+ },
301
+ "direction": "Backward"
302
+ },
303
+ "properties": "_none_",
304
+ "relationshipMeaning": "SameInstance",
305
+ "nestedRelatedProperties": [
306
+ {
307
+ "propertiesSource": {
308
+ "relationship": {
309
+ "schemaName": "BisCore",
310
+ "className": "ModelModelsElement"
311
+ },
312
+ "direction": "Forward"
313
+ },
314
+ "properties": "_none_",
315
+ "relationshipMeaning": "SameInstance",
316
+ "nestedRelatedProperties": [
317
+ {
318
+ "propertiesSource": {
319
+ "relationship": {
320
+ "schemaName": "BisCore",
321
+ "className": "ElementHasLinks"
322
+ },
323
+ "targetClass": {
324
+ "schemaName": "BisCore",
325
+ "className": "RepositoryLink"
326
+ },
327
+ "direction": "Forward"
328
+ },
329
+ "properties": [
330
+ {
331
+ "name": "Url",
332
+ "overridesPriority": 1001,
333
+ "labelOverride": "@BisCore:Properties.SourceInformation.Path@",
334
+ "categoryId": "model_source",
335
+ "isDisplayed": true
336
+ },
337
+ {
338
+ "name": "UserLabel",
339
+ "overridesPriority": 1001,
340
+ "labelOverride": "@BisCore:Properties.SourceInformation.Name@",
341
+ "categoryId": "model_source",
342
+ "isDisplayed": true
343
+ }
344
+ ],
345
+ "relationshipMeaning": "SameInstance"
346
+ }
347
+ ]
348
+ }
349
+ ],
350
+ "skipIfDuplicate": true
351
+ }
352
+ ]
353
+ },
354
+ {
355
+ "ruleType": "ContentModifier",
356
+ "requiredSchemas": [
357
+ {
358
+ "name": "BisCore",
359
+ "minVersion": "1.0.2"
360
+ }
361
+ ],
362
+ "class": {
363
+ "schemaName": "BisCore",
364
+ "className": "Element"
365
+ },
366
+ "propertyCategories": [
367
+ {
368
+ "id": "source_information",
369
+ "label": "@BisCore:Categories.SourceInformation@"
370
+ }
371
+ ],
372
+ "relatedProperties": [
373
+ {
374
+ "relationshipMeaning": "SameInstance",
375
+ "propertiesSource": [
376
+ {
377
+ "relationship": {
378
+ "schemaName": "BisCore",
379
+ "className": "ElementOwnsMultiAspects"
380
+ },
381
+ "direction": "Forward",
382
+ "targetClass": {
383
+ "schemaName": "BisCore",
384
+ "className": "ExternalSourceAspect"
385
+ }
386
+ }
387
+ ],
388
+ "properties": [
389
+ {
390
+ "name": "Identifier",
391
+ "overridesPriority": 1001,
392
+ "categoryId": "source_information",
393
+ "labelOverride": "@BisCore:Properties.SourceInformation.ElementId@",
394
+ "isDisplayed": true
395
+ }
396
+ ],
397
+ "skipIfDuplicate": true
398
+ }
399
+ ]
400
+ },
401
+ {
402
+ "ruleType": "ContentModifier",
403
+ "requiredSchemas": [
404
+ {
405
+ "name": "BisCore",
406
+ "minVersion": "1.0.13"
407
+ }
408
+ ],
409
+ "class": {
410
+ "schemaName": "BisCore",
411
+ "className": "Element"
412
+ },
413
+ "propertyCategories": [
414
+ {
415
+ "id": "source_information",
416
+ "label": "@BisCore:Categories.SourceInformation@",
417
+ "autoExpand": true
418
+ },
419
+ {
420
+ "id": "secondary_sources",
421
+ "label": "@BisCore:Categories.SourceInformationSecondarySources@",
422
+ "parentId": "source_information",
423
+ "autoExpand": true
424
+ }
425
+ ],
426
+ "relatedProperties": [
427
+ {
428
+ "relationshipMeaning": "SameInstance",
429
+ "propertiesSource": [
430
+ {
431
+ "relationship": {
432
+ "schemaName": "BisCore",
433
+ "className": "ElementOwnsMultiAspects"
434
+ },
435
+ "direction": "Forward",
436
+ "targetClass": {
437
+ "schemaName": "BisCore",
438
+ "className": "ExternalSourceAspect"
439
+ }
440
+ }
441
+ ],
442
+ "properties": "_none_",
443
+ "autoExpand": true,
444
+ "nestedRelatedProperties": [
445
+ {
446
+ "relationshipMeaning": "SameInstance",
447
+ "autoExpand": true,
448
+ "propertiesSource": [
449
+ {
450
+ "relationship": {
451
+ "schemaName": "BisCore",
452
+ "className": "ElementIsFromSource"
453
+ },
454
+ "direction": "Forward"
455
+ },
456
+ {
457
+ "relationship": {
458
+ "schemaName": "BisCore",
459
+ "className": "ExternalSourceIsInRepository"
460
+ },
461
+ "direction": "Forward"
462
+ }
463
+ ],
464
+ "properties": [
465
+ {
466
+ "name": "UserLabel",
467
+ "categoryId": "source_information",
468
+ "labelOverride": "@BisCore:Properties.SourceInformation.Name@",
469
+ "isDisplayed": true
470
+ },
471
+ {
472
+ "name": "Url",
473
+ "categoryId": "source_information",
474
+ "labelOverride": "@BisCore:Properties.SourceInformation.Path@"
475
+ }
476
+ ]
477
+ },
478
+ {
479
+ "relationshipMeaning": "SameInstance",
480
+ "autoExpand": true,
481
+ "propertiesSource": [
482
+ {
483
+ "relationship": {
484
+ "schemaName": "BisCore",
485
+ "className": "ElementIsFromSource"
486
+ },
487
+ "direction": "Forward",
488
+ "targetClass": {
489
+ "schemaName": "BisCore",
490
+ "className": "ExternalSourceGroup"
491
+ }
492
+ },
493
+ {
494
+ "relationship": {
495
+ "schemaName": "BisCore",
496
+ "className": "ExternalSourceGroupGroupsSources"
497
+ },
498
+ "direction": "Forward"
499
+ },
500
+ {
501
+ "relationship": {
502
+ "schemaName": "BisCore",
503
+ "className": "ExternalSourceIsInRepository"
504
+ },
505
+ "direction": "Forward"
506
+ }
507
+ ],
508
+ "properties": [
509
+ {
510
+ "name": "UserLabel",
511
+ "categoryId": "secondary_sources",
512
+ "labelOverride": "@BisCore:Properties.SourceInformation.Name@",
513
+ "isDisplayed": true
514
+ },
515
+ {
516
+ "name": "Url",
517
+ "categoryId": "secondary_sources",
518
+ "labelOverride": "@BisCore:Properties.SourceInformation.Path@"
519
+ }
520
+ ]
521
+ }
522
+ ],
523
+ "skipIfDuplicate": true
524
+ }
525
+ ]
526
+ },
527
+ {
528
+ "ruleType": "ContentModifier",
529
+ "class": {
530
+ "schemaName": "BisCore",
531
+ "className": "GeometricElement3d"
532
+ },
533
+ "relatedProperties": [
534
+ {
535
+ "propertiesSource": {
536
+ "relationship": {
537
+ "schemaName": "BisCore",
538
+ "className": "GeometricElement3dHasTypeDefinition"
539
+ },
540
+ "direction": "Forward"
541
+ },
542
+ "handleTargetClassPolymorphically": true,
543
+ "relationshipMeaning": "RelatedInstance",
544
+ "nestedRelatedProperties": [
545
+ {
546
+ "propertiesSource": {
547
+ "relationship": {
548
+ "schemaName": "BisCore",
549
+ "className": "ElementOwnsUniqueAspect"
550
+ },
551
+ "direction": "Forward"
552
+ },
553
+ "handleTargetClassPolymorphically": true,
554
+ "relationshipMeaning": "SameInstance"
555
+ },
556
+ {
557
+ "propertiesSource": {
558
+ "relationship": {
559
+ "schemaName": "BisCore",
560
+ "className": "ElementOwnsMultiAspects"
561
+ },
562
+ "direction": "Forward"
563
+ },
564
+ "handleTargetClassPolymorphically": true,
565
+ "relationshipMeaning": "SameInstance"
566
+ }
567
+ ],
568
+ "skipIfDuplicate": true
569
+ }
570
+ ]
571
+ },
572
+ {
573
+ "ruleType": "ContentModifier",
574
+ "class": {
575
+ "schemaName": "BisCore",
576
+ "className": "GeometricElement2d"
577
+ },
578
+ "relatedProperties": [
579
+ {
580
+ "propertiesSource": {
581
+ "relationship": {
582
+ "schemaName": "BisCore",
583
+ "className": "GeometricElement2dHasTypeDefinition"
584
+ },
585
+ "direction": "Forward"
586
+ },
587
+ "handleTargetClassPolymorphically": true,
588
+ "relationshipMeaning": "RelatedInstance",
589
+ "nestedRelatedProperties": [
590
+ {
591
+ "propertiesSource": {
592
+ "relationship": {
593
+ "schemaName": "BisCore",
594
+ "className": "ElementOwnsUniqueAspect"
595
+ },
596
+ "direction": "Forward"
597
+ },
598
+ "handleTargetClassPolymorphically": true,
599
+ "relationshipMeaning": "SameInstance"
600
+ },
601
+ {
602
+ "propertiesSource": {
603
+ "relationship": {
604
+ "schemaName": "BisCore",
605
+ "className": "ElementOwnsMultiAspects"
606
+ },
607
+ "direction": "Forward"
608
+ },
609
+ "handleTargetClassPolymorphically": true,
610
+ "relationshipMeaning": "SameInstance"
611
+ }
612
+ ],
613
+ "skipIfDuplicate": true
614
+ }
615
+ ]
616
+ },
617
+ {
618
+ "ruleType": "ContentModifier",
619
+ "class": {
620
+ "schemaName": "BisCore",
621
+ "className": "DrawingGraphic"
622
+ },
623
+ "relatedProperties": [
624
+ {
625
+ "propertiesSource": {
626
+ "relationship": {
627
+ "schemaName": "BisCore",
628
+ "className": "DrawingGraphicRepresentsElement"
629
+ },
630
+ "direction": "Forward"
631
+ },
632
+ "handleTargetClassPolymorphically": true,
633
+ "relationshipMeaning": "RelatedInstance",
634
+ "skipIfDuplicate": true
635
+ }
636
+ ]
637
+ },
638
+ {
639
+ "ruleType": "ContentModifier",
640
+ "class": {
641
+ "schemaName": "BisCore",
642
+ "className": "GraphicalElement3d"
643
+ },
644
+ "relatedProperties": [
645
+ {
646
+ "propertiesSource": {
647
+ "relationship": {
648
+ "schemaName": "BisCore",
649
+ "className": "GraphicalElement3dRepresentsElement"
650
+ },
651
+ "direction": "Forward"
652
+ },
653
+ "handleTargetClassPolymorphically": true,
654
+ "relationshipMeaning": "RelatedInstance",
655
+ "skipIfDuplicate": true
656
+ }
657
+ ]
658
+ },
659
+ {
660
+ "ruleType": "ContentModifier",
661
+ "class": {
662
+ "schemaName": "BisCore",
663
+ "className": "TypeDefinitionElement"
664
+ },
665
+ "propertyOverrides": [
666
+ {
667
+ "name": "IsPrivate",
668
+ "isDisplayed": false
669
+ },
670
+ {
671
+ "name": "Recipe",
672
+ "isDisplayed": false
673
+ }
674
+ ]
675
+ },
676
+ {
677
+ "ruleType": "ContentModifier",
678
+ "requiredSchemas": [
679
+ {
680
+ "name": "BisCore",
681
+ "minVersion": "1.0.11"
682
+ }
683
+ ],
684
+ "class": {
685
+ "schemaName": "BisCore",
686
+ "className": "PhysicalType"
687
+ },
688
+ "propertyOverrides": [
689
+ {
690
+ "name": "PhysicalMaterial",
691
+ "labelOverride": "Physical Material"
692
+ }
693
+ ]
694
+ },
695
+ {
696
+ "ruleType": "ContentModifier",
697
+ "class": {
698
+ "schemaName": "BisCore",
699
+ "className": "LinkElement"
700
+ },
701
+ "propertyOverrides": [
702
+ {
703
+ "isDisplayed": false,
704
+ "name": "CodeValue"
705
+ },
706
+ {
707
+ "name": "UserLabel",
708
+ "isDisplayed": false
709
+ }
710
+ ]
711
+ },
712
+ {
713
+ "ruleType": "ContentModifier",
714
+ "class": {
715
+ "schemaName": "BisCore",
716
+ "className": "UrlLink"
717
+ },
718
+ "propertyOverrides": [
719
+ {
720
+ "isDisplayed": false,
721
+ "name": "Description"
722
+ }
723
+ ]
724
+ },
725
+ {
726
+ "ruleType": "ContentModifier",
727
+ "class": {
728
+ "schemaName": "BisCore",
729
+ "className": "EmbeddedFileLink"
730
+ },
731
+ "propertyOverrides": [
732
+ {
733
+ "isDisplayed": false,
734
+ "name": "Description"
735
+ }
736
+ ]
737
+ }
738
+ ]
739
+ }