@grexx/grexxlinter 0.2.444 → 0.2.549

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 (48) hide show
  1. package/cli.js +1 -1
  2. package/package.json +1 -1
  3. package/schemas/activity.behavior.json +986 -0
  4. package/schemas/activityAttribute.behavior.json +47 -0
  5. package/schemas/activityRight.behavior.json +8 -0
  6. package/schemas/agent.behavior.json +91 -0
  7. package/schemas/agentTool.behavior.json +58 -0
  8. package/schemas/attribute.behavior.json +868 -0
  9. package/schemas/casetype.behavior.json +269 -0
  10. package/schemas/catchBlock.behavior.json +30 -0
  11. package/schemas/container.behavior.json +16 -0
  12. package/schemas/customThrow.behavior.json +30 -0
  13. package/schemas/dataRetentionProfile.behavior.json +306 -0
  14. package/schemas/dataset.behavior.json +409 -0
  15. package/schemas/datasetColumn.behavior.json +629 -0
  16. package/schemas/datasetCondition.behavior.json +361 -0
  17. package/schemas/datasetRight.behavior.json +8 -0
  18. package/schemas/datasource.behavior.json +8 -0
  19. package/schemas/directRole.behavior.json +59 -0
  20. package/schemas/fileUploadProfile.behavior.json +5 -0
  21. package/schemas/forEach.behavior.json +116 -0
  22. package/schemas/formAction.behavior.json +273 -0
  23. package/schemas/formActionAi.behavior.json +52 -0
  24. package/schemas/formRight.behavior.json +8 -0
  25. package/schemas/formfield.behavior.json +1053 -0
  26. package/schemas/indirectRole.behavior.json +59 -0
  27. package/schemas/llmModel.behavior.json +8 -0
  28. package/schemas/mapping.behavior.json +216 -0
  29. package/schemas/menuItem.behavior.json +221 -0
  30. package/schemas/metadata.behavior.json +128 -0
  31. package/schemas/navigation.behavior.json +33 -0
  32. package/schemas/picklist.behavior.json +58 -0
  33. package/schemas/platformAttribute.behavior.json +377 -0
  34. package/schemas/platformRole.behavior.json +130 -0
  35. package/schemas/pluginLibrary.behavior.json +8 -0
  36. package/schemas/requestContext.behavior.json +100 -0
  37. package/schemas/roleName.behavior.json +5 -0
  38. package/schemas/securityProfile.behavior.json +8 -0
  39. package/schemas/securityRequirement.behavior.json +5 -0
  40. package/schemas/simpleCondition.behavior.json +319 -0
  41. package/schemas/taskQueue.behavior.json +5 -0
  42. package/schemas/template.behavior.json +5 -0
  43. package/schemas/trigger.behavior.json +598 -0
  44. package/schemas/tryBlock.behavior.json +30 -0
  45. package/schemas/view.behavior.json +159 -0
  46. package/schemas/while.behavior.json +30 -0
  47. package/schemas/widget.behavior.json +1238 -0
  48. package/schemas/widgetRight.behavior.json +8 -0
