@grexx/grexxlinter 0.2.0

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 (137) hide show
  1. package/cli.js +14973 -0
  2. package/lsp.js +23977 -0
  3. package/package.json +19 -0
  4. package/schemas/.coverage.json +10987 -0
  5. package/schemas/abstract.schema.json +842 -0
  6. package/schemas/abstractAttribute.schema.json +38 -0
  7. package/schemas/abstractAttributeFormField.schema.json +50 -0
  8. package/schemas/abstractCondition.schema.json +74 -0
  9. package/schemas/abstractRight.schema.json +74 -0
  10. package/schemas/abstractRole.schema.json +50 -0
  11. package/schemas/abstractRule.schema.json +182 -0
  12. package/schemas/activity.schema.json +1328 -0
  13. package/schemas/activityAttribute.schema.json +73 -0
  14. package/schemas/activityRight.schema.json +64 -0
  15. package/schemas/agent.schema.json +179 -0
  16. package/schemas/agentTool.schema.json +118 -0
  17. package/schemas/attribute.schema.json +286 -0
  18. package/schemas/casetype.schema.json +256 -0
  19. package/schemas/catchBlock.schema.json +76 -0
  20. package/schemas/common.schema.json +63 -0
  21. package/schemas/conditionList.schema.json +67 -0
  22. package/schemas/container.schema.json +88 -0
  23. package/schemas/cssVariables.schema.json +90 -0
  24. package/schemas/customThrow.schema.json +73 -0
  25. package/schemas/dataRetentionProfile.schema.json +90 -0
  26. package/schemas/dataset.schema.json +579 -0
  27. package/schemas/datasetColumn.schema.json +423 -0
  28. package/schemas/datasetCondition.schema.json +409 -0
  29. package/schemas/datasetRight.schema.json +86 -0
  30. package/schemas/datasource.schema.json +73 -0
  31. package/schemas/dateProfile.schema.json +87 -0
  32. package/schemas/directRole.schema.json +71 -0
  33. package/schemas/fileUploadProfile.schema.json +75 -0
  34. package/schemas/forEach.schema.json +144 -0
  35. package/schemas/form.schema.json +119 -0
  36. package/schemas/formAction.schema.json +149 -0
  37. package/schemas/formActionAi.schema.json +81 -0
  38. package/schemas/formActionInlineJavascript.schema.json +66 -0
  39. package/schemas/formButton.schema.json +84 -0
  40. package/schemas/formGroup.schema.json +99 -0
  41. package/schemas/formRight.schema.json +86 -0
  42. package/schemas/formfield.schema.json +339 -0
  43. package/schemas/gridActivity.schema.json +80 -0
  44. package/schemas/gridColumn.schema.json +111 -0
  45. package/schemas/hasRoleCondition.schema.json +63 -0
  46. package/schemas/ifthenelse.schema.json +78 -0
  47. package/schemas/indirectRole.schema.json +74 -0
  48. package/schemas/job.schema.json +63 -0
  49. package/schemas/jobStep.schema.json +68 -0
  50. package/schemas/llmModel.schema.json +79 -0
  51. package/schemas/mapping.schema.json +690 -0
  52. package/schemas/menuItem.schema.json +519 -0
  53. package/schemas/menuItemRight.schema.json +64 -0
  54. package/schemas/metadata.schema.json +96 -0
  55. package/schemas/navigation.schema.json +86 -0
  56. package/schemas/notCondition.schema.json +60 -0
  57. package/schemas/parallelBlock.schema.json +75 -0
  58. package/schemas/picklist.schema.json +113 -0
  59. package/schemas/picklistItem.schema.json +71 -0
  60. package/schemas/platformAttribute.schema.json +300 -0
  61. package/schemas/platformRole.schema.json +191 -0
  62. package/schemas/platformconstants.schema.json +94 -0
  63. package/schemas/plugin.schema.json +99 -0
  64. package/schemas/pluginLibrary.schema.json +78 -0
  65. package/schemas/requestContext.schema.json +183 -0
  66. package/schemas/roleName.schema.json +115 -0
  67. package/schemas/ruleList.schema.json +72 -0
  68. package/schemas/securityProfile.schema.json +63 -0
  69. package/schemas/securityRequirement.schema.json +63 -0
  70. package/schemas/simpleCondition.schema.json +466 -0
  71. package/schemas/staticFile.schema.json +63 -0
  72. package/schemas/tag.schema.json +62 -0
  73. package/schemas/taskQueue.schema.json +69 -0
  74. package/schemas/template/activitymeta.schema.json +36 -0
  75. package/schemas/template/attribute.schema.json +31 -0
  76. package/schemas/template/calculate-dataset.schema.json +31 -0
  77. package/schemas/template/casemeta.schema.json +18 -0
  78. package/schemas/template/casetypemeta.schema.json +19 -0
  79. package/schemas/template/comment.schema.json +36 -0
  80. package/schemas/template/datasetColumn.schema.json +31 -0
  81. package/schemas/template/date-function.schema.json +232 -0
  82. package/schemas/template/definitionmeta.schema.json +73 -0
  83. package/schemas/template/file.schema.json +39 -0
  84. package/schemas/template/foreach.schema.json +67 -0
  85. package/schemas/template/formfield.schema.json +21 -0
  86. package/schemas/template/formula.schema.json +18 -0
  87. package/schemas/template/hasRole.schema.json +18 -0
  88. package/schemas/template/historic.schema.json +21 -0
  89. package/schemas/template/html.schema.json +165 -0
  90. package/schemas/template/icon.schema.json +18 -0
  91. package/schemas/template/if.schema.json +30 -0
  92. package/schemas/template/inlineTemplate.schema.json +26 -0
  93. package/schemas/template/isnull.schema.json +21 -0
  94. package/schemas/template/isofcasetype.schema.json +24 -0
  95. package/schemas/template/iterator.schema.json +61 -0
  96. package/schemas/template/json.schema.json +55 -0
  97. package/schemas/template/math.schema.json +210 -0
  98. package/schemas/template/meta.schema.json +164 -0
  99. package/schemas/template/metadefinitionmeta.schema.json +36 -0
  100. package/schemas/template/multivalue.schema.json +210 -0
  101. package/schemas/template/page.schema.json +21 -0
  102. package/schemas/template/parameter.schema.json +24 -0
  103. package/schemas/template/parameterDefinition.schema.json +27 -0
  104. package/schemas/template/parameterIdDefinition.schema.json +28 -0
  105. package/schemas/template/parseError.schema.json +48 -0
  106. package/schemas/template/picklist.schema.json +27 -0
  107. package/schemas/template/pseudoTemplate.schema.json +27 -0
  108. package/schemas/template/requestcontext.schema.json +52 -0
  109. package/schemas/template/returnType.schema.json +26 -0
  110. package/schemas/template/spacialMath.schema.json +77 -0
  111. package/schemas/template/special.schema.json +19 -0
  112. package/schemas/template/staticFile.schema.json +39 -0
  113. package/schemas/template/system.schema.json +22 -0
  114. package/schemas/template/systemconfig.schema.json +21 -0
  115. package/schemas/template/taskattribute.schema.json +21 -0
  116. package/schemas/template/taskdata.schema.json +24 -0
  117. package/schemas/template/taskmeta.schema.json +180 -0
  118. package/schemas/template/taskqueuemeta.schema.json +36 -0
  119. package/schemas/template/template.schema.json +27 -0
  120. package/schemas/template/templatePart.schema.json +638 -0
  121. package/schemas/template/text.schema.json +18 -0
  122. package/schemas/template/url.schema.json +77 -0
  123. package/schemas/template/urlParameter.schema.json +21 -0
  124. package/schemas/template/user.schema.json +36 -0
  125. package/schemas/template/userProperty.schema.json +22 -0
  126. package/schemas/template/usersession.schema.json +18 -0
  127. package/schemas/template/util.schema.json +434 -0
  128. package/schemas/template/xml.schema.json +55 -0
  129. package/schemas/template.schema.json +74 -0
  130. package/schemas/theme.schema.json +63 -0
  131. package/schemas/trigger.schema.json +413 -0
  132. package/schemas/tryBlock.schema.json +99 -0
  133. package/schemas/view.schema.json +159 -0
  134. package/schemas/webhook.schema.json +77 -0
  135. package/schemas/while.schema.json +130 -0
  136. package/schemas/widget.schema.json +1416 -0
  137. package/schemas/widgetRight.schema.json +85 -0
