@u-krupaveho-kraba/form-schemas 0.2.0 → 0.3.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.
@@ -8,10 +8,6 @@
8
8
  "name": {
9
9
  "type": "string"
10
10
  },
11
- "version": {
12
- "type": "number",
13
- "const": 1
14
- },
15
11
  "targeting": {
16
12
  "type": "object",
17
13
  "properties": {
@@ -51,7 +47,77 @@
51
47
  },
52
48
  "additionalProperties": false
53
49
  },
54
- "items": {
50
+ "trigger": {
51
+ "oneOf": [
52
+ {
53
+ "type": "object",
54
+ "properties": {
55
+ "type": {
56
+ "type": "string",
57
+ "const": "immediate"
58
+ }
59
+ },
60
+ "required": [
61
+ "type"
62
+ ],
63
+ "additionalProperties": false
64
+ },
65
+ {
66
+ "type": "object",
67
+ "properties": {
68
+ "type": {
69
+ "type": "string",
70
+ "const": "delay"
71
+ },
72
+ "seconds": {
73
+ "type": "number"
74
+ }
75
+ },
76
+ "required": [
77
+ "type",
78
+ "seconds"
79
+ ],
80
+ "additionalProperties": false
81
+ },
82
+ {
83
+ "type": "object",
84
+ "properties": {
85
+ "type": {
86
+ "type": "string",
87
+ "const": "scroll_depth"
88
+ },
89
+ "percent": {
90
+ "type": "number"
91
+ }
92
+ },
93
+ "required": [
94
+ "type",
95
+ "percent"
96
+ ],
97
+ "additionalProperties": false
98
+ },
99
+ {
100
+ "type": "object",
101
+ "properties": {
102
+ "type": {
103
+ "type": "string",
104
+ "const": "exit_intent"
105
+ }
106
+ },
107
+ "required": [
108
+ "type"
109
+ ],
110
+ "additionalProperties": false
111
+ }
112
+ ]
113
+ },
114
+ "exclusiveWith": {
115
+ "type": "string"
116
+ },
117
+ "campaignId": {
118
+ "type": "string"
119
+ },
120
+ "variants": {
55
121
  "type": "array",
56
122
  "items": {
57
123
  "type": "object",
@@ -62,1474 +128,1360 @@
62
128
  "name": {
63
129
  "type": "string"
64
130
  },
65
- "targeting": {
66
- "type": "object",
67
- "properties": {
68
- "urlPatterns": {
69
- "type": "array",
70
- "items": {
71
- "type": "string"
72
- }
73
- },
74
- "schedule": {
75
- "type": "object",
76
- "properties": {
77
- "startsAt": {
78
- "type": "string"
79
- },
80
- "endsAt": {
81
- "type": "string"
82
- }
83
- },
84
- "additionalProperties": false
85
- },
86
- "frequency": {
87
- "type": "object",
88
- "properties": {
89
- "minVisitCount": {
90
- "type": "number"
91
- },
92
- "maxDisplays": {
93
- "type": "number"
94
- },
95
- "minHoursBetweenDisplays": {
96
- "type": "number"
97
- }
98
- },
99
- "additionalProperties": false
100
- }
101
- },
102
- "additionalProperties": false
103
- },
104
- "trigger": {
105
- "oneOf": [
106
- {
107
- "type": "object",
108
- "properties": {
109
- "type": {
110
- "type": "string",
111
- "const": "immediate"
112
- }
113
- },
114
- "required": [
115
- "type"
116
- ],
117
- "additionalProperties": false
118
- },
119
- {
120
- "type": "object",
121
- "properties": {
122
- "type": {
123
- "type": "string",
124
- "const": "delay"
125
- },
126
- "seconds": {
127
- "type": "number"
128
- }
129
- },
130
- "required": [
131
- "type",
132
- "seconds"
133
- ],
134
- "additionalProperties": false
135
- },
136
- {
137
- "type": "object",
138
- "properties": {
139
- "type": {
140
- "type": "string",
141
- "const": "scroll_depth"
142
- },
143
- "percent": {
144
- "type": "number"
145
- }
146
- },
147
- "required": [
148
- "type",
149
- "percent"
150
- ],
151
- "additionalProperties": false
152
- },
131
+ "definition": {
132
+ "anyOf": [
153
133
  {
154
- "type": "object",
155
- "properties": {
156
- "type": {
157
- "type": "string",
158
- "const": "exit_intent"
159
- }
160
- },
161
- "required": [
162
- "type"
163
- ],
164
- "additionalProperties": false
165
- }
166
- ]
167
- },
168
- "exclusiveWith": {
169
- "type": "string"
170
- },
171
- "variants": {
172
- "type": "array",
173
- "items": {
174
- "type": "object",
175
- "properties": {
176
- "id": {
177
- "type": "string"
178
- },
179
- "name": {
180
- "type": "string"
181
- },
182
- "definition": {
183
- "anyOf": [
184
- {
185
- "oneOf": [
186
- {
134
+ "oneOf": [
135
+ {
136
+ "type": "object",
137
+ "properties": {
138
+ "language": {
139
+ "type": "string",
140
+ "enum": [
141
+ "cs",
142
+ "en"
143
+ ]
144
+ },
145
+ "steps": {
146
+ "type": "array",
147
+ "items": {
187
148
  "type": "object",
188
149
  "properties": {
189
- "language": {
150
+ "type": {
190
151
  "type": "string",
191
- "enum": [
192
- "cs",
193
- "en"
194
- ]
195
- },
196
- "steps": {
197
- "type": "array",
198
- "items": {
199
- "type": "object",
200
- "properties": {
201
- "type": {
202
- "type": "string",
203
- "const": "step"
204
- },
205
- "name": {
206
- "type": "string"
207
- },
208
- "elements": {
209
- "type": "array",
210
- "items": {
211
- "$ref": "#/$defs/__schema0"
212
- }
213
- },
214
- "id": {
215
- "type": "string"
216
- },
217
- "displayProperties": {
218
- "type": "object",
219
- "properties": {
220
- "padding": {
221
- "type": "object",
222
- "properties": {
223
- "left": {
224
- "type": "number"
225
- },
226
- "right": {
227
- "type": "number"
228
- },
229
- "top": {
230
- "type": "number"
231
- },
232
- "bottom": {
233
- "type": "number"
234
- },
235
- "independent": {
236
- "type": "boolean"
237
- }
238
- },
239
- "required": [
240
- "left",
241
- "right",
242
- "top",
243
- "bottom",
244
- "independent"
245
- ],
246
- "additionalProperties": false
247
- },
248
- "backgroundColor": {
249
- "type": "string",
250
- "pattern": "^#[\\s\\S]{0,}$"
251
- },
252
- "minHeight": {
253
- "type": "number"
254
- }
255
- },
256
- "required": [
257
- "padding"
258
- ],
259
- "additionalProperties": false
260
- }
261
- },
262
- "required": [
263
- "type",
264
- "name",
265
- "elements",
266
- "id",
267
- "displayProperties"
268
- ],
269
- "additionalProperties": false
270
- }
271
- },
272
- "theme": {
273
- "type": "object",
274
- "properties": {
275
- "corners": {
276
- "type": "string",
277
- "enum": [
278
- "none",
279
- "sm",
280
- "md",
281
- "lg"
282
- ]
283
- },
284
- "mainColor": {
285
- "type": "string",
286
- "pattern": "^#[\\s\\S]{0,}$"
287
- },
288
- "secondaryColor": {
289
- "type": "array",
290
- "prefixItems": [
291
- {
292
- "type": "string",
293
- "pattern": "^#[\\s\\S]{0,}$"
294
- },
295
- {
296
- "type": "string",
297
- "pattern": "^#[\\s\\S]{0,}$"
298
- },
299
- {
300
- "type": "string",
301
- "pattern": "^#[\\s\\S]{0,}$"
302
- },
303
- {
304
- "type": "string",
305
- "pattern": "^#[\\s\\S]{0,}$"
306
- }
307
- ]
308
- },
309
- "backgroundColor": {
310
- "type": "string",
311
- "pattern": "^#[\\s\\S]{0,}$"
312
- },
313
- "fontFamily": {
314
- "type": "string"
315
- }
316
- },
317
- "required": [
318
- "corners",
319
- "mainColor",
320
- "secondaryColor",
321
- "backgroundColor",
322
- "fontFamily"
323
- ],
324
- "additionalProperties": false
152
+ "const": "step"
325
153
  },
326
- "version": {
327
- "type": "number",
328
- "const": 1
154
+ "name": {
155
+ "type": "string"
329
156
  },
330
- "usedFonts": {
157
+ "elements": {
331
158
  "type": "array",
332
159
  "items": {
333
- "type": "string"
160
+ "$ref": "#/$defs/__schema0"
334
161
  }
335
162
  },
336
- "type": {
337
- "type": "string",
338
- "const": "basic"
163
+ "id": {
164
+ "type": "string"
339
165
  },
340
- "display": {
166
+ "displayProperties": {
341
167
  "type": "object",
342
168
  "properties": {
343
- "border": {
344
- "type": "object",
345
- "properties": {
346
- "width": {
347
- "type": "number"
348
- },
349
- "color": {
350
- "type": "string",
351
- "pattern": "^#[\\s\\S]{0,}$"
352
- },
353
- "style": {
354
- "type": "string",
355
- "enum": [
356
- "none",
357
- "solid",
358
- "dashed",
359
- "dotted"
360
- ]
361
- },
362
- "sides": {
363
- "type": "string",
364
- "enum": [
365
- "all",
366
- "top",
367
- "right",
368
- "bottom",
369
- "left"
370
- ]
371
- },
372
- "useTheme": {
373
- "type": "boolean"
374
- }
375
- },
376
- "required": [
377
- "width",
378
- "color",
379
- "style"
380
- ],
381
- "additionalProperties": false
382
- },
383
- "shadow": {
169
+ "padding": {
384
170
  "type": "object",
385
171
  "properties": {
386
- "offsetX": {
172
+ "left": {
387
173
  "type": "number"
388
174
  },
389
- "offsetY": {
175
+ "right": {
390
176
  "type": "number"
391
177
  },
392
- "blur": {
178
+ "top": {
393
179
  "type": "number"
394
180
  },
395
- "spread": {
181
+ "bottom": {
396
182
  "type": "number"
397
183
  },
398
- "color": {
399
- "type": "string"
400
- },
401
- "raw": {
402
- "type": "string"
184
+ "independent": {
185
+ "type": "boolean"
403
186
  }
404
187
  },
405
188
  "required": [
406
- "offsetX",
407
- "offsetY",
408
- "blur",
409
- "spread",
410
- "color"
189
+ "left",
190
+ "right",
191
+ "top",
192
+ "bottom",
193
+ "independent"
411
194
  ],
412
195
  "additionalProperties": false
413
196
  },
414
- "maxWidth": {
197
+ "backgroundColor": {
198
+ "type": "string",
199
+ "pattern": "^#[\\s\\S]{0,}$"
200
+ },
201
+ "minHeight": {
415
202
  "type": "number"
416
203
  }
417
204
  },
418
205
  "required": [
419
- "border",
420
- "maxWidth"
206
+ "padding"
421
207
  ],
422
208
  "additionalProperties": false
423
209
  }
424
210
  },
425
211
  "required": [
426
- "language",
427
- "steps",
428
- "theme",
429
- "version",
430
- "usedFonts",
431
212
  "type",
432
- "display"
213
+ "name",
214
+ "elements",
215
+ "id",
216
+ "displayProperties"
433
217
  ],
434
218
  "additionalProperties": false
435
- },
436
- {
437
- "type": "object",
438
- "properties": {
439
- "language": {
440
- "type": "string",
441
- "enum": [
442
- "cs",
443
- "en"
444
- ]
445
- },
446
- "steps": {
447
- "type": "array",
448
- "items": {
449
- "type": "object",
450
- "properties": {
451
- "type": {
452
- "type": "string",
453
- "const": "step"
454
- },
455
- "name": {
456
- "type": "string"
457
- },
458
- "elements": {
459
- "type": "array",
460
- "items": {
461
- "$ref": "#/$defs/__schema0"
462
- }
463
- },
464
- "id": {
465
- "type": "string"
466
- },
467
- "displayProperties": {
468
- "type": "object",
469
- "properties": {
470
- "padding": {
471
- "type": "object",
472
- "properties": {
473
- "left": {
474
- "type": "number"
475
- },
476
- "right": {
477
- "type": "number"
478
- },
479
- "top": {
480
- "type": "number"
481
- },
482
- "bottom": {
483
- "type": "number"
484
- },
485
- "independent": {
486
- "type": "boolean"
487
- }
488
- },
489
- "required": [
490
- "left",
491
- "right",
492
- "top",
493
- "bottom",
494
- "independent"
495
- ],
496
- "additionalProperties": false
497
- },
498
- "backgroundColor": {
499
- "type": "string",
500
- "pattern": "^#[\\s\\S]{0,}$"
501
- },
502
- "minHeight": {
503
- "type": "number"
504
- }
505
- },
506
- "required": [
507
- "padding"
508
- ],
509
- "additionalProperties": false
510
- }
511
- },
512
- "required": [
513
- "type",
514
- "name",
515
- "elements",
516
- "id",
517
- "displayProperties"
518
- ],
519
- "additionalProperties": false
219
+ }
220
+ },
221
+ "theme": {
222
+ "type": "object",
223
+ "properties": {
224
+ "corners": {
225
+ "type": "string",
226
+ "enum": [
227
+ "none",
228
+ "sm",
229
+ "md",
230
+ "lg"
231
+ ]
232
+ },
233
+ "mainColor": {
234
+ "type": "string",
235
+ "pattern": "^#[\\s\\S]{0,}$"
236
+ },
237
+ "secondaryColor": {
238
+ "type": "array",
239
+ "prefixItems": [
240
+ {
241
+ "type": "string",
242
+ "pattern": "^#[\\s\\S]{0,}$"
243
+ },
244
+ {
245
+ "type": "string",
246
+ "pattern": "^#[\\s\\S]{0,}$"
247
+ },
248
+ {
249
+ "type": "string",
250
+ "pattern": "^#[\\s\\S]{0,}$"
251
+ },
252
+ {
253
+ "type": "string",
254
+ "pattern": "^#[\\s\\S]{0,}$"
255
+ }
256
+ ]
257
+ },
258
+ "backgroundColor": {
259
+ "type": "string",
260
+ "pattern": "^#[\\s\\S]{0,}$"
261
+ },
262
+ "fontFamily": {
263
+ "type": "string"
264
+ }
265
+ },
266
+ "required": [
267
+ "corners",
268
+ "mainColor",
269
+ "secondaryColor",
270
+ "backgroundColor",
271
+ "fontFamily"
272
+ ],
273
+ "additionalProperties": false
274
+ },
275
+ "version": {
276
+ "type": "number",
277
+ "const": 1
278
+ },
279
+ "usedFonts": {
280
+ "type": "array",
281
+ "items": {
282
+ "type": "string"
283
+ }
284
+ },
285
+ "type": {
286
+ "type": "string",
287
+ "const": "basic"
288
+ },
289
+ "display": {
290
+ "type": "object",
291
+ "properties": {
292
+ "border": {
293
+ "type": "object",
294
+ "properties": {
295
+ "width": {
296
+ "type": "number"
297
+ },
298
+ "color": {
299
+ "type": "string",
300
+ "pattern": "^#[\\s\\S]{0,}$"
301
+ },
302
+ "style": {
303
+ "type": "string",
304
+ "enum": [
305
+ "none",
306
+ "solid",
307
+ "dashed",
308
+ "dotted"
309
+ ]
310
+ },
311
+ "sides": {
312
+ "type": "string",
313
+ "enum": [
314
+ "all",
315
+ "top",
316
+ "right",
317
+ "bottom",
318
+ "left"
319
+ ]
320
+ },
321
+ "useTheme": {
322
+ "type": "boolean"
323
+ },
324
+ "radius": {
325
+ "type": "number"
520
326
  }
521
327
  },
522
- "theme": {
523
- "type": "object",
524
- "properties": {
525
- "corners": {
526
- "type": "string",
527
- "enum": [
528
- "none",
529
- "sm",
530
- "md",
531
- "lg"
532
- ]
533
- },
534
- "mainColor": {
535
- "type": "string",
536
- "pattern": "^#[\\s\\S]{0,}$"
537
- },
538
- "secondaryColor": {
539
- "type": "array",
540
- "prefixItems": [
541
- {
542
- "type": "string",
543
- "pattern": "^#[\\s\\S]{0,}$"
544
- },
545
- {
546
- "type": "string",
547
- "pattern": "^#[\\s\\S]{0,}$"
548
- },
549
- {
550
- "type": "string",
551
- "pattern": "^#[\\s\\S]{0,}$"
552
- },
553
- {
554
- "type": "string",
555
- "pattern": "^#[\\s\\S]{0,}$"
556
- }
557
- ]
558
- },
559
- "backgroundColor": {
560
- "type": "string",
561
- "pattern": "^#[\\s\\S]{0,}$"
562
- },
563
- "fontFamily": {
564
- "type": "string"
565
- }
328
+ "required": [
329
+ "width",
330
+ "color",
331
+ "style"
332
+ ],
333
+ "additionalProperties": false
334
+ },
335
+ "shadow": {
336
+ "type": "object",
337
+ "properties": {
338
+ "offsetX": {
339
+ "type": "number"
566
340
  },
567
- "required": [
568
- "corners",
569
- "mainColor",
570
- "secondaryColor",
571
- "backgroundColor",
572
- "fontFamily"
573
- ],
574
- "additionalProperties": false
341
+ "offsetY": {
342
+ "type": "number"
343
+ },
344
+ "blur": {
345
+ "type": "number"
346
+ },
347
+ "spread": {
348
+ "type": "number"
349
+ },
350
+ "color": {
351
+ "type": "string"
352
+ },
353
+ "raw": {
354
+ "type": "string"
355
+ }
575
356
  },
576
- "version": {
577
- "type": "number",
578
- "const": 1
357
+ "required": [
358
+ "offsetX",
359
+ "offsetY",
360
+ "blur",
361
+ "spread",
362
+ "color"
363
+ ],
364
+ "additionalProperties": false
365
+ },
366
+ "maxWidth": {
367
+ "type": "number"
368
+ }
369
+ },
370
+ "required": [
371
+ "border",
372
+ "maxWidth"
373
+ ],
374
+ "additionalProperties": false
375
+ }
376
+ },
377
+ "required": [
378
+ "language",
379
+ "steps",
380
+ "theme",
381
+ "version",
382
+ "usedFonts",
383
+ "type",
384
+ "display"
385
+ ],
386
+ "additionalProperties": false
387
+ },
388
+ {
389
+ "type": "object",
390
+ "properties": {
391
+ "language": {
392
+ "type": "string",
393
+ "enum": [
394
+ "cs",
395
+ "en"
396
+ ]
397
+ },
398
+ "steps": {
399
+ "type": "array",
400
+ "items": {
401
+ "type": "object",
402
+ "properties": {
403
+ "type": {
404
+ "type": "string",
405
+ "const": "step"
579
406
  },
580
- "usedFonts": {
407
+ "name": {
408
+ "type": "string"
409
+ },
410
+ "elements": {
581
411
  "type": "array",
582
412
  "items": {
583
- "type": "string"
413
+ "$ref": "#/$defs/__schema0"
584
414
  }
585
415
  },
586
- "type": {
587
- "type": "string",
588
- "const": "popup"
416
+ "id": {
417
+ "type": "string"
589
418
  },
590
- "display": {
419
+ "displayProperties": {
591
420
  "type": "object",
592
421
  "properties": {
593
- "border": {
594
- "type": "object",
595
- "properties": {
596
- "width": {
597
- "type": "number"
598
- },
599
- "color": {
600
- "type": "string",
601
- "pattern": "^#[\\s\\S]{0,}$"
602
- },
603
- "style": {
604
- "type": "string",
605
- "enum": [
606
- "none",
607
- "solid",
608
- "dashed",
609
- "dotted"
610
- ]
611
- },
612
- "sides": {
613
- "type": "string",
614
- "enum": [
615
- "all",
616
- "top",
617
- "right",
618
- "bottom",
619
- "left"
620
- ]
621
- },
622
- "useTheme": {
623
- "type": "boolean"
624
- }
625
- },
626
- "required": [
627
- "width",
628
- "color",
629
- "style"
630
- ],
631
- "additionalProperties": false
632
- },
633
- "shadow": {
422
+ "padding": {
634
423
  "type": "object",
635
424
  "properties": {
636
- "offsetX": {
637
- "type": "number"
638
- },
639
- "offsetY": {
640
- "type": "number"
641
- },
642
- "blur": {
425
+ "left": {
643
426
  "type": "number"
644
427
  },
645
- "spread": {
428
+ "right": {
646
429
  "type": "number"
647
430
  },
648
- "color": {
649
- "type": "string"
650
- },
651
- "raw": {
652
- "type": "string"
653
- }
654
- },
655
- "required": [
656
- "offsetX",
657
- "offsetY",
658
- "blur",
659
- "spread",
660
- "color"
661
- ],
662
- "additionalProperties": false
663
- },
664
- "position": {
665
- "type": "object",
666
- "properties": {
667
- "distance": {
668
- "type": "object",
669
- "properties": {
670
- "left": {
671
- "type": "number"
672
- },
673
- "right": {
674
- "type": "number"
675
- },
676
- "top": {
677
- "type": "number"
678
- },
679
- "bottom": {
680
- "type": "number"
681
- },
682
- "independent": {
683
- "type": "boolean"
684
- }
685
- },
686
- "required": [
687
- "left",
688
- "right",
689
- "top",
690
- "bottom",
691
- "independent"
692
- ],
693
- "additionalProperties": false
694
- },
695
- "id": {
696
- "type": "number",
697
- "enum": [
698
- 1,
699
- 2,
700
- 3,
701
- 4,
702
- 5,
703
- 6,
704
- 7,
705
- 8,
706
- 9
707
- ]
708
- }
709
- },
710
- "required": [
711
- "distance",
712
- "id"
713
- ],
714
- "additionalProperties": false
715
- },
716
- "closeIcon": {
717
- "type": "object",
718
- "properties": {
719
- "color": {
720
- "type": "string"
721
- },
722
- "size": {
431
+ "top": {
723
432
  "type": "number"
724
433
  },
725
- "padding": {
726
- "type": "object",
727
- "properties": {
728
- "left": {
729
- "type": "number"
730
- },
731
- "right": {
732
- "type": "number"
733
- },
734
- "top": {
735
- "type": "number"
736
- },
737
- "bottom": {
738
- "type": "number"
739
- },
740
- "independent": {
741
- "type": "boolean"
742
- }
743
- },
744
- "required": [
745
- "left",
746
- "right",
747
- "top",
748
- "bottom",
749
- "independent"
750
- ],
751
- "additionalProperties": false
752
- },
753
- "position": {
754
- "type": "object",
755
- "properties": {
756
- "top": {
757
- "type": "number"
758
- },
759
- "right": {
760
- "type": "number"
761
- }
762
- },
763
- "required": [
764
- "top",
765
- "right"
766
- ],
767
- "additionalProperties": false
768
- },
769
- "visibilityDelay": {
434
+ "bottom": {
770
435
  "type": "number"
771
436
  },
772
- "closeOnEscape": {
437
+ "independent": {
773
438
  "type": "boolean"
774
439
  }
775
440
  },
776
441
  "required": [
777
- "color",
778
- "size",
779
- "padding"
442
+ "left",
443
+ "right",
444
+ "top",
445
+ "bottom",
446
+ "independent"
780
447
  ],
781
448
  "additionalProperties": false
782
449
  },
783
- "teaser": {
784
- "type": "object",
785
- "properties": {
786
- "text": {
787
- "type": "string"
788
- },
789
- "backgroundColor": {
790
- "type": "string"
791
- },
792
- "textColor": {
793
- "type": "string"
794
- }
795
- },
796
- "required": [
797
- "text",
798
- "backgroundColor",
799
- "textColor"
800
- ],
801
- "additionalProperties": false
450
+ "backgroundColor": {
451
+ "type": "string",
452
+ "pattern": "^#[\\s\\S]{0,}$"
453
+ },
454
+ "minHeight": {
455
+ "type": "number"
802
456
  }
803
457
  },
804
458
  "required": [
805
- "border",
806
- "position",
807
- "closeIcon"
459
+ "padding"
808
460
  ],
809
461
  "additionalProperties": false
810
462
  }
811
463
  },
812
464
  "required": [
813
- "language",
814
- "steps",
815
- "theme",
816
- "version",
817
- "usedFonts",
818
465
  "type",
819
- "display"
466
+ "name",
467
+ "elements",
468
+ "id",
469
+ "displayProperties"
820
470
  ],
821
471
  "additionalProperties": false
472
+ }
473
+ },
474
+ "theme": {
475
+ "type": "object",
476
+ "properties": {
477
+ "corners": {
478
+ "type": "string",
479
+ "enum": [
480
+ "none",
481
+ "sm",
482
+ "md",
483
+ "lg"
484
+ ]
485
+ },
486
+ "mainColor": {
487
+ "type": "string",
488
+ "pattern": "^#[\\s\\S]{0,}$"
489
+ },
490
+ "secondaryColor": {
491
+ "type": "array",
492
+ "prefixItems": [
493
+ {
494
+ "type": "string",
495
+ "pattern": "^#[\\s\\S]{0,}$"
496
+ },
497
+ {
498
+ "type": "string",
499
+ "pattern": "^#[\\s\\S]{0,}$"
500
+ },
501
+ {
502
+ "type": "string",
503
+ "pattern": "^#[\\s\\S]{0,}$"
504
+ },
505
+ {
506
+ "type": "string",
507
+ "pattern": "^#[\\s\\S]{0,}$"
508
+ }
509
+ ]
510
+ },
511
+ "backgroundColor": {
512
+ "type": "string",
513
+ "pattern": "^#[\\s\\S]{0,}$"
514
+ },
515
+ "fontFamily": {
516
+ "type": "string"
517
+ }
822
518
  },
823
- {
824
- "type": "object",
825
- "properties": {
826
- "language": {
827
- "type": "string",
828
- "enum": [
829
- "cs",
830
- "en"
831
- ]
519
+ "required": [
520
+ "corners",
521
+ "mainColor",
522
+ "secondaryColor",
523
+ "backgroundColor",
524
+ "fontFamily"
525
+ ],
526
+ "additionalProperties": false
527
+ },
528
+ "version": {
529
+ "type": "number",
530
+ "const": 1
531
+ },
532
+ "usedFonts": {
533
+ "type": "array",
534
+ "items": {
535
+ "type": "string"
536
+ }
537
+ },
538
+ "type": {
539
+ "type": "string",
540
+ "const": "popup"
541
+ },
542
+ "display": {
543
+ "type": "object",
544
+ "properties": {
545
+ "border": {
546
+ "type": "object",
547
+ "properties": {
548
+ "width": {
549
+ "type": "number"
550
+ },
551
+ "color": {
552
+ "type": "string",
553
+ "pattern": "^#[\\s\\S]{0,}$"
554
+ },
555
+ "style": {
556
+ "type": "string",
557
+ "enum": [
558
+ "none",
559
+ "solid",
560
+ "dashed",
561
+ "dotted"
562
+ ]
563
+ },
564
+ "sides": {
565
+ "type": "string",
566
+ "enum": [
567
+ "all",
568
+ "top",
569
+ "right",
570
+ "bottom",
571
+ "left"
572
+ ]
573
+ },
574
+ "useTheme": {
575
+ "type": "boolean"
576
+ },
577
+ "radius": {
578
+ "type": "number"
579
+ }
832
580
  },
833
- "steps": {
834
- "type": "array",
835
- "items": {
581
+ "required": [
582
+ "width",
583
+ "color",
584
+ "style"
585
+ ],
586
+ "additionalProperties": false
587
+ },
588
+ "shadow": {
589
+ "type": "object",
590
+ "properties": {
591
+ "offsetX": {
592
+ "type": "number"
593
+ },
594
+ "offsetY": {
595
+ "type": "number"
596
+ },
597
+ "blur": {
598
+ "type": "number"
599
+ },
600
+ "spread": {
601
+ "type": "number"
602
+ },
603
+ "color": {
604
+ "type": "string"
605
+ },
606
+ "raw": {
607
+ "type": "string"
608
+ }
609
+ },
610
+ "required": [
611
+ "offsetX",
612
+ "offsetY",
613
+ "blur",
614
+ "spread",
615
+ "color"
616
+ ],
617
+ "additionalProperties": false
618
+ },
619
+ "position": {
620
+ "type": "object",
621
+ "properties": {
622
+ "distance": {
623
+ "type": "object",
624
+ "properties": {
625
+ "left": {
626
+ "type": "number"
627
+ },
628
+ "right": {
629
+ "type": "number"
630
+ },
631
+ "top": {
632
+ "type": "number"
633
+ },
634
+ "bottom": {
635
+ "type": "number"
636
+ },
637
+ "independent": {
638
+ "type": "boolean"
639
+ }
640
+ },
641
+ "required": [
642
+ "left",
643
+ "right",
644
+ "top",
645
+ "bottom",
646
+ "independent"
647
+ ],
648
+ "additionalProperties": false
649
+ },
650
+ "id": {
651
+ "type": "number",
652
+ "enum": [
653
+ 1,
654
+ 2,
655
+ 3,
656
+ 4,
657
+ 5,
658
+ 6,
659
+ 7,
660
+ 8,
661
+ 9
662
+ ]
663
+ }
664
+ },
665
+ "required": [
666
+ "distance",
667
+ "id"
668
+ ],
669
+ "additionalProperties": false
670
+ },
671
+ "closeIcon": {
672
+ "type": "object",
673
+ "properties": {
674
+ "color": {
675
+ "type": "string"
676
+ },
677
+ "size": {
678
+ "type": "number"
679
+ },
680
+ "padding": {
836
681
  "type": "object",
837
682
  "properties": {
838
- "type": {
839
- "type": "string",
840
- "const": "step"
683
+ "left": {
684
+ "type": "number"
841
685
  },
842
- "name": {
843
- "type": "string"
686
+ "right": {
687
+ "type": "number"
844
688
  },
845
- "elements": {
846
- "type": "array",
847
- "items": {
848
- "$ref": "#/$defs/__schema0"
849
- }
689
+ "top": {
690
+ "type": "number"
850
691
  },
851
- "id": {
852
- "type": "string"
692
+ "bottom": {
693
+ "type": "number"
853
694
  },
854
- "displayProperties": {
855
- "type": "object",
856
- "properties": {
857
- "padding": {
858
- "type": "object",
859
- "properties": {
860
- "left": {
861
- "type": "number"
862
- },
863
- "right": {
864
- "type": "number"
865
- },
866
- "top": {
867
- "type": "number"
868
- },
869
- "bottom": {
870
- "type": "number"
871
- },
872
- "independent": {
873
- "type": "boolean"
874
- }
875
- },
876
- "required": [
877
- "left",
878
- "right",
879
- "top",
880
- "bottom",
881
- "independent"
882
- ],
883
- "additionalProperties": false
884
- },
885
- "backgroundColor": {
886
- "type": "string",
887
- "pattern": "^#[\\s\\S]{0,}$"
888
- },
889
- "minHeight": {
890
- "type": "number"
891
- }
892
- },
893
- "required": [
894
- "padding"
895
- ],
896
- "additionalProperties": false
695
+ "independent": {
696
+ "type": "boolean"
697
+ }
698
+ },
699
+ "required": [
700
+ "left",
701
+ "right",
702
+ "top",
703
+ "bottom",
704
+ "independent"
705
+ ],
706
+ "additionalProperties": false
707
+ },
708
+ "position": {
709
+ "type": "object",
710
+ "properties": {
711
+ "top": {
712
+ "type": "number"
713
+ },
714
+ "right": {
715
+ "type": "number"
897
716
  }
898
717
  },
899
718
  "required": [
900
- "type",
901
- "name",
902
- "elements",
903
- "id",
904
- "displayProperties"
719
+ "top",
720
+ "right"
905
721
  ],
906
722
  "additionalProperties": false
723
+ },
724
+ "visibilityDelay": {
725
+ "type": "number"
726
+ },
727
+ "closeOnEscape": {
728
+ "type": "boolean"
907
729
  }
908
730
  },
909
- "theme": {
910
- "type": "object",
911
- "properties": {
912
- "corners": {
913
- "type": "string",
914
- "enum": [
915
- "none",
916
- "sm",
917
- "md",
918
- "lg"
919
- ]
920
- },
921
- "mainColor": {
922
- "type": "string",
923
- "pattern": "^#[\\s\\S]{0,}$"
924
- },
925
- "secondaryColor": {
926
- "type": "array",
927
- "prefixItems": [
928
- {
929
- "type": "string",
930
- "pattern": "^#[\\s\\S]{0,}$"
931
- },
932
- {
933
- "type": "string",
934
- "pattern": "^#[\\s\\S]{0,}$"
935
- },
936
- {
937
- "type": "string",
938
- "pattern": "^#[\\s\\S]{0,}$"
939
- },
940
- {
941
- "type": "string",
942
- "pattern": "^#[\\s\\S]{0,}$"
943
- }
944
- ]
945
- },
946
- "backgroundColor": {
947
- "type": "string",
948
- "pattern": "^#[\\s\\S]{0,}$"
949
- },
950
- "fontFamily": {
951
- "type": "string"
952
- }
731
+ "required": [
732
+ "color",
733
+ "size",
734
+ "padding"
735
+ ],
736
+ "additionalProperties": false
737
+ },
738
+ "teaser": {
739
+ "type": "object",
740
+ "properties": {
741
+ "text": {
742
+ "type": "string"
953
743
  },
954
- "required": [
955
- "corners",
956
- "mainColor",
957
- "secondaryColor",
958
- "backgroundColor",
959
- "fontFamily"
960
- ],
961
- "additionalProperties": false
744
+ "backgroundColor": {
745
+ "type": "string"
746
+ },
747
+ "textColor": {
748
+ "type": "string"
749
+ }
750
+ },
751
+ "required": [
752
+ "text",
753
+ "backgroundColor",
754
+ "textColor"
755
+ ],
756
+ "additionalProperties": false
757
+ }
758
+ },
759
+ "required": [
760
+ "border",
761
+ "position",
762
+ "closeIcon"
763
+ ],
764
+ "additionalProperties": false
765
+ }
766
+ },
767
+ "required": [
768
+ "language",
769
+ "steps",
770
+ "theme",
771
+ "version",
772
+ "usedFonts",
773
+ "type",
774
+ "display"
775
+ ],
776
+ "additionalProperties": false
777
+ },
778
+ {
779
+ "type": "object",
780
+ "properties": {
781
+ "language": {
782
+ "type": "string",
783
+ "enum": [
784
+ "cs",
785
+ "en"
786
+ ]
787
+ },
788
+ "steps": {
789
+ "type": "array",
790
+ "items": {
791
+ "type": "object",
792
+ "properties": {
793
+ "type": {
794
+ "type": "string",
795
+ "const": "step"
962
796
  },
963
- "version": {
964
- "type": "number",
965
- "const": 1
797
+ "name": {
798
+ "type": "string"
966
799
  },
967
- "usedFonts": {
800
+ "elements": {
968
801
  "type": "array",
969
802
  "items": {
970
- "type": "string"
803
+ "$ref": "#/$defs/__schema0"
971
804
  }
972
805
  },
973
- "type": {
974
- "type": "string",
975
- "const": "slider"
806
+ "id": {
807
+ "type": "string"
976
808
  },
977
- "display": {
809
+ "displayProperties": {
978
810
  "type": "object",
979
811
  "properties": {
980
- "border": {
981
- "type": "object",
982
- "properties": {
983
- "width": {
984
- "type": "number"
985
- },
986
- "color": {
987
- "type": "string",
988
- "pattern": "^#[\\s\\S]{0,}$"
989
- },
990
- "style": {
991
- "type": "string",
992
- "enum": [
993
- "none",
994
- "solid",
995
- "dashed",
996
- "dotted"
997
- ]
998
- },
999
- "sides": {
1000
- "type": "string",
1001
- "enum": [
1002
- "all",
1003
- "top",
1004
- "right",
1005
- "bottom",
1006
- "left"
1007
- ]
1008
- },
1009
- "useTheme": {
1010
- "type": "boolean"
1011
- }
1012
- },
1013
- "required": [
1014
- "width",
1015
- "color",
1016
- "style"
1017
- ],
1018
- "additionalProperties": false
1019
- },
1020
- "shadow": {
812
+ "padding": {
1021
813
  "type": "object",
1022
814
  "properties": {
1023
- "offsetX": {
815
+ "left": {
1024
816
  "type": "number"
1025
817
  },
1026
- "offsetY": {
818
+ "right": {
1027
819
  "type": "number"
1028
820
  },
1029
- "blur": {
821
+ "top": {
1030
822
  "type": "number"
1031
823
  },
1032
- "spread": {
824
+ "bottom": {
1033
825
  "type": "number"
1034
826
  },
1035
- "color": {
1036
- "type": "string"
1037
- },
1038
- "raw": {
1039
- "type": "string"
827
+ "independent": {
828
+ "type": "boolean"
1040
829
  }
1041
830
  },
1042
831
  "required": [
1043
- "offsetX",
1044
- "offsetY",
1045
- "blur",
1046
- "spread",
1047
- "color"
832
+ "left",
833
+ "right",
834
+ "top",
835
+ "bottom",
836
+ "independent"
1048
837
  ],
1049
838
  "additionalProperties": false
1050
839
  },
1051
- "position": {
840
+ "backgroundColor": {
1052
841
  "type": "string",
1053
- "enum": [
1054
- "bottom-left",
1055
- "bottom-center",
1056
- "bottom-right"
1057
- ]
1058
- },
1059
- "closeIcon": {
1060
- "type": "object",
1061
- "properties": {
1062
- "color": {
1063
- "type": "string"
1064
- },
1065
- "size": {
1066
- "type": "number"
1067
- },
1068
- "padding": {
1069
- "type": "object",
1070
- "properties": {
1071
- "left": {
1072
- "type": "number"
1073
- },
1074
- "right": {
1075
- "type": "number"
1076
- },
1077
- "top": {
1078
- "type": "number"
1079
- },
1080
- "bottom": {
1081
- "type": "number"
1082
- },
1083
- "independent": {
1084
- "type": "boolean"
1085
- }
1086
- },
1087
- "required": [
1088
- "left",
1089
- "right",
1090
- "top",
1091
- "bottom",
1092
- "independent"
1093
- ],
1094
- "additionalProperties": false
1095
- },
1096
- "position": {
1097
- "type": "object",
1098
- "properties": {
1099
- "top": {
1100
- "type": "number"
1101
- },
1102
- "right": {
1103
- "type": "number"
1104
- }
1105
- },
1106
- "required": [
1107
- "top",
1108
- "right"
1109
- ],
1110
- "additionalProperties": false
1111
- },
1112
- "visibilityDelay": {
1113
- "type": "number"
1114
- },
1115
- "closeOnEscape": {
1116
- "type": "boolean"
1117
- }
1118
- },
1119
- "required": [
1120
- "color",
1121
- "size",
1122
- "padding"
1123
- ],
1124
- "additionalProperties": false
842
+ "pattern": "^#[\\s\\S]{0,}$"
1125
843
  },
1126
- "teaser": {
1127
- "type": "object",
1128
- "properties": {
1129
- "text": {
1130
- "type": "string"
1131
- },
1132
- "backgroundColor": {
1133
- "type": "string"
1134
- },
1135
- "textColor": {
1136
- "type": "string"
1137
- }
1138
- },
1139
- "required": [
1140
- "text",
1141
- "backgroundColor",
1142
- "textColor"
1143
- ],
1144
- "additionalProperties": false
844
+ "minHeight": {
845
+ "type": "number"
1145
846
  }
1146
847
  },
1147
848
  "required": [
1148
- "border",
1149
- "position",
1150
- "closeIcon"
849
+ "padding"
1151
850
  ],
1152
851
  "additionalProperties": false
1153
852
  }
1154
853
  },
1155
854
  "required": [
1156
- "language",
1157
- "steps",
1158
- "theme",
1159
- "version",
1160
- "usedFonts",
1161
855
  "type",
1162
- "display"
856
+ "name",
857
+ "elements",
858
+ "id",
859
+ "displayProperties"
1163
860
  ],
1164
861
  "additionalProperties": false
862
+ }
863
+ },
864
+ "theme": {
865
+ "type": "object",
866
+ "properties": {
867
+ "corners": {
868
+ "type": "string",
869
+ "enum": [
870
+ "none",
871
+ "sm",
872
+ "md",
873
+ "lg"
874
+ ]
875
+ },
876
+ "mainColor": {
877
+ "type": "string",
878
+ "pattern": "^#[\\s\\S]{0,}$"
879
+ },
880
+ "secondaryColor": {
881
+ "type": "array",
882
+ "prefixItems": [
883
+ {
884
+ "type": "string",
885
+ "pattern": "^#[\\s\\S]{0,}$"
886
+ },
887
+ {
888
+ "type": "string",
889
+ "pattern": "^#[\\s\\S]{0,}$"
890
+ },
891
+ {
892
+ "type": "string",
893
+ "pattern": "^#[\\s\\S]{0,}$"
894
+ },
895
+ {
896
+ "type": "string",
897
+ "pattern": "^#[\\s\\S]{0,}$"
898
+ }
899
+ ]
900
+ },
901
+ "backgroundColor": {
902
+ "type": "string",
903
+ "pattern": "^#[\\s\\S]{0,}$"
904
+ },
905
+ "fontFamily": {
906
+ "type": "string"
907
+ }
1165
908
  },
1166
- {
1167
- "type": "object",
1168
- "properties": {
1169
- "language": {
1170
- "type": "string",
1171
- "enum": [
1172
- "cs",
1173
- "en"
1174
- ]
909
+ "required": [
910
+ "corners",
911
+ "mainColor",
912
+ "secondaryColor",
913
+ "backgroundColor",
914
+ "fontFamily"
915
+ ],
916
+ "additionalProperties": false
917
+ },
918
+ "version": {
919
+ "type": "number",
920
+ "const": 1
921
+ },
922
+ "usedFonts": {
923
+ "type": "array",
924
+ "items": {
925
+ "type": "string"
926
+ }
927
+ },
928
+ "type": {
929
+ "type": "string",
930
+ "const": "slider"
931
+ },
932
+ "display": {
933
+ "type": "object",
934
+ "properties": {
935
+ "border": {
936
+ "type": "object",
937
+ "properties": {
938
+ "width": {
939
+ "type": "number"
940
+ },
941
+ "color": {
942
+ "type": "string",
943
+ "pattern": "^#[\\s\\S]{0,}$"
944
+ },
945
+ "style": {
946
+ "type": "string",
947
+ "enum": [
948
+ "none",
949
+ "solid",
950
+ "dashed",
951
+ "dotted"
952
+ ]
953
+ },
954
+ "sides": {
955
+ "type": "string",
956
+ "enum": [
957
+ "all",
958
+ "top",
959
+ "right",
960
+ "bottom",
961
+ "left"
962
+ ]
963
+ },
964
+ "useTheme": {
965
+ "type": "boolean"
966
+ },
967
+ "radius": {
968
+ "type": "number"
969
+ }
1175
970
  },
1176
- "steps": {
1177
- "type": "array",
1178
- "items": {
971
+ "required": [
972
+ "width",
973
+ "color",
974
+ "style"
975
+ ],
976
+ "additionalProperties": false
977
+ },
978
+ "shadow": {
979
+ "type": "object",
980
+ "properties": {
981
+ "offsetX": {
982
+ "type": "number"
983
+ },
984
+ "offsetY": {
985
+ "type": "number"
986
+ },
987
+ "blur": {
988
+ "type": "number"
989
+ },
990
+ "spread": {
991
+ "type": "number"
992
+ },
993
+ "color": {
994
+ "type": "string"
995
+ },
996
+ "raw": {
997
+ "type": "string"
998
+ }
999
+ },
1000
+ "required": [
1001
+ "offsetX",
1002
+ "offsetY",
1003
+ "blur",
1004
+ "spread",
1005
+ "color"
1006
+ ],
1007
+ "additionalProperties": false
1008
+ },
1009
+ "position": {
1010
+ "type": "string",
1011
+ "enum": [
1012
+ "bottom-left",
1013
+ "bottom-center",
1014
+ "bottom-right"
1015
+ ]
1016
+ },
1017
+ "closeIcon": {
1018
+ "type": "object",
1019
+ "properties": {
1020
+ "color": {
1021
+ "type": "string"
1022
+ },
1023
+ "size": {
1024
+ "type": "number"
1025
+ },
1026
+ "padding": {
1179
1027
  "type": "object",
1180
1028
  "properties": {
1181
- "type": {
1182
- "type": "string",
1183
- "const": "step"
1029
+ "left": {
1030
+ "type": "number"
1184
1031
  },
1185
- "name": {
1186
- "type": "string"
1032
+ "right": {
1033
+ "type": "number"
1187
1034
  },
1188
- "elements": {
1189
- "type": "array",
1190
- "items": {
1191
- "$ref": "#/$defs/__schema0"
1192
- }
1035
+ "top": {
1036
+ "type": "number"
1193
1037
  },
1194
- "id": {
1195
- "type": "string"
1038
+ "bottom": {
1039
+ "type": "number"
1196
1040
  },
1197
- "displayProperties": {
1198
- "type": "object",
1199
- "properties": {
1200
- "padding": {
1201
- "type": "object",
1202
- "properties": {
1203
- "left": {
1204
- "type": "number"
1205
- },
1206
- "right": {
1207
- "type": "number"
1208
- },
1209
- "top": {
1210
- "type": "number"
1211
- },
1212
- "bottom": {
1213
- "type": "number"
1214
- },
1215
- "independent": {
1216
- "type": "boolean"
1217
- }
1218
- },
1219
- "required": [
1220
- "left",
1221
- "right",
1222
- "top",
1223
- "bottom",
1224
- "independent"
1225
- ],
1226
- "additionalProperties": false
1227
- },
1228
- "backgroundColor": {
1229
- "type": "string",
1230
- "pattern": "^#[\\s\\S]{0,}$"
1231
- },
1232
- "minHeight": {
1233
- "type": "number"
1234
- }
1235
- },
1236
- "required": [
1237
- "padding"
1238
- ],
1239
- "additionalProperties": false
1041
+ "independent": {
1042
+ "type": "boolean"
1240
1043
  }
1241
1044
  },
1242
1045
  "required": [
1243
- "type",
1244
- "name",
1245
- "elements",
1246
- "id",
1247
- "displayProperties"
1046
+ "left",
1047
+ "right",
1048
+ "top",
1049
+ "bottom",
1050
+ "independent"
1248
1051
  ],
1249
- "additionalProperties": false
1250
- }
1251
- },
1252
- "theme": {
1253
- "type": "object",
1254
- "properties": {
1255
- "corners": {
1256
- "type": "string",
1257
- "enum": [
1258
- "none",
1259
- "sm",
1260
- "md",
1261
- "lg"
1262
- ]
1263
- },
1264
- "mainColor": {
1265
- "type": "string",
1266
- "pattern": "^#[\\s\\S]{0,}$"
1267
- },
1268
- "secondaryColor": {
1269
- "type": "array",
1270
- "prefixItems": [
1271
- {
1272
- "type": "string",
1273
- "pattern": "^#[\\s\\S]{0,}$"
1274
- },
1275
- {
1276
- "type": "string",
1277
- "pattern": "^#[\\s\\S]{0,}$"
1278
- },
1279
- {
1280
- "type": "string",
1281
- "pattern": "^#[\\s\\S]{0,}$"
1282
- },
1283
- {
1284
- "type": "string",
1285
- "pattern": "^#[\\s\\S]{0,}$"
1286
- }
1287
- ]
1288
- },
1289
- "backgroundColor": {
1290
- "type": "string",
1291
- "pattern": "^#[\\s\\S]{0,}$"
1052
+ "additionalProperties": false
1053
+ },
1054
+ "position": {
1055
+ "type": "object",
1056
+ "properties": {
1057
+ "top": {
1058
+ "type": "number"
1059
+ },
1060
+ "right": {
1061
+ "type": "number"
1062
+ }
1292
1063
  },
1293
- "fontFamily": {
1294
- "type": "string"
1295
- }
1064
+ "required": [
1065
+ "top",
1066
+ "right"
1067
+ ],
1068
+ "additionalProperties": false
1296
1069
  },
1297
- "required": [
1298
- "corners",
1299
- "mainColor",
1300
- "secondaryColor",
1301
- "backgroundColor",
1302
- "fontFamily"
1303
- ],
1304
- "additionalProperties": false
1305
- },
1306
- "version": {
1307
- "type": "number",
1308
- "const": 1
1070
+ "visibilityDelay": {
1071
+ "type": "number"
1072
+ },
1073
+ "closeOnEscape": {
1074
+ "type": "boolean"
1075
+ }
1309
1076
  },
1310
- "usedFonts": {
1311
- "type": "array",
1312
- "items": {
1077
+ "required": [
1078
+ "color",
1079
+ "size",
1080
+ "padding"
1081
+ ],
1082
+ "additionalProperties": false
1083
+ },
1084
+ "teaser": {
1085
+ "type": "object",
1086
+ "properties": {
1087
+ "text": {
1088
+ "type": "string"
1089
+ },
1090
+ "backgroundColor": {
1091
+ "type": "string"
1092
+ },
1093
+ "textColor": {
1313
1094
  "type": "string"
1314
1095
  }
1315
1096
  },
1097
+ "required": [
1098
+ "text",
1099
+ "backgroundColor",
1100
+ "textColor"
1101
+ ],
1102
+ "additionalProperties": false
1103
+ }
1104
+ },
1105
+ "required": [
1106
+ "border",
1107
+ "position",
1108
+ "closeIcon"
1109
+ ],
1110
+ "additionalProperties": false
1111
+ }
1112
+ },
1113
+ "required": [
1114
+ "language",
1115
+ "steps",
1116
+ "theme",
1117
+ "version",
1118
+ "usedFonts",
1119
+ "type",
1120
+ "display"
1121
+ ],
1122
+ "additionalProperties": false
1123
+ },
1124
+ {
1125
+ "type": "object",
1126
+ "properties": {
1127
+ "language": {
1128
+ "type": "string",
1129
+ "enum": [
1130
+ "cs",
1131
+ "en"
1132
+ ]
1133
+ },
1134
+ "steps": {
1135
+ "type": "array",
1136
+ "items": {
1137
+ "type": "object",
1138
+ "properties": {
1316
1139
  "type": {
1317
1140
  "type": "string",
1318
- "const": "mobile_popup"
1141
+ "const": "step"
1142
+ },
1143
+ "name": {
1144
+ "type": "string"
1145
+ },
1146
+ "elements": {
1147
+ "type": "array",
1148
+ "items": {
1149
+ "$ref": "#/$defs/__schema0"
1150
+ }
1151
+ },
1152
+ "id": {
1153
+ "type": "string"
1319
1154
  },
1320
- "display": {
1155
+ "displayProperties": {
1321
1156
  "type": "object",
1322
1157
  "properties": {
1323
- "border": {
1324
- "type": "object",
1325
- "properties": {
1326
- "width": {
1327
- "type": "number"
1328
- },
1329
- "color": {
1330
- "type": "string",
1331
- "pattern": "^#[\\s\\S]{0,}$"
1332
- },
1333
- "style": {
1334
- "type": "string",
1335
- "enum": [
1336
- "none",
1337
- "solid",
1338
- "dashed",
1339
- "dotted"
1340
- ]
1341
- },
1342
- "sides": {
1343
- "type": "string",
1344
- "enum": [
1345
- "all",
1346
- "top",
1347
- "right",
1348
- "bottom",
1349
- "left"
1350
- ]
1351
- },
1352
- "useTheme": {
1353
- "type": "boolean"
1354
- }
1355
- },
1356
- "required": [
1357
- "width",
1358
- "color",
1359
- "style"
1360
- ],
1361
- "additionalProperties": false
1362
- },
1363
- "shadow": {
1158
+ "padding": {
1364
1159
  "type": "object",
1365
1160
  "properties": {
1366
- "offsetX": {
1367
- "type": "number"
1368
- },
1369
- "offsetY": {
1370
- "type": "number"
1371
- },
1372
- "blur": {
1161
+ "left": {
1373
1162
  "type": "number"
1374
1163
  },
1375
- "spread": {
1164
+ "right": {
1376
1165
  "type": "number"
1377
1166
  },
1378
- "color": {
1379
- "type": "string"
1380
- },
1381
- "raw": {
1382
- "type": "string"
1383
- }
1384
- },
1385
- "required": [
1386
- "offsetX",
1387
- "offsetY",
1388
- "blur",
1389
- "spread",
1390
- "color"
1391
- ],
1392
- "additionalProperties": false
1393
- },
1394
- "closeIcon": {
1395
- "type": "object",
1396
- "properties": {
1397
- "color": {
1398
- "type": "string"
1399
- },
1400
- "size": {
1167
+ "top": {
1401
1168
  "type": "number"
1402
1169
  },
1403
- "padding": {
1404
- "type": "object",
1405
- "properties": {
1406
- "left": {
1407
- "type": "number"
1408
- },
1409
- "right": {
1410
- "type": "number"
1411
- },
1412
- "top": {
1413
- "type": "number"
1414
- },
1415
- "bottom": {
1416
- "type": "number"
1417
- },
1418
- "independent": {
1419
- "type": "boolean"
1420
- }
1421
- },
1422
- "required": [
1423
- "left",
1424
- "right",
1425
- "top",
1426
- "bottom",
1427
- "independent"
1428
- ],
1429
- "additionalProperties": false
1430
- },
1431
- "position": {
1432
- "type": "object",
1433
- "properties": {
1434
- "top": {
1435
- "type": "number"
1436
- },
1437
- "right": {
1438
- "type": "number"
1439
- }
1440
- },
1441
- "required": [
1442
- "top",
1443
- "right"
1444
- ],
1445
- "additionalProperties": false
1446
- },
1447
- "visibilityDelay": {
1170
+ "bottom": {
1448
1171
  "type": "number"
1449
1172
  },
1450
- "closeOnEscape": {
1173
+ "independent": {
1451
1174
  "type": "boolean"
1452
1175
  }
1453
1176
  },
1454
1177
  "required": [
1455
- "color",
1456
- "size",
1457
- "padding"
1178
+ "left",
1179
+ "right",
1180
+ "top",
1181
+ "bottom",
1182
+ "independent"
1458
1183
  ],
1459
1184
  "additionalProperties": false
1460
1185
  },
1461
- "teaser": {
1462
- "type": "object",
1463
- "properties": {
1464
- "text": {
1465
- "type": "string"
1466
- },
1467
- "backgroundColor": {
1468
- "type": "string"
1469
- },
1470
- "textColor": {
1471
- "type": "string"
1472
- }
1473
- },
1474
- "required": [
1475
- "text",
1476
- "backgroundColor",
1477
- "textColor"
1478
- ],
1479
- "additionalProperties": false
1186
+ "backgroundColor": {
1187
+ "type": "string",
1188
+ "pattern": "^#[\\s\\S]{0,}$"
1189
+ },
1190
+ "minHeight": {
1191
+ "type": "number"
1480
1192
  }
1481
1193
  },
1482
1194
  "required": [
1483
- "border",
1484
- "closeIcon"
1195
+ "padding"
1485
1196
  ],
1486
1197
  "additionalProperties": false
1487
1198
  }
1488
1199
  },
1489
1200
  "required": [
1490
- "language",
1491
- "steps",
1492
- "theme",
1493
- "version",
1494
- "usedFonts",
1495
1201
  "type",
1496
- "display"
1202
+ "name",
1203
+ "elements",
1204
+ "id",
1205
+ "displayProperties"
1497
1206
  ],
1498
1207
  "additionalProperties": false
1499
1208
  }
1500
- ]
1501
- },
1502
- {
1503
- "type": "object",
1504
- "properties": {
1505
- "ref": {
1209
+ },
1210
+ "theme": {
1211
+ "type": "object",
1212
+ "properties": {
1213
+ "corners": {
1214
+ "type": "string",
1215
+ "enum": [
1216
+ "none",
1217
+ "sm",
1218
+ "md",
1219
+ "lg"
1220
+ ]
1221
+ },
1222
+ "mainColor": {
1223
+ "type": "string",
1224
+ "pattern": "^#[\\s\\S]{0,}$"
1225
+ },
1226
+ "secondaryColor": {
1227
+ "type": "array",
1228
+ "prefixItems": [
1229
+ {
1230
+ "type": "string",
1231
+ "pattern": "^#[\\s\\S]{0,}$"
1232
+ },
1233
+ {
1234
+ "type": "string",
1235
+ "pattern": "^#[\\s\\S]{0,}$"
1236
+ },
1237
+ {
1238
+ "type": "string",
1239
+ "pattern": "^#[\\s\\S]{0,}$"
1240
+ },
1241
+ {
1242
+ "type": "string",
1243
+ "pattern": "^#[\\s\\S]{0,}$"
1244
+ }
1245
+ ]
1246
+ },
1247
+ "backgroundColor": {
1248
+ "type": "string",
1249
+ "pattern": "^#[\\s\\S]{0,}$"
1250
+ },
1251
+ "fontFamily": {
1252
+ "type": "string"
1253
+ }
1254
+ },
1255
+ "required": [
1256
+ "corners",
1257
+ "mainColor",
1258
+ "secondaryColor",
1259
+ "backgroundColor",
1260
+ "fontFamily"
1261
+ ],
1262
+ "additionalProperties": false
1263
+ },
1264
+ "version": {
1265
+ "type": "number",
1266
+ "const": 1
1267
+ },
1268
+ "usedFonts": {
1269
+ "type": "array",
1270
+ "items": {
1506
1271
  "type": "string"
1507
1272
  }
1508
1273
  },
1509
- "required": [
1510
- "ref"
1511
- ],
1512
- "additionalProperties": false
1513
- }
1514
- ]
1515
- },
1516
- "trafficWeight": {
1517
- "type": "number"
1518
- }
1274
+ "type": {
1275
+ "type": "string",
1276
+ "const": "mobile_popup"
1277
+ },
1278
+ "display": {
1279
+ "type": "object",
1280
+ "properties": {
1281
+ "border": {
1282
+ "type": "object",
1283
+ "properties": {
1284
+ "width": {
1285
+ "type": "number"
1286
+ },
1287
+ "color": {
1288
+ "type": "string",
1289
+ "pattern": "^#[\\s\\S]{0,}$"
1290
+ },
1291
+ "style": {
1292
+ "type": "string",
1293
+ "enum": [
1294
+ "none",
1295
+ "solid",
1296
+ "dashed",
1297
+ "dotted"
1298
+ ]
1299
+ },
1300
+ "sides": {
1301
+ "type": "string",
1302
+ "enum": [
1303
+ "all",
1304
+ "top",
1305
+ "right",
1306
+ "bottom",
1307
+ "left"
1308
+ ]
1309
+ },
1310
+ "useTheme": {
1311
+ "type": "boolean"
1312
+ },
1313
+ "radius": {
1314
+ "type": "number"
1315
+ }
1316
+ },
1317
+ "required": [
1318
+ "width",
1319
+ "color",
1320
+ "style"
1321
+ ],
1322
+ "additionalProperties": false
1323
+ },
1324
+ "shadow": {
1325
+ "type": "object",
1326
+ "properties": {
1327
+ "offsetX": {
1328
+ "type": "number"
1329
+ },
1330
+ "offsetY": {
1331
+ "type": "number"
1332
+ },
1333
+ "blur": {
1334
+ "type": "number"
1335
+ },
1336
+ "spread": {
1337
+ "type": "number"
1338
+ },
1339
+ "color": {
1340
+ "type": "string"
1341
+ },
1342
+ "raw": {
1343
+ "type": "string"
1344
+ }
1345
+ },
1346
+ "required": [
1347
+ "offsetX",
1348
+ "offsetY",
1349
+ "blur",
1350
+ "spread",
1351
+ "color"
1352
+ ],
1353
+ "additionalProperties": false
1354
+ },
1355
+ "closeIcon": {
1356
+ "type": "object",
1357
+ "properties": {
1358
+ "color": {
1359
+ "type": "string"
1360
+ },
1361
+ "size": {
1362
+ "type": "number"
1363
+ },
1364
+ "padding": {
1365
+ "type": "object",
1366
+ "properties": {
1367
+ "left": {
1368
+ "type": "number"
1369
+ },
1370
+ "right": {
1371
+ "type": "number"
1372
+ },
1373
+ "top": {
1374
+ "type": "number"
1375
+ },
1376
+ "bottom": {
1377
+ "type": "number"
1378
+ },
1379
+ "independent": {
1380
+ "type": "boolean"
1381
+ }
1382
+ },
1383
+ "required": [
1384
+ "left",
1385
+ "right",
1386
+ "top",
1387
+ "bottom",
1388
+ "independent"
1389
+ ],
1390
+ "additionalProperties": false
1391
+ },
1392
+ "position": {
1393
+ "type": "object",
1394
+ "properties": {
1395
+ "top": {
1396
+ "type": "number"
1397
+ },
1398
+ "right": {
1399
+ "type": "number"
1400
+ }
1401
+ },
1402
+ "required": [
1403
+ "top",
1404
+ "right"
1405
+ ],
1406
+ "additionalProperties": false
1407
+ },
1408
+ "visibilityDelay": {
1409
+ "type": "number"
1410
+ },
1411
+ "closeOnEscape": {
1412
+ "type": "boolean"
1413
+ }
1414
+ },
1415
+ "required": [
1416
+ "color",
1417
+ "size",
1418
+ "padding"
1419
+ ],
1420
+ "additionalProperties": false
1421
+ },
1422
+ "teaser": {
1423
+ "type": "object",
1424
+ "properties": {
1425
+ "text": {
1426
+ "type": "string"
1427
+ },
1428
+ "backgroundColor": {
1429
+ "type": "string"
1430
+ },
1431
+ "textColor": {
1432
+ "type": "string"
1433
+ }
1434
+ },
1435
+ "required": [
1436
+ "text",
1437
+ "backgroundColor",
1438
+ "textColor"
1439
+ ],
1440
+ "additionalProperties": false
1441
+ }
1442
+ },
1443
+ "required": [
1444
+ "border",
1445
+ "closeIcon"
1446
+ ],
1447
+ "additionalProperties": false
1448
+ }
1449
+ },
1450
+ "required": [
1451
+ "language",
1452
+ "steps",
1453
+ "theme",
1454
+ "version",
1455
+ "usedFonts",
1456
+ "type",
1457
+ "display"
1458
+ ],
1459
+ "additionalProperties": false
1460
+ }
1461
+ ]
1519
1462
  },
1520
- "required": [
1521
- "id",
1522
- "name",
1523
- "definition"
1524
- ],
1525
- "additionalProperties": false
1526
- }
1463
+ {
1464
+ "type": "object",
1465
+ "properties": {
1466
+ "ref": {
1467
+ "type": "string"
1468
+ }
1469
+ },
1470
+ "required": [
1471
+ "ref"
1472
+ ],
1473
+ "additionalProperties": false
1474
+ }
1475
+ ]
1476
+ },
1477
+ "trafficWeight": {
1478
+ "type": "number"
1527
1479
  }
1528
1480
  },
1529
1481
  "required": [
1530
1482
  "id",
1531
- "trigger",
1532
- "variants"
1483
+ "name",
1484
+ "definition"
1533
1485
  ],
1534
1486
  "additionalProperties": false
1535
1487
  }
@@ -1537,9 +1489,8 @@
1537
1489
  },
1538
1490
  "required": [
1539
1491
  "id",
1540
- "name",
1541
- "version",
1542
- "items"
1492
+ "trigger",
1493
+ "variants"
1543
1494
  ],
1544
1495
  "additionalProperties": false,
1545
1496
  "$defs": {
@@ -1623,6 +1574,9 @@
1623
1574
  },
1624
1575
  "useTheme": {
1625
1576
  "type": "boolean"
1577
+ },
1578
+ "radius": {
1579
+ "type": "number"
1626
1580
  }
1627
1581
  },
1628
1582
  "required": [
@@ -1779,77 +1733,415 @@
1779
1733
  "bold"
1780
1734
  ]
1781
1735
  },
1782
- "fontStyle": {
1783
- "type": "string",
1784
- "enum": [
1785
- "normal",
1786
- "italic"
1787
- ]
1736
+ "fontStyle": {
1737
+ "type": "string",
1738
+ "enum": [
1739
+ "normal",
1740
+ "italic"
1741
+ ]
1742
+ },
1743
+ "hover": {
1744
+ "type": "object",
1745
+ "properties": {
1746
+ "backgroundColor": {
1747
+ "type": "string"
1748
+ },
1749
+ "fontColor": {
1750
+ "type": "string"
1751
+ }
1752
+ },
1753
+ "additionalProperties": false
1754
+ },
1755
+ "countAsConversion": {
1756
+ "type": "boolean"
1757
+ },
1758
+ "width": {
1759
+ "anyOf": [
1760
+ {
1761
+ "type": "string",
1762
+ "const": "full"
1763
+ },
1764
+ {
1765
+ "type": "string",
1766
+ "const": "auto"
1767
+ },
1768
+ {
1769
+ "type": "object",
1770
+ "properties": {
1771
+ "unit": {
1772
+ "type": "string",
1773
+ "enum": [
1774
+ "px",
1775
+ "%"
1776
+ ]
1777
+ },
1778
+ "value": {
1779
+ "type": "number"
1780
+ }
1781
+ },
1782
+ "required": [
1783
+ "unit",
1784
+ "value"
1785
+ ],
1786
+ "additionalProperties": false
1787
+ }
1788
+ ]
1789
+ },
1790
+ "height": {
1791
+ "type": "number"
1792
+ },
1793
+ "align": {
1794
+ "type": "string",
1795
+ "enum": [
1796
+ "left",
1797
+ "center",
1798
+ "right"
1799
+ ]
1800
+ }
1801
+ },
1802
+ "required": [
1803
+ "hideOnMobile",
1804
+ "hideOnDesktop",
1805
+ "text",
1806
+ "action"
1807
+ ],
1808
+ "additionalProperties": false
1809
+ }
1810
+ },
1811
+ "required": [
1812
+ "id",
1813
+ "type",
1814
+ "properties"
1815
+ ],
1816
+ "additionalProperties": false
1817
+ },
1818
+ {
1819
+ "type": "object",
1820
+ "properties": {
1821
+ "id": {
1822
+ "type": "string"
1823
+ },
1824
+ "type": {
1825
+ "type": "string",
1826
+ "const": "text"
1827
+ },
1828
+ "properties": {
1829
+ "type": "object",
1830
+ "properties": {
1831
+ "hideOnMobile": {
1832
+ "type": "boolean"
1833
+ },
1834
+ "hideOnDesktop": {
1835
+ "type": "boolean"
1836
+ },
1837
+ "padding": {
1838
+ "type": "object",
1839
+ "properties": {
1840
+ "left": {
1841
+ "type": "number"
1842
+ },
1843
+ "right": {
1844
+ "type": "number"
1845
+ },
1846
+ "top": {
1847
+ "type": "number"
1848
+ },
1849
+ "bottom": {
1850
+ "type": "number"
1851
+ },
1852
+ "independent": {
1853
+ "type": "boolean"
1854
+ }
1855
+ },
1856
+ "required": [
1857
+ "left",
1858
+ "right",
1859
+ "top",
1860
+ "bottom",
1861
+ "independent"
1862
+ ],
1863
+ "additionalProperties": false
1864
+ },
1865
+ "border": {
1866
+ "type": "object",
1867
+ "properties": {
1868
+ "width": {
1869
+ "type": "number"
1870
+ },
1871
+ "color": {
1872
+ "type": "string",
1873
+ "pattern": "^#[\\s\\S]{0,}$"
1874
+ },
1875
+ "style": {
1876
+ "type": "string",
1877
+ "enum": [
1878
+ "none",
1879
+ "solid",
1880
+ "dashed",
1881
+ "dotted"
1882
+ ]
1883
+ },
1884
+ "sides": {
1885
+ "type": "string",
1886
+ "enum": [
1887
+ "all",
1888
+ "top",
1889
+ "right",
1890
+ "bottom",
1891
+ "left"
1892
+ ]
1893
+ },
1894
+ "useTheme": {
1895
+ "type": "boolean"
1896
+ },
1897
+ "radius": {
1898
+ "type": "number"
1899
+ }
1900
+ },
1901
+ "required": [
1902
+ "width",
1903
+ "color",
1904
+ "style"
1905
+ ],
1906
+ "additionalProperties": false
1907
+ },
1908
+ "backgroundColor": {
1909
+ "type": "string"
1910
+ },
1911
+ "margin": {
1912
+ "type": "object",
1913
+ "properties": {
1914
+ "left": {
1915
+ "type": "number"
1916
+ },
1917
+ "right": {
1918
+ "type": "number"
1919
+ },
1920
+ "top": {
1921
+ "type": "number"
1922
+ },
1923
+ "bottom": {
1924
+ "type": "number"
1925
+ },
1926
+ "independent": {
1927
+ "type": "boolean"
1928
+ }
1929
+ },
1930
+ "required": [
1931
+ "left",
1932
+ "right",
1933
+ "top",
1934
+ "bottom",
1935
+ "independent"
1936
+ ],
1937
+ "additionalProperties": false
1938
+ },
1939
+ "text": {
1940
+ "type": "string"
1941
+ },
1942
+ "color": {
1943
+ "type": "string"
1944
+ },
1945
+ "fontFamily": {
1946
+ "type": "string"
1947
+ },
1948
+ "rotation": {
1949
+ "type": "number"
1950
+ },
1951
+ "textShadow": {
1952
+ "type": "object",
1953
+ "properties": {
1954
+ "offsetX": {
1955
+ "type": "number"
1956
+ },
1957
+ "offsetY": {
1958
+ "type": "number"
1959
+ },
1960
+ "blur": {
1961
+ "type": "number"
1962
+ },
1963
+ "color": {
1964
+ "type": "string"
1965
+ }
1966
+ },
1967
+ "required": [
1968
+ "offsetX",
1969
+ "offsetY",
1970
+ "blur",
1971
+ "color"
1972
+ ],
1973
+ "additionalProperties": false
1974
+ }
1975
+ },
1976
+ "required": [
1977
+ "hideOnMobile",
1978
+ "hideOnDesktop",
1979
+ "text",
1980
+ "color"
1981
+ ],
1982
+ "additionalProperties": false
1983
+ }
1984
+ },
1985
+ "required": [
1986
+ "id",
1987
+ "type",
1988
+ "properties"
1989
+ ],
1990
+ "additionalProperties": false
1991
+ },
1992
+ {
1993
+ "type": "object",
1994
+ "properties": {
1995
+ "id": {
1996
+ "type": "string"
1997
+ },
1998
+ "type": {
1999
+ "type": "string",
2000
+ "const": "text_input"
2001
+ },
2002
+ "properties": {
2003
+ "type": "object",
2004
+ "properties": {
2005
+ "hideOnMobile": {
2006
+ "type": "boolean"
2007
+ },
2008
+ "hideOnDesktop": {
2009
+ "type": "boolean"
1788
2010
  },
1789
- "hover": {
2011
+ "padding": {
1790
2012
  "type": "object",
1791
2013
  "properties": {
1792
- "backgroundColor": {
1793
- "type": "string"
2014
+ "left": {
2015
+ "type": "number"
1794
2016
  },
1795
- "fontColor": {
1796
- "type": "string"
2017
+ "right": {
2018
+ "type": "number"
2019
+ },
2020
+ "top": {
2021
+ "type": "number"
2022
+ },
2023
+ "bottom": {
2024
+ "type": "number"
2025
+ },
2026
+ "independent": {
2027
+ "type": "boolean"
1797
2028
  }
1798
2029
  },
2030
+ "required": [
2031
+ "left",
2032
+ "right",
2033
+ "top",
2034
+ "bottom",
2035
+ "independent"
2036
+ ],
1799
2037
  "additionalProperties": false
1800
2038
  },
1801
- "countAsConversion": {
1802
- "type": "boolean"
1803
- },
1804
- "width": {
1805
- "anyOf": [
1806
- {
2039
+ "border": {
2040
+ "type": "object",
2041
+ "properties": {
2042
+ "width": {
2043
+ "type": "number"
2044
+ },
2045
+ "color": {
1807
2046
  "type": "string",
1808
- "const": "full"
2047
+ "pattern": "^#[\\s\\S]{0,}$"
1809
2048
  },
1810
- {
2049
+ "style": {
1811
2050
  "type": "string",
1812
- "const": "auto"
2051
+ "enum": [
2052
+ "none",
2053
+ "solid",
2054
+ "dashed",
2055
+ "dotted"
2056
+ ]
1813
2057
  },
1814
- {
1815
- "type": "object",
1816
- "properties": {
1817
- "unit": {
1818
- "type": "string",
1819
- "enum": [
1820
- "px",
1821
- "%"
1822
- ]
1823
- },
1824
- "value": {
1825
- "type": "number"
1826
- }
1827
- },
1828
- "required": [
1829
- "unit",
1830
- "value"
1831
- ],
1832
- "additionalProperties": false
2058
+ "sides": {
2059
+ "type": "string",
2060
+ "enum": [
2061
+ "all",
2062
+ "top",
2063
+ "right",
2064
+ "bottom",
2065
+ "left"
2066
+ ]
2067
+ },
2068
+ "useTheme": {
2069
+ "type": "boolean"
2070
+ },
2071
+ "radius": {
2072
+ "type": "number"
1833
2073
  }
1834
- ]
2074
+ },
2075
+ "required": [
2076
+ "width",
2077
+ "color",
2078
+ "style"
2079
+ ],
2080
+ "additionalProperties": false
1835
2081
  },
1836
- "height": {
1837
- "type": "number"
2082
+ "backgroundColor": {
2083
+ "type": "string"
1838
2084
  },
1839
- "align": {
2085
+ "margin": {
2086
+ "type": "object",
2087
+ "properties": {
2088
+ "left": {
2089
+ "type": "number"
2090
+ },
2091
+ "right": {
2092
+ "type": "number"
2093
+ },
2094
+ "top": {
2095
+ "type": "number"
2096
+ },
2097
+ "bottom": {
2098
+ "type": "number"
2099
+ },
2100
+ "independent": {
2101
+ "type": "boolean"
2102
+ }
2103
+ },
2104
+ "required": [
2105
+ "left",
2106
+ "right",
2107
+ "top",
2108
+ "bottom",
2109
+ "independent"
2110
+ ],
2111
+ "additionalProperties": false
2112
+ },
2113
+ "type": {
1840
2114
  "type": "string",
1841
2115
  "enum": [
1842
- "left",
1843
- "center",
1844
- "right"
2116
+ "text",
2117
+ "email",
2118
+ "telephone",
2119
+ "number",
2120
+ "date",
2121
+ "url"
1845
2122
  ]
2123
+ },
2124
+ "name": {
2125
+ "type": "string"
2126
+ },
2127
+ "label": {
2128
+ "type": "string"
2129
+ },
2130
+ "placeholder": {
2131
+ "type": "string"
2132
+ },
2133
+ "labelColor": {
2134
+ "type": "string",
2135
+ "pattern": "^#[\\s\\S]{0,}$"
1846
2136
  }
1847
2137
  },
1848
2138
  "required": [
1849
2139
  "hideOnMobile",
1850
2140
  "hideOnDesktop",
1851
- "text",
1852
- "action"
2141
+ "type",
2142
+ "name",
2143
+ "label",
2144
+ "placeholder"
1853
2145
  ],
1854
2146
  "additionalProperties": false
1855
2147
  }
@@ -1869,7 +2161,7 @@
1869
2161
  },
1870
2162
  "type": {
1871
2163
  "type": "string",
1872
- "const": "text"
2164
+ "const": "image"
1873
2165
  },
1874
2166
  "properties": {
1875
2167
  "type": "object",
@@ -1939,6 +2231,9 @@
1939
2231
  },
1940
2232
  "useTheme": {
1941
2233
  "type": "boolean"
2234
+ },
2235
+ "radius": {
2236
+ "type": "number"
1942
2237
  }
1943
2238
  },
1944
2239
  "required": [
@@ -1979,48 +2274,79 @@
1979
2274
  ],
1980
2275
  "additionalProperties": false
1981
2276
  },
1982
- "text": {
1983
- "type": "string"
1984
- },
1985
- "color": {
2277
+ "src": {
1986
2278
  "type": "string"
1987
2279
  },
1988
- "fontFamily": {
2280
+ "alt": {
1989
2281
  "type": "string"
1990
2282
  },
1991
- "rotation": {
1992
- "type": "number"
1993
- },
1994
- "textShadow": {
2283
+ "link": {
1995
2284
  "type": "object",
1996
2285
  "properties": {
1997
- "offsetX": {
1998
- "type": "number"
1999
- },
2000
- "offsetY": {
2001
- "type": "number"
2002
- },
2003
- "blur": {
2004
- "type": "number"
2005
- },
2006
- "color": {
2286
+ "url": {
2007
2287
  "type": "string"
2288
+ },
2289
+ "openInNewTab": {
2290
+ "type": "boolean"
2008
2291
  }
2009
2292
  },
2010
2293
  "required": [
2011
- "offsetX",
2012
- "offsetY",
2013
- "blur",
2014
- "color"
2294
+ "url"
2015
2295
  ],
2016
2296
  "additionalProperties": false
2297
+ },
2298
+ "width": {
2299
+ "anyOf": [
2300
+ {
2301
+ "type": "string",
2302
+ "const": "full"
2303
+ },
2304
+ {
2305
+ "type": "object",
2306
+ "properties": {
2307
+ "unit": {
2308
+ "type": "string",
2309
+ "enum": [
2310
+ "px",
2311
+ "%"
2312
+ ]
2313
+ },
2314
+ "value": {
2315
+ "type": "number"
2316
+ }
2317
+ },
2318
+ "required": [
2319
+ "unit",
2320
+ "value"
2321
+ ],
2322
+ "additionalProperties": false
2323
+ }
2324
+ ]
2325
+ },
2326
+ "align": {
2327
+ "type": "string",
2328
+ "enum": [
2329
+ "left",
2330
+ "center",
2331
+ "right"
2332
+ ]
2333
+ },
2334
+ "objectFit": {
2335
+ "type": "string",
2336
+ "enum": [
2337
+ "cover",
2338
+ "contain",
2339
+ "fill"
2340
+ ]
2341
+ },
2342
+ "objectPosition": {
2343
+ "type": "string"
2017
2344
  }
2018
2345
  },
2019
2346
  "required": [
2020
2347
  "hideOnMobile",
2021
2348
  "hideOnDesktop",
2022
- "text",
2023
- "color"
2349
+ "src"
2024
2350
  ],
2025
2351
  "additionalProperties": false
2026
2352
  }
@@ -2040,7 +2366,7 @@
2040
2366
  },
2041
2367
  "type": {
2042
2368
  "type": "string",
2043
- "const": "text_input"
2369
+ "const": "floating_image"
2044
2370
  },
2045
2371
  "properties": {
2046
2372
  "type": "object",
@@ -2110,6 +2436,9 @@
2110
2436
  },
2111
2437
  "useTheme": {
2112
2438
  "type": "boolean"
2439
+ },
2440
+ "radius": {
2441
+ "type": "number"
2113
2442
  }
2114
2443
  },
2115
2444
  "required": [
@@ -2150,38 +2479,68 @@
2150
2479
  ],
2151
2480
  "additionalProperties": false
2152
2481
  },
2153
- "type": {
2482
+ "src": {
2483
+ "type": "string"
2484
+ },
2485
+ "alt": {
2486
+ "type": "string"
2487
+ },
2488
+ "link": {
2489
+ "type": "object",
2490
+ "properties": {
2491
+ "url": {
2492
+ "type": "string"
2493
+ },
2494
+ "openInNewTab": {
2495
+ "type": "boolean"
2496
+ }
2497
+ },
2498
+ "required": [
2499
+ "url"
2500
+ ],
2501
+ "additionalProperties": false
2502
+ },
2503
+ "objectFit": {
2154
2504
  "type": "string",
2155
2505
  "enum": [
2156
- "text",
2157
- "email",
2158
- "telephone",
2159
- "number",
2160
- "date",
2161
- "url"
2506
+ "cover",
2507
+ "contain",
2508
+ "fill"
2162
2509
  ]
2163
2510
  },
2164
- "name": {
2511
+ "objectPosition": {
2165
2512
  "type": "string"
2166
2513
  },
2167
- "label": {
2168
- "type": "string"
2514
+ "position": {
2515
+ "type": "object",
2516
+ "properties": {
2517
+ "x": {
2518
+ "type": "number"
2519
+ },
2520
+ "y": {
2521
+ "type": "number"
2522
+ }
2523
+ },
2524
+ "required": [
2525
+ "x",
2526
+ "y"
2527
+ ],
2528
+ "additionalProperties": false
2169
2529
  },
2170
- "placeholder": {
2171
- "type": "string"
2530
+ "width": {
2531
+ "type": "number"
2172
2532
  },
2173
- "labelColor": {
2174
- "type": "string",
2175
- "pattern": "^#[\\s\\S]{0,}$"
2533
+ "height": {
2534
+ "type": "number"
2176
2535
  }
2177
2536
  },
2178
2537
  "required": [
2179
2538
  "hideOnMobile",
2180
2539
  "hideOnDesktop",
2181
- "type",
2182
- "name",
2183
- "label",
2184
- "placeholder"
2540
+ "src",
2541
+ "position",
2542
+ "width",
2543
+ "height"
2185
2544
  ],
2186
2545
  "additionalProperties": false
2187
2546
  }
@@ -2201,7 +2560,7 @@
2201
2560
  },
2202
2561
  "type": {
2203
2562
  "type": "string",
2204
- "const": "image"
2563
+ "const": "gif"
2205
2564
  },
2206
2565
  "properties": {
2207
2566
  "type": "object",
@@ -2271,6 +2630,9 @@
2271
2630
  },
2272
2631
  "useTheme": {
2273
2632
  "type": "boolean"
2633
+ },
2634
+ "radius": {
2635
+ "type": "number"
2274
2636
  }
2275
2637
  },
2276
2638
  "required": [
@@ -2314,6 +2676,9 @@
2314
2676
  "src": {
2315
2677
  "type": "string"
2316
2678
  },
2679
+ "alt": {
2680
+ "type": "string"
2681
+ },
2317
2682
  "link": {
2318
2683
  "type": "object",
2319
2684
  "properties": {
@@ -2330,24 +2695,32 @@
2330
2695
  "additionalProperties": false
2331
2696
  },
2332
2697
  "width": {
2333
- "type": "object",
2334
- "properties": {
2335
- "unit": {
2698
+ "anyOf": [
2699
+ {
2336
2700
  "type": "string",
2337
- "enum": [
2338
- "px",
2339
- "%"
2340
- ]
2701
+ "const": "full"
2341
2702
  },
2342
- "value": {
2343
- "type": "number"
2703
+ {
2704
+ "type": "object",
2705
+ "properties": {
2706
+ "unit": {
2707
+ "type": "string",
2708
+ "enum": [
2709
+ "px",
2710
+ "%"
2711
+ ]
2712
+ },
2713
+ "value": {
2714
+ "type": "number"
2715
+ }
2716
+ },
2717
+ "required": [
2718
+ "unit",
2719
+ "value"
2720
+ ],
2721
+ "additionalProperties": false
2344
2722
  }
2345
- },
2346
- "required": [
2347
- "unit",
2348
- "value"
2349
- ],
2350
- "additionalProperties": false
2723
+ ]
2351
2724
  },
2352
2725
  "align": {
2353
2726
  "type": "string",
@@ -2462,6 +2835,9 @@
2462
2835
  },
2463
2836
  "useTheme": {
2464
2837
  "type": "boolean"
2838
+ },
2839
+ "radius": {
2840
+ "type": "number"
2465
2841
  }
2466
2842
  },
2467
2843
  "required": [
@@ -2588,6 +2964,27 @@
2588
2964
  },
2589
2965
  "required": {
2590
2966
  "type": "boolean"
2967
+ },
2968
+ "accentColor": {
2969
+ "type": "string"
2970
+ },
2971
+ "labelColor": {
2972
+ "type": "string"
2973
+ },
2974
+ "shape": {
2975
+ "type": "string",
2976
+ "enum": [
2977
+ "square",
2978
+ "rounded",
2979
+ "pill"
2980
+ ]
2981
+ },
2982
+ "layout": {
2983
+ "type": "string",
2984
+ "enum": [
2985
+ "vertical",
2986
+ "horizontal"
2987
+ ]
2591
2988
  }
2592
2989
  },
2593
2990
  "required": [
@@ -2685,6 +3082,9 @@
2685
3082
  },
2686
3083
  "useTheme": {
2687
3084
  "type": "boolean"
3085
+ },
3086
+ "radius": {
3087
+ "type": "number"
2688
3088
  }
2689
3089
  },
2690
3090
  "required": [
@@ -2811,6 +3211,26 @@
2811
3211
  },
2812
3212
  "required": {
2813
3213
  "type": "boolean"
3214
+ },
3215
+ "accentColor": {
3216
+ "type": "string"
3217
+ },
3218
+ "labelColor": {
3219
+ "type": "string"
3220
+ },
3221
+ "style": {
3222
+ "type": "string",
3223
+ "enum": [
3224
+ "outline",
3225
+ "filled"
3226
+ ]
3227
+ },
3228
+ "layout": {
3229
+ "type": "string",
3230
+ "enum": [
3231
+ "vertical",
3232
+ "horizontal"
3233
+ ]
2814
3234
  }
2815
3235
  },
2816
3236
  "required": [
@@ -2908,6 +3328,9 @@
2908
3328
  },
2909
3329
  "useTheme": {
2910
3330
  "type": "boolean"
3331
+ },
3332
+ "radius": {
3333
+ "type": "number"
2911
3334
  }
2912
3335
  },
2913
3336
  "required": [
@@ -3037,6 +3460,26 @@
3037
3460
  },
3038
3461
  "placeholder": {
3039
3462
  "type": "string"
3463
+ },
3464
+ "labelColor": {
3465
+ "type": "string"
3466
+ },
3467
+ "controlTextColor": {
3468
+ "type": "string"
3469
+ },
3470
+ "controlBackgroundColor": {
3471
+ "type": "string"
3472
+ },
3473
+ "controlBorderColor": {
3474
+ "type": "string"
3475
+ },
3476
+ "controlRadius": {
3477
+ "type": "string",
3478
+ "enum": [
3479
+ "square",
3480
+ "rounded",
3481
+ "pill"
3482
+ ]
3040
3483
  }
3041
3484
  },
3042
3485
  "required": [
@@ -3137,6 +3580,9 @@
3137
3580
  },
3138
3581
  "useTheme": {
3139
3582
  "type": "boolean"
3583
+ },
3584
+ "radius": {
3585
+ "type": "number"
3140
3586
  }
3141
3587
  },
3142
3588
  "required": [
@@ -3177,6 +3623,38 @@
3177
3623
  ],
3178
3624
  "additionalProperties": false
3179
3625
  },
3626
+ "width": {
3627
+ "anyOf": [
3628
+ {
3629
+ "type": "string",
3630
+ "const": "full"
3631
+ },
3632
+ {
3633
+ "type": "string",
3634
+ "const": "auto"
3635
+ },
3636
+ {
3637
+ "type": "object",
3638
+ "properties": {
3639
+ "unit": {
3640
+ "type": "string",
3641
+ "enum": [
3642
+ "px",
3643
+ "%"
3644
+ ]
3645
+ },
3646
+ "value": {
3647
+ "type": "number"
3648
+ }
3649
+ },
3650
+ "required": [
3651
+ "unit",
3652
+ "value"
3653
+ ],
3654
+ "additionalProperties": false
3655
+ }
3656
+ ]
3657
+ },
3180
3658
  "block_type": {
3181
3659
  "type": "string",
3182
3660
  "const": "single_column"
@@ -3262,6 +3740,9 @@
3262
3740
  },
3263
3741
  "useTheme": {
3264
3742
  "type": "boolean"
3743
+ },
3744
+ "radius": {
3745
+ "type": "number"
3265
3746
  }
3266
3747
  },
3267
3748
  "required": [
@@ -3407,6 +3888,9 @@
3407
3888
  },
3408
3889
  "useTheme": {
3409
3890
  "type": "boolean"
3891
+ },
3892
+ "radius": {
3893
+ "type": "number"
3410
3894
  }
3411
3895
  },
3412
3896
  "required": [
@@ -3447,6 +3931,38 @@
3447
3931
  ],
3448
3932
  "additionalProperties": false
3449
3933
  },
3934
+ "width": {
3935
+ "anyOf": [
3936
+ {
3937
+ "type": "string",
3938
+ "const": "full"
3939
+ },
3940
+ {
3941
+ "type": "string",
3942
+ "const": "auto"
3943
+ },
3944
+ {
3945
+ "type": "object",
3946
+ "properties": {
3947
+ "unit": {
3948
+ "type": "string",
3949
+ "enum": [
3950
+ "px",
3951
+ "%"
3952
+ ]
3953
+ },
3954
+ "value": {
3955
+ "type": "number"
3956
+ }
3957
+ },
3958
+ "required": [
3959
+ "unit",
3960
+ "value"
3961
+ ],
3962
+ "additionalProperties": false
3963
+ }
3964
+ ]
3965
+ },
3450
3966
  "block_type": {
3451
3967
  "type": "string",
3452
3968
  "const": "double_column"
@@ -3532,6 +4048,9 @@
3532
4048
  },
3533
4049
  "useTheme": {
3534
4050
  "type": "boolean"
4051
+ },
4052
+ "radius": {
4053
+ "type": "number"
3535
4054
  }
3536
4055
  },
3537
4056
  "required": [
@@ -3676,6 +4195,9 @@
3676
4195
  },
3677
4196
  "useTheme": {
3678
4197
  "type": "boolean"
4198
+ },
4199
+ "radius": {
4200
+ "type": "number"
3679
4201
  }
3680
4202
  },
3681
4203
  "required": [
@@ -3821,6 +4343,9 @@
3821
4343
  },
3822
4344
  "useTheme": {
3823
4345
  "type": "boolean"
4346
+ },
4347
+ "radius": {
4348
+ "type": "number"
3824
4349
  }
3825
4350
  },
3826
4351
  "required": [
@@ -3861,6 +4386,38 @@
3861
4386
  ],
3862
4387
  "additionalProperties": false
3863
4388
  },
4389
+ "width": {
4390
+ "anyOf": [
4391
+ {
4392
+ "type": "string",
4393
+ "const": "full"
4394
+ },
4395
+ {
4396
+ "type": "string",
4397
+ "const": "auto"
4398
+ },
4399
+ {
4400
+ "type": "object",
4401
+ "properties": {
4402
+ "unit": {
4403
+ "type": "string",
4404
+ "enum": [
4405
+ "px",
4406
+ "%"
4407
+ ]
4408
+ },
4409
+ "value": {
4410
+ "type": "number"
4411
+ }
4412
+ },
4413
+ "required": [
4414
+ "unit",
4415
+ "value"
4416
+ ],
4417
+ "additionalProperties": false
4418
+ }
4419
+ ]
4420
+ },
3864
4421
  "block_type": {
3865
4422
  "type": "string",
3866
4423
  "const": "triple_column"
@@ -3946,6 +4503,9 @@
3946
4503
  },
3947
4504
  "useTheme": {
3948
4505
  "type": "boolean"
4506
+ },
4507
+ "radius": {
4508
+ "type": "number"
3949
4509
  }
3950
4510
  },
3951
4511
  "required": [
@@ -4090,6 +4650,9 @@
4090
4650
  },
4091
4651
  "useTheme": {
4092
4652
  "type": "boolean"
4653
+ },
4654
+ "radius": {
4655
+ "type": "number"
4093
4656
  }
4094
4657
  },
4095
4658
  "required": [
@@ -4234,6 +4797,9 @@
4234
4797
  },
4235
4798
  "useTheme": {
4236
4799
  "type": "boolean"
4800
+ },
4801
+ "radius": {
4802
+ "type": "number"
4237
4803
  }
4238
4804
  },
4239
4805
  "required": [
@@ -4399,6 +4965,9 @@
4399
4965
  },
4400
4966
  "useTheme": {
4401
4967
  "type": "boolean"
4968
+ },
4969
+ "radius": {
4970
+ "type": "number"
4402
4971
  }
4403
4972
  },
4404
4973
  "required": [
@@ -4543,6 +5112,9 @@
4543
5112
  },
4544
5113
  "useTheme": {
4545
5114
  "type": "boolean"
5115
+ },
5116
+ "radius": {
5117
+ "type": "number"
4546
5118
  }
4547
5119
  },
4548
5120
  "required": [
@@ -4680,6 +5252,9 @@
4680
5252
  },
4681
5253
  "useTheme": {
4682
5254
  "type": "boolean"
5255
+ },
5256
+ "radius": {
5257
+ "type": "number"
4683
5258
  }
4684
5259
  },
4685
5260
  "required": [