@itwin/presentation-backend 4.0.0-dev.82 → 4.0.0-dev.83

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 (26) hide show
  1. package/lib/cjs/assets/primary-presentation-rules/ElementProperties.PresentationRuleSet.json +14 -14
  2. package/lib/cjs/assets/supplemental-presentation-rules/BisCore.PresentationRuleSet.json +726 -726
  3. package/lib/cjs/assets/supplemental-presentation-rules/Functional.PresentationRuleSet.json +139 -139
  4. package/lib/cjs/presentation-backend/BackendLoggerCategory.js.map +1 -1
  5. package/lib/cjs/presentation-backend/Constants.js.map +1 -1
  6. package/lib/cjs/presentation-backend/ElementPropertiesHelper.js +12 -12
  7. package/lib/cjs/presentation-backend/ElementPropertiesHelper.js.map +1 -1
  8. package/lib/cjs/presentation-backend/NativePlatform.js.map +1 -1
  9. package/lib/cjs/presentation-backend/Presentation.js.map +1 -1
  10. package/lib/cjs/presentation-backend/PresentationIpcHandler.js.map +1 -1
  11. package/lib/cjs/presentation-backend/PresentationManager.js.map +1 -1
  12. package/lib/cjs/presentation-backend/PresentationManagerDetail.js.map +1 -1
  13. package/lib/cjs/presentation-backend/PresentationRpcImpl.js.map +1 -1
  14. package/lib/cjs/presentation-backend/RulesetEmbedder.js +3 -3
  15. package/lib/cjs/presentation-backend/RulesetEmbedder.js.map +1 -1
  16. package/lib/cjs/presentation-backend/RulesetManager.js.map +1 -1
  17. package/lib/cjs/presentation-backend/RulesetVariablesManager.js.map +1 -1
  18. package/lib/cjs/presentation-backend/SelectionScopesHelper.js +16 -16
  19. package/lib/cjs/presentation-backend/SelectionScopesHelper.js.map +1 -1
  20. package/lib/cjs/presentation-backend/TemporaryStorage.js.map +1 -1
  21. package/lib/cjs/presentation-backend/UpdatesTracker.js.map +1 -1
  22. package/lib/cjs/presentation-backend/Utils.js.map +1 -1
  23. package/lib/cjs/presentation-backend/domain/PresentationRulesDomain.js.map +1 -1
  24. package/lib/cjs/presentation-backend/domain/RulesetElements.js.map +1 -1
  25. package/lib/cjs/presentation-backend.js.map +1 -1
  26. package/package.json +14 -14
