@syntrologie/runtime-sdk 2.4.0-canary.22 → 2.4.0-canary.24

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 (35) hide show
  1. package/dist/actions/schema.d.ts +3603 -36279
  2. package/dist/actions/schema.js +3 -3
  3. package/dist/{chunk-P5G4KT2U.js → chunk-BU4Z6PD7.js} +9 -4
  4. package/dist/chunk-BU4Z6PD7.js.map +7 -0
  5. package/dist/{chunk-WCQCVPJ7.js → chunk-LD22WJ44.js} +440 -132
  6. package/dist/chunk-LD22WJ44.js.map +7 -0
  7. package/dist/{chunk-HF3D7YFQ.js → chunk-NM5Y27GX.js} +24 -26
  8. package/dist/chunk-NM5Y27GX.js.map +7 -0
  9. package/dist/{chunk-2UYZ5DWI.js → chunk-WILWIL6L.js} +43 -5
  10. package/dist/chunk-WILWIL6L.js.map +7 -0
  11. package/dist/components/ShadowCanvasOverlay.d.ts +2 -1
  12. package/dist/components/TileIcon.d.ts +14 -0
  13. package/dist/config/schema.d.ts +914 -3656
  14. package/dist/config/schema.js +4 -2
  15. package/dist/decisions/schema.d.ts +19 -1467
  16. package/dist/decisions/schema.js +3 -1
  17. package/dist/decisions/types.d.ts +2 -2
  18. package/dist/index.js +87 -94
  19. package/dist/index.js.map +2 -2
  20. package/dist/react.js +4 -4
  21. package/dist/smart-canvas.esm.js +105 -62
  22. package/dist/smart-canvas.esm.js.map +4 -4
  23. package/dist/smart-canvas.js +849 -295
  24. package/dist/smart-canvas.js.map +4 -4
  25. package/dist/smart-canvas.min.js +105 -62
  26. package/dist/smart-canvas.min.js.map +4 -4
  27. package/dist/theme/types.d.ts +2 -1
  28. package/dist/version.d.ts +1 -1
  29. package/dist/widgets/WidgetRegistry.d.ts +1 -0
  30. package/package.json +9 -8
  31. package/schema/canvas-config.schema.json +1346 -372
  32. package/dist/chunk-2UYZ5DWI.js.map +0 -7
  33. package/dist/chunk-HF3D7YFQ.js.map +0 -7
  34. package/dist/chunk-P5G4KT2U.js.map +0 -7
  35. package/dist/chunk-WCQCVPJ7.js.map +0 -7
@@ -63,6 +63,12 @@
63
63
  "title": {
64
64
  "type": "string"
65
65
  },
66
+ "subtitle": {
67
+ "type": "string"
68
+ },
69
+ "icon": {
70
+ "type": "string"
71
+ },
66
72
  "priority": {
67
73
  "type": "number"
68
74
  },
@@ -71,7 +77,8 @@
71
77
  "enum": [
72
78
  "adaptive-chatbot:assistant",
73
79
  "adaptive-faq:accordion",
74
- "adaptive-nav:tips"
80
+ "adaptive-nav:tips",
81
+ "adaptive-overlays:workflow-tracker"
75
82
  ],
76
83
  "description": "Registered widget ID. Must match an adaptive widget registration."
77
84
  },
@@ -192,6 +199,25 @@
192
199
  }
193
200
  }
194
201
  }
202
+ },
203
+ {
204
+ "if": {
205
+ "properties": {
206
+ "widget": {
207
+ "const": "adaptive-overlays:workflow-tracker"
208
+ }
209
+ },
210
+ "required": [
211
+ "widget"
212
+ ]
213
+ },
214
+ "then": {
215
+ "properties": {
216
+ "props": {
217
+ "$ref": "#/$defs/workflowTrackerProps"
218
+ }
219
+ }
220
+ }
195
221
  }
196
222
  ]
197
223
  },
@@ -227,6 +253,13 @@
227
253
  "right"
228
254
  ]
229
255
  },
256
+ "layout": {
257
+ "type": "string",
258
+ "enum": [
259
+ "overlay",
260
+ "push"
261
+ ]
262
+ },
230
263
  "background": {
231
264
  "type": "string"
232
265
  },
@@ -259,6 +292,9 @@
259
292
  },
260
293
  "shadow": {
261
294
  "type": "string"
295
+ },
296
+ "borderRadius": {
297
+ "type": "string"
262
298
  }
263
299
  },
264
300
  "additionalProperties": false
@@ -292,6 +328,15 @@
292
328
  },
293
329
  "iconShadow": {
294
330
  "type": "string"
331
+ },
332
+ "headerPadding": {
333
+ "type": "string"
334
+ },
335
+ "bodyPadding": {
336
+ "type": "string"
337
+ },
338
+ "gap": {
339
+ "type": "string"
295
340
  }
296
341
  },
297
342
  "additionalProperties": false
@@ -305,6 +350,15 @@
305
350
  "textColor": {
306
351
  "type": "string"
307
352
  },
353
+ "titleColor": {
354
+ "type": "string"
355
+ },
356
+ "arrowColor": {
357
+ "type": "string"
358
+ },
359
+ "arrowSize": {
360
+ "type": "string"
361
+ },
308
362
  "border": {
309
363
  "type": "string"
310
364
  },
@@ -355,6 +409,66 @@
355
409
  }
356
410
  },
357
411
  "additionalProperties": false
412
+ },
413
+ "content": {
414
+ "type": "object",
415
+ "properties": {
416
+ "background": {
417
+ "type": "string"
418
+ },
419
+ "backgroundHover": {
420
+ "type": "string"
421
+ },
422
+ "border": {
423
+ "type": "string"
424
+ },
425
+ "borderRadius": {
426
+ "type": "string"
427
+ },
428
+ "textColor": {
429
+ "type": "string"
430
+ },
431
+ "textSecondaryColor": {
432
+ "type": "string"
433
+ },
434
+ "itemDivider": {
435
+ "type": "string"
436
+ },
437
+ "itemGap": {
438
+ "type": "string"
439
+ },
440
+ "itemPadding": {
441
+ "type": "string"
442
+ },
443
+ "itemFontSize": {
444
+ "type": "string"
445
+ },
446
+ "bodyPadding": {
447
+ "type": "string"
448
+ },
449
+ "bodyFontSize": {
450
+ "type": "string"
451
+ },
452
+ "categoryPadding": {
453
+ "type": "string"
454
+ },
455
+ "categoryGap": {
456
+ "type": "string"
457
+ },
458
+ "categoryFontSize": {
459
+ "type": "string"
460
+ },
461
+ "searchBackground": {
462
+ "type": "string"
463
+ },
464
+ "searchColor": {
465
+ "type": "string"
466
+ },
467
+ "chevronColor": {
468
+ "type": "string"
469
+ }
470
+ },
471
+ "additionalProperties": false
358
472
  }
359
473
  },
360
474
  "additionalProperties": false