@@ -0,0 +1,1416 @@
1
+ {
2
+ "$id": "https://grexx.net/studio-next/schemas/widget.schema.json",
3
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "additionalProperties": false,
5
+ "properties": {
6
+ "_id": {
7
+ "type": "string"
8
+ },
9
+ "_interfaceID": {
10
+ "type": "string"
11
+ },
12
+ "_isInterface": {
13
+ "type": "boolean"
14
+ },
15
+ "_knownIDs": {
16
+ "items": {
17
+ "type": "string"
18
+ },
19
+ "type": "array"
20
+ },
21
+ "_origin": {
22
+ "type": "string"
23
+ },
24
+ "_src": {
25
+ "type": "string"
26
+ },
27
+ "_type": {
28
+ "const": "widget"
29
+ },
30
+ "_uid": {
31
+ "description": "Deterministic UUID derived from case-ID.",
32
+ "format": "uuid",
33
+ "type": "string"
34
+ },
35
+ "activities": {
36
+ "items": {
37
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
38
+ },
39
+ "type": "array"
40
+ },
41
+ "activity": {
42
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
43
+ },
44
+ "agentConversation": {
45
+ "$ref": "template/inlineTemplate.schema.json"
46
+ },
47
+ "caseAttribute": {
48
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
49
+ },
50
+ "casePointer": {
51
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
52
+ },
53
+ "columns": {
54
+ "items": {
55
+ "$ref": "gridColumn.schema.json"
56
+ },
57
+ "type": "array"
58
+ },
59
+ "condition": {
60
+ "$ref": "abstractCondition.schema.json"
61
+ },
62
+ "dataset": {
63
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
64
+ },
65
+ "description": {
66
+ "$ref": "template/inlineTemplate.schema.json"
67
+ },
68
+ "disableCaseLinks": {
69
+ "type": "boolean"
70
+ },
71
+ "excludeEmptyValues": {
72
+ "type": "boolean"
73
+ },
74
+ "executeFormLogic": {
75
+ "type": "boolean"
76
+ },
77
+ "extraClasses": {
78
+ "type": "string"
79
+ },
80
+ "footer": {
81
+ "$ref": "template/inlineTemplate.schema.json"
82
+ },
83
+ "form": {
84
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
85
+ },
86
+ "gridActivities": {
87
+ "items": {
88
+ "$ref": "gridActivity.schema.json"
89
+ },
90
+ "type": "array"
91
+ },
92
+ "gridAggregationRowPosition": {
93
+ "enum": [
94
+ "top",
95
+ "bottom",
96
+ "topAndBottom"
97
+ ],
98
+ "type": "string"
99
+ },
100
+ "gridAggregationRowType": {
101
+ "enum": [
102
+ "currentPage",
103
+ "fullDataset"
104
+ ],
105
+ "type": "string"
106
+ },
107
+ "header": {
108
+ "$ref": "template/inlineTemplate.schema.json"
109
+ },
110
+ "hide": {
111
+ "type": "boolean"
112
+ },
113
+ "inactive": {
114
+ "type": "boolean"
115
+ },
116
+ "interfaceStudioProduct": {
117
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
118
+ },
119
+ "itemsPerPage": {
120
+ "type": "integer"
121
+ },
122
+ "label": {
123
+ "$ref": "template/inlineTemplate.schema.json"
124
+ },
125
+ "masterWidget": {
126
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
127
+ },
128
+ "metaCaseToOtap": {
129
+ "type": "boolean"
130
+ },
131
+ "name": {
132
+ "$ref": "common.schema.json#/$defs/multilanguageStringStructure"
133
+ },
134
+ "options": {
135
+ "additionalProperties": true,
136
+ "type": "object"
137
+ },
138
+ "ourProductId": {
139
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
140
+ },
141
+ "platformWidget": {
142
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
143
+ },
144
+ "pluginOptions": {
145
+ "$ref": "template/inlineTemplate.schema.json"
146
+ },
147
+ "preSelectedCase": {
148
+ "$ref": "template/inlineTemplate.schema.json"
149
+ },
150
+ "refreshInterval": {
151
+ "type": "integer"
152
+ },
153
+ "renderAsMarkdown": {
154
+ "type": "boolean"
155
+ },
156
+ "rights": {
157
+ "items": {
158
+ "$ref": "widgetRight.schema.json"
159
+ },
160
+ "type": "array"
161
+ },
162
+ "selectionTemplate": {
163
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
164
+ },
165
+ "selectionTemplateInline": {
166
+ "$ref": "template/inlineTemplate.schema.json"
167
+ },
168
+ "subWidgets": {
169
+ "items": {
170
+ "$ref": "widget.schema.json"
171
+ },
172
+ "type": "array"
173
+ },
174
+ "template": {
175
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
176
+ },
177
+ "templateInline": {
178
+ "$ref": "template/inlineTemplate.schema.json"
179
+ },
180
+ "templateOnEmpty": {
181
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
182
+ },
183
+ "templateOnEmptyInline": {
184
+ "$ref": "template/inlineTemplate.schema.json"
185
+ },
186
+ "tileClasses": {
187
+ "type": "string"
188
+ },
189
+ "view": {
190
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
191
+ },
192
+ "widgetAgent": {
193
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
194
+ },
195
+ "widgetAgentActivityFilterType": {
196
+ "enum": [
197
+ "include",
198
+ "exclude"
199
+ ],
200
+ "type": "string"
201
+ },
202
+ "widgetAgentAllowFileUploads": {
203
+ "type": "boolean"
204
+ },
205
+ "widgetAgentChatTitle": {
206
+ "$ref": "template/inlineTemplate.schema.json"
207
+ },
208
+ "widgetAgentExecutionType": {
209
+ "enum": [
210
+ "userRightsShowForm",
211
+ "form",
212
+ "userRightsQuickActivity",
213
+ "none",
214
+ "agentRights"
215
+ ],
216
+ "type": "string"
217
+ },
218
+ "widgetAgentFirstMessage": {
219
+ "$ref": "template/inlineTemplate.schema.json"
220
+ },
221
+ "widgetAgentType": {
222
+ "type": "string"
223
+ },
224
+ "widgetPlugin": {
225
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
226
+ },
227
+ "widgetStylingPrimaryColor": {
228
+ "type": "string"
229
+ },
230
+ "widgetStylingSecondaryColor": {
231
+ "type": "string"
232
+ },
233
+ "widgetType": {
234
+ "type": "string"
235
+ }
236
+ },
237
+ "required": [
238
+ "_type",
239
+ "_uid"
240
+ ],
241
+ "title": "widget",
242
+ "type": "object",
243
+ "allOf": [
244
+ {
245
+ "if": {
246
+ "properties": {
247
+ "widgetType": {
248
+ "const": "viewWidget"
249
+ }
250
+ },
251
+ "required": [
252
+ "widgetType"
253
+ ]
254
+ },
255
+ "then": {},
256
+ "else": {
257
+ "properties": {
258
+ "caseAttribute": false
259
+ }
260
+ }
261
+ },
262
+ {
263
+ "if": {
264
+ "anyOf": [
265
+ {
266
+ "properties": {
267
+ "widgetType": {
268
+ "const": "tileWidget"
269
+ }
270
+ },
271
+ "required": [
272
+ "widgetType"
273
+ ]
274
+ },
275
+ {
276
+ "properties": {
277
+ "widgetType": {
278
+ "const": "tileWidget"
279
+ }
280
+ },
281
+ "required": [
282
+ "widgetType"
283
+ ]
284
+ },
285
+ {
286
+ "allOf": [
287
+ {
288
+ "anyOf": [
289
+ {
290
+ "properties": {
291
+ "widgetType": {
292
+ "const": "formSearch"
293
+ }
294
+ },
295
+ "required": [
296
+ "widgetType"
297
+ ]
298
+ },
299
+ {
300
+ "properties": {
301
+ "widgetType": {
302
+ "const": "simpleSearch"
303
+ }
304
+ },
305
+ "required": [
306
+ "widgetType"
307
+ ]
308
+ }
309
+ ]
310
+ },
311
+ {
312
+ "properties": {
313
+ "widgetType": {
314
+ "const": "simpleSearch"
315
+ }
316
+ },
317
+ "required": [
318
+ "widgetType"
319
+ ]
320
+ }
321
+ ]
322
+ },
323
+ {
324
+ "anyOf": [
325
+ {
326
+ "properties": {
327
+ "widgetType": {
328
+ "const": "grid-v2"
329
+ }
330
+ },
331
+ "required": [
332
+ "widgetType"
333
+ ]
334
+ },
335
+ {
336
+ "properties": {
337
+ "widgetType": {
338
+ "const": "grid"
339
+ }
340
+ },
341
+ "required": [
342
+ "widgetType"
343
+ ]
344
+ }
345
+ ]
346
+ },
347
+ {
348
+ "properties": {
349
+ "widgetType": {
350
+ "const": "activityWidget"
351
+ }
352
+ },
353
+ "required": [
354
+ "widgetType"
355
+ ]
356
+ },
357
+ {
358
+ "properties": {
359
+ "widgetType": {
360
+ "const": "simpleSearch"
361
+ }
362
+ },
363
+ "required": [
364
+ "widgetType"
365
+ ]
366
+ }
367
+ ]
368
+ },
369
+ "then": {},
370
+ "else": {
371
+ "properties": {
372
+ "dataset": false
373
+ }
374
+ }
375
+ },
376
+ {
377
+ "if": {
378
+ "anyOf": [
379
+ {
380
+ "anyOf": [
381
+ {
382
+ "properties": {
383
+ "widgetType": {
384
+ "const": "caseData"
385
+ }
386
+ },
387
+ "required": [
388
+ "widgetType"
389
+ ]
390
+ },
391
+ {
392
+ "properties": {
393
+ "widgetType": {
394
+ "const": "caseDataClean"
395
+ }
396
+ },
397
+ "required": [
398
+ "widgetType"
399
+ ]
400
+ },
401
+ {
402
+ "properties": {
403
+ "widgetType": {
404
+ "const": "formWidget"
405
+ }
406
+ },
407
+ "required": [
408
+ "widgetType"
409
+ ]
410
+ }
411
+ ]
412
+ },
413
+ {
414
+ "allOf": [
415
+ {
416
+ "anyOf": [
417
+ {
418
+ "properties": {
419
+ "widgetType": {
420
+ "const": "formSearch"
421
+ }
422
+ },
423
+ "required": [
424
+ "widgetType"
425
+ ]
426
+ },
427
+ {
428
+ "properties": {
429
+ "widgetType": {
430
+ "const": "simpleSearch"
431
+ }
432
+ },
433
+ "required": [
434
+ "widgetType"
435
+ ]
436
+ }
437
+ ]
438
+ },
439
+ {
440
+ "properties": {
441
+ "widgetType": {
442
+ "const": "formSearch"
443
+ }
444
+ },
445
+ "required": [
446
+ "widgetType"
447
+ ]
448
+ }
449
+ ]
450
+ },
451
+ {
452
+ "anyOf": [
453
+ {
454
+ "properties": {
455
+ "widgetType": {
456
+ "const": "caseData"
457
+ }
458
+ },
459
+ "required": [
460
+ "widgetType"
461
+ ]
462
+ },
463
+ {
464
+ "properties": {
465
+ "widgetType": {
466
+ "const": "caseDataClean"
467
+ }
468
+ },
469
+ "required": [
470
+ "widgetType"
471
+ ]
472
+ },
473
+ {
474
+ "properties": {
475
+ "widgetType": {
476
+ "const": "formWidget"
477
+ }
478
+ },
479
+ "required": [
480
+ "widgetType"
481
+ ]
482
+ }
483
+ ]
484
+ },
485
+ {
486
+ "allOf": [
487
+ {
488
+ "anyOf": [
489
+ {
490
+ "properties": {
491
+ "widgetType": {
492
+ "const": "formSearch"
493
+ }
494
+ },
495
+ "required": [
496
+ "widgetType"
497
+ ]
498
+ },
499
+ {
500
+ "properties": {
501
+ "widgetType": {
502
+ "const": "simpleSearch"
503
+ }
504
+ },
505
+ "required": [
506
+ "widgetType"
507
+ ]
508
+ }
509
+ ]
510
+ },
511
+ {
512
+ "properties": {
513
+ "widgetType": {
514
+ "const": "formSearch"
515
+ }
516
+ },
517
+ "required": [
518
+ "widgetType"
519
+ ]
520
+ }
521
+ ]
522
+ },
523
+ {
524
+ "anyOf": [
525
+ {
526
+ "properties": {
527
+ "widgetType": {
528
+ "const": "caseData"
529
+ }
530
+ },
531
+ "required": [
532
+ "widgetType"
533
+ ]
534
+ },
535
+ {
536
+ "properties": {
537
+ "widgetType": {
538
+ "const": "caseDataClean"
539
+ }
540
+ },
541
+ "required": [
542
+ "widgetType"
543
+ ]
544
+ },
545
+ {
546
+ "properties": {
547
+ "widgetType": {
548
+ "const": "formSearch"
549
+ }
550
+ },
551
+ "required": [
552
+ "widgetType"
553
+ ]
554
+ }
555
+ ]
556
+ },
557
+ {
558
+ "properties": {
559
+ "widgetType": {
560
+ "const": "inlineEdit"
561
+ }
562
+ },
563
+ "required": [
564
+ "widgetType"
565
+ ]
566
+ }
567
+ ]
568
+ },
569
+ "then": {},
570
+ "else": {
571
+ "properties": {
572
+ "form": false
573
+ }
574
+ }
575
+ },
576
+ {
577
+ "if": {
578
+ "anyOf": [
579
+ {
580
+ "anyOf": [
581
+ {
582
+ "properties": {
583
+ "widgetType": {
584
+ "const": "formSearch"
585
+ }
586
+ },
587
+ "required": [
588
+ "widgetType"
589
+ ]
590
+ },
591
+ {
592
+ "properties": {
593
+ "widgetType": {
594
+ "const": "simpleSearch"
595
+ }
596
+ },
597
+ "required": [
598
+ "widgetType"
599
+ ]
600
+ }
601
+ ]
602
+ },
603
+ {
604
+ "properties": {
605
+ "widgetType": {
606
+ "const": "simpleSearch"
607
+ }
608
+ },
609
+ "required": [
610
+ "widgetType"
611
+ ]
612
+ },
613
+ {
614
+ "properties": {
615
+ "widgetType": {
616
+ "const": "tileWidget"
617
+ }
618
+ },
619
+ "required": [
620
+ "widgetType"
621
+ ]
622
+ }
623
+ ]
624
+ },
625
+ "then": {},
626
+ "else": {
627
+ "properties": {
628
+ "itemsPerPage": false
629
+ }
630
+ }
631
+ },
632
+ {
633
+ "if": {
634
+ "properties": {
635
+ "widgetType": {
636
+ "const": "tileWidget"
637
+ }
638
+ },
639
+ "required": [
640
+ "widgetType"
641
+ ]
642
+ },
643
+ "then": {},
644
+ "else": {
645
+ "properties": {
646
+ "preSelectedCase": false
647
+ }
648
+ }
649
+ },
650
+ {
651
+ "if": {
652
+ "properties": {
653
+ "widgetType": {
654
+ "const": "templateWidget"
655
+ }
656
+ },
657
+ "required": [
658
+ "widgetType"
659
+ ]
660
+ },
661
+ "then": {},
662
+ "else": {
663
+ "properties": {
664
+ "renderAsMarkdown": false
665
+ }
666
+ }
667
+ },
668
+ {
669
+ "if": {
670
+ "anyOf": [
671
+ {
672
+ "properties": {
673
+ "widgetType": {
674
+ "const": "activityWidget"
675
+ }
676
+ },
677
+ "required": [
678
+ "widgetType"
679
+ ]
680
+ },
681
+ {
682
+ "properties": {
683
+ "widgetType": {
684
+ "const": "viewWidget"
685
+ }
686
+ },
687
+ "required": [
688
+ "widgetType"
689
+ ]
690
+ }
691
+ ]
692
+ },
693
+ "then": {},
694
+ "else": {
695
+ "properties": {
696
+ "selectionTemplate": false
697
+ }
698
+ }
699
+ },
700
+ {
701
+ "if": {
702
+ "anyOf": [
703
+ {
704
+ "properties": {
705
+ "widgetType": {
706
+ "const": "activityWidget"
707
+ }
708
+ },
709
+ "required": [
710
+ "widgetType"
711
+ ]
712
+ },
713
+ {
714
+ "properties": {
715
+ "widgetType": {
716
+ "const": "inlineEdit"
717
+ }
718
+ },
719
+ "required": [
720
+ "widgetType"
721
+ ]
722
+ }
723
+ ]
724
+ },
725
+ "then": {},
726
+ "else": {
727
+ "properties": {
728
+ "activity": false
729
+ }
730
+ }
731
+ },
732
+ {
733
+ "if": {
734
+ "allOf": [
735
+ {
736
+ "anyOf": [
737
+ {
738
+ "properties": {
739
+ "widgetType": {
740
+ "const": "caseData"
741
+ }
742
+ },
743
+ "required": [
744
+ "widgetType"
745
+ ]
746
+ },
747
+ {
748
+ "properties": {
749
+ "widgetType": {
750
+ "const": "caseDataClean"
751
+ }
752
+ },
753
+ "required": [
754
+ "widgetType"
755
+ ]
756
+ },
757
+ {
758
+ "properties": {
759
+ "widgetType": {
760
+ "const": "formWidget"
761
+ }
762
+ },
763
+ "required": [
764
+ "widgetType"
765
+ ]
766
+ }
767
+ ]
768
+ },
769
+ {
770
+ "properties": {
771
+ "widgetType": {
772
+ "const": "caseDataClean"
773
+ }
774
+ },
775
+ "required": [
776
+ "widgetType"
777
+ ]
778
+ }
779
+ ]
780
+ },
781
+ "then": {},
782
+ "else": {
783
+ "properties": {
784
+ "disableCaseLinks": false
785
+ }
786
+ }
787
+ },
788
+ {
789
+ "if": {
790
+ "allOf": [
791
+ {
792
+ "anyOf": [
793
+ {
794
+ "properties": {
795
+ "widgetType": {
796
+ "const": "caseData"
797
+ }
798
+ },
799
+ "required": [
800
+ "widgetType"
801
+ ]
802
+ },
803
+ {
804
+ "properties": {
805
+ "widgetType": {
806
+ "const": "caseDataClean"
807
+ }
808
+ },
809
+ "required": [
810
+ "widgetType"
811
+ ]
812
+ },
813
+ {
814
+ "properties": {
815
+ "widgetType": {
816
+ "const": "formWidget"
817
+ }
818
+ },
819
+ "required": [
820
+ "widgetType"
821
+ ]
822
+ }
823
+ ]
824
+ },
825
+ {
826
+ "properties": {
827
+ "widgetType": {
828
+ "const": "caseDataClean"
829
+ }
830
+ },
831
+ "required": [
832
+ "widgetType"
833
+ ]
834
+ }
835
+ ]
836
+ },
837
+ "then": {},
838
+ "else": {
839
+ "properties": {
840
+ "excludeEmptyValues": false
841
+ }
842
+ }
843
+ },
844
+ {
845
+ "if": {
846
+ "allOf": [
847
+ {
848
+ "anyOf": [
849
+ {
850
+ "properties": {
851
+ "widgetType": {
852
+ "const": "caseData"
853
+ }
854
+ },
855
+ "required": [
856
+ "widgetType"
857
+ ]
858
+ },
859
+ {
860
+ "properties": {
861
+ "widgetType": {
862
+ "const": "caseDataClean"
863
+ }
864
+ },
865
+ "required": [
866
+ "widgetType"
867
+ ]
868
+ },
869
+ {
870
+ "properties": {
871
+ "widgetType": {
872
+ "const": "formWidget"
873
+ }
874
+ },
875
+ "required": [
876
+ "widgetType"
877
+ ]
878
+ }
879
+ ]
880
+ },
881
+ {
882
+ "properties": {
883
+ "widgetType": {
884
+ "const": "caseDataClean"
885
+ }
886
+ },
887
+ "required": [
888
+ "widgetType"
889
+ ]
890
+ }
891
+ ]
892
+ },
893
+ "then": {},
894
+ "else": {
895
+ "properties": {
896
+ "executeFormLogic": false
897
+ }
898
+ }
899
+ },
900
+ {
901
+ "if": {
902
+ "anyOf": [
903
+ {
904
+ "anyOf": [
905
+ {
906
+ "properties": {
907
+ "widgetType": {
908
+ "const": "caseData"
909
+ }
910
+ },
911
+ "required": [
912
+ "widgetType"
913
+ ]
914
+ },
915
+ {
916
+ "properties": {
917
+ "widgetType": {
918
+ "const": "caseDataClean"
919
+ }
920
+ },
921
+ "required": [
922
+ "widgetType"
923
+ ]
924
+ },
925
+ {
926
+ "properties": {
927
+ "widgetType": {
928
+ "const": "formWidget"
929
+ }
930
+ },
931
+ "required": [
932
+ "widgetType"
933
+ ]
934
+ }
935
+ ]
936
+ },
937
+ {
938
+ "properties": {
939
+ "widgetType": {
940
+ "const": "activityWidget"
941
+ }
942
+ },
943
+ "required": [
944
+ "widgetType"
945
+ ]
946
+ },
947
+ {
948
+ "properties": {
949
+ "widgetType": {
950
+ "const": "pluginWidget"
951
+ }
952
+ },
953
+ "required": [
954
+ "widgetType"
955
+ ]
956
+ },
957
+ {
958
+ "properties": {
959
+ "widgetType": {
960
+ "const": "templateWidget"
961
+ }
962
+ },
963
+ "required": [
964
+ "widgetType"
965
+ ]
966
+ },
967
+ {
968
+ "properties": {
969
+ "widgetType": {
970
+ "const": "tileWidget"
971
+ }
972
+ },
973
+ "required": [
974
+ "widgetType"
975
+ ]
976
+ },
977
+ {
978
+ "properties": {
979
+ "widgetType": {
980
+ "const": "viewWidget"
981
+ }
982
+ },
983
+ "required": [
984
+ "widgetType"
985
+ ]
986
+ }
987
+ ]
988
+ },
989
+ "then": {},
990
+ "else": {
991
+ "properties": {
992
+ "masterWidget": false
993
+ }
994
+ }
995
+ },
996
+ {
997
+ "properties": {
998
+ "platformWidget": false
999
+ }
1000
+ },
1001
+ {
1002
+ "if": {
1003
+ "properties": {
1004
+ "widgetType": {
1005
+ "const": "pluginWidget"
1006
+ }
1007
+ },
1008
+ "required": [
1009
+ "widgetType"
1010
+ ]
1011
+ },
1012
+ "then": {},
1013
+ "else": {
1014
+ "properties": {
1015
+ "widgetPlugin": false
1016
+ }
1017
+ }
1018
+ },
1019
+ {
1020
+ "if": {
1021
+ "properties": {
1022
+ "widgetType": {
1023
+ "const": "tileWidget"
1024
+ }
1025
+ },
1026
+ "required": [
1027
+ "widgetType"
1028
+ ]
1029
+ },
1030
+ "then": {},
1031
+ "else": {
1032
+ "properties": {
1033
+ "tileClasses": false
1034
+ }
1035
+ }
1036
+ },
1037
+ {
1038
+ "if": {
1039
+ "anyOf": [
1040
+ {
1041
+ "properties": {
1042
+ "widgetType": {
1043
+ "const": "templateWidget"
1044
+ }
1045
+ },
1046
+ "required": [
1047
+ "widgetType"
1048
+ ]
1049
+ },
1050
+ {
1051
+ "properties": {
1052
+ "widgetType": {
1053
+ "const": "tileWidget"
1054
+ }
1055
+ },
1056
+ "required": [
1057
+ "widgetType"
1058
+ ]
1059
+ },
1060
+ {
1061
+ "properties": {
1062
+ "widgetType": {
1063
+ "const": "templateWidget"
1064
+ }
1065
+ },
1066
+ "required": [
1067
+ "widgetType"
1068
+ ]
1069
+ },
1070
+ {
1071
+ "properties": {
1072
+ "widgetType": {
1073
+ "const": "tileWidget"
1074
+ }
1075
+ },
1076
+ "required": [
1077
+ "widgetType"
1078
+ ]
1079
+ }
1080
+ ]
1081
+ },
1082
+ "then": {},
1083
+ "else": {
1084
+ "properties": {
1085
+ "template": false
1086
+ }
1087
+ }
1088
+ },
1089
+ {
1090
+ "if": {
1091
+ "anyOf": [
1092
+ {
1093
+ "properties": {
1094
+ "widgetType": {
1095
+ "const": "filePreview"
1096
+ }
1097
+ },
1098
+ "required": [
1099
+ "widgetType"
1100
+ ]
1101
+ },
1102
+ {
1103
+ "properties": {
1104
+ "widgetType": {
1105
+ "const": "filePreview"
1106
+ }
1107
+ },
1108
+ "required": [
1109
+ "widgetType"
1110
+ ]
1111
+ }
1112
+ ]
1113
+ },
1114
+ "then": {},
1115
+ "else": {
1116
+ "properties": {
1117
+ "templateInline": false
1118
+ }
1119
+ }
1120
+ },
1121
+ {
1122
+ "if": {
1123
+ "properties": {
1124
+ "widgetType": {
1125
+ "const": "tileWidget"
1126
+ }
1127
+ },
1128
+ "required": [
1129
+ "widgetType"
1130
+ ]
1131
+ },
1132
+ "then": {},
1133
+ "else": {
1134
+ "properties": {
1135
+ "templateOnEmpty": false
1136
+ }
1137
+ }
1138
+ },
1139
+ {
1140
+ "if": {
1141
+ "anyOf": [
1142
+ {
1143
+ "anyOf": [
1144
+ {
1145
+ "properties": {
1146
+ "widgetType": {
1147
+ "const": "caseData"
1148
+ }
1149
+ },
1150
+ "required": [
1151
+ "widgetType"
1152
+ ]
1153
+ },
1154
+ {
1155
+ "properties": {
1156
+ "widgetType": {
1157
+ "const": "caseDataClean"
1158
+ }
1159
+ },
1160
+ "required": [
1161
+ "widgetType"
1162
+ ]
1163
+ },
1164
+ {
1165
+ "properties": {
1166
+ "widgetType": {
1167
+ "const": "formWidget"
1168
+ }
1169
+ },
1170
+ "required": [
1171
+ "widgetType"
1172
+ ]
1173
+ }
1174
+ ]
1175
+ },
1176
+ {
1177
+ "anyOf": [
1178
+ {
1179
+ "properties": {
1180
+ "widgetType": {
1181
+ "const": "formSearch"
1182
+ }
1183
+ },
1184
+ "required": [
1185
+ "widgetType"
1186
+ ]
1187
+ },
1188
+ {
1189
+ "properties": {
1190
+ "widgetType": {
1191
+ "const": "simpleSearch"
1192
+ }
1193
+ },
1194
+ "required": [
1195
+ "widgetType"
1196
+ ]
1197
+ }
1198
+ ]
1199
+ }
1200
+ ]
1201
+ },
1202
+ "then": {},
1203
+ "else": {
1204
+ "properties": {
1205
+ "widgetType": false
1206
+ }
1207
+ }
1208
+ },
1209
+ {
1210
+ "if": {
1211
+ "anyOf": [
1212
+ {
1213
+ "properties": {
1214
+ "widgetType": {
1215
+ "const": "viewWidget"
1216
+ }
1217
+ },
1218
+ "required": [
1219
+ "widgetType"
1220
+ ]
1221
+ },
1222
+ {
1223
+ "properties": {
1224
+ "widgetType": {
1225
+ "const": "viewWidget"
1226
+ }
1227
+ },
1228
+ "required": [
1229
+ "widgetType"
1230
+ ]
1231
+ }
1232
+ ]
1233
+ },
1234
+ "then": {},
1235
+ "else": {
1236
+ "properties": {
1237
+ "view": false
1238
+ }
1239
+ }
1240
+ },
1241
+ {
1242
+ "if": {
1243
+ "properties": {
1244
+ "widgetType": {
1245
+ "const": "AIConversationWidget"
1246
+ }
1247
+ },
1248
+ "required": [
1249
+ "widgetType"
1250
+ ]
1251
+ },
1252
+ "then": {
1253
+ "required": [
1254
+ "widgetAgent",
1255
+ "widgetAgentExecutionType"
1256
+ ]
1257
+ }
1258
+ },
1259
+ {
1260
+ "if": {
1261
+ "properties": {
1262
+ "widgetType": {
1263
+ "const": "tileWidget"
1264
+ }
1265
+ },
1266
+ "required": [
1267
+ "widgetType"
1268
+ ]
1269
+ },
1270
+ "then": {
1271
+ "required": [
1272
+ "dataset",
1273
+ "template"
1274
+ ]
1275
+ }
1276
+ },
1277
+ {
1278
+ "if": {
1279
+ "anyOf": [
1280
+ {
1281
+ "properties": {
1282
+ "widgetType": {
1283
+ "const": "caseData"
1284
+ }
1285
+ },
1286
+ "required": [
1287
+ "widgetType"
1288
+ ]
1289
+ },
1290
+ {
1291
+ "properties": {
1292
+ "widgetType": {
1293
+ "const": "caseDataClean"
1294
+ }
1295
+ },
1296
+ "required": [
1297
+ "widgetType"
1298
+ ]
1299
+ },
1300
+ {
1301
+ "properties": {
1302
+ "widgetType": {
1303
+ "const": "formWidget"
1304
+ }
1305
+ },
1306
+ "required": [
1307
+ "widgetType"
1308
+ ]
1309
+ }
1310
+ ]
1311
+ },
1312
+ "then": {
1313
+ "required": [
1314
+ "form"
1315
+ ]
1316
+ }
1317
+ },
1318
+ {
1319
+ "if": {
1320
+ "allOf": [
1321
+ {
1322
+ "anyOf": [
1323
+ {
1324
+ "properties": {
1325
+ "widgetType": {
1326
+ "const": "formSearch"
1327
+ }
1328
+ },
1329
+ "required": [
1330
+ "widgetType"
1331
+ ]
1332
+ },
1333
+ {
1334
+ "properties": {
1335
+ "widgetType": {
1336
+ "const": "simpleSearch"
1337
+ }
1338
+ },
1339
+ "required": [
1340
+ "widgetType"
1341
+ ]
1342
+ }
1343
+ ]
1344
+ },
1345
+ {
1346
+ "properties": {
1347
+ "widgetType": {
1348
+ "const": "formSearch"
1349
+ }
1350
+ },
1351
+ "required": [
1352
+ "widgetType"
1353
+ ]
1354
+ }
1355
+ ]
1356
+ },
1357
+ "then": {
1358
+ "required": [
1359
+ "form"
1360
+ ]
1361
+ }
1362
+ },
1363
+ {
1364
+ "if": {
1365
+ "properties": {
1366
+ "widgetType": {
1367
+ "const": "templateWidget"
1368
+ }
1369
+ },
1370
+ "required": [
1371
+ "widgetType"
1372
+ ]
1373
+ },
1374
+ "then": {
1375
+ "required": [
1376
+ "template"
1377
+ ]
1378
+ }
1379
+ },
1380
+ {
1381
+ "if": {
1382
+ "properties": {
1383
+ "widgetType": {
1384
+ "const": "filePreview"
1385
+ }
1386
+ },
1387
+ "required": [
1388
+ "widgetType"
1389
+ ]
1390
+ },
1391
+ "then": {
1392
+ "required": [
1393
+ "templateInline"
1394
+ ]
1395
+ }
1396
+ },
1397
+ {
1398
+ "if": {
1399
+ "properties": {
1400
+ "widgetType": {
1401
+ "const": "viewWidget"
1402
+ }
1403
+ },
1404
+ "required": [
1405
+ "widgetType"
1406
+ ]
1407
+ },
1408
+ "then": {
1409
+ "required": [
1410
+ "view"
1411
+ ]
1412
+ }
1413
+ }
1414
+ ],
1415
+ "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/widget.json."
1416
+ }