@u-krupaveho-kraba/form-schemas 0.3.0 → 0.4.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.
@@ -1,1028 +1,2341 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "type": "object",
4
- "properties": {
5
- "id": {
6
- "type": "string"
7
- },
8
- "name": {
9
- "type": "string"
10
- },
11
- "targeting": {
3
+ "anyOf": [
4
+ {
12
5
  "type": "object",
13
6
  "properties": {
14
- "urlPatterns": {
15
- "type": "array",
16
- "items": {
17
- "type": "string"
18
- }
7
+ "id": {
8
+ "type": "string"
19
9
  },
20
- "schedule": {
21
- "type": "object",
22
- "properties": {
23
- "startsAt": {
24
- "type": "string"
25
- },
26
- "endsAt": {
27
- "type": "string"
28
- }
29
- },
30
- "additionalProperties": false
10
+ "name": {
11
+ "type": "string"
31
12
  },
32
- "frequency": {
13
+ "targeting": {
33
14
  "type": "object",
34
15
  "properties": {
35
- "minVisitCount": {
36
- "type": "number"
16
+ "urlPatterns": {
17
+ "type": "array",
18
+ "items": {
19
+ "type": "string"
20
+ }
37
21
  },
38
- "maxDisplays": {
39
- "type": "number"
22
+ "schedule": {
23
+ "type": "object",
24
+ "properties": {
25
+ "startsAt": {
26
+ "type": "string"
27
+ },
28
+ "endsAt": {
29
+ "type": "string"
30
+ }
31
+ },
32
+ "additionalProperties": false
40
33
  },
41
- "minHoursBetweenDisplays": {
42
- "type": "number"
43
- }
44
- },
45
- "additionalProperties": false
46
- }
47
- },
48
- "additionalProperties": false
49
- },
50
- "trigger": {
51
- "oneOf": [
52
- {
53
- "type": "object",
54
- "properties": {
55
- "type": {
56
- "type": "string",
57
- "const": "immediate"
34
+ "frequency": {
35
+ "type": "object",
36
+ "properties": {
37
+ "minVisitCount": {
38
+ "type": "number"
39
+ },
40
+ "maxDisplays": {
41
+ "type": "number"
42
+ },
43
+ "minHoursBetweenDisplays": {
44
+ "type": "number"
45
+ }
46
+ },
47
+ "additionalProperties": false
58
48
  }
59
49
  },
60
- "required": [
61
- "type"
62
- ],
63
50
  "additionalProperties": false
64
51
  },
65
- {
66
- "type": "object",
67
- "properties": {
68
- "type": {
69
- "type": "string",
70
- "const": "delay"
52
+ "trigger": {
53
+ "oneOf": [
54
+ {
55
+ "type": "object",
56
+ "properties": {
57
+ "type": {
58
+ "type": "string",
59
+ "const": "immediate"
60
+ }
61
+ },
62
+ "required": [
63
+ "type"
64
+ ],
65
+ "additionalProperties": false
71
66
  },
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"
67
+ {
68
+ "type": "object",
69
+ "properties": {
70
+ "type": {
71
+ "type": "string",
72
+ "const": "delay"
73
+ },
74
+ "seconds": {
75
+ "type": "number"
76
+ }
77
+ },
78
+ "required": [
79
+ "type",
80
+ "seconds"
81
+ ],
82
+ "additionalProperties": false
83
+ },
84
+ {
85
+ "type": "object",
86
+ "properties": {
87
+ "type": {
88
+ "type": "string",
89
+ "const": "scroll_depth"
90
+ },
91
+ "percent": {
92
+ "type": "number"
93
+ }
94
+ },
95
+ "required": [
96
+ "type",
97
+ "percent"
98
+ ],
99
+ "additionalProperties": false
88
100
  },
89
- "percent": {
90
- "type": "number"
101
+ {
102
+ "type": "object",
103
+ "properties": {
104
+ "type": {
105
+ "type": "string",
106
+ "const": "exit_intent"
107
+ }
108
+ },
109
+ "required": [
110
+ "type"
111
+ ],
112
+ "additionalProperties": false
91
113
  }
92
- },
93
- "required": [
94
- "type",
95
- "percent"
96
- ],
97
- "additionalProperties": false
114
+ ]
98
115
  },
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": {
121
- "type": "array",
122
- "items": {
123
- "type": "object",
124
- "properties": {
125
- "id": {
126
- "type": "string"
127
- },
128
- "name": {
129
- "type": "string"
130
- },
131
- "definition": {
132
- "anyOf": [
133
- {
134
- "oneOf": [
116
+ "exclusiveWith": {
117
+ "type": "string"
118
+ },
119
+ "campaignId": {
120
+ "type": "string"
121
+ },
122
+ "variants": {
123
+ "type": "array",
124
+ "items": {
125
+ "type": "object",
126
+ "properties": {
127
+ "id": {
128
+ "type": "string"
129
+ },
130
+ "name": {
131
+ "type": "string"
132
+ },
133
+ "definition": {
134
+ "anyOf": [
135
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": {
148
- "type": "object",
149
- "properties": {
150
- "type": {
151
- "type": "string",
152
- "const": "step"
153
- },
154
- "name": {
155
- "type": "string"
156
- },
157
- "elements": {
158
- "type": "array",
159
- "items": {
160
- "$ref": "#/$defs/__schema0"
161
- }
162
- },
163
- "id": {
164
- "type": "string"
165
- },
166
- "displayProperties": {
136
+ "oneOf": [
137
+ {
138
+ "type": "object",
139
+ "properties": {
140
+ "language": {
141
+ "type": "string",
142
+ "enum": [
143
+ "cs",
144
+ "en"
145
+ ]
146
+ },
147
+ "steps": {
148
+ "type": "array",
149
+ "items": {
167
150
  "type": "object",
168
151
  "properties": {
169
- "padding": {
152
+ "type": {
153
+ "type": "string",
154
+ "const": "step"
155
+ },
156
+ "name": {
157
+ "type": "string"
158
+ },
159
+ "elements": {
160
+ "type": "array",
161
+ "items": {
162
+ "$ref": "#/$defs/__schema0"
163
+ }
164
+ },
165
+ "id": {
166
+ "type": "string"
167
+ },
168
+ "displayProperties": {
170
169
  "type": "object",
171
170
  "properties": {
172
- "left": {
173
- "type": "number"
174
- },
175
- "right": {
176
- "type": "number"
171
+ "padding": {
172
+ "type": "object",
173
+ "properties": {
174
+ "left": {
175
+ "type": "number"
176
+ },
177
+ "right": {
178
+ "type": "number"
179
+ },
180
+ "top": {
181
+ "type": "number"
182
+ },
183
+ "bottom": {
184
+ "type": "number"
185
+ },
186
+ "independent": {
187
+ "type": "boolean"
188
+ }
189
+ },
190
+ "required": [
191
+ "left",
192
+ "right",
193
+ "top",
194
+ "bottom",
195
+ "independent"
196
+ ],
197
+ "additionalProperties": false
177
198
  },
178
- "top": {
179
- "type": "number"
199
+ "backgroundColor": {
200
+ "type": "string",
201
+ "pattern": "^#[\\s\\S]{0,}$"
180
202
  },
181
- "bottom": {
203
+ "minHeight": {
182
204
  "type": "number"
183
- },
184
- "independent": {
185
- "type": "boolean"
186
205
  }
187
206
  },
188
207
  "required": [
189
- "left",
190
- "right",
191
- "top",
192
- "bottom",
193
- "independent"
208
+ "padding"
194
209
  ],
195
210
  "additionalProperties": false
196
211
  },
197
- "backgroundColor": {
212
+ "kind": {
198
213
  "type": "string",
199
- "pattern": "^#[\\s\\S]{0,}$"
200
- },
201
- "minHeight": {
202
- "type": "number"
214
+ "const": "thankYou"
203
215
  }
204
216
  },
205
217
  "required": [
206
- "padding"
218
+ "type",
219
+ "name",
220
+ "elements",
221
+ "id",
222
+ "displayProperties"
207
223
  ],
208
224
  "additionalProperties": false
209
225
  }
210
226
  },
211
- "required": [
212
- "type",
213
- "name",
214
- "elements",
215
- "id",
216
- "displayProperties"
217
- ],
218
- "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
- {
227
+ "theme": {
228
+ "type": "object",
229
+ "properties": {
230
+ "corners": {
241
231
  "type": "string",
242
- "pattern": "^#[\\s\\S]{0,}$"
232
+ "enum": [
233
+ "none",
234
+ "sm",
235
+ "md",
236
+ "lg"
237
+ ]
243
238
  },
244
- {
239
+ "mainColor": {
245
240
  "type": "string",
246
241
  "pattern": "^#[\\s\\S]{0,}$"
247
242
  },
248
- {
249
- "type": "string",
250
- "pattern": "^#[\\s\\S]{0,}$"
243
+ "secondaryColor": {
244
+ "type": "array",
245
+ "prefixItems": [
246
+ {
247
+ "type": "string",
248
+ "pattern": "^#[\\s\\S]{0,}$"
249
+ },
250
+ {
251
+ "type": "string",
252
+ "pattern": "^#[\\s\\S]{0,}$"
253
+ },
254
+ {
255
+ "type": "string",
256
+ "pattern": "^#[\\s\\S]{0,}$"
257
+ },
258
+ {
259
+ "type": "string",
260
+ "pattern": "^#[\\s\\S]{0,}$"
261
+ }
262
+ ],
263
+ "items": false,
264
+ "minItems": 4,
265
+ "maxItems": 4
251
266
  },
252
- {
267
+ "backgroundColor": {
253
268
  "type": "string",
254
269
  "pattern": "^#[\\s\\S]{0,}$"
270
+ },
271
+ "fontFamily": {
272
+ "type": "string"
255
273
  }
256
- ]
274
+ },
275
+ "required": [
276
+ "corners",
277
+ "mainColor",
278
+ "secondaryColor",
279
+ "backgroundColor",
280
+ "fontFamily"
281
+ ],
282
+ "additionalProperties": false
283
+ },
284
+ "version": {
285
+ "type": "number",
286
+ "const": 1
287
+ },
288
+ "usedFonts": {
289
+ "type": "array",
290
+ "items": {
291
+ "type": "string"
292
+ }
257
293
  },
258
- "backgroundColor": {
294
+ "type": {
259
295
  "type": "string",
260
- "pattern": "^#[\\s\\S]{0,}$"
296
+ "const": "basic"
261
297
  },
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": {
298
+ "display": {
293
299
  "type": "object",
294
300
  "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"
326
- }
327
- },
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"
340
- },
341
- "offsetY": {
342
- "type": "number"
301
+ "border": {
302
+ "type": "object",
303
+ "properties": {
304
+ "width": {
305
+ "type": "number"
306
+ },
307
+ "color": {
308
+ "type": "string",
309
+ "pattern": "^#[\\s\\S]{0,}$"
310
+ },
311
+ "style": {
312
+ "type": "string",
313
+ "enum": [
314
+ "none",
315
+ "solid",
316
+ "dashed",
317
+ "dotted"
318
+ ]
319
+ },
320
+ "sides": {
321
+ "type": "string",
322
+ "enum": [
323
+ "all",
324
+ "top",
325
+ "right",
326
+ "bottom",
327
+ "left"
328
+ ]
329
+ },
330
+ "useTheme": {
331
+ "type": "boolean"
332
+ },
333
+ "radius": {
334
+ "type": "number"
335
+ }
336
+ },
337
+ "required": [
338
+ "width",
339
+ "color",
340
+ "style"
341
+ ],
342
+ "additionalProperties": false
343
343
  },
344
- "blur": {
345
- "type": "number"
344
+ "shadow": {
345
+ "type": "object",
346
+ "properties": {
347
+ "offsetX": {
348
+ "type": "number"
349
+ },
350
+ "offsetY": {
351
+ "type": "number"
352
+ },
353
+ "blur": {
354
+ "type": "number"
355
+ },
356
+ "spread": {
357
+ "type": "number"
358
+ },
359
+ "color": {
360
+ "type": "string"
361
+ },
362
+ "raw": {
363
+ "type": "string"
364
+ }
365
+ },
366
+ "required": [
367
+ "offsetX",
368
+ "offsetY",
369
+ "blur",
370
+ "spread",
371
+ "color"
372
+ ],
373
+ "additionalProperties": false
346
374
  },
347
- "spread": {
375
+ "maxWidth": {
348
376
  "type": "number"
349
- },
350
- "color": {
351
- "type": "string"
352
- },
353
- "raw": {
354
- "type": "string"
355
377
  }
356
378
  },
357
379
  "required": [
358
- "offsetX",
359
- "offsetY",
360
- "blur",
361
- "spread",
362
- "color"
380
+ "border",
381
+ "maxWidth"
363
382
  ],
364
383
  "additionalProperties": false
365
- },
366
- "maxWidth": {
367
- "type": "number"
368
384
  }
369
385
  },
370
386
  "required": [
371
- "border",
372
- "maxWidth"
387
+ "language",
388
+ "steps",
389
+ "theme",
390
+ "version",
391
+ "usedFonts",
392
+ "type",
393
+ "display"
373
394
  ],
374
395
  "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
396
  },
398
- "steps": {
399
- "type": "array",
400
- "items": {
401
- "type": "object",
402
- "properties": {
403
- "type": {
404
- "type": "string",
405
- "const": "step"
406
- },
407
- "name": {
408
- "type": "string"
409
- },
410
- "elements": {
411
- "type": "array",
412
- "items": {
413
- "$ref": "#/$defs/__schema0"
414
- }
415
- },
416
- "id": {
417
- "type": "string"
418
- },
419
- "displayProperties": {
397
+ {
398
+ "type": "object",
399
+ "properties": {
400
+ "language": {
401
+ "type": "string",
402
+ "enum": [
403
+ "cs",
404
+ "en"
405
+ ]
406
+ },
407
+ "steps": {
408
+ "type": "array",
409
+ "items": {
420
410
  "type": "object",
421
411
  "properties": {
422
- "padding": {
412
+ "type": {
413
+ "type": "string",
414
+ "const": "step"
415
+ },
416
+ "name": {
417
+ "type": "string"
418
+ },
419
+ "elements": {
420
+ "type": "array",
421
+ "items": {
422
+ "$ref": "#/$defs/__schema0"
423
+ }
424
+ },
425
+ "id": {
426
+ "type": "string"
427
+ },
428
+ "displayProperties": {
423
429
  "type": "object",
424
430
  "properties": {
425
- "left": {
426
- "type": "number"
427
- },
428
- "right": {
429
- "type": "number"
431
+ "padding": {
432
+ "type": "object",
433
+ "properties": {
434
+ "left": {
435
+ "type": "number"
436
+ },
437
+ "right": {
438
+ "type": "number"
439
+ },
440
+ "top": {
441
+ "type": "number"
442
+ },
443
+ "bottom": {
444
+ "type": "number"
445
+ },
446
+ "independent": {
447
+ "type": "boolean"
448
+ }
449
+ },
450
+ "required": [
451
+ "left",
452
+ "right",
453
+ "top",
454
+ "bottom",
455
+ "independent"
456
+ ],
457
+ "additionalProperties": false
430
458
  },
431
- "top": {
432
- "type": "number"
459
+ "backgroundColor": {
460
+ "type": "string",
461
+ "pattern": "^#[\\s\\S]{0,}$"
433
462
  },
434
- "bottom": {
463
+ "minHeight": {
435
464
  "type": "number"
436
- },
437
- "independent": {
438
- "type": "boolean"
439
465
  }
440
466
  },
441
467
  "required": [
442
- "left",
443
- "right",
444
- "top",
445
- "bottom",
446
- "independent"
468
+ "padding"
447
469
  ],
448
470
  "additionalProperties": false
449
471
  },
450
- "backgroundColor": {
472
+ "kind": {
451
473
  "type": "string",
452
- "pattern": "^#[\\s\\S]{0,}$"
453
- },
454
- "minHeight": {
455
- "type": "number"
474
+ "const": "thankYou"
456
475
  }
457
476
  },
458
477
  "required": [
459
- "padding"
478
+ "type",
479
+ "name",
480
+ "elements",
481
+ "id",
482
+ "displayProperties"
460
483
  ],
461
484
  "additionalProperties": false
462
485
  }
463
486
  },
464
- "required": [
465
- "type",
466
- "name",
467
- "elements",
468
- "id",
469
- "displayProperties"
470
- ],
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
- }
518
- },
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": {
487
+ "theme": {
546
488
  "type": "object",
547
489
  "properties": {
548
- "width": {
549
- "type": "number"
550
- },
551
- "color": {
552
- "type": "string",
553
- "pattern": "^#[\\s\\S]{0,}$"
554
- },
555
- "style": {
490
+ "corners": {
556
491
  "type": "string",
557
492
  "enum": [
558
493
  "none",
559
- "solid",
560
- "dashed",
561
- "dotted"
494
+ "sm",
495
+ "md",
496
+ "lg"
562
497
  ]
563
498
  },
564
- "sides": {
499
+ "mainColor": {
565
500
  "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
- }
580
- },
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"
501
+ "pattern": "^#[\\s\\S]{0,}$"
599
502
  },
600
- "spread": {
601
- "type": "number"
503
+ "secondaryColor": {
504
+ "type": "array",
505
+ "prefixItems": [
506
+ {
507
+ "type": "string",
508
+ "pattern": "^#[\\s\\S]{0,}$"
509
+ },
510
+ {
511
+ "type": "string",
512
+ "pattern": "^#[\\s\\S]{0,}$"
513
+ },
514
+ {
515
+ "type": "string",
516
+ "pattern": "^#[\\s\\S]{0,}$"
517
+ },
518
+ {
519
+ "type": "string",
520
+ "pattern": "^#[\\s\\S]{0,}$"
521
+ }
522
+ ],
523
+ "items": false,
524
+ "minItems": 4,
525
+ "maxItems": 4
602
526
  },
603
- "color": {
604
- "type": "string"
527
+ "backgroundColor": {
528
+ "type": "string",
529
+ "pattern": "^#[\\s\\S]{0,}$"
605
530
  },
606
- "raw": {
531
+ "fontFamily": {
607
532
  "type": "string"
608
533
  }
609
534
  },
610
535
  "required": [
611
- "offsetX",
612
- "offsetY",
613
- "blur",
614
- "spread",
615
- "color"
536
+ "corners",
537
+ "mainColor",
538
+ "secondaryColor",
539
+ "backgroundColor",
540
+ "fontFamily"
616
541
  ],
617
542
  "additionalProperties": false
618
543
  },
619
- "position": {
544
+ "version": {
545
+ "type": "number",
546
+ "const": 1
547
+ },
548
+ "usedFonts": {
549
+ "type": "array",
550
+ "items": {
551
+ "type": "string"
552
+ }
553
+ },
554
+ "type": {
555
+ "type": "string",
556
+ "const": "popup"
557
+ },
558
+ "display": {
620
559
  "type": "object",
621
560
  "properties": {
622
- "distance": {
561
+ "border": {
623
562
  "type": "object",
624
563
  "properties": {
625
- "left": {
564
+ "width": {
626
565
  "type": "number"
627
566
  },
628
- "right": {
629
- "type": "number"
567
+ "color": {
568
+ "type": "string",
569
+ "pattern": "^#[\\s\\S]{0,}$"
630
570
  },
631
- "top": {
632
- "type": "number"
571
+ "style": {
572
+ "type": "string",
573
+ "enum": [
574
+ "none",
575
+ "solid",
576
+ "dashed",
577
+ "dotted"
578
+ ]
633
579
  },
634
- "bottom": {
635
- "type": "number"
580
+ "sides": {
581
+ "type": "string",
582
+ "enum": [
583
+ "all",
584
+ "top",
585
+ "right",
586
+ "bottom",
587
+ "left"
588
+ ]
636
589
  },
637
- "independent": {
590
+ "useTheme": {
638
591
  "type": "boolean"
592
+ },
593
+ "radius": {
594
+ "type": "number"
639
595
  }
640
596
  },
641
597
  "required": [
642
- "left",
643
- "right",
644
- "top",
645
- "bottom",
646
- "independent"
598
+ "width",
599
+ "color",
600
+ "style"
647
601
  ],
648
602
  "additionalProperties": false
649
603
  },
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": {
604
+ "shadow": {
681
605
  "type": "object",
682
606
  "properties": {
683
- "left": {
607
+ "offsetX": {
684
608
  "type": "number"
685
609
  },
686
- "right": {
610
+ "offsetY": {
687
611
  "type": "number"
688
612
  },
689
- "top": {
613
+ "blur": {
690
614
  "type": "number"
691
615
  },
692
- "bottom": {
616
+ "spread": {
693
617
  "type": "number"
694
618
  },
695
- "independent": {
696
- "type": "boolean"
619
+ "color": {
620
+ "type": "string"
621
+ },
622
+ "raw": {
623
+ "type": "string"
697
624
  }
698
625
  },
699
626
  "required": [
700
- "left",
701
- "right",
702
- "top",
703
- "bottom",
704
- "independent"
627
+ "offsetX",
628
+ "offsetY",
629
+ "blur",
630
+ "spread",
631
+ "color"
705
632
  ],
706
633
  "additionalProperties": false
707
634
  },
708
635
  "position": {
709
636
  "type": "object",
710
637
  "properties": {
711
- "top": {
638
+ "distance": {
639
+ "type": "object",
640
+ "properties": {
641
+ "left": {
642
+ "type": "number"
643
+ },
644
+ "right": {
645
+ "type": "number"
646
+ },
647
+ "top": {
648
+ "type": "number"
649
+ },
650
+ "bottom": {
651
+ "type": "number"
652
+ },
653
+ "independent": {
654
+ "type": "boolean"
655
+ }
656
+ },
657
+ "required": [
658
+ "left",
659
+ "right",
660
+ "top",
661
+ "bottom",
662
+ "independent"
663
+ ],
664
+ "additionalProperties": false
665
+ },
666
+ "id": {
667
+ "type": "number",
668
+ "enum": [
669
+ 1,
670
+ 2,
671
+ 3,
672
+ 4,
673
+ 5,
674
+ 6,
675
+ 7,
676
+ 8,
677
+ 9
678
+ ]
679
+ }
680
+ },
681
+ "required": [
682
+ "distance",
683
+ "id"
684
+ ],
685
+ "additionalProperties": false
686
+ },
687
+ "closeIcon": {
688
+ "type": "object",
689
+ "properties": {
690
+ "color": {
691
+ "type": "string"
692
+ },
693
+ "size": {
712
694
  "type": "number"
713
695
  },
714
- "right": {
696
+ "padding": {
697
+ "type": "object",
698
+ "properties": {
699
+ "left": {
700
+ "type": "number"
701
+ },
702
+ "right": {
703
+ "type": "number"
704
+ },
705
+ "top": {
706
+ "type": "number"
707
+ },
708
+ "bottom": {
709
+ "type": "number"
710
+ },
711
+ "independent": {
712
+ "type": "boolean"
713
+ }
714
+ },
715
+ "required": [
716
+ "left",
717
+ "right",
718
+ "top",
719
+ "bottom",
720
+ "independent"
721
+ ],
722
+ "additionalProperties": false
723
+ },
724
+ "position": {
725
+ "type": "object",
726
+ "properties": {
727
+ "top": {
728
+ "type": "number"
729
+ },
730
+ "right": {
731
+ "type": "number"
732
+ }
733
+ },
734
+ "required": [
735
+ "top",
736
+ "right"
737
+ ],
738
+ "additionalProperties": false
739
+ },
740
+ "visibilityDelay": {
715
741
  "type": "number"
742
+ },
743
+ "closeOnEscape": {
744
+ "type": "boolean"
716
745
  }
717
746
  },
718
747
  "required": [
719
- "top",
720
- "right"
748
+ "color",
749
+ "size",
750
+ "padding"
721
751
  ],
722
752
  "additionalProperties": false
723
753
  },
724
- "visibilityDelay": {
725
- "type": "number"
726
- },
727
- "closeOnEscape": {
728
- "type": "boolean"
729
- }
730
- },
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"
743
- },
744
- "backgroundColor": {
745
- "type": "string"
746
- },
747
- "textColor": {
748
- "type": "string"
754
+ "teaser": {
755
+ "type": "object",
756
+ "properties": {
757
+ "text": {
758
+ "type": "string"
759
+ },
760
+ "backgroundColor": {
761
+ "type": "string"
762
+ },
763
+ "textColor": {
764
+ "type": "string"
765
+ }
766
+ },
767
+ "required": [
768
+ "text",
769
+ "backgroundColor",
770
+ "textColor"
771
+ ],
772
+ "additionalProperties": false
749
773
  }
750
774
  },
751
775
  "required": [
752
- "text",
753
- "backgroundColor",
754
- "textColor"
776
+ "border",
777
+ "position",
778
+ "closeIcon"
755
779
  ],
756
780
  "additionalProperties": false
757
781
  }
758
782
  },
759
783
  "required": [
760
- "border",
761
- "position",
762
- "closeIcon"
784
+ "language",
785
+ "steps",
786
+ "theme",
787
+ "version",
788
+ "usedFonts",
789
+ "type",
790
+ "display"
763
791
  ],
764
792
  "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
793
  },
788
- "steps": {
789
- "type": "array",
790
- "items": {
791
- "type": "object",
792
- "properties": {
793
- "type": {
794
- "type": "string",
795
- "const": "step"
796
- },
797
- "name": {
798
- "type": "string"
799
- },
800
- "elements": {
801
- "type": "array",
802
- "items": {
803
- "$ref": "#/$defs/__schema0"
804
- }
805
- },
806
- "id": {
807
- "type": "string"
808
- },
809
- "displayProperties": {
794
+ {
795
+ "type": "object",
796
+ "properties": {
797
+ "language": {
798
+ "type": "string",
799
+ "enum": [
800
+ "cs",
801
+ "en"
802
+ ]
803
+ },
804
+ "steps": {
805
+ "type": "array",
806
+ "items": {
810
807
  "type": "object",
811
808
  "properties": {
812
- "padding": {
809
+ "type": {
810
+ "type": "string",
811
+ "const": "step"
812
+ },
813
+ "name": {
814
+ "type": "string"
815
+ },
816
+ "elements": {
817
+ "type": "array",
818
+ "items": {
819
+ "$ref": "#/$defs/__schema0"
820
+ }
821
+ },
822
+ "id": {
823
+ "type": "string"
824
+ },
825
+ "displayProperties": {
813
826
  "type": "object",
814
827
  "properties": {
815
- "left": {
816
- "type": "number"
817
- },
818
- "right": {
819
- "type": "number"
828
+ "padding": {
829
+ "type": "object",
830
+ "properties": {
831
+ "left": {
832
+ "type": "number"
833
+ },
834
+ "right": {
835
+ "type": "number"
836
+ },
837
+ "top": {
838
+ "type": "number"
839
+ },
840
+ "bottom": {
841
+ "type": "number"
842
+ },
843
+ "independent": {
844
+ "type": "boolean"
845
+ }
846
+ },
847
+ "required": [
848
+ "left",
849
+ "right",
850
+ "top",
851
+ "bottom",
852
+ "independent"
853
+ ],
854
+ "additionalProperties": false
820
855
  },
821
- "top": {
822
- "type": "number"
856
+ "backgroundColor": {
857
+ "type": "string",
858
+ "pattern": "^#[\\s\\S]{0,}$"
823
859
  },
824
- "bottom": {
860
+ "minHeight": {
825
861
  "type": "number"
826
- },
827
- "independent": {
828
- "type": "boolean"
829
862
  }
830
863
  },
831
864
  "required": [
832
- "left",
833
- "right",
834
- "top",
835
- "bottom",
836
- "independent"
865
+ "padding"
837
866
  ],
838
867
  "additionalProperties": false
839
868
  },
840
- "backgroundColor": {
869
+ "kind": {
841
870
  "type": "string",
842
- "pattern": "^#[\\s\\S]{0,}$"
843
- },
844
- "minHeight": {
845
- "type": "number"
871
+ "const": "thankYou"
846
872
  }
847
873
  },
848
874
  "required": [
849
- "padding"
875
+ "type",
876
+ "name",
877
+ "elements",
878
+ "id",
879
+ "displayProperties"
850
880
  ],
851
881
  "additionalProperties": false
852
882
  }
853
883
  },
854
- "required": [
855
- "type",
856
- "name",
857
- "elements",
858
- "id",
859
- "displayProperties"
860
- ],
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
+ "theme": {
885
+ "type": "object",
886
+ "properties": {
887
+ "corners": {
884
888
  "type": "string",
885
- "pattern": "^#[\\s\\S]{0,}$"
889
+ "enum": [
890
+ "none",
891
+ "sm",
892
+ "md",
893
+ "lg"
894
+ ]
886
895
  },
887
- {
896
+ "mainColor": {
888
897
  "type": "string",
889
898
  "pattern": "^#[\\s\\S]{0,}$"
890
899
  },
891
- {
892
- "type": "string",
893
- "pattern": "^#[\\s\\S]{0,}$"
900
+ "secondaryColor": {
901
+ "type": "array",
902
+ "prefixItems": [
903
+ {
904
+ "type": "string",
905
+ "pattern": "^#[\\s\\S]{0,}$"
906
+ },
907
+ {
908
+ "type": "string",
909
+ "pattern": "^#[\\s\\S]{0,}$"
910
+ },
911
+ {
912
+ "type": "string",
913
+ "pattern": "^#[\\s\\S]{0,}$"
914
+ },
915
+ {
916
+ "type": "string",
917
+ "pattern": "^#[\\s\\S]{0,}$"
918
+ }
919
+ ],
920
+ "items": false,
921
+ "minItems": 4,
922
+ "maxItems": 4
894
923
  },
895
- {
924
+ "backgroundColor": {
896
925
  "type": "string",
897
926
  "pattern": "^#[\\s\\S]{0,}$"
927
+ },
928
+ "fontFamily": {
929
+ "type": "string"
898
930
  }
899
- ]
931
+ },
932
+ "required": [
933
+ "corners",
934
+ "mainColor",
935
+ "secondaryColor",
936
+ "backgroundColor",
937
+ "fontFamily"
938
+ ],
939
+ "additionalProperties": false
940
+ },
941
+ "version": {
942
+ "type": "number",
943
+ "const": 1
944
+ },
945
+ "usedFonts": {
946
+ "type": "array",
947
+ "items": {
948
+ "type": "string"
949
+ }
900
950
  },
901
- "backgroundColor": {
951
+ "type": {
902
952
  "type": "string",
903
- "pattern": "^#[\\s\\S]{0,}$"
953
+ "const": "slider"
904
954
  },
905
- "fontFamily": {
906
- "type": "string"
907
- }
908
- },
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": {
955
+ "display": {
936
956
  "type": "object",
937
957
  "properties": {
938
- "width": {
939
- "type": "number"
940
- },
941
- "color": {
942
- "type": "string",
943
- "pattern": "^#[\\s\\S]{0,}$"
958
+ "border": {
959
+ "type": "object",
960
+ "properties": {
961
+ "width": {
962
+ "type": "number"
963
+ },
964
+ "color": {
965
+ "type": "string",
966
+ "pattern": "^#[\\s\\S]{0,}$"
967
+ },
968
+ "style": {
969
+ "type": "string",
970
+ "enum": [
971
+ "none",
972
+ "solid",
973
+ "dashed",
974
+ "dotted"
975
+ ]
976
+ },
977
+ "sides": {
978
+ "type": "string",
979
+ "enum": [
980
+ "all",
981
+ "top",
982
+ "right",
983
+ "bottom",
984
+ "left"
985
+ ]
986
+ },
987
+ "useTheme": {
988
+ "type": "boolean"
989
+ },
990
+ "radius": {
991
+ "type": "number"
992
+ }
993
+ },
994
+ "required": [
995
+ "width",
996
+ "color",
997
+ "style"
998
+ ],
999
+ "additionalProperties": false
944
1000
  },
945
- "style": {
946
- "type": "string",
947
- "enum": [
948
- "none",
949
- "solid",
950
- "dashed",
951
- "dotted"
952
- ]
1001
+ "shadow": {
1002
+ "type": "object",
1003
+ "properties": {
1004
+ "offsetX": {
1005
+ "type": "number"
1006
+ },
1007
+ "offsetY": {
1008
+ "type": "number"
1009
+ },
1010
+ "blur": {
1011
+ "type": "number"
1012
+ },
1013
+ "spread": {
1014
+ "type": "number"
1015
+ },
1016
+ "color": {
1017
+ "type": "string"
1018
+ },
1019
+ "raw": {
1020
+ "type": "string"
1021
+ }
1022
+ },
1023
+ "required": [
1024
+ "offsetX",
1025
+ "offsetY",
1026
+ "blur",
1027
+ "spread",
1028
+ "color"
1029
+ ],
1030
+ "additionalProperties": false
953
1031
  },
954
- "sides": {
1032
+ "position": {
955
1033
  "type": "string",
956
1034
  "enum": [
957
- "all",
958
- "top",
959
- "right",
960
- "bottom",
961
- "left"
1035
+ "bottom-left",
1036
+ "bottom-center",
1037
+ "bottom-right"
962
1038
  ]
963
1039
  },
964
- "useTheme": {
965
- "type": "boolean"
1040
+ "closeIcon": {
1041
+ "type": "object",
1042
+ "properties": {
1043
+ "color": {
1044
+ "type": "string"
1045
+ },
1046
+ "size": {
1047
+ "type": "number"
1048
+ },
1049
+ "padding": {
1050
+ "type": "object",
1051
+ "properties": {
1052
+ "left": {
1053
+ "type": "number"
1054
+ },
1055
+ "right": {
1056
+ "type": "number"
1057
+ },
1058
+ "top": {
1059
+ "type": "number"
1060
+ },
1061
+ "bottom": {
1062
+ "type": "number"
1063
+ },
1064
+ "independent": {
1065
+ "type": "boolean"
1066
+ }
1067
+ },
1068
+ "required": [
1069
+ "left",
1070
+ "right",
1071
+ "top",
1072
+ "bottom",
1073
+ "independent"
1074
+ ],
1075
+ "additionalProperties": false
1076
+ },
1077
+ "position": {
1078
+ "type": "object",
1079
+ "properties": {
1080
+ "top": {
1081
+ "type": "number"
1082
+ },
1083
+ "right": {
1084
+ "type": "number"
1085
+ }
1086
+ },
1087
+ "required": [
1088
+ "top",
1089
+ "right"
1090
+ ],
1091
+ "additionalProperties": false
1092
+ },
1093
+ "visibilityDelay": {
1094
+ "type": "number"
1095
+ },
1096
+ "closeOnEscape": {
1097
+ "type": "boolean"
1098
+ }
1099
+ },
1100
+ "required": [
1101
+ "color",
1102
+ "size",
1103
+ "padding"
1104
+ ],
1105
+ "additionalProperties": false
966
1106
  },
967
- "radius": {
968
- "type": "number"
1107
+ "teaser": {
1108
+ "type": "object",
1109
+ "properties": {
1110
+ "text": {
1111
+ "type": "string"
1112
+ },
1113
+ "backgroundColor": {
1114
+ "type": "string"
1115
+ },
1116
+ "textColor": {
1117
+ "type": "string"
1118
+ }
1119
+ },
1120
+ "required": [
1121
+ "text",
1122
+ "backgroundColor",
1123
+ "textColor"
1124
+ ],
1125
+ "additionalProperties": false
969
1126
  }
970
1127
  },
971
1128
  "required": [
972
- "width",
973
- "color",
974
- "style"
1129
+ "border",
1130
+ "position",
1131
+ "closeIcon"
975
1132
  ],
976
1133
  "additionalProperties": false
1134
+ }
1135
+ },
1136
+ "required": [
1137
+ "language",
1138
+ "steps",
1139
+ "theme",
1140
+ "version",
1141
+ "usedFonts",
1142
+ "type",
1143
+ "display"
1144
+ ],
1145
+ "additionalProperties": false
1146
+ },
1147
+ {
1148
+ "type": "object",
1149
+ "properties": {
1150
+ "language": {
1151
+ "type": "string",
1152
+ "enum": [
1153
+ "cs",
1154
+ "en"
1155
+ ]
1156
+ },
1157
+ "steps": {
1158
+ "type": "array",
1159
+ "items": {
1160
+ "type": "object",
1161
+ "properties": {
1162
+ "type": {
1163
+ "type": "string",
1164
+ "const": "step"
1165
+ },
1166
+ "name": {
1167
+ "type": "string"
1168
+ },
1169
+ "elements": {
1170
+ "type": "array",
1171
+ "items": {
1172
+ "$ref": "#/$defs/__schema0"
1173
+ }
1174
+ },
1175
+ "id": {
1176
+ "type": "string"
1177
+ },
1178
+ "displayProperties": {
1179
+ "type": "object",
1180
+ "properties": {
1181
+ "padding": {
1182
+ "type": "object",
1183
+ "properties": {
1184
+ "left": {
1185
+ "type": "number"
1186
+ },
1187
+ "right": {
1188
+ "type": "number"
1189
+ },
1190
+ "top": {
1191
+ "type": "number"
1192
+ },
1193
+ "bottom": {
1194
+ "type": "number"
1195
+ },
1196
+ "independent": {
1197
+ "type": "boolean"
1198
+ }
1199
+ },
1200
+ "required": [
1201
+ "left",
1202
+ "right",
1203
+ "top",
1204
+ "bottom",
1205
+ "independent"
1206
+ ],
1207
+ "additionalProperties": false
1208
+ },
1209
+ "backgroundColor": {
1210
+ "type": "string",
1211
+ "pattern": "^#[\\s\\S]{0,}$"
1212
+ },
1213
+ "minHeight": {
1214
+ "type": "number"
1215
+ }
1216
+ },
1217
+ "required": [
1218
+ "padding"
1219
+ ],
1220
+ "additionalProperties": false
1221
+ },
1222
+ "kind": {
1223
+ "type": "string",
1224
+ "const": "thankYou"
1225
+ }
1226
+ },
1227
+ "required": [
1228
+ "type",
1229
+ "name",
1230
+ "elements",
1231
+ "id",
1232
+ "displayProperties"
1233
+ ],
1234
+ "additionalProperties": false
1235
+ }
1236
+ },
1237
+ "theme": {
1238
+ "type": "object",
1239
+ "properties": {
1240
+ "corners": {
1241
+ "type": "string",
1242
+ "enum": [
1243
+ "none",
1244
+ "sm",
1245
+ "md",
1246
+ "lg"
1247
+ ]
1248
+ },
1249
+ "mainColor": {
1250
+ "type": "string",
1251
+ "pattern": "^#[\\s\\S]{0,}$"
1252
+ },
1253
+ "secondaryColor": {
1254
+ "type": "array",
1255
+ "prefixItems": [
1256
+ {
1257
+ "type": "string",
1258
+ "pattern": "^#[\\s\\S]{0,}$"
1259
+ },
1260
+ {
1261
+ "type": "string",
1262
+ "pattern": "^#[\\s\\S]{0,}$"
1263
+ },
1264
+ {
1265
+ "type": "string",
1266
+ "pattern": "^#[\\s\\S]{0,}$"
1267
+ },
1268
+ {
1269
+ "type": "string",
1270
+ "pattern": "^#[\\s\\S]{0,}$"
1271
+ }
1272
+ ],
1273
+ "items": false,
1274
+ "minItems": 4,
1275
+ "maxItems": 4
1276
+ },
1277
+ "backgroundColor": {
1278
+ "type": "string",
1279
+ "pattern": "^#[\\s\\S]{0,}$"
1280
+ },
1281
+ "fontFamily": {
1282
+ "type": "string"
1283
+ }
1284
+ },
1285
+ "required": [
1286
+ "corners",
1287
+ "mainColor",
1288
+ "secondaryColor",
1289
+ "backgroundColor",
1290
+ "fontFamily"
1291
+ ],
1292
+ "additionalProperties": false
1293
+ },
1294
+ "version": {
1295
+ "type": "number",
1296
+ "const": 1
1297
+ },
1298
+ "usedFonts": {
1299
+ "type": "array",
1300
+ "items": {
1301
+ "type": "string"
1302
+ }
1303
+ },
1304
+ "type": {
1305
+ "type": "string",
1306
+ "const": "mobile_popup"
1307
+ },
1308
+ "display": {
1309
+ "type": "object",
1310
+ "properties": {
1311
+ "border": {
1312
+ "type": "object",
1313
+ "properties": {
1314
+ "width": {
1315
+ "type": "number"
1316
+ },
1317
+ "color": {
1318
+ "type": "string",
1319
+ "pattern": "^#[\\s\\S]{0,}$"
1320
+ },
1321
+ "style": {
1322
+ "type": "string",
1323
+ "enum": [
1324
+ "none",
1325
+ "solid",
1326
+ "dashed",
1327
+ "dotted"
1328
+ ]
1329
+ },
1330
+ "sides": {
1331
+ "type": "string",
1332
+ "enum": [
1333
+ "all",
1334
+ "top",
1335
+ "right",
1336
+ "bottom",
1337
+ "left"
1338
+ ]
1339
+ },
1340
+ "useTheme": {
1341
+ "type": "boolean"
1342
+ },
1343
+ "radius": {
1344
+ "type": "number"
1345
+ }
1346
+ },
1347
+ "required": [
1348
+ "width",
1349
+ "color",
1350
+ "style"
1351
+ ],
1352
+ "additionalProperties": false
1353
+ },
1354
+ "shadow": {
1355
+ "type": "object",
1356
+ "properties": {
1357
+ "offsetX": {
1358
+ "type": "number"
1359
+ },
1360
+ "offsetY": {
1361
+ "type": "number"
1362
+ },
1363
+ "blur": {
1364
+ "type": "number"
1365
+ },
1366
+ "spread": {
1367
+ "type": "number"
1368
+ },
1369
+ "color": {
1370
+ "type": "string"
1371
+ },
1372
+ "raw": {
1373
+ "type": "string"
1374
+ }
1375
+ },
1376
+ "required": [
1377
+ "offsetX",
1378
+ "offsetY",
1379
+ "blur",
1380
+ "spread",
1381
+ "color"
1382
+ ],
1383
+ "additionalProperties": false
1384
+ },
1385
+ "closeIcon": {
1386
+ "type": "object",
1387
+ "properties": {
1388
+ "color": {
1389
+ "type": "string"
1390
+ },
1391
+ "size": {
1392
+ "type": "number"
1393
+ },
1394
+ "padding": {
1395
+ "type": "object",
1396
+ "properties": {
1397
+ "left": {
1398
+ "type": "number"
1399
+ },
1400
+ "right": {
1401
+ "type": "number"
1402
+ },
1403
+ "top": {
1404
+ "type": "number"
1405
+ },
1406
+ "bottom": {
1407
+ "type": "number"
1408
+ },
1409
+ "independent": {
1410
+ "type": "boolean"
1411
+ }
1412
+ },
1413
+ "required": [
1414
+ "left",
1415
+ "right",
1416
+ "top",
1417
+ "bottom",
1418
+ "independent"
1419
+ ],
1420
+ "additionalProperties": false
1421
+ },
1422
+ "position": {
1423
+ "type": "object",
1424
+ "properties": {
1425
+ "top": {
1426
+ "type": "number"
1427
+ },
1428
+ "right": {
1429
+ "type": "number"
1430
+ }
1431
+ },
1432
+ "required": [
1433
+ "top",
1434
+ "right"
1435
+ ],
1436
+ "additionalProperties": false
1437
+ },
1438
+ "visibilityDelay": {
1439
+ "type": "number"
1440
+ },
1441
+ "closeOnEscape": {
1442
+ "type": "boolean"
1443
+ }
1444
+ },
1445
+ "required": [
1446
+ "color",
1447
+ "size",
1448
+ "padding"
1449
+ ],
1450
+ "additionalProperties": false
1451
+ },
1452
+ "teaser": {
1453
+ "type": "object",
1454
+ "properties": {
1455
+ "text": {
1456
+ "type": "string"
1457
+ },
1458
+ "backgroundColor": {
1459
+ "type": "string"
1460
+ },
1461
+ "textColor": {
1462
+ "type": "string"
1463
+ }
1464
+ },
1465
+ "required": [
1466
+ "text",
1467
+ "backgroundColor",
1468
+ "textColor"
1469
+ ],
1470
+ "additionalProperties": false
1471
+ }
1472
+ },
1473
+ "required": [
1474
+ "border",
1475
+ "closeIcon"
1476
+ ],
1477
+ "additionalProperties": false
1478
+ }
1479
+ },
1480
+ "required": [
1481
+ "language",
1482
+ "steps",
1483
+ "theme",
1484
+ "version",
1485
+ "usedFonts",
1486
+ "type",
1487
+ "display"
1488
+ ],
1489
+ "additionalProperties": false
1490
+ }
1491
+ ]
1492
+ },
1493
+ {
1494
+ "type": "object",
1495
+ "properties": {
1496
+ "ref": {
1497
+ "type": "string"
1498
+ }
1499
+ },
1500
+ "required": [
1501
+ "ref"
1502
+ ],
1503
+ "additionalProperties": false
1504
+ }
1505
+ ]
1506
+ },
1507
+ "trafficWeight": {
1508
+ "type": "number"
1509
+ }
1510
+ },
1511
+ "required": [
1512
+ "id",
1513
+ "name",
1514
+ "definition"
1515
+ ],
1516
+ "additionalProperties": false
1517
+ }
1518
+ }
1519
+ },
1520
+ "required": [
1521
+ "id",
1522
+ "variants"
1523
+ ],
1524
+ "additionalProperties": false
1525
+ },
1526
+ {
1527
+ "type": "object",
1528
+ "properties": {
1529
+ "id": {
1530
+ "type": "string"
1531
+ },
1532
+ "name": {
1533
+ "type": "string"
1534
+ },
1535
+ "targeting": {
1536
+ "type": "object",
1537
+ "properties": {
1538
+ "urlPatterns": {
1539
+ "type": "array",
1540
+ "items": {
1541
+ "type": "string"
1542
+ }
1543
+ },
1544
+ "schedule": {
1545
+ "type": "object",
1546
+ "properties": {
1547
+ "startsAt": {
1548
+ "type": "string"
1549
+ },
1550
+ "endsAt": {
1551
+ "type": "string"
1552
+ }
1553
+ },
1554
+ "additionalProperties": false
1555
+ },
1556
+ "frequency": {
1557
+ "type": "object",
1558
+ "properties": {
1559
+ "minVisitCount": {
1560
+ "type": "number"
1561
+ },
1562
+ "maxDisplays": {
1563
+ "type": "number"
1564
+ },
1565
+ "minHoursBetweenDisplays": {
1566
+ "type": "number"
1567
+ }
1568
+ },
1569
+ "additionalProperties": false
1570
+ }
1571
+ },
1572
+ "additionalProperties": false
1573
+ },
1574
+ "trigger": {
1575
+ "oneOf": [
1576
+ {
1577
+ "type": "object",
1578
+ "properties": {
1579
+ "type": {
1580
+ "type": "string",
1581
+ "const": "immediate"
1582
+ }
1583
+ },
1584
+ "required": [
1585
+ "type"
1586
+ ],
1587
+ "additionalProperties": false
1588
+ },
1589
+ {
1590
+ "type": "object",
1591
+ "properties": {
1592
+ "type": {
1593
+ "type": "string",
1594
+ "const": "delay"
1595
+ },
1596
+ "seconds": {
1597
+ "type": "number"
1598
+ }
1599
+ },
1600
+ "required": [
1601
+ "type",
1602
+ "seconds"
1603
+ ],
1604
+ "additionalProperties": false
1605
+ },
1606
+ {
1607
+ "type": "object",
1608
+ "properties": {
1609
+ "type": {
1610
+ "type": "string",
1611
+ "const": "scroll_depth"
1612
+ },
1613
+ "percent": {
1614
+ "type": "number"
1615
+ }
1616
+ },
1617
+ "required": [
1618
+ "type",
1619
+ "percent"
1620
+ ],
1621
+ "additionalProperties": false
1622
+ },
1623
+ {
1624
+ "type": "object",
1625
+ "properties": {
1626
+ "type": {
1627
+ "type": "string",
1628
+ "const": "exit_intent"
1629
+ }
1630
+ },
1631
+ "required": [
1632
+ "type"
1633
+ ],
1634
+ "additionalProperties": false
1635
+ }
1636
+ ]
1637
+ },
1638
+ "exclusiveWith": {
1639
+ "type": "string"
1640
+ },
1641
+ "campaignId": {
1642
+ "type": "string"
1643
+ },
1644
+ "definition": {
1645
+ "anyOf": [
1646
+ {
1647
+ "oneOf": [
1648
+ {
1649
+ "type": "object",
1650
+ "properties": {
1651
+ "language": {
1652
+ "type": "string",
1653
+ "enum": [
1654
+ "cs",
1655
+ "en"
1656
+ ]
1657
+ },
1658
+ "steps": {
1659
+ "type": "array",
1660
+ "items": {
1661
+ "type": "object",
1662
+ "properties": {
1663
+ "type": {
1664
+ "type": "string",
1665
+ "const": "step"
1666
+ },
1667
+ "name": {
1668
+ "type": "string"
1669
+ },
1670
+ "elements": {
1671
+ "type": "array",
1672
+ "items": {
1673
+ "$ref": "#/$defs/__schema0"
1674
+ }
1675
+ },
1676
+ "id": {
1677
+ "type": "string"
1678
+ },
1679
+ "displayProperties": {
1680
+ "type": "object",
1681
+ "properties": {
1682
+ "padding": {
1683
+ "type": "object",
1684
+ "properties": {
1685
+ "left": {
1686
+ "type": "number"
1687
+ },
1688
+ "right": {
1689
+ "type": "number"
1690
+ },
1691
+ "top": {
1692
+ "type": "number"
1693
+ },
1694
+ "bottom": {
1695
+ "type": "number"
1696
+ },
1697
+ "independent": {
1698
+ "type": "boolean"
1699
+ }
1700
+ },
1701
+ "required": [
1702
+ "left",
1703
+ "right",
1704
+ "top",
1705
+ "bottom",
1706
+ "independent"
1707
+ ],
1708
+ "additionalProperties": false
1709
+ },
1710
+ "backgroundColor": {
1711
+ "type": "string",
1712
+ "pattern": "^#[\\s\\S]{0,}$"
1713
+ },
1714
+ "minHeight": {
1715
+ "type": "number"
1716
+ }
1717
+ },
1718
+ "required": [
1719
+ "padding"
1720
+ ],
1721
+ "additionalProperties": false
1722
+ },
1723
+ "kind": {
1724
+ "type": "string",
1725
+ "const": "thankYou"
1726
+ }
1727
+ },
1728
+ "required": [
1729
+ "type",
1730
+ "name",
1731
+ "elements",
1732
+ "id",
1733
+ "displayProperties"
1734
+ ],
1735
+ "additionalProperties": false
1736
+ }
1737
+ },
1738
+ "theme": {
1739
+ "type": "object",
1740
+ "properties": {
1741
+ "corners": {
1742
+ "type": "string",
1743
+ "enum": [
1744
+ "none",
1745
+ "sm",
1746
+ "md",
1747
+ "lg"
1748
+ ]
1749
+ },
1750
+ "mainColor": {
1751
+ "type": "string",
1752
+ "pattern": "^#[\\s\\S]{0,}$"
1753
+ },
1754
+ "secondaryColor": {
1755
+ "type": "array",
1756
+ "prefixItems": [
1757
+ {
1758
+ "type": "string",
1759
+ "pattern": "^#[\\s\\S]{0,}$"
1760
+ },
1761
+ {
1762
+ "type": "string",
1763
+ "pattern": "^#[\\s\\S]{0,}$"
1764
+ },
1765
+ {
1766
+ "type": "string",
1767
+ "pattern": "^#[\\s\\S]{0,}$"
1768
+ },
1769
+ {
1770
+ "type": "string",
1771
+ "pattern": "^#[\\s\\S]{0,}$"
1772
+ }
1773
+ ],
1774
+ "items": false,
1775
+ "minItems": 4,
1776
+ "maxItems": 4
1777
+ },
1778
+ "backgroundColor": {
1779
+ "type": "string",
1780
+ "pattern": "^#[\\s\\S]{0,}$"
1781
+ },
1782
+ "fontFamily": {
1783
+ "type": "string"
1784
+ }
1785
+ },
1786
+ "required": [
1787
+ "corners",
1788
+ "mainColor",
1789
+ "secondaryColor",
1790
+ "backgroundColor",
1791
+ "fontFamily"
1792
+ ],
1793
+ "additionalProperties": false
1794
+ },
1795
+ "version": {
1796
+ "type": "number",
1797
+ "const": 1
1798
+ },
1799
+ "usedFonts": {
1800
+ "type": "array",
1801
+ "items": {
1802
+ "type": "string"
1803
+ }
1804
+ },
1805
+ "type": {
1806
+ "type": "string",
1807
+ "const": "basic"
1808
+ },
1809
+ "display": {
1810
+ "type": "object",
1811
+ "properties": {
1812
+ "border": {
1813
+ "type": "object",
1814
+ "properties": {
1815
+ "width": {
1816
+ "type": "number"
1817
+ },
1818
+ "color": {
1819
+ "type": "string",
1820
+ "pattern": "^#[\\s\\S]{0,}$"
1821
+ },
1822
+ "style": {
1823
+ "type": "string",
1824
+ "enum": [
1825
+ "none",
1826
+ "solid",
1827
+ "dashed",
1828
+ "dotted"
1829
+ ]
1830
+ },
1831
+ "sides": {
1832
+ "type": "string",
1833
+ "enum": [
1834
+ "all",
1835
+ "top",
1836
+ "right",
1837
+ "bottom",
1838
+ "left"
1839
+ ]
1840
+ },
1841
+ "useTheme": {
1842
+ "type": "boolean"
1843
+ },
1844
+ "radius": {
1845
+ "type": "number"
1846
+ }
1847
+ },
1848
+ "required": [
1849
+ "width",
1850
+ "color",
1851
+ "style"
1852
+ ],
1853
+ "additionalProperties": false
1854
+ },
1855
+ "shadow": {
1856
+ "type": "object",
1857
+ "properties": {
1858
+ "offsetX": {
1859
+ "type": "number"
1860
+ },
1861
+ "offsetY": {
1862
+ "type": "number"
1863
+ },
1864
+ "blur": {
1865
+ "type": "number"
1866
+ },
1867
+ "spread": {
1868
+ "type": "number"
1869
+ },
1870
+ "color": {
1871
+ "type": "string"
1872
+ },
1873
+ "raw": {
1874
+ "type": "string"
1875
+ }
1876
+ },
1877
+ "required": [
1878
+ "offsetX",
1879
+ "offsetY",
1880
+ "blur",
1881
+ "spread",
1882
+ "color"
1883
+ ],
1884
+ "additionalProperties": false
1885
+ },
1886
+ "maxWidth": {
1887
+ "type": "number"
1888
+ }
1889
+ },
1890
+ "required": [
1891
+ "border",
1892
+ "maxWidth"
1893
+ ],
1894
+ "additionalProperties": false
1895
+ }
1896
+ },
1897
+ "required": [
1898
+ "language",
1899
+ "steps",
1900
+ "theme",
1901
+ "version",
1902
+ "usedFonts",
1903
+ "type",
1904
+ "display"
1905
+ ],
1906
+ "additionalProperties": false
1907
+ },
1908
+ {
1909
+ "type": "object",
1910
+ "properties": {
1911
+ "language": {
1912
+ "type": "string",
1913
+ "enum": [
1914
+ "cs",
1915
+ "en"
1916
+ ]
1917
+ },
1918
+ "steps": {
1919
+ "type": "array",
1920
+ "items": {
1921
+ "type": "object",
1922
+ "properties": {
1923
+ "type": {
1924
+ "type": "string",
1925
+ "const": "step"
1926
+ },
1927
+ "name": {
1928
+ "type": "string"
1929
+ },
1930
+ "elements": {
1931
+ "type": "array",
1932
+ "items": {
1933
+ "$ref": "#/$defs/__schema0"
1934
+ }
1935
+ },
1936
+ "id": {
1937
+ "type": "string"
1938
+ },
1939
+ "displayProperties": {
1940
+ "type": "object",
1941
+ "properties": {
1942
+ "padding": {
1943
+ "type": "object",
1944
+ "properties": {
1945
+ "left": {
1946
+ "type": "number"
1947
+ },
1948
+ "right": {
1949
+ "type": "number"
1950
+ },
1951
+ "top": {
1952
+ "type": "number"
1953
+ },
1954
+ "bottom": {
1955
+ "type": "number"
1956
+ },
1957
+ "independent": {
1958
+ "type": "boolean"
1959
+ }
1960
+ },
1961
+ "required": [
1962
+ "left",
1963
+ "right",
1964
+ "top",
1965
+ "bottom",
1966
+ "independent"
1967
+ ],
1968
+ "additionalProperties": false
1969
+ },
1970
+ "backgroundColor": {
1971
+ "type": "string",
1972
+ "pattern": "^#[\\s\\S]{0,}$"
1973
+ },
1974
+ "minHeight": {
1975
+ "type": "number"
1976
+ }
1977
+ },
1978
+ "required": [
1979
+ "padding"
1980
+ ],
1981
+ "additionalProperties": false
1982
+ },
1983
+ "kind": {
1984
+ "type": "string",
1985
+ "const": "thankYou"
1986
+ }
1987
+ },
1988
+ "required": [
1989
+ "type",
1990
+ "name",
1991
+ "elements",
1992
+ "id",
1993
+ "displayProperties"
1994
+ ],
1995
+ "additionalProperties": false
1996
+ }
1997
+ },
1998
+ "theme": {
1999
+ "type": "object",
2000
+ "properties": {
2001
+ "corners": {
2002
+ "type": "string",
2003
+ "enum": [
2004
+ "none",
2005
+ "sm",
2006
+ "md",
2007
+ "lg"
2008
+ ]
2009
+ },
2010
+ "mainColor": {
2011
+ "type": "string",
2012
+ "pattern": "^#[\\s\\S]{0,}$"
2013
+ },
2014
+ "secondaryColor": {
2015
+ "type": "array",
2016
+ "prefixItems": [
2017
+ {
2018
+ "type": "string",
2019
+ "pattern": "^#[\\s\\S]{0,}$"
2020
+ },
2021
+ {
2022
+ "type": "string",
2023
+ "pattern": "^#[\\s\\S]{0,}$"
2024
+ },
2025
+ {
2026
+ "type": "string",
2027
+ "pattern": "^#[\\s\\S]{0,}$"
2028
+ },
2029
+ {
2030
+ "type": "string",
2031
+ "pattern": "^#[\\s\\S]{0,}$"
2032
+ }
2033
+ ],
2034
+ "items": false,
2035
+ "minItems": 4,
2036
+ "maxItems": 4
2037
+ },
2038
+ "backgroundColor": {
2039
+ "type": "string",
2040
+ "pattern": "^#[\\s\\S]{0,}$"
2041
+ },
2042
+ "fontFamily": {
2043
+ "type": "string"
2044
+ }
2045
+ },
2046
+ "required": [
2047
+ "corners",
2048
+ "mainColor",
2049
+ "secondaryColor",
2050
+ "backgroundColor",
2051
+ "fontFamily"
2052
+ ],
2053
+ "additionalProperties": false
2054
+ },
2055
+ "version": {
2056
+ "type": "number",
2057
+ "const": 1
2058
+ },
2059
+ "usedFonts": {
2060
+ "type": "array",
2061
+ "items": {
2062
+ "type": "string"
2063
+ }
2064
+ },
2065
+ "type": {
2066
+ "type": "string",
2067
+ "const": "popup"
2068
+ },
2069
+ "display": {
2070
+ "type": "object",
2071
+ "properties": {
2072
+ "border": {
2073
+ "type": "object",
2074
+ "properties": {
2075
+ "width": {
2076
+ "type": "number"
2077
+ },
2078
+ "color": {
2079
+ "type": "string",
2080
+ "pattern": "^#[\\s\\S]{0,}$"
2081
+ },
2082
+ "style": {
2083
+ "type": "string",
2084
+ "enum": [
2085
+ "none",
2086
+ "solid",
2087
+ "dashed",
2088
+ "dotted"
2089
+ ]
2090
+ },
2091
+ "sides": {
2092
+ "type": "string",
2093
+ "enum": [
2094
+ "all",
2095
+ "top",
2096
+ "right",
2097
+ "bottom",
2098
+ "left"
2099
+ ]
2100
+ },
2101
+ "useTheme": {
2102
+ "type": "boolean"
2103
+ },
2104
+ "radius": {
2105
+ "type": "number"
2106
+ }
2107
+ },
2108
+ "required": [
2109
+ "width",
2110
+ "color",
2111
+ "style"
2112
+ ],
2113
+ "additionalProperties": false
2114
+ },
2115
+ "shadow": {
2116
+ "type": "object",
2117
+ "properties": {
2118
+ "offsetX": {
2119
+ "type": "number"
2120
+ },
2121
+ "offsetY": {
2122
+ "type": "number"
2123
+ },
2124
+ "blur": {
2125
+ "type": "number"
2126
+ },
2127
+ "spread": {
2128
+ "type": "number"
2129
+ },
2130
+ "color": {
2131
+ "type": "string"
2132
+ },
2133
+ "raw": {
2134
+ "type": "string"
2135
+ }
2136
+ },
2137
+ "required": [
2138
+ "offsetX",
2139
+ "offsetY",
2140
+ "blur",
2141
+ "spread",
2142
+ "color"
2143
+ ],
2144
+ "additionalProperties": false
2145
+ },
2146
+ "position": {
2147
+ "type": "object",
2148
+ "properties": {
2149
+ "distance": {
2150
+ "type": "object",
2151
+ "properties": {
2152
+ "left": {
2153
+ "type": "number"
2154
+ },
2155
+ "right": {
2156
+ "type": "number"
2157
+ },
2158
+ "top": {
2159
+ "type": "number"
2160
+ },
2161
+ "bottom": {
2162
+ "type": "number"
2163
+ },
2164
+ "independent": {
2165
+ "type": "boolean"
2166
+ }
2167
+ },
2168
+ "required": [
2169
+ "left",
2170
+ "right",
2171
+ "top",
2172
+ "bottom",
2173
+ "independent"
2174
+ ],
2175
+ "additionalProperties": false
2176
+ },
2177
+ "id": {
2178
+ "type": "number",
2179
+ "enum": [
2180
+ 1,
2181
+ 2,
2182
+ 3,
2183
+ 4,
2184
+ 5,
2185
+ 6,
2186
+ 7,
2187
+ 8,
2188
+ 9
2189
+ ]
2190
+ }
2191
+ },
2192
+ "required": [
2193
+ "distance",
2194
+ "id"
2195
+ ],
2196
+ "additionalProperties": false
2197
+ },
2198
+ "closeIcon": {
2199
+ "type": "object",
2200
+ "properties": {
2201
+ "color": {
2202
+ "type": "string"
2203
+ },
2204
+ "size": {
2205
+ "type": "number"
2206
+ },
2207
+ "padding": {
2208
+ "type": "object",
2209
+ "properties": {
2210
+ "left": {
2211
+ "type": "number"
2212
+ },
2213
+ "right": {
2214
+ "type": "number"
2215
+ },
2216
+ "top": {
2217
+ "type": "number"
2218
+ },
2219
+ "bottom": {
2220
+ "type": "number"
2221
+ },
2222
+ "independent": {
2223
+ "type": "boolean"
2224
+ }
2225
+ },
2226
+ "required": [
2227
+ "left",
2228
+ "right",
2229
+ "top",
2230
+ "bottom",
2231
+ "independent"
2232
+ ],
2233
+ "additionalProperties": false
2234
+ },
2235
+ "position": {
2236
+ "type": "object",
2237
+ "properties": {
2238
+ "top": {
2239
+ "type": "number"
2240
+ },
2241
+ "right": {
2242
+ "type": "number"
2243
+ }
2244
+ },
2245
+ "required": [
2246
+ "top",
2247
+ "right"
2248
+ ],
2249
+ "additionalProperties": false
2250
+ },
2251
+ "visibilityDelay": {
2252
+ "type": "number"
2253
+ },
2254
+ "closeOnEscape": {
2255
+ "type": "boolean"
2256
+ }
2257
+ },
2258
+ "required": [
2259
+ "color",
2260
+ "size",
2261
+ "padding"
2262
+ ],
2263
+ "additionalProperties": false
2264
+ },
2265
+ "teaser": {
2266
+ "type": "object",
2267
+ "properties": {
2268
+ "text": {
2269
+ "type": "string"
2270
+ },
2271
+ "backgroundColor": {
2272
+ "type": "string"
2273
+ },
2274
+ "textColor": {
2275
+ "type": "string"
2276
+ }
2277
+ },
2278
+ "required": [
2279
+ "text",
2280
+ "backgroundColor",
2281
+ "textColor"
2282
+ ],
2283
+ "additionalProperties": false
2284
+ }
2285
+ },
2286
+ "required": [
2287
+ "border",
2288
+ "position",
2289
+ "closeIcon"
2290
+ ],
2291
+ "additionalProperties": false
2292
+ }
2293
+ },
2294
+ "required": [
2295
+ "language",
2296
+ "steps",
2297
+ "theme",
2298
+ "version",
2299
+ "usedFonts",
2300
+ "type",
2301
+ "display"
2302
+ ],
2303
+ "additionalProperties": false
2304
+ },
2305
+ {
2306
+ "type": "object",
2307
+ "properties": {
2308
+ "language": {
2309
+ "type": "string",
2310
+ "enum": [
2311
+ "cs",
2312
+ "en"
2313
+ ]
2314
+ },
2315
+ "steps": {
2316
+ "type": "array",
2317
+ "items": {
2318
+ "type": "object",
2319
+ "properties": {
2320
+ "type": {
2321
+ "type": "string",
2322
+ "const": "step"
977
2323
  },
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
2324
+ "name": {
2325
+ "type": "string"
1008
2326
  },
1009
- "position": {
1010
- "type": "string",
1011
- "enum": [
1012
- "bottom-left",
1013
- "bottom-center",
1014
- "bottom-right"
1015
- ]
2327
+ "elements": {
2328
+ "type": "array",
2329
+ "items": {
2330
+ "$ref": "#/$defs/__schema0"
2331
+ }
2332
+ },
2333
+ "id": {
2334
+ "type": "string"
1016
2335
  },
1017
- "closeIcon": {
2336
+ "displayProperties": {
1018
2337
  "type": "object",
1019
2338
  "properties": {
1020
- "color": {
1021
- "type": "string"
1022
- },
1023
- "size": {
1024
- "type": "number"
1025
- },
1026
2339
  "padding": {
1027
2340
  "type": "object",
1028
2341
  "properties": {
@@ -1051,316 +2364,331 @@
1051
2364
  ],
1052
2365
  "additionalProperties": false
1053
2366
  },
1054
- "position": {
1055
- "type": "object",
1056
- "properties": {
1057
- "top": {
1058
- "type": "number"
1059
- },
1060
- "right": {
1061
- "type": "number"
1062
- }
1063
- },
1064
- "required": [
1065
- "top",
1066
- "right"
1067
- ],
1068
- "additionalProperties": false
2367
+ "backgroundColor": {
2368
+ "type": "string",
2369
+ "pattern": "^#[\\s\\S]{0,}$"
1069
2370
  },
1070
- "visibilityDelay": {
2371
+ "minHeight": {
1071
2372
  "type": "number"
1072
- },
1073
- "closeOnEscape": {
1074
- "type": "boolean"
1075
2373
  }
1076
2374
  },
1077
2375
  "required": [
1078
- "color",
1079
- "size",
1080
2376
  "padding"
1081
2377
  ],
1082
2378
  "additionalProperties": false
1083
2379
  },
1084
- "teaser": {
1085
- "type": "object",
1086
- "properties": {
1087
- "text": {
1088
- "type": "string"
1089
- },
1090
- "backgroundColor": {
1091
- "type": "string"
1092
- },
1093
- "textColor": {
1094
- "type": "string"
1095
- }
1096
- },
1097
- "required": [
1098
- "text",
1099
- "backgroundColor",
1100
- "textColor"
1101
- ],
1102
- "additionalProperties": false
2380
+ "kind": {
2381
+ "type": "string",
2382
+ "const": "thankYou"
1103
2383
  }
1104
2384
  },
1105
2385
  "required": [
1106
- "border",
1107
- "position",
1108
- "closeIcon"
2386
+ "type",
2387
+ "name",
2388
+ "elements",
2389
+ "id",
2390
+ "displayProperties"
1109
2391
  ],
1110
2392
  "additionalProperties": false
1111
2393
  }
1112
2394
  },
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
- ]
2395
+ "theme": {
2396
+ "type": "object",
2397
+ "properties": {
2398
+ "corners": {
2399
+ "type": "string",
2400
+ "enum": [
2401
+ "none",
2402
+ "sm",
2403
+ "md",
2404
+ "lg"
2405
+ ]
2406
+ },
2407
+ "mainColor": {
2408
+ "type": "string",
2409
+ "pattern": "^#[\\s\\S]{0,}$"
2410
+ },
2411
+ "secondaryColor": {
2412
+ "type": "array",
2413
+ "prefixItems": [
2414
+ {
2415
+ "type": "string",
2416
+ "pattern": "^#[\\s\\S]{0,}$"
2417
+ },
2418
+ {
2419
+ "type": "string",
2420
+ "pattern": "^#[\\s\\S]{0,}$"
2421
+ },
2422
+ {
2423
+ "type": "string",
2424
+ "pattern": "^#[\\s\\S]{0,}$"
2425
+ },
2426
+ {
2427
+ "type": "string",
2428
+ "pattern": "^#[\\s\\S]{0,}$"
2429
+ }
2430
+ ],
2431
+ "items": false,
2432
+ "minItems": 4,
2433
+ "maxItems": 4
2434
+ },
2435
+ "backgroundColor": {
2436
+ "type": "string",
2437
+ "pattern": "^#[\\s\\S]{0,}$"
2438
+ },
2439
+ "fontFamily": {
2440
+ "type": "string"
2441
+ }
1133
2442
  },
1134
- "steps": {
1135
- "type": "array",
1136
- "items": {
2443
+ "required": [
2444
+ "corners",
2445
+ "mainColor",
2446
+ "secondaryColor",
2447
+ "backgroundColor",
2448
+ "fontFamily"
2449
+ ],
2450
+ "additionalProperties": false
2451
+ },
2452
+ "version": {
2453
+ "type": "number",
2454
+ "const": 1
2455
+ },
2456
+ "usedFonts": {
2457
+ "type": "array",
2458
+ "items": {
2459
+ "type": "string"
2460
+ }
2461
+ },
2462
+ "type": {
2463
+ "type": "string",
2464
+ "const": "slider"
2465
+ },
2466
+ "display": {
2467
+ "type": "object",
2468
+ "properties": {
2469
+ "border": {
1137
2470
  "type": "object",
1138
2471
  "properties": {
1139
- "type": {
2472
+ "width": {
2473
+ "type": "number"
2474
+ },
2475
+ "color": {
1140
2476
  "type": "string",
1141
- "const": "step"
2477
+ "pattern": "^#[\\s\\S]{0,}$"
1142
2478
  },
1143
- "name": {
1144
- "type": "string"
2479
+ "style": {
2480
+ "type": "string",
2481
+ "enum": [
2482
+ "none",
2483
+ "solid",
2484
+ "dashed",
2485
+ "dotted"
2486
+ ]
1145
2487
  },
1146
- "elements": {
1147
- "type": "array",
1148
- "items": {
1149
- "$ref": "#/$defs/__schema0"
1150
- }
2488
+ "sides": {
2489
+ "type": "string",
2490
+ "enum": [
2491
+ "all",
2492
+ "top",
2493
+ "right",
2494
+ "bottom",
2495
+ "left"
2496
+ ]
1151
2497
  },
1152
- "id": {
2498
+ "useTheme": {
2499
+ "type": "boolean"
2500
+ },
2501
+ "radius": {
2502
+ "type": "number"
2503
+ }
2504
+ },
2505
+ "required": [
2506
+ "width",
2507
+ "color",
2508
+ "style"
2509
+ ],
2510
+ "additionalProperties": false
2511
+ },
2512
+ "shadow": {
2513
+ "type": "object",
2514
+ "properties": {
2515
+ "offsetX": {
2516
+ "type": "number"
2517
+ },
2518
+ "offsetY": {
2519
+ "type": "number"
2520
+ },
2521
+ "blur": {
2522
+ "type": "number"
2523
+ },
2524
+ "spread": {
2525
+ "type": "number"
2526
+ },
2527
+ "color": {
2528
+ "type": "string"
2529
+ },
2530
+ "raw": {
2531
+ "type": "string"
2532
+ }
2533
+ },
2534
+ "required": [
2535
+ "offsetX",
2536
+ "offsetY",
2537
+ "blur",
2538
+ "spread",
2539
+ "color"
2540
+ ],
2541
+ "additionalProperties": false
2542
+ },
2543
+ "position": {
2544
+ "type": "string",
2545
+ "enum": [
2546
+ "bottom-left",
2547
+ "bottom-center",
2548
+ "bottom-right"
2549
+ ]
2550
+ },
2551
+ "closeIcon": {
2552
+ "type": "object",
2553
+ "properties": {
2554
+ "color": {
1153
2555
  "type": "string"
1154
2556
  },
1155
- "displayProperties": {
2557
+ "size": {
2558
+ "type": "number"
2559
+ },
2560
+ "padding": {
1156
2561
  "type": "object",
1157
2562
  "properties": {
1158
- "padding": {
1159
- "type": "object",
1160
- "properties": {
1161
- "left": {
1162
- "type": "number"
1163
- },
1164
- "right": {
1165
- "type": "number"
1166
- },
1167
- "top": {
1168
- "type": "number"
1169
- },
1170
- "bottom": {
1171
- "type": "number"
1172
- },
1173
- "independent": {
1174
- "type": "boolean"
1175
- }
1176
- },
1177
- "required": [
1178
- "left",
1179
- "right",
1180
- "top",
1181
- "bottom",
1182
- "independent"
1183
- ],
1184
- "additionalProperties": false
2563
+ "left": {
2564
+ "type": "number"
1185
2565
  },
1186
- "backgroundColor": {
1187
- "type": "string",
1188
- "pattern": "^#[\\s\\S]{0,}$"
2566
+ "right": {
2567
+ "type": "number"
2568
+ },
2569
+ "top": {
2570
+ "type": "number"
2571
+ },
2572
+ "bottom": {
2573
+ "type": "number"
2574
+ },
2575
+ "independent": {
2576
+ "type": "boolean"
2577
+ }
2578
+ },
2579
+ "required": [
2580
+ "left",
2581
+ "right",
2582
+ "top",
2583
+ "bottom",
2584
+ "independent"
2585
+ ],
2586
+ "additionalProperties": false
2587
+ },
2588
+ "position": {
2589
+ "type": "object",
2590
+ "properties": {
2591
+ "top": {
2592
+ "type": "number"
1189
2593
  },
1190
- "minHeight": {
2594
+ "right": {
1191
2595
  "type": "number"
1192
2596
  }
1193
2597
  },
1194
2598
  "required": [
1195
- "padding"
2599
+ "top",
2600
+ "right"
1196
2601
  ],
1197
2602
  "additionalProperties": false
2603
+ },
2604
+ "visibilityDelay": {
2605
+ "type": "number"
2606
+ },
2607
+ "closeOnEscape": {
2608
+ "type": "boolean"
1198
2609
  }
1199
2610
  },
1200
2611
  "required": [
1201
- "type",
1202
- "name",
1203
- "elements",
1204
- "id",
1205
- "displayProperties"
2612
+ "color",
2613
+ "size",
2614
+ "padding"
1206
2615
  ],
1207
2616
  "additionalProperties": false
1208
- }
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
2617
  },
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": {
1271
- "type": "string"
2618
+ "teaser": {
2619
+ "type": "object",
2620
+ "properties": {
2621
+ "text": {
2622
+ "type": "string"
2623
+ },
2624
+ "backgroundColor": {
2625
+ "type": "string"
2626
+ },
2627
+ "textColor": {
2628
+ "type": "string"
2629
+ }
2630
+ },
2631
+ "required": [
2632
+ "text",
2633
+ "backgroundColor",
2634
+ "textColor"
2635
+ ],
2636
+ "additionalProperties": false
1272
2637
  }
1273
2638
  },
1274
- "type": {
1275
- "type": "string",
1276
- "const": "mobile_popup"
1277
- },
1278
- "display": {
2639
+ "required": [
2640
+ "border",
2641
+ "position",
2642
+ "closeIcon"
2643
+ ],
2644
+ "additionalProperties": false
2645
+ }
2646
+ },
2647
+ "required": [
2648
+ "language",
2649
+ "steps",
2650
+ "theme",
2651
+ "version",
2652
+ "usedFonts",
2653
+ "type",
2654
+ "display"
2655
+ ],
2656
+ "additionalProperties": false
2657
+ },
2658
+ {
2659
+ "type": "object",
2660
+ "properties": {
2661
+ "language": {
2662
+ "type": "string",
2663
+ "enum": [
2664
+ "cs",
2665
+ "en"
2666
+ ]
2667
+ },
2668
+ "steps": {
2669
+ "type": "array",
2670
+ "items": {
1279
2671
  "type": "object",
1280
2672
  "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
2673
+ "type": {
2674
+ "type": "string",
2675
+ "const": "step"
1323
2676
  },
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
2677
+ "name": {
2678
+ "type": "string"
1354
2679
  },
1355
- "closeIcon": {
2680
+ "elements": {
2681
+ "type": "array",
2682
+ "items": {
2683
+ "$ref": "#/$defs/__schema0"
2684
+ }
2685
+ },
2686
+ "id": {
2687
+ "type": "string"
2688
+ },
2689
+ "displayProperties": {
1356
2690
  "type": "object",
1357
2691
  "properties": {
1358
- "color": {
1359
- "type": "string"
1360
- },
1361
- "size": {
1362
- "type": "number"
1363
- },
1364
2692
  "padding": {
1365
2693
  "type": "object",
1366
2694
  "properties": {
@@ -1389,110 +2717,312 @@
1389
2717
  ],
1390
2718
  "additionalProperties": false
1391
2719
  },
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
2720
+ "backgroundColor": {
2721
+ "type": "string",
2722
+ "pattern": "^#[\\s\\S]{0,}$"
1407
2723
  },
1408
- "visibilityDelay": {
2724
+ "minHeight": {
1409
2725
  "type": "number"
1410
- },
1411
- "closeOnEscape": {
1412
- "type": "boolean"
1413
2726
  }
1414
2727
  },
1415
2728
  "required": [
1416
- "color",
1417
- "size",
1418
2729
  "padding"
1419
2730
  ],
1420
2731
  "additionalProperties": false
1421
2732
  },
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
2733
+ "kind": {
2734
+ "type": "string",
2735
+ "const": "thankYou"
1441
2736
  }
1442
2737
  },
1443
2738
  "required": [
1444
- "border",
1445
- "closeIcon"
2739
+ "type",
2740
+ "name",
2741
+ "elements",
2742
+ "id",
2743
+ "displayProperties"
1446
2744
  ],
1447
2745
  "additionalProperties": false
1448
2746
  }
1449
2747
  },
1450
- "required": [
1451
- "language",
1452
- "steps",
1453
- "theme",
1454
- "version",
1455
- "usedFonts",
1456
- "type",
1457
- "display"
1458
- ],
1459
- "additionalProperties": false
1460
- }
1461
- ]
2748
+ "theme": {
2749
+ "type": "object",
2750
+ "properties": {
2751
+ "corners": {
2752
+ "type": "string",
2753
+ "enum": [
2754
+ "none",
2755
+ "sm",
2756
+ "md",
2757
+ "lg"
2758
+ ]
2759
+ },
2760
+ "mainColor": {
2761
+ "type": "string",
2762
+ "pattern": "^#[\\s\\S]{0,}$"
2763
+ },
2764
+ "secondaryColor": {
2765
+ "type": "array",
2766
+ "prefixItems": [
2767
+ {
2768
+ "type": "string",
2769
+ "pattern": "^#[\\s\\S]{0,}$"
2770
+ },
2771
+ {
2772
+ "type": "string",
2773
+ "pattern": "^#[\\s\\S]{0,}$"
2774
+ },
2775
+ {
2776
+ "type": "string",
2777
+ "pattern": "^#[\\s\\S]{0,}$"
2778
+ },
2779
+ {
2780
+ "type": "string",
2781
+ "pattern": "^#[\\s\\S]{0,}$"
2782
+ }
2783
+ ],
2784
+ "items": false,
2785
+ "minItems": 4,
2786
+ "maxItems": 4
2787
+ },
2788
+ "backgroundColor": {
2789
+ "type": "string",
2790
+ "pattern": "^#[\\s\\S]{0,}$"
2791
+ },
2792
+ "fontFamily": {
2793
+ "type": "string"
2794
+ }
2795
+ },
2796
+ "required": [
2797
+ "corners",
2798
+ "mainColor",
2799
+ "secondaryColor",
2800
+ "backgroundColor",
2801
+ "fontFamily"
2802
+ ],
2803
+ "additionalProperties": false
2804
+ },
2805
+ "version": {
2806
+ "type": "number",
2807
+ "const": 1
2808
+ },
2809
+ "usedFonts": {
2810
+ "type": "array",
2811
+ "items": {
2812
+ "type": "string"
2813
+ }
2814
+ },
2815
+ "type": {
2816
+ "type": "string",
2817
+ "const": "mobile_popup"
2818
+ },
2819
+ "display": {
2820
+ "type": "object",
2821
+ "properties": {
2822
+ "border": {
2823
+ "type": "object",
2824
+ "properties": {
2825
+ "width": {
2826
+ "type": "number"
2827
+ },
2828
+ "color": {
2829
+ "type": "string",
2830
+ "pattern": "^#[\\s\\S]{0,}$"
2831
+ },
2832
+ "style": {
2833
+ "type": "string",
2834
+ "enum": [
2835
+ "none",
2836
+ "solid",
2837
+ "dashed",
2838
+ "dotted"
2839
+ ]
2840
+ },
2841
+ "sides": {
2842
+ "type": "string",
2843
+ "enum": [
2844
+ "all",
2845
+ "top",
2846
+ "right",
2847
+ "bottom",
2848
+ "left"
2849
+ ]
2850
+ },
2851
+ "useTheme": {
2852
+ "type": "boolean"
2853
+ },
2854
+ "radius": {
2855
+ "type": "number"
2856
+ }
2857
+ },
2858
+ "required": [
2859
+ "width",
2860
+ "color",
2861
+ "style"
2862
+ ],
2863
+ "additionalProperties": false
2864
+ },
2865
+ "shadow": {
2866
+ "type": "object",
2867
+ "properties": {
2868
+ "offsetX": {
2869
+ "type": "number"
2870
+ },
2871
+ "offsetY": {
2872
+ "type": "number"
2873
+ },
2874
+ "blur": {
2875
+ "type": "number"
2876
+ },
2877
+ "spread": {
2878
+ "type": "number"
2879
+ },
2880
+ "color": {
2881
+ "type": "string"
2882
+ },
2883
+ "raw": {
2884
+ "type": "string"
2885
+ }
2886
+ },
2887
+ "required": [
2888
+ "offsetX",
2889
+ "offsetY",
2890
+ "blur",
2891
+ "spread",
2892
+ "color"
2893
+ ],
2894
+ "additionalProperties": false
2895
+ },
2896
+ "closeIcon": {
2897
+ "type": "object",
2898
+ "properties": {
2899
+ "color": {
2900
+ "type": "string"
2901
+ },
2902
+ "size": {
2903
+ "type": "number"
2904
+ },
2905
+ "padding": {
2906
+ "type": "object",
2907
+ "properties": {
2908
+ "left": {
2909
+ "type": "number"
2910
+ },
2911
+ "right": {
2912
+ "type": "number"
2913
+ },
2914
+ "top": {
2915
+ "type": "number"
2916
+ },
2917
+ "bottom": {
2918
+ "type": "number"
2919
+ },
2920
+ "independent": {
2921
+ "type": "boolean"
2922
+ }
2923
+ },
2924
+ "required": [
2925
+ "left",
2926
+ "right",
2927
+ "top",
2928
+ "bottom",
2929
+ "independent"
2930
+ ],
2931
+ "additionalProperties": false
2932
+ },
2933
+ "position": {
2934
+ "type": "object",
2935
+ "properties": {
2936
+ "top": {
2937
+ "type": "number"
2938
+ },
2939
+ "right": {
2940
+ "type": "number"
2941
+ }
2942
+ },
2943
+ "required": [
2944
+ "top",
2945
+ "right"
2946
+ ],
2947
+ "additionalProperties": false
2948
+ },
2949
+ "visibilityDelay": {
2950
+ "type": "number"
2951
+ },
2952
+ "closeOnEscape": {
2953
+ "type": "boolean"
2954
+ }
2955
+ },
2956
+ "required": [
2957
+ "color",
2958
+ "size",
2959
+ "padding"
2960
+ ],
2961
+ "additionalProperties": false
2962
+ },
2963
+ "teaser": {
2964
+ "type": "object",
2965
+ "properties": {
2966
+ "text": {
2967
+ "type": "string"
2968
+ },
2969
+ "backgroundColor": {
2970
+ "type": "string"
2971
+ },
2972
+ "textColor": {
2973
+ "type": "string"
2974
+ }
2975
+ },
2976
+ "required": [
2977
+ "text",
2978
+ "backgroundColor",
2979
+ "textColor"
2980
+ ],
2981
+ "additionalProperties": false
2982
+ }
2983
+ },
2984
+ "required": [
2985
+ "border",
2986
+ "closeIcon"
2987
+ ],
2988
+ "additionalProperties": false
2989
+ }
2990
+ },
2991
+ "required": [
2992
+ "language",
2993
+ "steps",
2994
+ "theme",
2995
+ "version",
2996
+ "usedFonts",
2997
+ "type",
2998
+ "display"
2999
+ ],
3000
+ "additionalProperties": false
3001
+ }
3002
+ ]
3003
+ },
3004
+ {
3005
+ "type": "object",
3006
+ "properties": {
3007
+ "ref": {
3008
+ "type": "string"
3009
+ }
1462
3010
  },
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"
1479
- }
1480
- },
1481
- "required": [
1482
- "id",
1483
- "name",
1484
- "definition"
1485
- ],
1486
- "additionalProperties": false
1487
- }
3011
+ "required": [
3012
+ "ref"
3013
+ ],
3014
+ "additionalProperties": false
3015
+ }
3016
+ ]
3017
+ }
3018
+ },
3019
+ "required": [
3020
+ "id",
3021
+ "definition"
3022
+ ],
3023
+ "additionalProperties": false
1488
3024
  }
1489
- },
1490
- "required": [
1491
- "id",
1492
- "trigger",
1493
- "variants"
1494
3025
  ],
1495
- "additionalProperties": false,
1496
3026
  "$defs": {
1497
3027
  "__schema0": {
1498
3028
  "oneOf": [
@@ -1641,6 +3171,13 @@
1641
3171
  "type": {
1642
3172
  "type": "string",
1643
3173
  "const": "submit"
3174
+ },
3175
+ "onSuccess": {
3176
+ "type": "string",
3177
+ "enum": [
3178
+ "next_step",
3179
+ "thank_you_page"
3180
+ ]
1644
3181
  }
1645
3182
  },
1646
3183
  "required": [
@@ -1740,6 +3277,17 @@
1740
3277
  "italic"
1741
3278
  ]
1742
3279
  },
3280
+ "textAlign": {
3281
+ "type": "string",
3282
+ "enum": [
3283
+ "left",
3284
+ "center",
3285
+ "right"
3286
+ ]
3287
+ },
3288
+ "backgroundImage": {
3289
+ "type": "string"
3290
+ },
1743
3291
  "hover": {
1744
3292
  "type": "object",
1745
3293
  "properties": {
@@ -2887,13 +4435,9 @@
2887
4435
  "type": "object",
2888
4436
  "properties": {
2889
4437
  "id": {
2890
- "anyOf": [
2891
- {
2892
- "type": "string"
2893
- },
2894
- {
2895
- "type": "number"
2896
- }
4438
+ "type": [
4439
+ "string",
4440
+ "number"
2897
4441
  ]
2898
4442
  },
2899
4443
  "name": {
@@ -3134,13 +4678,9 @@
3134
4678
  "type": "object",
3135
4679
  "properties": {
3136
4680
  "id": {
3137
- "anyOf": [
3138
- {
3139
- "type": "string"
3140
- },
3141
- {
3142
- "type": "number"
3143
- }
4681
+ "type": [
4682
+ "string",
4683
+ "number"
3144
4684
  ]
3145
4685
  },
3146
4686
  "name": {
@@ -3380,13 +4920,9 @@
3380
4920
  "type": "object",
3381
4921
  "properties": {
3382
4922
  "id": {
3383
- "anyOf": [
3384
- {
3385
- "type": "string"
3386
- },
3387
- {
3388
- "type": "number"
3389
- }
4923
+ "type": [
4924
+ "string",
4925
+ "number"
3390
4926
  ]
3391
4927
  },
3392
4928
  "name": {
@@ -3809,7 +5345,10 @@
3809
5345
  ],
3810
5346
  "additionalProperties": false
3811
5347
  }
3812
- ]
5348
+ ],
5349
+ "items": false,
5350
+ "minItems": 1,
5351
+ "maxItems": 1
3813
5352
  }
3814
5353
  },
3815
5354
  "required": [
@@ -4264,7 +5803,10 @@
4264
5803
  ],
4265
5804
  "additionalProperties": false
4266
5805
  }
4267
- ]
5806
+ ],
5807
+ "items": false,
5808
+ "minItems": 2,
5809
+ "maxItems": 2
4268
5810
  }
4269
5811
  },
4270
5812
  "required": [
@@ -4866,7 +6408,10 @@
4866
6408
  ],
4867
6409
  "additionalProperties": false
4868
6410
  }
4869
- ]
6411
+ ],
6412
+ "items": false,
6413
+ "minItems": 3,
6414
+ "maxItems": 3
4870
6415
  }
4871
6416
  },
4872
6417
  "required": [
@@ -5322,6 +6867,223 @@
5322
6867
  "properties"
5323
6868
  ],
5324
6869
  "additionalProperties": false
6870
+ },
6871
+ {
6872
+ "type": "object",
6873
+ "properties": {
6874
+ "id": {
6875
+ "type": "string"
6876
+ },
6877
+ "type": {
6878
+ "type": "string",
6879
+ "const": "countdown"
6880
+ },
6881
+ "properties": {
6882
+ "type": "object",
6883
+ "properties": {
6884
+ "hideOnMobile": {
6885
+ "type": "boolean"
6886
+ },
6887
+ "hideOnDesktop": {
6888
+ "type": "boolean"
6889
+ },
6890
+ "padding": {
6891
+ "type": "object",
6892
+ "properties": {
6893
+ "left": {
6894
+ "type": "number"
6895
+ },
6896
+ "right": {
6897
+ "type": "number"
6898
+ },
6899
+ "top": {
6900
+ "type": "number"
6901
+ },
6902
+ "bottom": {
6903
+ "type": "number"
6904
+ },
6905
+ "independent": {
6906
+ "type": "boolean"
6907
+ }
6908
+ },
6909
+ "required": [
6910
+ "left",
6911
+ "right",
6912
+ "top",
6913
+ "bottom",
6914
+ "independent"
6915
+ ],
6916
+ "additionalProperties": false
6917
+ },
6918
+ "border": {
6919
+ "type": "object",
6920
+ "properties": {
6921
+ "width": {
6922
+ "type": "number"
6923
+ },
6924
+ "color": {
6925
+ "type": "string",
6926
+ "pattern": "^#[\\s\\S]{0,}$"
6927
+ },
6928
+ "style": {
6929
+ "type": "string",
6930
+ "enum": [
6931
+ "none",
6932
+ "solid",
6933
+ "dashed",
6934
+ "dotted"
6935
+ ]
6936
+ },
6937
+ "sides": {
6938
+ "type": "string",
6939
+ "enum": [
6940
+ "all",
6941
+ "top",
6942
+ "right",
6943
+ "bottom",
6944
+ "left"
6945
+ ]
6946
+ },
6947
+ "useTheme": {
6948
+ "type": "boolean"
6949
+ },
6950
+ "radius": {
6951
+ "type": "number"
6952
+ }
6953
+ },
6954
+ "required": [
6955
+ "width",
6956
+ "color",
6957
+ "style"
6958
+ ],
6959
+ "additionalProperties": false
6960
+ },
6961
+ "backgroundColor": {
6962
+ "type": "string"
6963
+ },
6964
+ "margin": {
6965
+ "type": "object",
6966
+ "properties": {
6967
+ "left": {
6968
+ "type": "number"
6969
+ },
6970
+ "right": {
6971
+ "type": "number"
6972
+ },
6973
+ "top": {
6974
+ "type": "number"
6975
+ },
6976
+ "bottom": {
6977
+ "type": "number"
6978
+ },
6979
+ "independent": {
6980
+ "type": "boolean"
6981
+ }
6982
+ },
6983
+ "required": [
6984
+ "left",
6985
+ "right",
6986
+ "top",
6987
+ "bottom",
6988
+ "independent"
6989
+ ],
6990
+ "additionalProperties": false
6991
+ },
6992
+ "mode": {
6993
+ "type": "string",
6994
+ "enum": [
6995
+ "fixed_date",
6996
+ "fixed_time"
6997
+ ]
6998
+ },
6999
+ "targetDate": {
7000
+ "type": "string"
7001
+ },
7002
+ "duration": {
7003
+ "type": "object",
7004
+ "properties": {
7005
+ "days": {
7006
+ "type": "number"
7007
+ },
7008
+ "hours": {
7009
+ "type": "number"
7010
+ },
7011
+ "minutes": {
7012
+ "type": "number"
7013
+ },
7014
+ "seconds": {
7015
+ "type": "number"
7016
+ }
7017
+ },
7018
+ "required": [
7019
+ "days",
7020
+ "hours",
7021
+ "minutes",
7022
+ "seconds"
7023
+ ],
7024
+ "additionalProperties": false
7025
+ },
7026
+ "showLabels": {
7027
+ "type": "boolean"
7028
+ },
7029
+ "labels": {
7030
+ "type": "object",
7031
+ "properties": {
7032
+ "days": {
7033
+ "type": "string"
7034
+ },
7035
+ "hours": {
7036
+ "type": "string"
7037
+ },
7038
+ "minutes": {
7039
+ "type": "string"
7040
+ },
7041
+ "seconds": {
7042
+ "type": "string"
7043
+ }
7044
+ },
7045
+ "required": [
7046
+ "days",
7047
+ "hours",
7048
+ "minutes",
7049
+ "seconds"
7050
+ ],
7051
+ "additionalProperties": false
7052
+ },
7053
+ "fontFamily": {
7054
+ "type": "string"
7055
+ },
7056
+ "fontSize": {
7057
+ "type": "number"
7058
+ },
7059
+ "color": {
7060
+ "type": "string"
7061
+ },
7062
+ "labelColor": {
7063
+ "type": "string"
7064
+ },
7065
+ "boxBackgroundColor": {
7066
+ "type": "string"
7067
+ }
7068
+ },
7069
+ "required": [
7070
+ "hideOnMobile",
7071
+ "hideOnDesktop",
7072
+ "mode",
7073
+ "targetDate",
7074
+ "duration",
7075
+ "showLabels",
7076
+ "labels"
7077
+ ],
7078
+ "additionalProperties": false
7079
+ }
7080
+ },
7081
+ "required": [
7082
+ "id",
7083
+ "type",
7084
+ "properties"
7085
+ ],
7086
+ "additionalProperties": false
5325
7087
  }
5326
7088
  ]
5327
7089
  }