@@ -368,6 +482,9 @@
368
482
  "label": {
369
483
  "type": "string"
370
484
  },
485
+ "icon": {
486
+ "type": "string"
487
+ },
371
488
  "position": {
372
489
  "type": "string"
373
490
  },
@@ -444,8 +561,9 @@
444
561
  "routes": {
445
562
  "$ref": "#/$defs/routeFilter"
446
563
  },
447
- "strategy": {
448
- "$ref": "#/$defs/decisionStrategy"
564
+ "onlyIfPopulated": {
565
+ "type": "boolean",
566
+ "description": "When true, tile is hidden if none of its props.actions[] have an active triggerWhen. Useful for tiles with all-deferred FAQ questions or nav tips. Default: false."
449
567
  }
450
568
  },
451
569
  "required": [
@@ -460,13 +578,15 @@
460
578
  "type": "array",
461
579
  "items": {
462
580
  "type": "string"
463
- }
581
+ },
582
+ "description": "URL patterns where this tile appears. Supports *, **, :param wildcards. Use sparingly — mostly to isolate to specific webapp functionality. Omit to appear on all routes."
464
583
  },
465
584
  "exclude": {
466
585
  "type": "array",
467
586
  "items": {
468
587
  "type": "string"
469
- }
588
+ },
589
+ "description": "URL patterns where this tile should NOT appear. Evaluated before include."
470
590
  }
471
591
  },
472
592
  "additionalProperties": false
@@ -913,10 +1033,6 @@
913
1033
  "label": {
914
1034
  "type": "string"
915
1035
  },