@@ -1,726 +1,726 @@
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": "RepositoryModel"
196
- },
197
- "values": [
198
- {
199
- "specType": "RelatedInstanceLabel",
200
- "pathToRelatedInstance": {
201
- "relationship": {
202
- "schemaName": "BisCore",
203
- "className": "ModelModelsElement"
204
- },
205
- "direction": "Forward",
206
- "targetClass": {
207
- "schemaName": "BisCore",
208
- "className": "Subject"
209
- }
210
- }
211
- }
212
- ]
213
- },
214
- {
215
- "ruleType": "InstanceLabelOverride",
216
- "onlyIfNotHandled": true,
217
- "class": {
218
- "schemaName": "BisCore",
219
- "className": "Model"
220
- },
221
- "values": [
222
- {
223
- "specType": "RelatedInstanceLabel",
224
- "pathToRelatedInstance": {
225
- "relationship": {
226
- "schemaName": "BisCore",
227
- "className": "ModelModelsElement"
228
- },
229
- "direction": "Forward"
230
- }
231
- }
232
- ]
233
- },
234
- {
235
- "ruleType": "ContentModifier",
236
- "class": {
237
- "schemaName": "BisCore",
238
- "className": "Element"
239
- },
240
- "relatedProperties": [
241
- {
242
- "propertiesSource": {
243
- "relationship": {
244
- "schemaName": "BisCore",
245
- "className": "ElementOwnsUniqueAspect"
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": "ElementOwnsMultiAspects"
258
- },
259
- "direction": "Forward"
260
- },
261
- "handleTargetClassPolymorphically": true,
262
- "relationshipMeaning": "SameInstance",
263
- "skipIfDuplicate": true
264
- }
265
- ],
266
- "applyOnNestedContent": true
267
- },
268
- {
269
- "ruleType": "ContentModifier",
270
- "class": {
271
- "schemaName": "BisCore",
272
- "className": "Element"
273
- },
274
- "propertyCategories": [
275
- {
276
- "id": "source_information",
277
- "label": "Source Information",
278
- "parentId": {
279
- "type": "Root"
280
- },
281
- "autoExpand": true
282
- },
283
- {
284
- "id": "model_source",
285
- "label": "Model Source",
286
- "parentId": "source_information",
287
- "autoExpand": true
288
- }
289
- ],
290
- "relatedProperties": [
291
- {
292
- "propertiesSource": {
293
- "relationship": {
294
- "schemaName": "BisCore",
295
- "className": "ElementHasLinks"
296
- },
297
- "direction": "Forward"
298
- },
299
- "handleTargetClassPolymorphically": true,
300
- "relationshipMeaning": "RelatedInstance",
301
- "skipIfDuplicate": true
302
- },
303
- {
304
- "propertiesSource": {
305
- "relationship": {
306
- "schemaName": "BisCore",
307
- "className": "ElementGroupsMembers"
308
- },
309
- "targetClass": {
310
- "schemaName": "BisCore",
311
- "className": "GroupInformationElement"
312
- },
313
- "direction": "Backward"
314
- },
315
- "handleTargetClassPolymorphically": true,
316
- "relationshipMeaning": "RelatedInstance",
317
- "nestedRelatedProperties": [
318
- {
319
- "propertiesSource": {
320
- "relationship": {
321
- "schemaName": "BisCore",
322
- "className": "ElementHasLinks"
323
- },
324
- "direction": "Forward"
325
- },
326
- "handleTargetClassPolymorphically": true,
327
- "autoExpand": true,
328
- "relationshipMeaning": "RelatedInstance"
329
- }
330
- ],
331
- "skipIfDuplicate": true
332
- },
333
- {
334
- "propertiesSource": [
335
- {
336
- "relationship": {
337
- "schemaName": "BisCore",
338
- "className": "ModelContainsElements"
339
- },
340
- "direction": "Backward"
341
- },
342
- {
343
- "relationship": {
344
- "schemaName": "BisCore",
345
- "className": "ModelModelsElement"
346
- },
347
- "direction": "Forward"
348
- },
349
- {
350
- "relationship": {
351
- "schemaName": "BisCore",
352
- "className": "ElementHasLinks"
353
- },
354
- "targetClass": {
355
- "schemaName": "BisCore",
356
- "className": "RepositoryLink"
357
- },
358
- "direction": "Forward"
359
- }
360
- ],
361
- "properties": [
362
- {
363
- "name": "Url",
364
- "overridesPriority": 1001,
365
- "labelOverride": "Path",
366
- "categoryId": "model_source",
367
- "isDisplayed": true
368
- },
369
- {
370
- "name": "UserLabel",
371
- "overridesPriority": 1001,
372
- "labelOverride": "Name",
373
- "categoryId": "model_source",
374
- "isDisplayed": true
375
- }
376
- ],
377
- "relationshipMeaning": "SameInstance",
378
- "skipIfDuplicate": true
379
- }
380
- ]
381
- },
382
- {
383
- "ruleType": "ContentModifier",
384
- "requiredSchemas": [
385
- {
386
- "name": "BisCore",
387
- "minVersion": "1.0.2"
388
- }
389
- ],
390
- "class": {
391
- "schemaName": "BisCore",
392
- "className": "Element"
393
- },
394
- "propertyCategories": [
395
- {
396
- "id": "source_information",
397
- "label": "Source Information"
398
- }
399
- ],
400
- "relatedProperties": [
401
- {
402
- "relationshipMeaning": "SameInstance",
403
- "propertiesSource": [
404
- {
405
- "relationship": {
406
- "schemaName": "BisCore",
407
- "className": "ElementOwnsMultiAspects"
408
- },
409
- "direction": "Forward",
410
- "targetClass": {
411
- "schemaName": "BisCore",
412
- "className": "ExternalSourceAspect"
413
- }
414
- }
415
- ],
416
- "instanceFilter": "this.Kind <> \"Relationship\"",
417
- "properties": [
418
- {
419
- "name": "Identifier",
420
- "overridesPriority": 1001,
421
- "categoryId": "source_information",
422
- "labelOverride": "Source Element ID",
423
- "isDisplayed": true
424
- }
425
- ],
426
- "skipIfDuplicate": true
427
- }
428
- ]
429
- },
430
- {
431
- "ruleType": "ContentModifier",
432
- "requiredSchemas": [
433
- {
434
- "name": "BisCore",
435
- "minVersion": "1.0.13"
436
- }
437
- ],
438
- "class": {
439
- "schemaName": "BisCore",
440
- "className": "Element"
441
- },
442
- "propertyCategories": [
443
- {
444
- "id": "source_information",
445
- "label": "Source Information",
446
- "parentId": {
447
- "type": "Root"
448
- },
449
- "autoExpand": true
450
- },
451
- {
452
- "id": "secondary_sources",
453
- "label": "Secondary Sources",
454
- "parentId": "source_information",
455
- "autoExpand": true
456
- }
457
- ],
458
- "relatedProperties": [
459
- {
460
- "relationshipMeaning": "SameInstance",
461
- "propertiesSource": [
462
- {
463
- "relationship": {
464
- "schemaName": "BisCore",
465
- "className": "ElementOwnsMultiAspects"
466
- },
467
- "direction": "Forward",
468
- "targetClass": {
469
- "schemaName": "BisCore",
470
- "className": "ExternalSourceAspect"
471
- }
472
- }
473
- ],
474
- "instanceFilter": "this.Kind <> \"Relationship\"",
475
- "properties": "_none_",
476
- "autoExpand": true,
477
- "nestedRelatedProperties": [
478
- {
479
- "relationshipMeaning": "SameInstance",
480
- "autoExpand": true,
481
- "propertiesSource": [
482
- {
483
- "relationship": {
484
- "schemaName": "BisCore",
485
- "className": "ElementIsFromSource"
486
- },
487
- "direction": "Forward"
488
- },
489
- {
490
- "relationship": {
491
- "schemaName": "BisCore",
492
- "className": "ExternalSourceIsInRepository"
493
- },
494
- "direction": "Forward"
495
- }
496
- ],
497
- "properties": [
498
- {
499
- "name": "UserLabel",
500
- "categoryId": "source_information",
501
- "labelOverride": "Name",
502
- "isDisplayed": true
503
- },
504
- {
505
- "name": "Url",
506
- "categoryId": "source_information",
507
- "labelOverride": "Path"
508
- }
509
- ],
510
- "skipIfDuplicate": true
511
- },
512
- {
513
- "relationshipMeaning": "SameInstance",
514
- "autoExpand": true,
515
- "propertiesSource": [
516
- {
517
- "relationship": {
518
- "schemaName": "BisCore",
519
- "className": "ElementIsFromSource"
520
- },
521
- "direction": "Forward",
522
- "targetClass": {
523
- "schemaName": "BisCore",
524
- "className": "ExternalSourceGroup"
525
- }
526
- },
527
- {
528
- "relationship": {
529
- "schemaName": "BisCore",
530
- "className": "ExternalSourceGroupGroupsSources"
531
- },
532
- "direction": "Forward"
533
- },
534
- {
535
- "relationship": {
536
- "schemaName": "BisCore",
537
- "className": "ExternalSourceIsInRepository"
538
- },
539
- "direction": "Forward"
540
- }
541
- ],
542
- "properties": [
543
- {
544
- "name": "UserLabel",
545
- "categoryId": "secondary_sources",
546
- "labelOverride": "Name",
547
- "isDisplayed": true
548
- },
549
- {
550
- "name": "Url",
551
- "categoryId": "secondary_sources",
552
- "labelOverride": "Path"
553
- }
554
- ],
555
- "skipIfDuplicate": true
556
- }
557
- ],
558
- "skipIfDuplicate": true
559
- }
560
- ]
561
- },
562
- {
563
- "ruleType": "ContentModifier",
564
- "class": {
565
- "schemaName": "BisCore",
566
- "className": "GeometricElement3d"
567
- },
568
- "relatedProperties": [
569
- {
570
- "propertiesSource": {
571
- "relationship": {
572
- "schemaName": "BisCore",
573
- "className": "GeometricElement3dHasTypeDefinition"
574
- },
575
- "direction": "Forward"
576
- },
577
- "handleTargetClassPolymorphically": true,
578
- "relationshipMeaning": "RelatedInstance",
579
- "skipIfDuplicate": true
580
- }
581
- ]
582
- },
583
- {
584
- "ruleType": "ContentModifier",
585
- "class": {
586
- "schemaName": "BisCore",
587
- "className": "GeometricElement2d"
588
- },
589
- "relatedProperties": [
590
- {
591
- "propertiesSource": {
592
- "relationship": {
593
- "schemaName": "BisCore",
594
- "className": "GeometricElement2dHasTypeDefinition"
595
- },
596
- "direction": "Forward"
597
- },
598
- "handleTargetClassPolymorphically": true,
599
- "relationshipMeaning": "RelatedInstance",
600
- "skipIfDuplicate": true
601
- }
602
- ]
603
- },
604
- {
605
- "ruleType": "ContentModifier",
606
- "class": {
607
- "schemaName": "BisCore",
608
- "className": "DrawingGraphic"
609
- },
610
- "relatedProperties": [
611
- {
612
- "propertiesSource": {
613
- "relationship": {
614
- "schemaName": "BisCore",
615
- "className": "DrawingGraphicRepresentsElement"
616
- },
617
- "direction": "Forward"
618
- },
619
- "handleTargetClassPolymorphically": true,
620
- "relationshipMeaning": "RelatedInstance",
621
- "skipIfDuplicate": true
622
- }
623
- ]
624
- },
625
- {
626
- "ruleType": "ContentModifier",
627
- "class": {
628
- "schemaName": "BisCore",
629
- "className": "GraphicalElement3d"
630
- },
631
- "relatedProperties": [
632
- {
633
- "propertiesSource": {
634
- "relationship": {
635
- "schemaName": "BisCore",
636
- "className": "GraphicalElement3dRepresentsElement"
637
- },
638
- "direction": "Forward"
639
- },
640
- "handleTargetClassPolymorphically": true,
641
- "relationshipMeaning": "RelatedInstance",
642
- "skipIfDuplicate": true
643
- }
644
- ]
645
- },
646
- {
647
- "ruleType": "ContentModifier",
648
- "class": {
649
- "schemaName": "BisCore",
650
- "className": "TypeDefinitionElement"
651
- },
652
- "propertyOverrides": [
653
- {
654
- "name": "IsPrivate",
655
- "isDisplayed": false
656
- },
657
- {
658
- "name": "Recipe",
659
- "isDisplayed": false
660
- }
661
- ]
662
- },
663
- {
664
- "ruleType": "ContentModifier",
665
- "requiredSchemas": [
666
- {
667
- "name": "BisCore",
668
- "minVersion": "1.0.11"
669
- }
670
- ],
671
- "class": {
672
- "schemaName": "BisCore",
673
- "className": "PhysicalType"
674
- },
675
- "propertyOverrides": [
676
- {
677
- "name": "PhysicalMaterial",
678
- "labelOverride": "Physical Material"
679
- }
680
- ]
681
- },
682
- {
683
- "ruleType": "ContentModifier",
684
- "class": {
685
- "schemaName": "BisCore",
686
- "className": "LinkElement"
687
- },
688
- "propertyOverrides": [
689
- {
690
- "isDisplayed": false,
691
- "name": "CodeValue"
692
- },
693
- {
694
- "name": "UserLabel",
695
- "isDisplayed": false
696
- }
697
- ]
698
- },
699
- {
700
- "ruleType": "ContentModifier",
701
- "class": {
702
- "schemaName": "BisCore",
703
- "className": "UrlLink"
704
- },
705
- "propertyOverrides": [
706
- {
707
- "isDisplayed": false,
708
- "name": "Description"
709
- }
710
- ]
711
- },
712
- {
713
- "ruleType": "ContentModifier",
714
- "class": {
715
- "schemaName": "BisCore",
716
- "className": "EmbeddedFileLink"
717
- },
718
- "propertyOverrides": [
719
- {
720
- "isDisplayed": false,
721
- "name": "Description"
722
- }
723
- ]
724
- }
725
- ]
726
- }
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": "RepositoryModel"
196
+ },
197
+ "values": [
198
+ {
199
+ "specType": "RelatedInstanceLabel",
200
+ "pathToRelatedInstance": {
201
+ "relationship": {
202
+ "schemaName": "BisCore",
203
+ "className": "ModelModelsElement"
204
+ },
205
+ "direction": "Forward",
206
+ "targetClass": {
207
+ "schemaName": "BisCore",
208
+ "className": "Subject"
209
+ }
210
+ }
211
+ }
212
+ ]
213
+ },
214
+ {
215
+ "ruleType": "InstanceLabelOverride",
216
+ "onlyIfNotHandled": true,
217
+ "class": {
218
+ "schemaName": "BisCore",
219
+ "className": "Model"
220
+ },
221
+ "values": [
222
+ {
223
+ "specType": "RelatedInstanceLabel",
224
+ "pathToRelatedInstance": {
225
+ "relationship": {
226
+ "schemaName": "BisCore",
227
+ "className": "ModelModelsElement"
228
+ },
229
+ "direction": "Forward"
230
+ }
231
+ }
232
+ ]
233
+ },
234
+ {
235
+ "ruleType": "ContentModifier",
236
+ "class": {
237
+ "schemaName": "BisCore",
238
+ "className": "Element"
239
+ },
240
+ "relatedProperties": [
241
+ {
242
+ "propertiesSource": {
243
+ "relationship": {
244
+ "schemaName": "BisCore",
245
+ "className": "ElementOwnsUniqueAspect"
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": "ElementOwnsMultiAspects"
258
+ },
259
+ "direction": "Forward"
260
+ },
261
+ "handleTargetClassPolymorphically": true,
262
+ "relationshipMeaning": "SameInstance",
263
+ "skipIfDuplicate": true
264
+ }
265
+ ],
266
+ "applyOnNestedContent": true
267
+ },
268
+ {
269
+ "ruleType": "ContentModifier",
270
+ "class": {
271
+ "schemaName": "BisCore",
272
+ "className": "Element"
273
+ },
274
+ "propertyCategories": [
275
+ {
276
+ "id": "source_information",
277
+ "label": "Source Information",
278
+ "parentId": {
279
+ "type": "Root"
280
+ },
281
+ "autoExpand": true
282
+ },
283
+ {
284
+ "id": "model_source",
285
+ "label": "Model Source",
286
+ "parentId": "source_information",
287
+ "autoExpand": true
288
+ }
289
+ ],
290
+ "relatedProperties": [
291
+ {
292
+ "propertiesSource": {
293
+ "relationship": {
294
+ "schemaName": "BisCore",
295
+ "className": "ElementHasLinks"
296
+ },
297
+ "direction": "Forward"
298
+ },
299
+ "handleTargetClassPolymorphically": true,
300
+ "relationshipMeaning": "RelatedInstance",
301
+ "skipIfDuplicate": true
302
+ },
303
+ {
304
+ "propertiesSource": {
305
+ "relationship": {
306
+ "schemaName": "BisCore",
307
+ "className": "ElementGroupsMembers"
308
+ },
309
+ "targetClass": {
310
+ "schemaName": "BisCore",
311
+ "className": "GroupInformationElement"
312
+ },
313
+ "direction": "Backward"
314
+ },
315
+ "handleTargetClassPolymorphically": true,
316
+ "relationshipMeaning": "RelatedInstance",
317
+ "nestedRelatedProperties": [
318
+ {
319
+ "propertiesSource": {
320
+ "relationship": {
321
+ "schemaName": "BisCore",
322
+ "className": "ElementHasLinks"
323
+ },
324
+ "direction": "Forward"
325
+ },
326
+ "handleTargetClassPolymorphically": true,
327
+ "autoExpand": true,
328
+ "relationshipMeaning": "RelatedInstance"
329
+ }
330
+ ],
331
+ "skipIfDuplicate": true
332
+ },
333
+ {
334
+ "propertiesSource": [
335
+ {
336
+ "relationship": {
337
+ "schemaName": "BisCore",
338
+ "className": "ModelContainsElements"
339
+ },
340
+ "direction": "Backward"
341
+ },
342
+ {
343
+ "relationship": {
344
+ "schemaName": "BisCore",
345
+ "className": "ModelModelsElement"
346
+ },
347
+ "direction": "Forward"
348
+ },
349
+ {
350
+ "relationship": {
351
+ "schemaName": "BisCore",
352
+ "className": "ElementHasLinks"
353
+ },
354
+ "targetClass": {
355
+ "schemaName": "BisCore",
356
+ "className": "RepositoryLink"
357
+ },
358
+ "direction": "Forward"
359
+ }
360
+ ],
361
+ "properties": [
362
+ {
363
+ "name": "Url",
364
+ "overridesPriority": 1001,
365
+ "labelOverride": "Path",
366
+ "categoryId": "model_source",
367
+ "isDisplayed": true
368
+ },
369
+ {
370
+ "name": "UserLabel",
371
+ "overridesPriority": 1001,
372
+ "labelOverride": "Name",
373
+ "categoryId": "model_source",
374
+ "isDisplayed": true
375
+ }
376
+ ],
377
+ "relationshipMeaning": "SameInstance",
378
+ "skipIfDuplicate": true
379
+ }
380
+ ]
381
+ },
382
+ {
383
+ "ruleType": "ContentModifier",
384
+ "requiredSchemas": [
385
+ {
386
+ "name": "BisCore",
387
+ "minVersion": "1.0.2"
388
+ }
389
+ ],
390
+ "class": {
391
+ "schemaName": "BisCore",
392
+ "className": "Element"
393
+ },
394
+ "propertyCategories": [
395
+ {
396
+ "id": "source_information",
397
+ "label": "Source Information"
398
+ }
399
+ ],
400
+ "relatedProperties": [
401
+ {
402
+ "relationshipMeaning": "SameInstance",
403
+ "propertiesSource": [
404
+ {
405
+ "relationship": {
406
+ "schemaName": "BisCore",
407
+ "className": "ElementOwnsMultiAspects"
408
+ },
409
+ "direction": "Forward",
410
+ "targetClass": {
411
+ "schemaName": "BisCore",
412
+ "className": "ExternalSourceAspect"
413
+ }
414
+ }
415
+ ],
416
+ "instanceFilter": "this.Kind <> \"Relationship\"",
417
+ "properties": [
418
+ {
419
+ "name": "Identifier",
420
+ "overridesPriority": 1001,
421
+ "categoryId": "source_information",
422
+ "labelOverride": "Source Element ID",
423
+ "isDisplayed": true
424
+ }
425
+ ],
426
+ "skipIfDuplicate": true
427
+ }
428
+ ]
429
+ },
430
+ {
431
+ "ruleType": "ContentModifier",
432
+ "requiredSchemas": [
433
+ {
434
+ "name": "BisCore",
435
+ "minVersion": "1.0.13"
436
+ }
437
+ ],
438
+ "class": {
439
+ "schemaName": "BisCore",
440
+ "className": "Element"
441
+ },
442
+ "propertyCategories": [
443
+ {
444
+ "id": "source_information",
445
+ "label": "Source Information",
446
+ "parentId": {
447
+ "type": "Root"
448
+ },
449
+ "autoExpand": true
450
+ },
451
+ {
452
+ "id": "secondary_sources",
453
+ "label": "Secondary Sources",
454
+ "parentId": "source_information",
455
+ "autoExpand": true
456
+ }
457
+ ],
458
+ "relatedProperties": [
459
+ {
460
+ "relationshipMeaning": "SameInstance",
461
+ "propertiesSource": [
462
+ {
463
+ "relationship": {
464
+ "schemaName": "BisCore",
465
+ "className": "ElementOwnsMultiAspects"
466
+ },
467
+ "direction": "Forward",
468
+ "targetClass": {
469
+ "schemaName": "BisCore",
470
+ "className": "ExternalSourceAspect"
471
+ }
472
+ }
473
+ ],
474
+ "instanceFilter": "this.Kind <> \"Relationship\"",
475
+ "properties": "_none_",
476
+ "autoExpand": true,
477
+ "nestedRelatedProperties": [
478
+ {
479
+ "relationshipMeaning": "SameInstance",
480
+ "autoExpand": true,
481
+ "propertiesSource": [
482
+ {
483
+ "relationship": {
484
+ "schemaName": "BisCore",
485
+ "className": "ElementIsFromSource"
486
+ },
487
+ "direction": "Forward"
488
+ },
489
+ {
490
+ "relationship": {
491
+ "schemaName": "BisCore",
492
+ "className": "ExternalSourceIsInRepository"
493
+ },
494
+ "direction": "Forward"
495
+ }
496
+ ],
497
+ "properties": [
498
+ {
499
+ "name": "UserLabel",
500
+ "categoryId": "source_information",
501
+ "labelOverride": "Name",
502
+ "isDisplayed": true
503
+ },
504
+ {
505
+ "name": "Url",
506
+ "categoryId": "source_information",
507
+ "labelOverride": "Path"
508
+ }
509
+ ],
510
+ "skipIfDuplicate": true
511
+ },
512
+ {
513
+ "relationshipMeaning": "SameInstance",
514
+ "autoExpand": true,
515
+ "propertiesSource": [
516
+ {
517
+ "relationship": {
518
+ "schemaName": "BisCore",
519
+ "className": "ElementIsFromSource"
520
+ },
521
+ "direction": "Forward",
522
+ "targetClass": {
523
+ "schemaName": "BisCore",
524
+ "className": "ExternalSourceGroup"
525
+ }
526
+ },
527
+ {
528
+ "relationship": {
529
+ "schemaName": "BisCore",
530
+ "className": "ExternalSourceGroupGroupsSources"
531
+ },
532
+ "direction": "Forward"
533
+ },
534
+ {
535
+ "relationship": {
536
+ "schemaName": "BisCore",
537
+ "className": "ExternalSourceIsInRepository"
538
+ },
539
+ "direction": "Forward"
540
+ }
541
+ ],
542
+ "properties": [
543
+ {
544
+ "name": "UserLabel",
545
+ "categoryId": "secondary_sources",
546
+ "labelOverride": "Name",
547
+ "isDisplayed": true
548
+ },
549
+ {
550
+ "name": "Url",
551
+ "categoryId": "secondary_sources",
552
+ "labelOverride": "Path"
553
+ }
554
+ ],
555
+ "skipIfDuplicate": true
556
+ }
557
+ ],
558
+ "skipIfDuplicate": true
559
+ }
560
+ ]
561
+ },
562
+ {
563
+ "ruleType": "ContentModifier",
564
+ "class": {
565
+ "schemaName": "BisCore",
566
+ "className": "GeometricElement3d"
567
+ },
568
+ "relatedProperties": [
569
+ {
570
+ "propertiesSource": {
571
+ "relationship": {
572
+ "schemaName": "BisCore",
573
+ "className": "GeometricElement3dHasTypeDefinition"
574
+ },
575
+ "direction": "Forward"
576
+ },
577
+ "handleTargetClassPolymorphically": true,
578
+ "relationshipMeaning": "RelatedInstance",
579
+ "skipIfDuplicate": true
580
+ }
581
+ ]
582
+ },
583
+ {
584
+ "ruleType": "ContentModifier",
585
+ "class": {
586
+ "schemaName": "BisCore",
587
+ "className": "GeometricElement2d"
588
+ },
589
+ "relatedProperties": [
590
+ {
591
+ "propertiesSource": {
592
+ "relationship": {
593
+ "schemaName": "BisCore",
594
+ "className": "GeometricElement2dHasTypeDefinition"
595
+ },
596
+ "direction": "Forward"
597
+ },
598
+ "handleTargetClassPolymorphically": true,
599
+ "relationshipMeaning": "RelatedInstance",
600
+ "skipIfDuplicate": true
601
+ }
602
+ ]
603
+ },
604
+ {
605
+ "ruleType": "ContentModifier",
606
+ "class": {
607
+ "schemaName": "BisCore",
608
+ "className": "DrawingGraphic"
609
+ },
610
+ "relatedProperties": [
611
+ {
612
+ "propertiesSource": {
613
+ "relationship": {
614
+ "schemaName": "BisCore",
615
+ "className": "DrawingGraphicRepresentsElement"
616
+ },
617
+ "direction": "Forward"
618
+ },
619
+ "handleTargetClassPolymorphically": true,
620
+ "relationshipMeaning": "RelatedInstance",
621
+ "skipIfDuplicate": true
622
+ }
623
+ ]
624
+ },
625
+ {
626
+ "ruleType": "ContentModifier",
627
+ "class": {
628
+ "schemaName": "BisCore",
629
+ "className": "GraphicalElement3d"
630
+ },
631
+ "relatedProperties": [
632
+ {
633
+ "propertiesSource": {
634
+ "relationship": {
635
+ "schemaName": "BisCore",
636
+ "className": "GraphicalElement3dRepresentsElement"
637
+ },
638
+ "direction": "Forward"
639
+ },
640
+ "handleTargetClassPolymorphically": true,
641
+ "relationshipMeaning": "RelatedInstance",
642
+ "skipIfDuplicate": true
643
+ }
644
+ ]
645
+ },
646
+ {
647
+ "ruleType": "ContentModifier",
648
+ "class": {
649
+ "schemaName": "BisCore",
650
+ "className": "TypeDefinitionElement"
651
+ },
652
+ "propertyOverrides": [
653
+ {
654
+ "name": "IsPrivate",
655
+ "isDisplayed": false
656
+ },
657
+ {
658
+ "name": "Recipe",
659
+ "isDisplayed": false
660
+ }
661
+ ]
662
+ },
663
+ {
664
+ "ruleType": "ContentModifier",
665
+ "requiredSchemas": [
666
+ {
667
+ "name": "BisCore",
668
+ "minVersion": "1.0.11"
669
+ }
670
+ ],
671
+ "class": {
672
+ "schemaName": "BisCore",
673
+ "className": "PhysicalType"
674
+ },
675
+ "propertyOverrides": [
676
+ {
677
+ "name": "PhysicalMaterial",
678
+ "labelOverride": "Physical Material"
679
+ }
680
+ ]
681
+ },
682
+ {
683
+ "ruleType": "ContentModifier",
684
+ "class": {
685
+ "schemaName": "BisCore",
686
+ "className": "LinkElement"
687
+ },
688
+ "propertyOverrides": [
689
+ {
690
+ "isDisplayed": false,
691
+ "name": "CodeValue"
692
+ },
693
+ {
694
+ "name": "UserLabel",
695
+ "isDisplayed": false
696
+ }
697
+ ]
698
+ },
699
+ {
700
+ "ruleType": "ContentModifier",
701
+ "class": {
702
+ "schemaName": "BisCore",
703
+ "className": "UrlLink"
704
+ },
705
+ "propertyOverrides": [
706
+ {
707
+ "isDisplayed": false,
708
+ "name": "Description"
709
+ }
710
+ ]
711
+ },
712
+ {
713
+ "ruleType": "ContentModifier",
714
+ "class": {
715
+ "schemaName": "BisCore",
716
+ "className": "EmbeddedFileLink"
717
+ },
718
+ "propertyOverrides": [
719
+ {
720
+ "isDisplayed": false,
721
+ "name": "Description"
722
+ }
723
+ ]
724
+ }
725
+ ]
726
+ }