@@ -0,0 +1,1238 @@
1
+ {
2
+ "activities": {
3
+ "baseline": "MAY",
4
+ "enabledWhen": [
5
+ {
6
+ "op": "and",
7
+ "items": [
8
+ {
9
+ "op": "cmp",
10
+ "field": "widgetAgentCustomActivities",
11
+ "fieldName": "Agent - Custom activities enabled",
12
+ "operator": "==",
13
+ "value": "true",
14
+ "valueIsField": false,
15
+ "isEmpty": false
16
+ },
17
+ {
18
+ "op": "cmp",
19
+ "field": "widgetType",
20
+ "fieldName": "Type",
21
+ "operator": "==",
22
+ "value": "AIConversationWidget",
23
+ "valueIsField": false,
24
+ "isEmpty": false
25
+ }
26
+ ]
27
+ }
28
+ ]
29
+ },
30
+ "widgetAgent": {
31
+ "baseline": "MAY",
32
+ "requiredWhen": [
33
+ {
34
+ "op": "cmp",
35
+ "field": "widgetType",
36
+ "fieldName": "Type",
37
+ "operator": "==",
38
+ "value": "AIConversationWidget",
39
+ "valueIsField": false,
40
+ "isEmpty": false
41
+ }
42
+ ],
43
+ "enabledWhen": [
44
+ {
45
+ "op": "cmp",
46
+ "field": "widgetType",
47
+ "fieldName": "Type",
48
+ "operator": "==",
49
+ "value": "AIConversationWidget",
50
+ "valueIsField": false,
51
+ "isEmpty": false
52
+ }
53
+ ]
54
+ },
55
+ "widgetAgentActivityFilterType": {
56
+ "baseline": "MAY",
57
+ "requiredWhen": [
58
+ {
59
+ "op": "and",
60
+ "items": [
61
+ {
62
+ "op": "cmp",
63
+ "field": "widgetAgentCustomActivities",
64
+ "fieldName": "Agent - Custom activities enabled",
65
+ "operator": "==",
66
+ "value": "true",
67
+ "valueIsField": false,
68
+ "isEmpty": false
69
+ },
70
+ {
71
+ "op": "cmp",
72
+ "field": "widgetType",
73
+ "fieldName": "Type",
74
+ "operator": "==",
75
+ "value": "AIConversationWidget",
76
+ "valueIsField": false,
77
+ "isEmpty": false
78
+ }
79
+ ]
80
+ }
81
+ ],
82
+ "enabledWhen": [
83
+ {
84
+ "op": "and",
85
+ "items": [
86
+ {
87
+ "op": "cmp",
88
+ "field": "widgetAgentCustomActivities",
89
+ "fieldName": "Agent - Custom activities enabled",
90
+ "operator": "==",
91
+ "value": "true",
92
+ "valueIsField": false,
93
+ "isEmpty": false
94
+ },
95
+ {
96
+ "op": "cmp",
97
+ "field": "widgetType",
98
+ "fieldName": "Type",
99
+ "operator": "==",
100
+ "value": "AIConversationWidget",
101
+ "valueIsField": false,
102
+ "isEmpty": false
103
+ }
104
+ ]
105
+ }
106
+ ]
107
+ },
108
+ "widgetAgentExecutionType": {
109
+ "baseline": "MAY",
110
+ "requiredWhen": [
111
+ {
112
+ "op": "cmp",
113
+ "field": "widgetType",
114
+ "fieldName": "Type",
115
+ "operator": "==",
116
+ "value": "AIConversationWidget",
117
+ "valueIsField": false,
118
+ "isEmpty": false
119
+ }
120
+ ],
121
+ "enabledWhen": [
122
+ {
123
+ "op": "cmp",
124
+ "field": "widgetType",
125
+ "fieldName": "Type",
126
+ "operator": "==",
127
+ "value": "AIConversationWidget",
128
+ "valueIsField": false,
129
+ "isEmpty": false
130
+ }
131
+ ]
132
+ },
133
+ "caseAttribute": {
134
+ "baseline": "MUST_NOT",
135
+ "enabledWhen": [
136
+ {
137
+ "op": "cmp",
138
+ "field": "widgetType",
139
+ "fieldName": "Type",
140
+ "operator": "==",
141
+ "value": "viewWidget",
142
+ "valueIsField": false,
143
+ "isEmpty": false
144
+ }
145
+ ]
146
+ },
147
+ "dataset": {
148
+ "baseline": "MUST_NOT",
149
+ "requiredWhen": [
150
+ {
151
+ "op": "cmp",
152
+ "field": "widgetType",
153
+ "fieldName": "Type",
154
+ "operator": "contains",
155
+ "value": "grid",
156
+ "valueIsField": false,
157
+ "isEmpty": false
158
+ },
159
+ {
160
+ "op": "cmp",
161
+ "field": "widgetType",
162
+ "fieldName": "Type",
163
+ "operator": "==",
164
+ "value": "tileWidget",
165
+ "valueIsField": false,
166
+ "isEmpty": false
167
+ }
168
+ ],
169
+ "enabledWhen": [
170
+ {
171
+ "op": "cmp",
172
+ "field": "widgetType",
173
+ "fieldName": "Type",
174
+ "operator": "contains",
175
+ "value": "grid",
176
+ "valueIsField": false,
177
+ "isEmpty": false
178
+ },
179
+ {
180
+ "op": "cmp",
181
+ "field": "widgetType",
182
+ "fieldName": "Type",
183
+ "operator": "==",
184
+ "value": "tileWidget",
185
+ "valueIsField": false,
186
+ "isEmpty": false
187
+ },
188
+ {
189
+ "op": "and",
190
+ "items": [
191
+ {
192
+ "op": "or",
193
+ "items": [
194
+ {
195
+ "op": "cmp",
196
+ "field": "widgetType",
197
+ "fieldName": "Type",
198
+ "operator": "==",
199
+ "value": "formSearch",
200
+ "valueIsField": false,
201
+ "isEmpty": false
202
+ },
203
+ {
204
+ "op": "cmp",
205
+ "field": "widgetType",
206
+ "fieldName": "Type",
207
+ "operator": "==",
208
+ "value": "simpleSearch",
209
+ "valueIsField": false,
210
+ "isEmpty": false
211
+ }
212
+ ]
213
+ },
214
+ {
215
+ "op": "cmp",
216
+ "field": "widgetType",
217
+ "fieldName": "Type",
218
+ "operator": "==",
219
+ "value": "simpleSearch",
220
+ "valueIsField": false,
221
+ "isEmpty": false
222
+ }
223
+ ]
224
+ },
225
+ {
226
+ "op": "or",
227
+ "items": [
228
+ {
229
+ "op": "cmp",
230
+ "field": "widgetType",
231
+ "fieldName": "Type",
232
+ "operator": "==",
233
+ "value": "grid-v2",
234
+ "valueIsField": false,
235
+ "isEmpty": false
236
+ },
237
+ {
238
+ "op": "cmp",
239
+ "field": "widgetType",
240
+ "fieldName": "Type",
241
+ "operator": "==",
242
+ "value": "grid",
243
+ "valueIsField": false,
244
+ "isEmpty": false
245
+ }
246
+ ]
247
+ },
248
+ {
249
+ "op": "cmp",
250
+ "field": "widgetType",
251
+ "fieldName": "Type",
252
+ "operator": "==",
253
+ "value": "activityWidget",
254
+ "valueIsField": false,
255
+ "isEmpty": false
256
+ },
257
+ {
258
+ "op": "cmp",
259
+ "field": "widgetType",
260
+ "fieldName": "Type",
261
+ "operator": "==",
262
+ "value": "simpleSearch",
263
+ "valueIsField": false,
264
+ "isEmpty": false
265
+ }
266
+ ]
267
+ },
268
+ "form": {
269
+ "baseline": "MUST_NOT",
270
+ "requiredWhen": [
271
+ {
272
+ "op": "or",
273
+ "items": [
274
+ {
275
+ "op": "cmp",
276
+ "field": "widgetType",
277
+ "fieldName": "Type",
278
+ "operator": "==",
279
+ "value": "caseData",
280
+ "valueIsField": false,
281
+ "isEmpty": false
282
+ },
283
+ {
284
+ "op": "cmp",
285
+ "field": "widgetType",
286
+ "fieldName": "Type",
287
+ "operator": "==",
288
+ "value": "caseDataClean",
289
+ "valueIsField": false,
290
+ "isEmpty": false
291
+ },
292
+ {
293
+ "op": "cmp",
294
+ "field": "widgetType",
295
+ "fieldName": "Type",
296
+ "operator": "==",
297
+ "value": "formWidget",
298
+ "valueIsField": false,
299
+ "isEmpty": false
300
+ }
301
+ ]
302
+ },
303
+ {
304
+ "op": "and",
305
+ "items": [
306
+ {
307
+ "op": "or",
308
+ "items": [
309
+ {
310
+ "op": "cmp",
311
+ "field": "widgetType",
312
+ "fieldName": "Type",
313
+ "operator": "==",
314
+ "value": "formSearch",
315
+ "valueIsField": false,
316
+ "isEmpty": false
317
+ },
318
+ {
319
+ "op": "cmp",
320
+ "field": "widgetType",
321
+ "fieldName": "Type",
322
+ "operator": "==",
323
+ "value": "simpleSearch",
324
+ "valueIsField": false,
325
+ "isEmpty": false
326
+ }
327
+ ]
328
+ },
329
+ {
330
+ "op": "cmp",
331
+ "field": "widgetType",
332
+ "fieldName": "Type",
333
+ "operator": "==",
334
+ "value": "formSearch",
335
+ "valueIsField": false,
336
+ "isEmpty": false
337
+ }
338
+ ]
339
+ }
340
+ ],
341
+ "enabledWhen": [
342
+ {
343
+ "op": "or",
344
+ "items": [
345
+ {
346
+ "op": "cmp",
347
+ "field": "widgetType",
348
+ "fieldName": "Type",
349
+ "operator": "==",
350
+ "value": "caseData",
351
+ "valueIsField": false,
352
+ "isEmpty": false
353
+ },
354
+ {
355
+ "op": "cmp",
356
+ "field": "widgetType",
357
+ "fieldName": "Type",
358
+ "operator": "==",
359
+ "value": "caseDataClean",
360
+ "valueIsField": false,
361
+ "isEmpty": false
362
+ },
363
+ {
364
+ "op": "cmp",
365
+ "field": "widgetType",
366
+ "fieldName": "Type",
367
+ "operator": "==",
368
+ "value": "formWidget",
369
+ "valueIsField": false,
370
+ "isEmpty": false
371
+ }
372
+ ]
373
+ },
374
+ {
375
+ "op": "and",
376
+ "items": [
377
+ {
378
+ "op": "or",
379
+ "items": [
380
+ {
381
+ "op": "cmp",
382
+ "field": "widgetType",
383
+ "fieldName": "Type",
384
+ "operator": "==",
385
+ "value": "formSearch",
386
+ "valueIsField": false,
387
+ "isEmpty": false
388
+ },
389
+ {
390
+ "op": "cmp",
391
+ "field": "widgetType",
392
+ "fieldName": "Type",
393
+ "operator": "==",
394
+ "value": "simpleSearch",
395
+ "valueIsField": false,
396
+ "isEmpty": false
397
+ }
398
+ ]
399
+ },
400
+ {
401
+ "op": "cmp",
402
+ "field": "widgetType",
403
+ "fieldName": "Type",
404
+ "operator": "==",
405
+ "value": "formSearch",
406
+ "valueIsField": false,
407
+ "isEmpty": false
408
+ }
409
+ ]
410
+ },
411
+ {
412
+ "op": "or",
413
+ "items": [
414
+ {
415
+ "op": "cmp",
416
+ "field": "widgetType",
417
+ "fieldName": "Type",
418
+ "operator": "==",
419
+ "value": "caseData",
420
+ "valueIsField": false,
421
+ "isEmpty": false
422
+ },
423
+ {
424
+ "op": "cmp",
425
+ "field": "widgetType",
426
+ "fieldName": "Type",
427
+ "operator": "==",
428
+ "value": "caseDataClean",
429
+ "valueIsField": false,
430
+ "isEmpty": false
431
+ },
432
+ {
433
+ "op": "cmp",
434
+ "field": "widgetType",
435
+ "fieldName": "Type",
436
+ "operator": "==",
437
+ "value": "formSearch",
438
+ "valueIsField": false,
439
+ "isEmpty": false
440
+ }
441
+ ]
442
+ },
443
+ {
444
+ "op": "cmp",
445
+ "field": "widgetType",
446
+ "fieldName": "Type",
447
+ "operator": "==",
448
+ "value": "inlineEdit",
449
+ "valueIsField": false,
450
+ "isEmpty": false
451
+ }
452
+ ]
453
+ },
454
+ "itemsPerPage": {
455
+ "baseline": "MUST_NOT",
456
+ "enabledWhen": [
457
+ {
458
+ "op": "or",
459
+ "items": [
460
+ {
461
+ "op": "cmp",
462
+ "field": "widgetType",
463
+ "fieldName": "Type",
464
+ "operator": "==",
465
+ "value": "formSearch",
466
+ "valueIsField": false,
467
+ "isEmpty": false
468
+ },
469
+ {
470
+ "op": "cmp",
471
+ "field": "widgetType",
472
+ "fieldName": "Type",
473
+ "operator": "==",
474
+ "value": "simpleSearch",
475
+ "valueIsField": false,
476
+ "isEmpty": false
477
+ }
478
+ ]
479
+ },
480
+ {
481
+ "op": "cmp",
482
+ "field": "widgetType",
483
+ "fieldName": "Type",
484
+ "operator": "==",
485
+ "value": "simpleSearch",
486
+ "valueIsField": false,
487
+ "isEmpty": false
488
+ },
489
+ {
490
+ "op": "cmp",
491
+ "field": "widgetType",
492
+ "fieldName": "Type",
493
+ "operator": "==",
494
+ "value": "tileWidget",
495
+ "valueIsField": false,
496
+ "isEmpty": false
497
+ }
498
+ ]
499
+ },
500
+ "preSelectedCase": {
501
+ "baseline": "MUST_NOT",
502
+ "enabledWhen": [
503
+ {
504
+ "op": "and",
505
+ "items": [
506
+ {
507
+ "op": "cmp",
508
+ "field": "masterWidget",
509
+ "fieldName": "Settings - Master Widget ID",
510
+ "operator": "!==",
511
+ "value": "",
512
+ "valueIsField": false,
513
+ "isEmpty": true
514
+ },
515
+ {
516
+ "op": "cmp",
517
+ "field": "widgetType",
518
+ "fieldName": "Type",
519
+ "operator": "==",
520
+ "value": "tileWidget",
521
+ "valueIsField": false,
522
+ "isEmpty": false
523
+ }
524
+ ]
525
+ },
526
+ {
527
+ "op": "cmp",
528
+ "field": "widgetType",
529
+ "fieldName": "Type",
530
+ "operator": "==",
531
+ "value": "tileWidget",
532
+ "valueIsField": false,
533
+ "isEmpty": false
534
+ }
535
+ ]
536
+ },
537
+ "renderAsMarkdown": {
538
+ "baseline": "MUST_NOT",
539
+ "enabledWhen": [
540
+ {
541
+ "op": "cmp",
542
+ "field": "widgetType",
543
+ "fieldName": "Type",
544
+ "operator": "==",
545
+ "value": "templateWidget",
546
+ "valueIsField": false,
547
+ "isEmpty": false
548
+ }
549
+ ]
550
+ },
551
+ "selectionTemplate": {
552
+ "baseline": "MUST_NOT",
553
+ "enabledWhen": [
554
+ {
555
+ "op": "cmp",
556
+ "field": "masterWidget",
557
+ "fieldName": "Settings - Master Widget ID",
558
+ "operator": "!==",
559
+ "value": "",
560
+ "valueIsField": false,
561
+ "isEmpty": true
562
+ },
563
+ {
564
+ "op": "cmp",
565
+ "field": "widgetType",
566
+ "fieldName": "Type",
567
+ "operator": "==",
568
+ "value": "activityWidget",
569
+ "valueIsField": false,
570
+ "isEmpty": false
571
+ },
572
+ {
573
+ "op": "cmp",
574
+ "field": "widgetType",
575
+ "fieldName": "Type",
576
+ "operator": "==",
577
+ "value": "viewWidget",
578
+ "valueIsField": false,
579
+ "isEmpty": false
580
+ }
581
+ ]
582
+ },
583
+ "activity": {
584
+ "baseline": "MUST_NOT",
585
+ "enabledWhen": [
586
+ {
587
+ "op": "cmp",
588
+ "field": "widgetType",
589
+ "fieldName": "Type",
590
+ "operator": "==",
591
+ "value": "activityWidget",
592
+ "valueIsField": false,
593
+ "isEmpty": false
594
+ },
595
+ {
596
+ "op": "cmp",
597
+ "field": "widgetType",
598
+ "fieldName": "Type",
599
+ "operator": "==",
600
+ "value": "inlineEdit",
601
+ "valueIsField": false,
602
+ "isEmpty": false
603
+ }
604
+ ]
605
+ },
606
+ "disableCaseLinks": {
607
+ "baseline": "MUST_NOT",
608
+ "enabledWhen": [
609
+ {
610
+ "op": "and",
611
+ "items": [
612
+ {
613
+ "op": "or",
614
+ "items": [
615
+ {
616
+ "op": "cmp",
617
+ "field": "widgetType",
618
+ "fieldName": "Type",
619
+ "operator": "==",
620
+ "value": "caseData",
621
+ "valueIsField": false,
622
+ "isEmpty": false
623
+ },
624
+ {
625
+ "op": "cmp",
626
+ "field": "widgetType",
627
+ "fieldName": "Type",
628
+ "operator": "==",
629
+ "value": "caseDataClean",
630
+ "valueIsField": false,
631
+ "isEmpty": false
632
+ },
633
+ {
634
+ "op": "cmp",
635
+ "field": "widgetType",
636
+ "fieldName": "Type",
637
+ "operator": "==",
638
+ "value": "formWidget",
639
+ "valueIsField": false,
640
+ "isEmpty": false
641
+ }
642
+ ]
643
+ },
644
+ {
645
+ "op": "cmp",
646
+ "field": "widgetType",
647
+ "fieldName": "Type",
648
+ "operator": "==",
649
+ "value": "caseDataClean",
650
+ "valueIsField": false,
651
+ "isEmpty": false
652
+ }
653
+ ]
654
+ }
655
+ ]
656
+ },
657
+ "excludeEmptyValues": {
658
+ "baseline": "MUST_NOT",
659
+ "enabledWhen": [
660
+ {
661
+ "op": "and",
662
+ "items": [
663
+ {
664
+ "op": "or",
665
+ "items": [
666
+ {
667
+ "op": "cmp",
668
+ "field": "widgetType",
669
+ "fieldName": "Type",
670
+ "operator": "==",
671
+ "value": "caseData",
672
+ "valueIsField": false,
673
+ "isEmpty": false
674
+ },
675
+ {
676
+ "op": "cmp",
677
+ "field": "widgetType",
678
+ "fieldName": "Type",
679
+ "operator": "==",
680
+ "value": "caseDataClean",
681
+ "valueIsField": false,
682
+ "isEmpty": false
683
+ },
684
+ {
685
+ "op": "cmp",
686
+ "field": "widgetType",
687
+ "fieldName": "Type",
688
+ "operator": "==",
689
+ "value": "formWidget",
690
+ "valueIsField": false,
691
+ "isEmpty": false
692
+ }
693
+ ]
694
+ },
695
+ {
696
+ "op": "cmp",
697
+ "field": "widgetType",
698
+ "fieldName": "Type",
699
+ "operator": "==",
700
+ "value": "caseDataClean",
701
+ "valueIsField": false,
702
+ "isEmpty": false
703
+ }
704
+ ]
705
+ }
706
+ ]
707
+ },
708
+ "executeFormLogic": {
709
+ "baseline": "MUST_NOT",
710
+ "enabledWhen": [
711
+ {
712
+ "op": "and",
713
+ "items": [
714
+ {
715
+ "op": "or",
716
+ "items": [
717
+ {
718
+ "op": "cmp",
719
+ "field": "widgetType",
720
+ "fieldName": "Type",
721
+ "operator": "==",
722
+ "value": "caseData",
723
+ "valueIsField": false,
724
+ "isEmpty": false
725
+ },
726
+ {
727
+ "op": "cmp",
728
+ "field": "widgetType",
729
+ "fieldName": "Type",
730
+ "operator": "==",
731
+ "value": "caseDataClean",
732
+ "valueIsField": false,
733
+ "isEmpty": false
734
+ },
735
+ {
736
+ "op": "cmp",
737
+ "field": "widgetType",
738
+ "fieldName": "Type",
739
+ "operator": "==",
740
+ "value": "formWidget",
741
+ "valueIsField": false,
742
+ "isEmpty": false
743
+ }
744
+ ]
745
+ },
746
+ {
747
+ "op": "cmp",
748
+ "field": "widgetType",
749
+ "fieldName": "Type",
750
+ "operator": "==",
751
+ "value": "caseDataClean",
752
+ "valueIsField": false,
753
+ "isEmpty": false
754
+ }
755
+ ]
756
+ }
757
+ ]
758
+ },
759
+ "pluginOptions": {
760
+ "baseline": "MAY",
761
+ "enabledWhen": [
762
+ {
763
+ "op": "cmp",
764
+ "field": "widgetType",
765
+ "fieldName": "Type",
766
+ "operator": "==",
767
+ "value": "pluginWidget",
768
+ "valueIsField": false,
769
+ "isEmpty": false
770
+ }
771
+ ]
772
+ },
773
+ "masterWidget": {
774
+ "baseline": "MUST_NOT",
775
+ "enabledWhen": [
776
+ {
777
+ "op": "or",
778
+ "items": [
779
+ {
780
+ "op": "cmp",
781
+ "field": "widgetType",
782
+ "fieldName": "Type",
783
+ "operator": "==",
784
+ "value": "caseData",
785
+ "valueIsField": false,
786
+ "isEmpty": false
787
+ },
788
+ {
789
+ "op": "cmp",
790
+ "field": "widgetType",
791
+ "fieldName": "Type",
792
+ "operator": "==",
793
+ "value": "caseDataClean",
794
+ "valueIsField": false,
795
+ "isEmpty": false
796
+ },
797
+ {
798
+ "op": "cmp",
799
+ "field": "widgetType",
800
+ "fieldName": "Type",
801
+ "operator": "==",
802
+ "value": "formWidget",
803
+ "valueIsField": false,
804
+ "isEmpty": false
805
+ }
806
+ ]
807
+ },
808
+ {
809
+ "op": "cmp",
810
+ "field": "widgetType",
811
+ "fieldName": "Type",
812
+ "operator": "contains",
813
+ "value": "grid",
814
+ "valueIsField": false,
815
+ "isEmpty": false
816
+ },
817
+ {
818
+ "op": "cmp",
819
+ "field": "widgetType",
820
+ "fieldName": "Type",
821
+ "operator": "==",
822
+ "value": "activityWidget",
823
+ "valueIsField": false,
824
+ "isEmpty": false
825
+ },
826
+ {
827
+ "op": "cmp",
828
+ "field": "widgetType",
829
+ "fieldName": "Type",
830
+ "operator": "==",
831
+ "value": "pluginWidget",
832
+ "valueIsField": false,
833
+ "isEmpty": false
834
+ },
835
+ {
836
+ "op": "cmp",
837
+ "field": "widgetType",
838
+ "fieldName": "Type",
839
+ "operator": "==",
840
+ "value": "templateWidget",
841
+ "valueIsField": false,
842
+ "isEmpty": false
843
+ },
844
+ {
845
+ "op": "cmp",
846
+ "field": "widgetType",
847
+ "fieldName": "Type",
848
+ "operator": "==",
849
+ "value": "tileWidget",
850
+ "valueIsField": false,
851
+ "isEmpty": false
852
+ },
853
+ {
854
+ "op": "cmp",
855
+ "field": "widgetType",
856
+ "fieldName": "Type",
857
+ "operator": "==",
858
+ "value": "viewWidget",
859
+ "valueIsField": false,
860
+ "isEmpty": false
861
+ }
862
+ ]
863
+ },
864
+ "widgetPlugin": {
865
+ "baseline": "MUST_NOT",
866
+ "enabledWhen": [
867
+ {
868
+ "op": "cmp",
869
+ "field": "widgetType",
870
+ "fieldName": "Type",
871
+ "operator": "==",
872
+ "value": "pluginWidget",
873
+ "valueIsField": false,
874
+ "isEmpty": false
875
+ }
876
+ ]
877
+ },
878
+ "templateSearchBox": {
879
+ "baseline": "MUST_NOT",
880
+ "enabledWhen": [
881
+ {
882
+ "op": "and",
883
+ "items": [
884
+ {
885
+ "op": "or",
886
+ "items": [
887
+ {
888
+ "op": "cmp",
889
+ "field": "widgetType",
890
+ "fieldName": "Type",
891
+ "operator": "==",
892
+ "value": "formSearch",
893
+ "valueIsField": false,
894
+ "isEmpty": false
895
+ },
896
+ {
897
+ "op": "cmp",
898
+ "field": "widgetType",
899
+ "fieldName": "Type",
900
+ "operator": "==",
901
+ "value": "simpleSearch",
902
+ "valueIsField": false,
903
+ "isEmpty": false
904
+ }
905
+ ]
906
+ },
907
+ {
908
+ "op": "cmp",
909
+ "field": "widgetType",
910
+ "fieldName": "Type",
911
+ "operator": "==",
912
+ "value": "simpleSearch",
913
+ "valueIsField": false,
914
+ "isEmpty": false
915
+ }
916
+ ]
917
+ },
918
+ {
919
+ "op": "cmp",
920
+ "field": "widgetType",
921
+ "fieldName": "Type",
922
+ "operator": "==",
923
+ "value": "simpleSearch",
924
+ "valueIsField": false,
925
+ "isEmpty": false
926
+ }
927
+ ]
928
+ },
929
+ "templateSearchRow": {
930
+ "baseline": "MUST_NOT",
931
+ "enabledWhen": [
932
+ {
933
+ "op": "and",
934
+ "items": [
935
+ {
936
+ "op": "or",
937
+ "items": [
938
+ {
939
+ "op": "cmp",
940
+ "field": "widgetType",
941
+ "fieldName": "Type",
942
+ "operator": "==",
943
+ "value": "formSearch",
944
+ "valueIsField": false,
945
+ "isEmpty": false
946
+ },
947
+ {
948
+ "op": "cmp",
949
+ "field": "widgetType",
950
+ "fieldName": "Type",
951
+ "operator": "==",
952
+ "value": "simpleSearch",
953
+ "valueIsField": false,
954
+ "isEmpty": false
955
+ }
956
+ ]
957
+ },
958
+ {
959
+ "op": "cmp",
960
+ "field": "widgetType",
961
+ "fieldName": "Type",
962
+ "operator": "==",
963
+ "value": "simpleSearch",
964
+ "valueIsField": false,
965
+ "isEmpty": false
966
+ }
967
+ ]
968
+ },
969
+ {
970
+ "op": "cmp",
971
+ "field": "widgetType",
972
+ "fieldName": "Type",
973
+ "operator": "==",
974
+ "value": "simpleSearch",
975
+ "valueIsField": false,
976
+ "isEmpty": false
977
+ }
978
+ ]
979
+ },
980
+ "tileClasses": {
981
+ "baseline": "MUST_NOT",
982
+ "enabledWhen": [
983
+ {
984
+ "op": "cmp",
985
+ "field": "widgetType",
986
+ "fieldName": "Type",
987
+ "operator": "==",
988
+ "value": "tileWidget",
989
+ "valueIsField": false,
990
+ "isEmpty": false
991
+ }
992
+ ]
993
+ },
994
+ "templateOnEmpty": {
995
+ "baseline": "MUST_NOT",
996
+ "enabledWhen": [
997
+ {
998
+ "op": "cmp",
999
+ "field": "widgetType",
1000
+ "fieldName": "Type",
1001
+ "operator": "==",
1002
+ "value": "tileWidget",
1003
+ "valueIsField": false,
1004
+ "isEmpty": false
1005
+ }
1006
+ ]
1007
+ },
1008
+ "widgetType": {
1009
+ "baseline": "MUST_NOT",
1010
+ "requiredWhen": [
1011
+ {
1012
+ "op": "and",
1013
+ "items": [
1014
+ {
1015
+ "op": "or",
1016
+ "items": [
1017
+ {
1018
+ "op": "cmp",
1019
+ "field": "widgetType",
1020
+ "fieldName": "Type",
1021
+ "operator": "==",
1022
+ "value": "grid",
1023
+ "valueIsField": false,
1024
+ "isEmpty": false
1025
+ },
1026
+ {
1027
+ "op": "cmp",
1028
+ "field": null,
1029
+ "fieldName": "Use legacy grids",
1030
+ "operator": "==",
1031
+ "value": "true",
1032
+ "valueIsField": false,
1033
+ "isEmpty": false
1034
+ }
1035
+ ]
1036
+ },
1037
+ {
1038
+ "op": "cmp",
1039
+ "field": "widgetType",
1040
+ "fieldName": "Type",
1041
+ "operator": "contains",
1042
+ "value": "grid",
1043
+ "valueIsField": false,
1044
+ "isEmpty": false
1045
+ }
1046
+ ]
1047
+ },
1048
+ {
1049
+ "op": "and",
1050
+ "items": [
1051
+ {
1052
+ "op": "cmp",
1053
+ "field": "subWidgetParentWidget",
1054
+ "fieldName": "Parent widget (for sub-widgets)",
1055
+ "operator": "!==",
1056
+ "value": "",
1057
+ "valueIsField": false,
1058
+ "isEmpty": true
1059
+ },
1060
+ {
1061
+ "op": "cmp",
1062
+ "field": "widgetType",
1063
+ "fieldName": "Type",
1064
+ "operator": "==",
1065
+ "value": "",
1066
+ "valueIsField": false,
1067
+ "isEmpty": true
1068
+ }
1069
+ ]
1070
+ }
1071
+ ],
1072
+ "enabledWhen": [
1073
+ {
1074
+ "op": "and",
1075
+ "items": [
1076
+ {
1077
+ "op": "or",
1078
+ "items": [
1079
+ {
1080
+ "op": "cmp",
1081
+ "field": "widgetType",
1082
+ "fieldName": "Type",
1083
+ "operator": "==",
1084
+ "value": "grid",
1085
+ "valueIsField": false,
1086
+ "isEmpty": false
1087
+ },
1088
+ {
1089
+ "op": "cmp",
1090
+ "field": null,
1091
+ "fieldName": "Use legacy grids",
1092
+ "operator": "==",
1093
+ "value": "true",
1094
+ "valueIsField": false,
1095
+ "isEmpty": false
1096
+ }
1097
+ ]
1098
+ },
1099
+ {
1100
+ "op": "cmp",
1101
+ "field": "widgetType",
1102
+ "fieldName": "Type",
1103
+ "operator": "contains",
1104
+ "value": "grid",
1105
+ "valueIsField": false,
1106
+ "isEmpty": false
1107
+ }
1108
+ ]
1109
+ },
1110
+ {
1111
+ "op": "and",
1112
+ "items": [
1113
+ {
1114
+ "op": "cmp",
1115
+ "field": "subWidgetParentWidget",
1116
+ "fieldName": "Parent widget (for sub-widgets)",
1117
+ "operator": "!==",
1118
+ "value": "",
1119
+ "valueIsField": false,
1120
+ "isEmpty": true
1121
+ },
1122
+ {
1123
+ "op": "cmp",
1124
+ "field": "widgetType",
1125
+ "fieldName": "Type",
1126
+ "operator": "==",
1127
+ "value": "",
1128
+ "valueIsField": false,
1129
+ "isEmpty": true
1130
+ }
1131
+ ]
1132
+ },
1133
+ {
1134
+ "op": "or",
1135
+ "items": [
1136
+ {
1137
+ "op": "cmp",
1138
+ "field": "widgetType",
1139
+ "fieldName": "Type",
1140
+ "operator": "==",
1141
+ "value": "caseData",
1142
+ "valueIsField": false,
1143
+ "isEmpty": false
1144
+ },
1145
+ {
1146
+ "op": "cmp",
1147
+ "field": "widgetType",
1148
+ "fieldName": "Type",
1149
+ "operator": "==",
1150
+ "value": "caseDataClean",
1151
+ "valueIsField": false,
1152
+ "isEmpty": false
1153
+ },
1154
+ {
1155
+ "op": "cmp",
1156
+ "field": "widgetType",
1157
+ "fieldName": "Type",
1158
+ "operator": "==",
1159
+ "value": "formWidget",
1160
+ "valueIsField": false,
1161
+ "isEmpty": false
1162
+ }
1163
+ ]
1164
+ },
1165
+ {
1166
+ "op": "or",
1167
+ "items": [
1168
+ {
1169
+ "op": "cmp",
1170
+ "field": "widgetType",
1171
+ "fieldName": "Type",
1172
+ "operator": "==",
1173
+ "value": "formSearch",
1174
+ "valueIsField": false,
1175
+ "isEmpty": false
1176
+ },
1177
+ {
1178
+ "op": "cmp",
1179
+ "field": "widgetType",
1180
+ "fieldName": "Type",
1181
+ "operator": "==",
1182
+ "value": "simpleSearch",
1183
+ "valueIsField": false,
1184
+ "isEmpty": false
1185
+ }
1186
+ ]
1187
+ },
1188
+ {
1189
+ "op": "and",
1190
+ "items": [
1191
+ {
1192
+ "op": "cmp",
1193
+ "field": "subWidgetParentWidget",
1194
+ "fieldName": "Parent widget (for sub-widgets)",
1195
+ "operator": "!==",
1196
+ "value": "",
1197
+ "valueIsField": false,
1198
+ "isEmpty": true
1199
+ },
1200
+ {
1201
+ "op": "cmp",
1202
+ "field": "widgetType",
1203
+ "fieldName": "Type",
1204
+ "operator": "!=",
1205
+ "value": "",
1206
+ "valueIsField": false,
1207
+ "isEmpty": true
1208
+ }
1209
+ ]
1210
+ }
1211
+ ],
1212
+ "readOnlyWhen": [
1213
+ {
1214
+ "op": "and",
1215
+ "items": [
1216
+ {
1217
+ "op": "cmp",
1218
+ "field": "subWidgetParentWidget",
1219
+ "fieldName": "Parent widget (for sub-widgets)",
1220
+ "operator": "!==",
1221
+ "value": "",
1222
+ "valueIsField": false,
1223
+ "isEmpty": true
1224
+ },
1225
+ {
1226
+ "op": "cmp",
1227
+ "field": "widgetType",
1228
+ "fieldName": "Type",
1229
+ "operator": "!=",
1230
+ "value": "",
1231
+ "valueIsField": false,
1232
+ "isEmpty": true
1233
+ }
1234
+ ]
1235
+ }
1236
+ ]
1237
+ }
1238
+ }