916
- "activation": {
917
- "$ref": "#/$defs/activationConfig",
918
- "description": "Route and condition-based activation for this action"
919
- },
920
1036
  "triggerWhen": {
921
1037
  "anyOf": [
922
1038
  {
@@ -1385,10 +1501,6 @@
1385
1501
  "label": {
1386
1502
  "type": "string"
1387
1503
  },
1388
- "activation": {
1389
- "$ref": "#/$defs/activationConfig",
1390
- "description": "Route and condition-based activation for this action"
1391
- },
1392
1504
  "triggerWhen": {
1393
1505
  "anyOf": [
1394
1506
  {
@@ -1855,10 +1967,6 @@
1855
1967
  "label": {
1856
1968
  "type": "string"
1857
1969
  },
1858
- "activation": {
1859
- "$ref": "#/$defs/activationConfig",
1860
- "description": "Route and condition-based activation for this action"
1861
- },
1862
1970
  "triggerWhen": {
1863
1971
  "anyOf": [
1864
1972
  {
@@ -2324,10 +2432,6 @@
2324
2432
  "label": {
2325
2433
  "type": "string"
2326
2434
  },
2327
- "activation": {
2328
- "$ref": "#/$defs/activationConfig",
2329
- "description": "Route and condition-based activation for this action"
2330
- },
2331
2435
  "triggerWhen": {
2332
2436
  "anyOf": [
2333
2437
  {
@@ -2796,10 +2900,6 @@
2796
2900
  "label": {
2797
2901
  "type": "string"
2798
2902
  },
2799
- "activation": {
2800
- "$ref": "#/$defs/activationConfig",
2801
- "description": "Route and condition-based activation for this action"
2802
- },
2803
2903
  "triggerWhen": {
2804
2904
  "anyOf": [
2805
2905
  {
@@ -3290,10 +3390,6 @@
3290
3390
  "label": {
3291
3391
  "type": "string"
3292
3392
  },
3293
- "activation": {
3294
- "$ref": "#/$defs/activationConfig",
3295
- "description": "Route and condition-based activation for this action"
3296
- },
3297
3393
  "triggerWhen": {
3298
3394
  "anyOf": [
3299
3395
  {
@@ -3780,10 +3876,6 @@
3780
3876
  "label": {
3781
3877
  "type": "string"
3782
3878
  },
3783
- "activation": {
3784
- "$ref": "#/$defs/activationConfig",
3785
- "description": "Route and condition-based activation for this action"
3786
- },
3787
3879
  "triggerWhen": {
3788
3880
  "anyOf": [
3789
3881
  {
@@ -4248,10 +4340,6 @@
4248
4340
  "label": {
4249
4341
  "type": "string"
4250
4342
  },
4251
- "activation": {
4252
- "$ref": "#/$defs/activationConfig",
4253
- "description": "Route and condition-based activation for this action"
4254
- },
4255
4343
  "triggerWhen": {
4256
4344
  "anyOf": [
4257
4345
  {
@@ -4725,10 +4813,6 @@
4725
4813
  "label": {
4726
4814
  "type": "string"
4727
4815
  },
4728
- "activation": {
4729
- "$ref": "#/$defs/activationConfig",
4730
- "description": "Route and condition-based activation for this action"
4731
- },
4732
4816
  "triggerWhen": {
4733
4817
  "anyOf": [
4734
4818
  {
@@ -5256,10 +5340,6 @@
5256
5340
  "label": {
5257
5341
  "type": "string"
5258
5342
  },
5259
- "activation": {
5260
- "$ref": "#/$defs/activationConfig",
5261
- "description": "Route and condition-based activation for this action"
5262
- },
5263
5343
  "triggerWhen": {
5264
5344
  "anyOf": [
5265
5345
  {
@@ -5774,10 +5854,6 @@
5774
5854
  "label": {
5775
5855
  "type": "string"
5776
5856
  },
5777
- "activation": {
5778
- "$ref": "#/$defs/activationConfig",
5779
- "description": "Route and condition-based activation for this action"
5780
- },
5781
5857
  "triggerWhen": {
5782
5858
  "anyOf": [
5783
5859
  {
@@ -6265,10 +6341,6 @@
6265
6341
  "label": {
6266
6342
  "type": "string"
6267
6343
  },
6268
- "activation": {
6269
- "$ref": "#/$defs/activationConfig",
6270
- "description": "Route and condition-based activation for this action"
6271
- },
6272
6344
  "triggerWhen": {
6273
6345
  "anyOf": [
6274
6346
  {
@@ -6714,10 +6786,6 @@
6714
6786
  "label": {
6715
6787
  "type": "string"
6716
6788
  },
6717
- "activation": {
6718
- "$ref": "#/$defs/activationConfig",
6719
- "description": "Route and condition-based activation for this action"
6720
- },
6721
6789
  "triggerWhen": {
6722
6790
  "anyOf": [
6723
6791
  {
@@ -7161,7 +7229,8 @@
7161
7229
  "enum": [
7162
7230
  "adaptive-chatbot:assistant",
7163
7231
  "adaptive-faq:accordion",
7164
- "adaptive-nav:tips"
7232
+ "adaptive-nav:tips",
7233
+ "adaptive-overlays:workflow-tracker"
7165
7234
  ],
7166
7235
  "description": "Registered widget ID. Must match an adaptive widget registration."
7167
7236
  },
@@ -7181,10 +7250,6 @@
7181
7250
  "label": {
7182
7251
  "type": "string"
7183
7252
  },
7184
- "activation": {
7185
- "$ref": "#/$defs/activationConfig",
7186
- "description": "Route and condition-based activation for this action"
7187
- },
7188
7253
  "triggerWhen": {
7189
7254
  "anyOf": [
7190
7255
  {
@@ -7628,10 +7693,6 @@
7628
7693
  "label": {
7629
7694
  "type": "string"
7630
7695
  },
7631
- "activation": {
7632
- "$ref": "#/$defs/activationConfig",
7633
- "description": "Route and condition-based activation for this action"
7634
- },
7635
7696
  "triggerWhen": {
7636
7697
  "anyOf": [
7637
7698
  {
@@ -8072,10 +8133,6 @@
8072
8133
  "label": {
8073
8134
  "type": "string"
8074
8135
  },
8075
- "activation": {
8076
- "$ref": "#/$defs/activationConfig",
8077
- "description": "Route and condition-based activation for this action"
8078
- },
8079
8136
  "triggerWhen": {
8080
8137
  "anyOf": [
8081
8138
  {
@@ -8524,10 +8581,6 @@
8524
8581
  "label": {
8525
8582
  "type": "string"
8526
8583
  },
8527
- "activation": {
8528
- "$ref": "#/$defs/activationConfig",
8529
- "description": "Route and condition-based activation for this action"
8530
- },
8531
8584
  "triggerWhen": {
8532
8585
  "anyOf": [
8533
8586
  {
@@ -9000,10 +9053,6 @@
9000
9053
  "label": {
9001
9054
  "type": "string"
9002
9055
  },
9003
- "activation": {
9004
- "$ref": "#/$defs/activationConfig",
9005
- "description": "Route and condition-based activation for this action"
9006
- },
9007
9056
  "triggerWhen": {
9008
9057
  "anyOf": [
9009
9058
  {
@@ -10721,28 +10770,9 @@
10721
10770
  "label": {
10722
10771
  "type": "string"
10723
10772
  },
10724
- "activation": {
10725
- "type": "object",
10726
- "properties": {
10727
- "routes": {
10728
- "type": "object",
10729
- "properties": {
10730
- "include": {
10731
- "type": "array",
10732
- "items": {
10733
- "type": "string"
10734
- }
10735
- },
10736
- "exclude": {
10737
- "type": "array",
10738
- "items": {
10739
- "type": "string"
10740
- }
10741
- }
10742
- },
10743
- "additionalProperties": false
10744
- },
10745
- "strategy": {
10773
+ "triggerWhen": {
10774
+ "anyOf": [
10775
+ {
10746
10776
  "anyOf": [
10747
10777
  {
10748
10778
  "type": "object",
@@ -10759,93 +10789,817 @@
10759
10789
  "conditions": {
10760
10790
  "type": "array",
10761
10791
  "items": {
10762
- "type": "object",
10763
- "properties": {
10764
- "type": {
10765
- "type": "string"
10766
- }
10767
- },
10768
- "required": [
10769
- "type"
10770
- ],
10771
- "additionalProperties": true
10772
- }
10773
- },
10774
- "value": {}
10775
- },
10776
- "required": [
10777
- "conditions"
10778
- ],
10779
- "additionalProperties": false
10780
- }
10781
- },
10782
- "default": {}
10783
- },
10784
- "required": [
10785
- "type",
10786
- "rules"
10787
- ],
10788
- "additionalProperties": false
10789
- },
10790
- {
10791
- "type": "object",
10792
- "properties": {
10793
- "type": {
10794
- "type": "string",
10795
- "const": "score"
10796
- },
10797
- "field": {
10798
- "type": "string"
10799
- },
10800
- "threshold": {
10801
- "type": "number"
10802
- },
10803
- "above": {},
10804
- "below": {}
10805
- },
10806
- "required": [
10807
- "type",
10808
- "field",
10809
- "threshold"
10810
- ],
10811
- "additionalProperties": false
10812
- },
10813
- {
10814
- "type": "object",
10815
- "properties": {
10816
- "type": {
10817
- "type": "string",
10818
- "const": "model"
10819
- },
10820
- "modelId": {
10821
- "type": "string"
10822
- },
10823
- "inputs": {
10824
- "type": "array",
10825
- "items": {
10826
- "type": "string"
10827
- }
10828
- },
10829
- "outputMapping": {
10830
- "type": "object",
10831
- "additionalProperties": {}
10832
- },
10833
- "default": {}
10834
- },
10835
- "required": [
10836
- "type",
10837
- "modelId",
10838
- "inputs",
10839
- "outputMapping"
10840
- ],
10841
- "additionalProperties": false
10842
- },
10843
- {
10844
- "type": "object",
10845
- "properties": {
10846
- "type": {
10847
- "type": "string",
10848
- "const": "external"
10792
+ "anyOf": [
10793
+ {
10794
+ "type": "object",
10795
+ "properties": {
10796
+ "type": {
10797
+ "type": "string",
10798
+ "const": "page_url"
10799
+ },
10800
+ "url": {
10801
+ "type": "string"
10802
+ }
10803
+ },
10804
+ "required": [
10805
+ "type",
10806
+ "url"
10807
+ ],
10808
+ "additionalProperties": false
10809
+ },
10810
+ {
10811
+ "type": "object",
10812
+ "properties": {
10813
+ "type": {
10814
+ "type": "string",
10815
+ "const": "route"
10816
+ },
10817
+ "routeId": {
10818
+ "type": "string"
10819
+ }
10820
+ },
10821
+ "required": [
10822
+ "type",
10823
+ "routeId"
10824
+ ],
10825
+ "additionalProperties": false
10826
+ },
10827
+ {
10828
+ "type": "object",
10829
+ "properties": {
10830
+ "type": {
10831
+ "type": "string",
10832
+ "const": "anchor_visible"
10833
+ },
10834
+ "anchorId": {
10835
+ "type": "string"
10836
+ },
10837
+ "state": {
10838
+ "type": "string",
10839
+ "enum": [
10840
+ "visible",
10841
+ "present",
10842
+ "absent"
10843
+ ]
10844
+ }
10845
+ },
10846
+ "required": [
10847
+ "type",
10848
+ "anchorId",
10849
+ "state"
10850
+ ],
10851
+ "additionalProperties": false
10852
+ },
10853
+ {
10854
+ "type": "object",
10855
+ "properties": {
10856
+ "type": {
10857
+ "type": "string",
10858
+ "const": "event_occurred"
10859
+ },
10860
+ "eventName": {
10861
+ "type": "string"
10862
+ },
10863
+ "withinMs": {
10864
+ "type": "number"
10865
+ }
10866
+ },
10867
+ "required": [
10868
+ "type",
10869
+ "eventName"
10870
+ ],
10871
+ "additionalProperties": false
10872
+ },
10873
+ {
10874
+ "type": "object",
10875
+ "properties": {
10876
+ "type": {
10877
+ "type": "string",
10878
+ "const": "state_equals"
10879
+ },
10880
+ "key": {
10881
+ "type": "string"
10882
+ },
10883
+ "value": {}
10884
+ },
10885
+ "required": [
10886
+ "type",
10887
+ "key"
10888
+ ],
10889
+ "additionalProperties": false
10890
+ },
10891
+ {
10892
+ "type": "object",
10893
+ "properties": {
10894
+ "type": {
10895
+ "type": "string",
10896
+ "const": "viewport"
10897
+ },
10898
+ "minWidth": {
10899
+ "type": "number"
10900
+ },
10901
+ "maxWidth": {
10902
+ "type": "number"
10903
+ },
10904
+ "minHeight": {
10905
+ "type": "number"
10906
+ },
10907
+ "maxHeight": {
10908
+ "type": "number"
10909
+ }
10910
+ },
10911
+ "required": [
10912
+ "type"
10913
+ ],
10914
+ "additionalProperties": false
10915
+ },
10916
+ {
10917
+ "type": "object",
10918
+ "properties": {
10919
+ "type": {
10920
+ "type": "string",
10921
+ "const": "session_metric"
10922
+ },
10923
+ "key": {
10924
+ "type": "string"
10925
+ },
10926
+ "operator": {
10927
+ "type": "string",
10928
+ "enum": [
10929
+ "gte",
10930
+ "lte",
10931
+ "eq",
10932
+ "gt",
10933
+ "lt"
10934
+ ]
10935
+ },
10936
+ "threshold": {
10937
+ "type": "number"
10938
+ }
10939
+ },
10940
+ "required": [
10941
+ "type",
10942
+ "key",
10943
+ "operator",
10944
+ "threshold"
10945
+ ],
10946
+ "additionalProperties": false
10947
+ },
10948
+ {
10949
+ "type": "object",
10950
+ "properties": {
10951
+ "type": {
10952
+ "type": "string",
10953
+ "const": "dismissed"
10954
+ },
10955
+ "key": {
10956
+ "type": "string"
10957
+ },
10958
+ "inverted": {
10959
+ "type": "boolean"
10960
+ }
10961
+ },
10962
+ "required": [
10963
+ "type",
10964
+ "key"
10965
+ ],
10966
+ "additionalProperties": false
10967
+ },
10968
+ {
10969
+ "type": "object",
10970
+ "properties": {
10971
+ "type": {
10972
+ "type": "string",
10973
+ "const": "cooldown_active"
10974
+ },
10975
+ "key": {
10976
+ "type": "string"
10977
+ },
10978
+ "inverted": {
10979
+ "type": "boolean"
10980
+ }
10981
+ },
10982
+ "required": [
10983
+ "type",
10984
+ "key"
10985
+ ],
10986
+ "additionalProperties": false
10987
+ },
10988
+ {
10989
+ "type": "object",
10990
+ "properties": {
10991
+ "type": {
10992
+ "type": "string",
10993
+ "const": "frequency_limit"
10994
+ },
10995
+ "key": {
10996
+ "type": "string"
10997
+ },
10998
+ "limit": {
10999
+ "type": "number"
11000
+ },
11001
+ "inverted": {
11002
+ "type": "boolean"
11003
+ }
11004
+ },
11005
+ "required": [
11006
+ "type",
11007
+ "key",
11008
+ "limit"
11009
+ ],
11010
+ "additionalProperties": false
11011
+ },
11012
+ {
11013
+ "type": "object",
11014
+ "properties": {
11015
+ "type": {
11016
+ "type": "string",
11017
+ "const": "event_count"
11018
+ },
11019
+ "key": {
11020
+ "type": "string"
11021
+ },
11022
+ "operator": {
11023
+ "type": "string",
11024
+ "enum": [
11025
+ "gte",
11026
+ "lte",
11027
+ "eq",
11028
+ "gt",
11029
+ "lt"
11030
+ ]
11031
+ },
11032
+ "count": {
11033
+ "type": "integer",
11034
+ "minimum": 0
11035
+ },
11036
+ "withinMs": {
11037
+ "type": "number",
11038
+ "exclusiveMinimum": 0
11039
+ },
11040
+ "counter": {
11041
+ "type": "object",
11042
+ "properties": {
11043
+ "events": {
11044
+ "type": "array",
11045
+ "items": {
11046
+ "type": "string"
11047
+ },
11048
+ "minItems": 1
11049
+ },
11050
+ "match": {
11051
+ "type": "object",
11052
+ "additionalProperties": {
11053
+ "type": "object",
11054
+ "properties": {
11055
+ "equals": {
11056
+ "type": [
11057
+ "string",
11058
+ "number",
11059
+ "boolean"
11060
+ ]
11061
+ },
11062
+ "contains": {
11063
+ "type": "string"
11064
+ }
11065
+ },
11066
+ "additionalProperties": false
11067
+ }
11068
+ }
11069
+ },
11070
+ "required": [
11071
+ "events"
11072
+ ],
11073
+ "additionalProperties": false
11074
+ }
11075
+ },
11076
+ "required": [
11077
+ "type",
11078
+ "key",
11079
+ "operator",
11080
+ "count"
11081
+ ],
11082
+ "additionalProperties": false
11083
+ }
11084
+ ]
11085
+ }
11086
+ },
11087
+ "value": {}
11088
+ },
11089
+ "required": [
11090
+ "conditions"
11091
+ ],
11092
+ "additionalProperties": false
11093
+ }
11094
+ },
11095
+ "default": {}
11096
+ },
11097
+ "required": [
11098
+ "type",
11099
+ "rules"
11100
+ ],
11101
+ "additionalProperties": false
11102
+ },
11103
+ {
11104
+ "type": "object",
11105
+ "properties": {
11106
+ "type": {
11107
+ "type": "string",
11108
+ "const": "score"
11109
+ },
11110
+ "field": {
11111
+ "type": "string"
11112
+ },
11113
+ "threshold": {
11114
+ "type": "number"
11115
+ },
11116
+ "above": {},
11117
+ "below": {}
11118
+ },
11119
+ "required": [
11120
+ "type",
11121
+ "field",
11122
+ "threshold"
11123
+ ],
11124
+ "additionalProperties": false
11125
+ },
11126
+ {
11127
+ "type": "object",
11128
+ "properties": {
11129
+ "type": {
11130
+ "type": "string",
11131
+ "const": "model"
11132
+ },
11133
+ "modelId": {
11134
+ "type": "string"
11135
+ },
11136
+ "inputs": {
11137
+ "type": "array",
11138
+ "items": {
11139
+ "type": "string"
11140
+ }
11141
+ },
11142
+ "outputMapping": {
11143
+ "type": "object",
11144
+ "additionalProperties": {}
11145
+ },
11146
+ "default": {}
11147
+ },
11148
+ "required": [
11149
+ "type",
11150
+ "modelId",
11151
+ "inputs",
11152
+ "outputMapping"
11153
+ ],
11154
+ "additionalProperties": false
11155
+ },
11156
+ {
11157
+ "type": "object",
11158
+ "properties": {
11159
+ "type": {
11160
+ "type": "string",
11161
+ "const": "external"
11162
+ },
11163
+ "endpoint": {
11164
+ "type": "string"
11165
+ },
11166
+ "method": {
11167
+ "type": "string",
11168
+ "enum": [
11169
+ "GET",
11170
+ "POST"
11171
+ ]
11172
+ },
11173
+ "default": {},
11174
+ "timeoutMs": {
11175
+ "type": "number"
11176
+ }
11177
+ },
11178
+ "required": [
11179
+ "type",
11180
+ "endpoint"
11181
+ ],
11182
+ "additionalProperties": false
11183
+ }
11184
+ ]
11185
+ },
11186
+ {
11187
+ "type": "null"
11188
+ }
11189
+ ]
11190
+ }
11191
+ },
11192
+ "required": [
11193
+ "kind",
11194
+ "badgeId"
11195
+ ],
11196
+ "additionalProperties": false
11197
+ },
11198
+ "addPoints": {
11199
+ "type": "object",
11200
+ "properties": {
11201
+ "kind": {
11202
+ "type": "string",
11203
+ "const": "gamification:addPoints"
11204
+ },
11205
+ "points": {
11206
+ "type": "number"
11207
+ },
11208
+ "reason": {
11209
+ "type": "string"
11210
+ },
11211
+ "label": {
11212
+ "type": "string"
11213
+ },
11214
+ "triggerWhen": {
11215
+ "anyOf": [
11216
+ {
11217
+ "anyOf": [
11218
+ {
11219
+ "type": "object",
11220
+ "properties": {
11221
+ "type": {
11222
+ "type": "string",
11223
+ "const": "rules"
11224
+ },
11225
+ "rules": {
11226
+ "type": "array",
11227
+ "items": {
11228
+ "type": "object",
11229
+ "properties": {
11230
+ "conditions": {
11231
+ "type": "array",
11232
+ "items": {
11233
+ "anyOf": [
11234
+ {
11235
+ "type": "object",
11236
+ "properties": {
11237
+ "type": {
11238
+ "type": "string",
11239
+ "const": "page_url"
11240
+ },
11241
+ "url": {
11242
+ "type": "string"
11243
+ }
11244
+ },
11245
+ "required": [
11246
+ "type",
11247
+ "url"
11248
+ ],
11249
+ "additionalProperties": false
11250
+ },
11251
+ {
11252
+ "type": "object",
11253
+ "properties": {
11254
+ "type": {
11255
+ "type": "string",
11256
+ "const": "route"
11257
+ },
11258
+ "routeId": {
11259
+ "type": "string"
11260
+ }
11261
+ },
11262
+ "required": [
11263
+ "type",
11264
+ "routeId"
11265
+ ],
11266
+ "additionalProperties": false
11267
+ },
11268
+ {
11269
+ "type": "object",
11270
+ "properties": {
11271
+ "type": {
11272
+ "type": "string",
11273
+ "const": "anchor_visible"
11274
+ },
11275
+ "anchorId": {
11276
+ "type": "string"
11277
+ },
11278
+ "state": {
11279
+ "type": "string",
11280
+ "enum": [
11281
+ "visible",
11282
+ "present",
11283
+ "absent"
11284
+ ]
11285
+ }
11286
+ },
11287
+ "required": [
11288
+ "type",
11289
+ "anchorId",
11290
+ "state"
11291
+ ],
11292
+ "additionalProperties": false
11293
+ },
11294
+ {
11295
+ "type": "object",
11296
+ "properties": {
11297
+ "type": {
11298
+ "type": "string",
11299
+ "const": "event_occurred"
11300
+ },
11301
+ "eventName": {
11302
+ "type": "string"
11303
+ },
11304
+ "withinMs": {
11305
+ "type": "number"
11306
+ }
11307
+ },
11308
+ "required": [
11309
+ "type",
11310
+ "eventName"
11311
+ ],
11312
+ "additionalProperties": false
11313
+ },
11314
+ {
11315
+ "type": "object",
11316
+ "properties": {
11317
+ "type": {
11318
+ "type": "string",
11319
+ "const": "state_equals"
11320
+ },
11321
+ "key": {
11322
+ "type": "string"
11323
+ },
11324
+ "value": {}
11325
+ },
11326
+ "required": [
11327
+ "type",
11328
+ "key"
11329
+ ],
11330
+ "additionalProperties": false
11331
+ },
11332
+ {
11333
+ "type": "object",
11334
+ "properties": {
11335
+ "type": {
11336
+ "type": "string",
11337
+ "const": "viewport"
11338
+ },
11339
+ "minWidth": {
11340
+ "type": "number"
11341
+ },
11342
+ "maxWidth": {
11343
+ "type": "number"
11344
+ },
11345
+ "minHeight": {
11346
+ "type": "number"
11347
+ },
11348
+ "maxHeight": {
11349
+ "type": "number"
11350
+ }
11351
+ },
11352
+ "required": [
11353
+ "type"
11354
+ ],
11355
+ "additionalProperties": false
11356
+ },
11357
+ {
11358
+ "type": "object",
11359
+ "properties": {
11360
+ "type": {
11361
+ "type": "string",
11362
+ "const": "session_metric"
11363
+ },
11364
+ "key": {
11365
+ "type": "string"
11366
+ },
11367
+ "operator": {
11368
+ "type": "string",
11369
+ "enum": [
11370
+ "gte",
11371
+ "lte",
11372
+ "eq",
11373
+ "gt",
11374
+ "lt"
11375
+ ]
11376
+ },
11377
+ "threshold": {
11378
+ "type": "number"
11379
+ }
11380
+ },
11381
+ "required": [
11382
+ "type",
11383
+ "key",
11384
+ "operator",
11385
+ "threshold"
11386
+ ],
11387
+ "additionalProperties": false
11388
+ },
11389
+ {
11390
+ "type": "object",
11391
+ "properties": {
11392
+ "type": {
11393
+ "type": "string",
11394
+ "const": "dismissed"
11395
+ },
11396
+ "key": {
11397
+ "type": "string"
11398
+ },
11399
+ "inverted": {
11400
+ "type": "boolean"
11401
+ }
11402
+ },
11403
+ "required": [
11404
+ "type",
11405
+ "key"
11406
+ ],
11407
+ "additionalProperties": false
11408
+ },
11409
+ {
11410
+ "type": "object",
11411
+ "properties": {
11412
+ "type": {
11413
+ "type": "string",
11414
+ "const": "cooldown_active"
11415
+ },
11416
+ "key": {
11417
+ "type": "string"
11418
+ },
11419
+ "inverted": {
11420
+ "type": "boolean"
11421
+ }
11422
+ },
11423
+ "required": [
11424
+ "type",
11425
+ "key"
11426
+ ],
11427
+ "additionalProperties": false
11428
+ },
11429
+ {
11430
+ "type": "object",
11431
+ "properties": {
11432
+ "type": {
11433
+ "type": "string",
11434
+ "const": "frequency_limit"
11435
+ },
11436
+ "key": {
11437
+ "type": "string"
11438
+ },
11439
+ "limit": {
11440
+ "type": "number"
11441
+ },
11442
+ "inverted": {
11443
+ "type": "boolean"
11444
+ }
11445
+ },
11446
+ "required": [
11447
+ "type",
11448
+ "key",
11449
+ "limit"
11450
+ ],
11451
+ "additionalProperties": false
11452
+ },
11453
+ {
11454
+ "type": "object",
11455
+ "properties": {
11456
+ "type": {
11457
+ "type": "string",
11458
+ "const": "event_count"
11459
+ },
11460
+ "key": {
11461
+ "type": "string"
11462
+ },
11463
+ "operator": {
11464
+ "type": "string",
11465
+ "enum": [
11466
+ "gte",
11467
+ "lte",
11468
+ "eq",
11469
+ "gt",
11470
+ "lt"
11471
+ ]
11472
+ },
11473
+ "count": {
11474
+ "type": "integer",
11475
+ "minimum": 0
11476
+ },
11477
+ "withinMs": {
11478
+ "type": "number",
11479
+ "exclusiveMinimum": 0
11480
+ },
11481
+ "counter": {
11482
+ "type": "object",
11483
+ "properties": {
11484
+ "events": {
11485
+ "type": "array",
11486
+ "items": {
11487
+ "type": "string"
11488
+ },
11489
+ "minItems": 1
11490
+ },
11491
+ "match": {
11492
+ "type": "object",
11493
+ "additionalProperties": {
11494
+ "type": "object",
11495
+ "properties": {
11496
+ "equals": {
11497
+ "type": [
11498
+ "string",
11499
+ "number",
11500
+ "boolean"
11501
+ ]
11502
+ },
11503
+ "contains": {
11504
+ "type": "string"
11505
+ }
11506
+ },
11507
+ "additionalProperties": false
11508
+ }
11509
+ }
11510
+ },
11511
+ "required": [
11512
+ "events"
11513
+ ],
11514
+ "additionalProperties": false
11515
+ }
11516
+ },
11517
+ "required": [
11518
+ "type",
11519
+ "key",
11520
+ "operator",
11521
+ "count"
11522
+ ],
11523
+ "additionalProperties": false
11524
+ }
11525
+ ]
11526
+ }
11527
+ },
11528
+ "value": {}
11529
+ },
11530
+ "required": [
11531
+ "conditions"
11532
+ ],
11533
+ "additionalProperties": false
11534
+ }
11535
+ },
11536
+ "default": {}
11537
+ },
11538
+ "required": [
11539
+ "type",
11540
+ "rules"
11541
+ ],
11542
+ "additionalProperties": false
11543
+ },
11544
+ {
11545
+ "type": "object",
11546
+ "properties": {
11547
+ "type": {
11548
+ "type": "string",
11549
+ "const": "score"
11550
+ },
11551
+ "field": {
11552
+ "type": "string"
11553
+ },
11554
+ "threshold": {
11555
+ "type": "number"
11556
+ },
11557
+ "above": {},
11558
+ "below": {}
11559
+ },
11560
+ "required": [
11561
+ "type",
11562
+ "field",
11563
+ "threshold"
11564
+ ],
11565
+ "additionalProperties": false
11566
+ },
11567
+ {
11568
+ "type": "object",
11569
+ "properties": {
11570
+ "type": {
11571
+ "type": "string",
11572
+ "const": "model"
11573
+ },
11574
+ "modelId": {
11575
+ "type": "string"
11576
+ },
11577
+ "inputs": {
11578
+ "type": "array",
11579
+ "items": {
11580
+ "type": "string"
11581
+ }
11582
+ },
11583
+ "outputMapping": {
11584
+ "type": "object",
11585
+ "additionalProperties": {}
11586
+ },
11587
+ "default": {}
11588
+ },
11589
+ "required": [
11590
+ "type",
11591
+ "modelId",
11592
+ "inputs",
11593
+ "outputMapping"
11594
+ ],
11595
+ "additionalProperties": false
11596
+ },
11597
+ {
11598
+ "type": "object",
11599
+ "properties": {
11600
+ "type": {
11601
+ "type": "string",
11602
+ "const": "external"
10849
11603
  },
10850
11604
  "endpoint": {
10851
11605
  "type": "string"
@@ -10869,58 +11623,65 @@
10869
11623
  "additionalProperties": false
10870
11624
  }
10871
11625
  ]
11626
+ },
11627
+ {
11628
+ "type": "null"
10872
11629
  }
10873
- },
10874
- "required": [
10875
- "routes"
10876
- ],
10877
- "additionalProperties": false
11630
+ ]
10878
11631
  }
10879
11632
  },
10880
11633
  "required": [
10881
11634
  "kind",
10882
- "badgeId"
11635
+ "points"
10883
11636
  ],
10884
11637
  "additionalProperties": false
10885
11638
  },
10886
- "addPoints": {
11639
+ "navTip": {
10887
11640
  "type": "object",
10888
11641
  "properties": {
10889
11642
  "kind": {
10890
11643
  "type": "string",
10891
- "const": "gamification:addPoints"
10892
- },
10893
- "points": {
10894
- "type": "number"
10895
- },
10896
- "reason": {
10897
- "type": "string"
10898
- },
10899
- "label": {
10900
- "type": "string"
11644
+ "const": "nav:tip"
10901
11645
  },
10902
- "activation": {
11646
+ "config": {
10903
11647
  "type": "object",
10904
11648
  "properties": {
10905
- "routes": {
10906
- "type": "object",
10907
- "properties": {
10908
- "include": {
10909
- "type": "array",
10910
- "items": {
10911
- "type": "string"
10912
- }
10913
- },
10914
- "exclude": {
10915
- "type": "array",
10916
- "items": {
10917
- "type": "string"
10918
- }
10919
- }
10920
- },
10921
- "additionalProperties": false
11649
+ "id": {
11650
+ "type": "string",
11651
+ "minLength": 1
11652
+ },
11653
+ "title": {
11654
+ "type": "string",
11655
+ "minLength": 1
11656
+ },
11657
+ "description": {
11658
+ "type": "string",
11659
+ "minLength": 1
11660
+ },
11661
+ "href": {
11662
+ "type": "string"
11663
+ },
11664
+ "icon": {
11665
+ "type": "string"
11666
+ },
11667
+ "external": {
11668
+ "type": "boolean",
11669
+ "default": false
10922
11670
  },
10923
- "strategy": {
11671
+ "category": {
11672
+ "type": "string"
11673
+ }
11674
+ },
11675
+ "required": [
11676
+ "id",
11677
+ "title",
11678
+ "description"
11679
+ ],
11680
+ "additionalProperties": false
11681
+ },
11682
+ "triggerWhen": {
11683
+ "anyOf": [
11684
+ {
10924
11685
  "anyOf": [
10925
11686
  {
10926
11687
  "type": "object",
@@ -10937,16 +11698,299 @@
10937
11698
  "conditions": {
10938
11699
  "type": "array",
10939
11700
  "items": {
10940
- "type": "object",
10941
- "properties": {
10942
- "type": {
10943
- "type": "string"
11701
+ "anyOf": [
11702
+ {
11703
+ "type": "object",
11704
+ "properties": {
11705
+ "type": {
11706
+ "type": "string",
11707
+ "const": "page_url"
11708
+ },
11709
+ "url": {
11710
+ "type": "string"
11711
+ }
11712
+ },
11713
+ "required": [
11714
+ "type",
11715
+ "url"
11716
+ ],
11717
+ "additionalProperties": false
11718
+ },
11719
+ {
11720
+ "type": "object",
11721
+ "properties": {
11722
+ "type": {
11723
+ "type": "string",
11724
+ "const": "route"
11725
+ },
11726
+ "routeId": {
11727
+ "type": "string"
11728
+ }
11729
+ },
11730
+ "required": [
11731
+ "type",
11732
+ "routeId"
11733
+ ],
11734
+ "additionalProperties": false
11735
+ },
11736
+ {
11737
+ "type": "object",
11738
+ "properties": {
11739
+ "type": {
11740
+ "type": "string",
11741
+ "const": "anchor_visible"
11742
+ },
11743
+ "anchorId": {
11744
+ "type": "string"
11745
+ },
11746
+ "state": {
11747
+ "type": "string",
11748
+ "enum": [
11749
+ "visible",
11750
+ "present",
11751
+ "absent"
11752
+ ]
11753
+ }
11754
+ },
11755
+ "required": [
11756
+ "type",
11757
+ "anchorId",
11758
+ "state"
11759
+ ],
11760
+ "additionalProperties": false
11761
+ },
11762
+ {
11763
+ "type": "object",
11764
+ "properties": {
11765
+ "type": {
11766
+ "type": "string",
11767
+ "const": "event_occurred"
11768
+ },
11769
+ "eventName": {
11770
+ "type": "string"
11771
+ },
11772
+ "withinMs": {
11773
+ "type": "number"
11774
+ }
11775
+ },
11776
+ "required": [
11777
+ "type",
11778
+ "eventName"
11779
+ ],
11780
+ "additionalProperties": false
11781
+ },
11782
+ {
11783
+ "type": "object",
11784
+ "properties": {
11785
+ "type": {
11786
+ "type": "string",
11787
+ "const": "state_equals"
11788
+ },
11789
+ "key": {
11790
+ "type": "string"
11791
+ },
11792
+ "value": {}
11793
+ },
11794
+ "required": [
11795
+ "type",
11796
+ "key"
11797
+ ],
11798
+ "additionalProperties": false
11799
+ },
11800
+ {
11801
+ "type": "object",
11802
+ "properties": {
11803
+ "type": {
11804
+ "type": "string",
11805
+ "const": "viewport"
11806
+ },
11807
+ "minWidth": {
11808
+ "type": "number"
11809
+ },
11810
+ "maxWidth": {
11811
+ "type": "number"
11812
+ },
11813
+ "minHeight": {
11814
+ "type": "number"
11815
+ },
11816
+ "maxHeight": {
11817
+ "type": "number"
11818
+ }
11819
+ },
11820
+ "required": [
11821
+ "type"
11822
+ ],
11823
+ "additionalProperties": false
11824
+ },
11825
+ {
11826
+ "type": "object",
11827
+ "properties": {
11828
+ "type": {
11829
+ "type": "string",
11830
+ "const": "session_metric"
11831
+ },
11832
+ "key": {
11833
+ "type": "string"
11834
+ },
11835
+ "operator": {
11836
+ "type": "string",
11837
+ "enum": [
11838
+ "gte",
11839
+ "lte",
11840
+ "eq",
11841
+ "gt",
11842
+ "lt"
11843
+ ]
11844
+ },
11845
+ "threshold": {
11846
+ "type": "number"
11847
+ }
11848
+ },
11849
+ "required": [
11850
+ "type",
11851
+ "key",
11852
+ "operator",
11853
+ "threshold"
11854
+ ],
11855
+ "additionalProperties": false
11856
+ },
11857
+ {
11858
+ "type": "object",
11859
+ "properties": {
11860
+ "type": {
11861
+ "type": "string",
11862
+ "const": "dismissed"
11863
+ },
11864
+ "key": {
11865
+ "type": "string"
11866
+ },
11867
+ "inverted": {
11868
+ "type": "boolean"
11869
+ }
11870
+ },
11871
+ "required": [
11872
+ "type",
11873
+ "key"
11874
+ ],
11875
+ "additionalProperties": false
11876
+ },
11877
+ {
11878
+ "type": "object",
11879
+ "properties": {
11880
+ "type": {
11881
+ "type": "string",
11882
+ "const": "cooldown_active"
11883
+ },
11884
+ "key": {
11885
+ "type": "string"
11886
+ },
11887
+ "inverted": {
11888
+ "type": "boolean"
11889
+ }
11890
+ },
11891
+ "required": [
11892
+ "type",
11893
+ "key"
11894
+ ],
11895
+ "additionalProperties": false
11896
+ },
11897
+ {
11898
+ "type": "object",
11899
+ "properties": {
11900
+ "type": {
11901
+ "type": "string",
11902
+ "const": "frequency_limit"
11903
+ },
11904
+ "key": {
11905
+ "type": "string"
11906
+ },
11907
+ "limit": {
11908
+ "type": "number"
11909
+ },
11910
+ "inverted": {
11911
+ "type": "boolean"
11912
+ }
11913
+ },
11914
+ "required": [
11915
+ "type",
11916
+ "key",
11917
+ "limit"
11918
+ ],
11919
+ "additionalProperties": false
11920
+ },
11921
+ {
11922
+ "type": "object",
11923
+ "properties": {
11924
+ "type": {
11925
+ "type": "string",
11926
+ "const": "event_count"
11927
+ },
11928
+ "key": {
11929
+ "type": "string"
11930
+ },
11931
+ "operator": {
11932
+ "type": "string",
11933
+ "enum": [
11934
+ "gte",
11935
+ "lte",
11936
+ "eq",
11937
+ "gt",
11938
+ "lt"
11939
+ ]
11940
+ },
11941
+ "count": {
11942
+ "type": "integer",
11943
+ "minimum": 0
11944
+ },
11945
+ "withinMs": {
11946
+ "type": "number",
11947
+ "exclusiveMinimum": 0
11948
+ },
11949
+ "counter": {
11950
+ "type": "object",
11951
+ "properties": {
11952
+ "events": {
11953
+ "type": "array",
11954
+ "items": {
11955
+ "type": "string"
11956
+ },
11957
+ "minItems": 1
11958
+ },
11959
+ "match": {
11960
+ "type": "object",
11961
+ "additionalProperties": {
11962
+ "type": "object",
11963
+ "properties": {
11964
+ "equals": {
11965
+ "type": [
11966
+ "string",
11967
+ "number",
11968
+ "boolean"
11969
+ ]
11970
+ },
11971
+ "contains": {
11972
+ "type": "string"
11973
+ }
11974
+ },
11975
+ "additionalProperties": false
11976
+ }
11977
+ }
11978
+ },
11979
+ "required": [
11980
+ "events"
11981
+ ],
11982
+ "additionalProperties": false
11983
+ }
11984
+ },
11985
+ "required": [
11986
+ "type",
11987
+ "key",
11988
+ "operator",
11989
+ "count"
11990
+ ],
11991
+ "additionalProperties": false
10944
11992
  }
10945
- },
10946
- "required": [
10947
- "type"
10948
- ],
10949
- "additionalProperties": true
11993
+ ]
10950
11994
  }
10951
11995
  },
10952
11996
  "value": {}
@@ -11047,62 +12091,89 @@
11047
12091
  "additionalProperties": false
11048
12092
  }
11049
12093
  ]
12094
+ },
12095
+ {
12096
+ "type": "null"
12097
+ }
12098
+ ]
12099
+ },
12100
+ "notify": {
12101
+ "anyOf": [
12102
+ {
12103
+ "type": "object",
12104
+ "properties": {
12105
+ "title": {
12106
+ "type": "string"
12107
+ },
12108
+ "body": {
12109
+ "type": "string"
12110
+ },
12111
+ "icon": {
12112
+ "type": "string"
12113
+ }
12114
+ },
12115
+ "additionalProperties": false
12116
+ },
12117
+ {
12118
+ "type": "null"
12119
+ }
12120
+ ]
12121
+ },
12122
+ "rationale": {
12123
+ "type": "object",
12124
+ "properties": {
12125
+ "why": {
12126
+ "type": "string"
12127
+ },
12128
+ "confidence": {
12129
+ "type": "number"
11050
12130
  }
11051
12131
  },
11052
12132
  "required": [
11053
- "routes"
12133
+ "why"
11054
12134
  ],
11055
12135
  "additionalProperties": false
11056
12136
  }
11057
12137
  },
11058
12138
  "required": [
11059
12139
  "kind",
11060
- "points"
12140
+ "config"
11061
12141
  ],
11062
12142
  "additionalProperties": false
11063
12143
  },
11064
- "navTip": {
12144
+ "celebrate": {
11065
12145
  "type": "object",
11066
12146
  "properties": {
11067
12147
  "kind": {
11068
12148
  "type": "string",
11069
- "const": "nav:tip"
12149
+ "const": "overlays:celebrate"
11070
12150
  },
11071
- "config": {
12151
+ "effect": {
12152
+ "type": "string"
12153
+ },
12154
+ "duration": {
12155
+ "type": "number"
12156
+ },
12157
+ "intensity": {
12158
+ "type": "string",
12159
+ "enum": [
12160
+ "light",
12161
+ "medium",
12162
+ "heavy"
12163
+ ]
12164
+ },
12165
+ "colors": {
12166
+ "type": "array",
12167
+ "items": {
12168
+ "type": "string"
12169
+ }
12170
+ },
12171
+ "props": {
11072
12172
  "type": "object",
11073
- "properties": {
11074
- "id": {
11075
- "type": "string",
11076
- "minLength": 1
11077
- },
11078
- "title": {
11079
- "type": "string",
11080
- "minLength": 1
11081
- },
11082
- "description": {
11083
- "type": "string",
11084
- "minLength": 1
11085
- },
11086
- "href": {
11087
- "type": "string"
11088
- },
11089
- "icon": {
11090
- "type": "string"
11091
- },
11092
- "external": {
11093
- "type": "boolean",
11094
- "default": false
11095
- },
11096
- "category": {
11097
- "type": "string"
11098
- }
11099
- },
11100
- "required": [
11101
- "id",
11102
- "title",
11103
- "description"
11104
- ],
11105
- "additionalProperties": false
12173
+ "additionalProperties": {}
12174
+ },
12175
+ "label": {
12176
+ "type": "string"
11106
12177
  },
11107
12178
  "triggerWhen": {
11108
12179
  "anyOf": [
@@ -11521,108 +12592,6 @@
11521
12592
  "type": "null"
11522
12593
  }
11523
12594
  ]
11524
- },
11525
- "notify": {
11526
- "anyOf": [
11527
- {
11528
- "type": "object",
11529
- "properties": {
11530
- "title": {
11531
- "type": "string"
11532
- },
11533
- "body": {
11534
- "type": "string"
11535
- },
11536
- "icon": {
11537
- "type": "string"
11538
- }
11539
- },
11540
- "additionalProperties": false
11541
- },
11542
- {
11543
- "type": "null"
11544
- }
11545
- ]
11546
- },
11547
- "rationale": {
11548
- "type": "object",
11549
- "properties": {
11550
- "why": {
11551
- "type": "string"
11552
- },
11553
- "confidence": {
11554
- "type": "number"
11555
- }
11556
- },
11557
- "required": [
11558
- "why"
11559
- ],
11560
- "additionalProperties": false
11561
- }
11562
- },
11563
- "required": [
11564
- "kind",
11565
- "config"
11566
- ],
11567
- "additionalProperties": false
11568
- },
11569
- "celebrate": {
11570
- "type": "object",
11571
- "properties": {
11572
- "kind": {
11573
- "type": "string",
11574
- "const": "overlays:celebrate"
11575
- },
11576
- "effect": {
11577
- "type": "string"
11578
- },
11579
- "duration": {
11580
- "type": "number"
11581
- },
11582
- "intensity": {
11583
- "type": "string",
11584
- "enum": [
11585
- "light",
11586
- "medium",
11587
- "heavy"
11588
- ]
11589
- },
11590
- "colors": {
11591
- "type": "array",
11592
- "items": {
11593
- "type": "string"
11594
- }
11595
- },
11596
- "props": {
11597
- "type": "object",
11598
- "additionalProperties": {}
11599
- },
11600
- "label": {
11601
- "type": "string"
11602
- },
11603
- "activation": {
11604
- "type": "object",
11605
- "properties": {
11606
- "routes": {
11607
- "type": "object",
11608
- "properties": {
11609
- "include": {
11610
- "type": "array",
11611
- "items": {
11612
- "type": "string"
11613
- }
11614
- },
11615
- "exclude": {
11616
- "type": "array",
11617
- "items": {
11618
- "type": "string"
11619
- }
11620
- }
11621
- },
11622
- "additionalProperties": false
11623
- }
11624
- },
11625
- "additionalProperties": false
11626
12595
  }
11627
12596
  },
11628
12597
  "required": [
@@ -13893,6 +14862,11 @@
13893
14862
  },
13894
14863
  "additionalProperties": false
13895
14864
  },
14865
+ "workflowTrackerProps": {
14866
+ "type": "object",
14867
+ "properties": {},
14868
+ "additionalProperties": true
14869
+ },
13896
14870
  "actionStep": {
13897
14871
  "oneOf": [
13898
14872
  {