@gnawbit/tabretake 0.4.0 → 0.4.2

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,610 +1,606 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://raw.githubusercontent.com/gnawbit/tabretake/main/schemas/story.schema.json",
4
- "title": "TabRetake story, recording marks or recorded timeline",
5
- "oneOf": [
6
- {
7
- "$ref": "#/definitions/story"
8
- },
9
- {
10
- "$ref": "#/definitions/marks"
11
- },
12
- {
13
- "$ref": "#/definitions/record"
14
- }
15
- ],
16
- "definitions": {
17
- "viewport": {
18
- "type": "object",
19
- "properties": {
20
- "width": {
21
- "type": "integer",
22
- "minimum": 1
23
- },
24
- "height": {
25
- "type": "integer",
26
- "minimum": 1
27
- }
28
- },
29
- "additionalProperties": false,
30
- "required": [
31
- "width",
32
- "height"
33
- ]
34
- },
35
- "vertical": {
36
- "type": "object",
37
- "properties": {
38
- "badge": {
39
- "type": "string"
40
- },
41
- "titleLines": {
42
- "type": "array",
43
- "items": {
44
- "type": "string"
45
- },
46
- "minItems": 1,
47
- "maxItems": 2
48
- },
49
- "titleSize": {
50
- "type": "number",
51
- "exclusiveMinimum": 0
52
- },
53
- "titleY": {
54
- "type": "number",
55
- "minimum": 0
56
- },
57
- "subtitle": {
58
- "type": "string"
59
- },
60
- "subtitleSize": {
61
- "type": "number",
62
- "exclusiveMinimum": 0
63
- },
64
- "subtitleGap": {
65
- "type": "number",
66
- "minimum": 0
67
- },
68
- "cta": {
69
- "type": "string"
70
- },
71
- "ctaSize": {
72
- "type": "number",
73
- "exclusiveMinimum": 0
74
- },
75
- "ctaY": {
76
- "type": "number",
77
- "minimum": 0
78
- },
79
- "watermark": {
80
- "type": "boolean"
81
- }
82
- },
83
- "additionalProperties": false
84
- },
85
- "step": {
86
- "type": "object",
87
- "properties": {
88
- "action": {
89
- "enum": [
90
- "wait",
91
- "goto",
92
- "click",
93
- "type",
94
- "hover",
95
- "focus",
96
- "drag",
97
- "scroll",
98
- "press",
99
- "waitFor",
100
- "screenshot"
101
- ]
102
- },
103
- "selector": {
104
- "type": "string",
105
- "minLength": 1
106
- },
107
- "role": {
108
- "type": "string",
109
- "minLength": 1
110
- },
111
- "name": {
112
- "type": "string",
113
- "minLength": 1
114
- },
115
- "text": {
116
- "type": "string",
117
- "minLength": 1
118
- },
119
- "value": {
120
- "type": "string"
121
- },
122
- "url": {
123
- "type": "string",
124
- "minLength": 1
125
- },
126
- "key": {
127
- "type": "string",
128
- "minLength": 1
129
- },
130
- "file": {
131
- "type": "string",
132
- "minLength": 1
133
- },
134
- "ms": {
135
- "type": "number",
136
- "minimum": 0,
137
- "description": "Milliseconds."
138
- },
139
- "pause": {
140
- "type": "number",
141
- "minimum": 0,
142
- "description": "Milliseconds."
143
- },
144
- "timeout": {
145
- "type": "number",
146
- "exclusiveMinimum": 0,
147
- "description": "Milliseconds."
148
- },
149
- "dx": {
150
- "type": "number"
151
- },
152
- "dy": {
153
- "type": "number"
154
- },
155
- "y": {
156
- "type": "number"
157
- },
158
- "steps": {
159
- "type": "integer",
160
- "minimum": 1
161
- },
162
- "caption": {
163
- "type": "string"
164
- },
165
- "zoom": {
166
- "type": "boolean"
167
- }
168
- },
169
- "additionalProperties": false,
170
- "required": [
171
- "action"
172
- ],
173
- "allOf": [
174
- {
175
- "if": {
176
- "properties": {
177
- "action": {
178
- "enum": [
179
- "click",
180
- "type",
181
- "hover",
182
- "focus",
183
- "drag"
184
- ]
185
- }
186
- }
187
- },
188
- "then": {
189
- "anyOf": [
190
- {
191
- "required": [
192
- "selector"
193
- ]
194
- },
195
- {
196
- "required": [
197
- "role"
198
- ]
199
- },
200
- {
201
- "required": [
202
- "name"
203
- ]
204
- },
205
- {
206
- "required": [
207
- "text"
208
- ]
209
- }
210
- ]
211
- }
212
- },
213
- {
214
- "if": {
215
- "properties": {
216
- "action": {
217
- "const": "type"
218
- }
219
- }
220
- },
221
- "then": {
222
- "anyOf": [
223
- {
224
- "required": [
225
- "value"
226
- ]
227
- },
228
- {
229
- "required": [
230
- "text"
231
- ]
232
- }
233
- ]
234
- }
235
- },
236
- {
237
- "if": {
238
- "properties": {
239
- "action": {
240
- "const": "waitFor"
241
- }
242
- }
243
- },
244
- "then": {
245
- "anyOf": [
246
- {
247
- "required": [
248
- "url"
249
- ]
250
- },
251
- {
252
- "required": [
253
- "selector"
254
- ]
255
- },
256
- {
257
- "required": [
258
- "text"
259
- ]
260
- }
261
- ]
262
- }
263
- },
264
- {
265
- "if": {
266
- "properties": {
267
- "action": {
268
- "const": "goto"
269
- }
270
- }
271
- },
272
- "then": {
273
- "properties": {
274
- "url": {
275
- "type": "string",
276
- "format": "uri",
277
- "pattern": "^https?://"
278
- }
279
- }
280
- }
281
- }
282
- ]
283
- },
284
- "mark": {
285
- "type": "object",
286
- "properties": {
287
- "t": {
288
- "type": "number",
289
- "minimum": 0,
290
- "description": "Seconds on the output timeline."
291
- },
292
- "duration": {
293
- "type": "number",
294
- "minimum": 0,
295
- "description": "Seconds on the output timeline."
296
- },
297
- "x": {
298
- "type": "number",
299
- "minimum": 0,
300
- "description": "Values from 0 to 1 are normalized source coordinates; larger values are source pixels."
301
- },
302
- "y": {
303
- "type": "number",
304
- "minimum": 0,
305
- "description": "Values from 0 to 1 are normalized source coordinates; larger values are source pixels."
306
- },
307
- "caption": {
308
- "type": "string"
309
- },
310
- "zoom": {
311
- "type": "boolean"
312
- },
313
- "label": {
314
- "type": "string"
315
- }
316
- },
317
- "additionalProperties": false
318
- },
319
- "event": {
320
- "type": "object",
321
- "properties": {
322
- "t": {
323
- "type": "number",
324
- "minimum": 0,
325
- "description": "Milliseconds on the recorded timeline."
326
- },
327
- "tEnd": {
328
- "type": "number",
329
- "minimum": 0,
330
- "description": "Milliseconds on the recorded timeline."
331
- },
332
- "x": {
333
- "type": "number"
334
- },
335
- "y": {
336
- "type": "number"
337
- },
338
- "action": {
339
- "type": "string",
340
- "minLength": 1
341
- },
342
- "caption": {
343
- "type": "string"
344
- },
345
- "zoom": {
346
- "type": "boolean"
347
- },
348
- "label": {
349
- "type": "string"
350
- }
351
- },
352
- "additionalProperties": false,
353
- "required": [
354
- "t"
355
- ]
356
- },
357
- "settings": {
358
- "type": "object",
359
- "properties": {
360
- "$schema": {
361
- "type": "string",
362
- "minLength": 1
363
- },
364
- "displayUrl": {
365
- "type": "string"
366
- },
367
- "out": {
368
- "type": "string",
369
- "minLength": 1
370
- },
371
- "viewport": {
372
- "$ref": "#/definitions/viewport"
373
- },
374
- "brand": {
375
- "type": "object",
376
- "properties": {
377
- "background": {
378
- "type": "string",
379
- "pattern": "^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$"
380
- },
381
- "accent": {
382
- "type": "string",
383
- "pattern": "^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$"
384
- }
385
- },
386
- "additionalProperties": false
387
- },
388
- "vertical": {
389
- "$ref": "#/definitions/vertical"
390
- },
391
- "posterAt": {
392
- "type": "number",
393
- "minimum": 0
394
- },
395
- "zoomDuration": {
396
- "type": "number",
397
- "minimum": 0
398
- },
399
- "url": {
400
- "type": "string",
401
- "format": "uri",
402
- "pattern": "^https?://"
403
- },
404
- "scale": {
405
- "const": 1
406
- },
407
- "initialWait": {
408
- "type": "number",
409
- "minimum": 0
410
- },
411
- "tail": {
412
- "type": "number",
413
- "minimum": 0
414
- },
415
- "steps": {
416
- "type": "array",
417
- "minItems": 1,
418
- "items": {
419
- "$ref": "#/definitions/step"
420
- }
421
- }
422
- },
423
- "additionalProperties": false
424
- },
425
- "story": {
426
- "type": "object",
427
- "properties": {
428
- "$schema": {
429
- "type": "string",
430
- "minLength": 1
431
- },
432
- "displayUrl": {
433
- "type": "string"
434
- },
435
- "out": {
436
- "type": "string",
437
- "minLength": 1
438
- },
439
- "viewport": {
440
- "$ref": "#/definitions/viewport"
441
- },
442
- "brand": {
443
- "type": "object",
444
- "properties": {
445
- "background": {
446
- "type": "string",
447
- "pattern": "^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$"
448
- },
449
- "accent": {
450
- "type": "string",
451
- "pattern": "^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$"
452
- }
453
- },
454
- "additionalProperties": false
455
- },
456
- "vertical": {
457
- "$ref": "#/definitions/vertical"
458
- },
459
- "posterAt": {
460
- "type": "number",
461
- "minimum": 0
462
- },
463
- "zoomDuration": {
464
- "type": "number",
465
- "minimum": 0
466
- },
467
- "url": {
468
- "type": "string",
469
- "format": "uri",
470
- "pattern": "^https?://"
471
- },
472
- "scale": {
473
- "const": 1
474
- },
475
- "initialWait": {
476
- "type": "number",
477
- "minimum": 0
478
- },
479
- "tail": {
480
- "type": "number",
481
- "minimum": 0
482
- },
483
- "steps": {
484
- "type": "array",
485
- "minItems": 1,
486
- "items": {
487
- "$ref": "#/definitions/step"
488
- }
489
- }
490
- },
491
- "additionalProperties": false,
492
- "required": [
493
- "url",
494
- "steps"
495
- ]
496
- },
497
- "marks": {
498
- "type": "object",
499
- "properties": {
500
- "$schema": {
501
- "type": "string",
502
- "minLength": 1
503
- },
504
- "displayUrl": {
505
- "type": "string"
506
- },
507
- "out": {
508
- "type": "string",
509
- "minLength": 1
510
- },
511
- "viewport": {
512
- "$ref": "#/definitions/viewport"
513
- },
514
- "brand": {
515
- "type": "object",
516
- "properties": {
517
- "background": {
518
- "type": "string",
519
- "pattern": "^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$"
520
- },
521
- "accent": {
522
- "type": "string",
523
- "pattern": "^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$"
524
- }
525
- },
526
- "additionalProperties": false
527
- },
528
- "vertical": {
529
- "$ref": "#/definitions/vertical"
530
- },
531
- "posterAt": {
532
- "type": "number",
533
- "minimum": 0
534
- },
535
- "zoomDuration": {
536
- "type": "number",
537
- "minimum": 0
538
- },
539
- "url": {
540
- "type": "string"
541
- },
542
- "video": {
543
- "type": "string",
544
- "minLength": 1
545
- },
546
- "duration": {
547
- "type": "number",
548
- "exclusiveMinimum": 0
549
- },
550
- "marks": {
551
- "type": "array",
552
- "items": {
553
- "$ref": "#/definitions/mark"
554
- }
555
- }
556
- },
557
- "additionalProperties": false,
558
- "required": [
559
- "marks"
560
- ]
561
- },
562
- "record": {
563
- "type": "object",
564
- "properties": {
565
- "$schema": {
566
- "type": "string",
567
- "minLength": 1
568
- },
569
- "config": {
570
- "$ref": "#/definitions/settings"
571
- },
572
- "url": {
573
- "type": "string"
574
- },
575
- "viewport": {
576
- "$ref": "#/definitions/viewport"
577
- },
578
- "scale": {
579
- "const": 1
580
- },
581
- "video": {
582
- "type": "string",
583
- "minLength": 1
584
- },
585
- "videoOffset": {
586
- "type": "number",
587
- "minimum": 0
588
- },
589
- "duration": {
590
- "type": "number",
591
- "exclusiveMinimum": 0
592
- },
593
- "events": {
594
- "type": "array",
595
- "items": {
596
- "$ref": "#/definitions/event"
597
- }
598
- },
599
- "recordedAt": {
600
- "type": "string"
601
- }
602
- },
603
- "additionalProperties": false,
604
- "required": [
605
- "video",
606
- "events"
607
- ]
608
- }
609
- }
610
- }
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://raw.githubusercontent.com/gnawbit/tabretake/main/schemas/story.schema.json",
4
+ "title": "TabRetake story, recording marks or recorded timeline",
5
+ "oneOf": [
6
+ {
7
+ "$ref": "#/definitions/story"
8
+ },
9
+ {
10
+ "$ref": "#/definitions/marks"
11
+ },
12
+ {
13
+ "$ref": "#/definitions/record"
14
+ }
15
+ ],
16
+ "definitions": {
17
+ "brand": {
18
+ "type": "object",
19
+ "properties": {
20
+ "preset": {
21
+ "type": "string",
22
+ "enum": [
23
+ "midnight",
24
+ "daylight",
25
+ "paper",
26
+ "slate"
27
+ ]
28
+ },
29
+ "background": {
30
+ "type": "string",
31
+ "pattern": "^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$"
32
+ },
33
+ "accent": {
34
+ "type": "string",
35
+ "pattern": "^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$"
36
+ }
37
+ },
38
+ "additionalProperties": false
39
+ },
40
+ "viewport": {
41
+ "type": "object",
42
+ "properties": {
43
+ "width": {
44
+ "type": "integer",
45
+ "minimum": 1
46
+ },
47
+ "height": {
48
+ "type": "integer",
49
+ "minimum": 1
50
+ }
51
+ },
52
+ "additionalProperties": false,
53
+ "required": [
54
+ "width",
55
+ "height"
56
+ ]
57
+ },
58
+ "vertical": {
59
+ "type": "object",
60
+ "properties": {
61
+ "zoom": {
62
+ "type": "number",
63
+ "minimum": 1,
64
+ "maximum": 10,
65
+ "description": "Portrait focus magnification; --vertical-zoom overrides this value."
66
+ },
67
+ "badge": {
68
+ "type": "string"
69
+ },
70
+ "titleLines": {
71
+ "type": "array",
72
+ "items": {
73
+ "type": "string"
74
+ },
75
+ "minItems": 1,
76
+ "maxItems": 2
77
+ },
78
+ "titleSize": {
79
+ "type": "number",
80
+ "exclusiveMinimum": 0
81
+ },
82
+ "titleY": {
83
+ "type": "number",
84
+ "minimum": 0
85
+ },
86
+ "subtitle": {
87
+ "type": "string"
88
+ },
89
+ "subtitleSize": {
90
+ "type": "number",
91
+ "exclusiveMinimum": 0
92
+ },
93
+ "subtitleGap": {
94
+ "type": "number",
95
+ "minimum": 0
96
+ },
97
+ "cta": {
98
+ "type": "string"
99
+ },
100
+ "ctaSize": {
101
+ "type": "number",
102
+ "exclusiveMinimum": 0
103
+ },
104
+ "ctaY": {
105
+ "type": "number",
106
+ "minimum": 0
107
+ },
108
+ "watermark": {
109
+ "type": "boolean"
110
+ }
111
+ },
112
+ "additionalProperties": false
113
+ },
114
+ "step": {
115
+ "type": "object",
116
+ "properties": {
117
+ "action": {
118
+ "enum": [
119
+ "wait",
120
+ "goto",
121
+ "click",
122
+ "type",
123
+ "hover",
124
+ "focus",
125
+ "drag",
126
+ "scroll",
127
+ "press",
128
+ "waitFor",
129
+ "screenshot"
130
+ ]
131
+ },
132
+ "selector": {
133
+ "type": "string",
134
+ "minLength": 1
135
+ },
136
+ "role": {
137
+ "type": "string",
138
+ "minLength": 1
139
+ },
140
+ "name": {
141
+ "type": "string",
142
+ "minLength": 1
143
+ },
144
+ "text": {
145
+ "type": "string",
146
+ "minLength": 1
147
+ },
148
+ "value": {
149
+ "type": "string"
150
+ },
151
+ "url": {
152
+ "type": "string",
153
+ "minLength": 1
154
+ },
155
+ "key": {
156
+ "type": "string",
157
+ "minLength": 1
158
+ },
159
+ "file": {
160
+ "type": "string",
161
+ "minLength": 1
162
+ },
163
+ "ms": {
164
+ "type": "number",
165
+ "minimum": 0,
166
+ "description": "Milliseconds."
167
+ },
168
+ "pause": {
169
+ "type": "number",
170
+ "minimum": 0,
171
+ "description": "Milliseconds."
172
+ },
173
+ "timeout": {
174
+ "type": "number",
175
+ "exclusiveMinimum": 0,
176
+ "description": "Milliseconds."
177
+ },
178
+ "dx": {
179
+ "type": "number"
180
+ },
181
+ "dy": {
182
+ "type": "number"
183
+ },
184
+ "y": {
185
+ "type": "number"
186
+ },
187
+ "steps": {
188
+ "type": "integer",
189
+ "minimum": 1
190
+ },
191
+ "caption": {
192
+ "type": "string"
193
+ },
194
+ "zoom": {
195
+ "type": "boolean"
196
+ }
197
+ },
198
+ "additionalProperties": false,
199
+ "required": [
200
+ "action"
201
+ ],
202
+ "allOf": [
203
+ {
204
+ "if": {
205
+ "properties": {
206
+ "action": {
207
+ "enum": [
208
+ "click",
209
+ "type",
210
+ "hover",
211
+ "focus",
212
+ "drag"
213
+ ]
214
+ }
215
+ }
216
+ },
217
+ "then": {
218
+ "anyOf": [
219
+ {
220
+ "required": [
221
+ "selector"
222
+ ]
223
+ },
224
+ {
225
+ "required": [
226
+ "role"
227
+ ]
228
+ },
229
+ {
230
+ "required": [
231
+ "name"
232
+ ]
233
+ },
234
+ {
235
+ "required": [
236
+ "text"
237
+ ]
238
+ }
239
+ ]
240
+ }
241
+ },
242
+ {
243
+ "if": {
244
+ "properties": {
245
+ "action": {
246
+ "const": "type"
247
+ }
248
+ }
249
+ },
250
+ "then": {
251
+ "anyOf": [
252
+ {
253
+ "required": [
254
+ "value"
255
+ ]
256
+ },
257
+ {
258
+ "required": [
259
+ "text"
260
+ ]
261
+ }
262
+ ]
263
+ }
264
+ },
265
+ {
266
+ "if": {
267
+ "properties": {
268
+ "action": {
269
+ "const": "waitFor"
270
+ }
271
+ }
272
+ },
273
+ "then": {
274
+ "anyOf": [
275
+ {
276
+ "required": [
277
+ "url"
278
+ ]
279
+ },
280
+ {
281
+ "required": [
282
+ "selector"
283
+ ]
284
+ },
285
+ {
286
+ "required": [
287
+ "text"
288
+ ]
289
+ }
290
+ ]
291
+ }
292
+ },
293
+ {
294
+ "if": {
295
+ "properties": {
296
+ "action": {
297
+ "const": "goto"
298
+ }
299
+ }
300
+ },
301
+ "then": {
302
+ "properties": {
303
+ "url": {
304
+ "type": "string",
305
+ "format": "uri",
306
+ "pattern": "^https?://"
307
+ }
308
+ }
309
+ }
310
+ }
311
+ ]
312
+ },
313
+ "mark": {
314
+ "type": "object",
315
+ "properties": {
316
+ "t": {
317
+ "type": "number",
318
+ "minimum": 0,
319
+ "description": "Seconds on the output timeline."
320
+ },
321
+ "duration": {
322
+ "type": "number",
323
+ "minimum": 0,
324
+ "description": "Seconds on the output timeline."
325
+ },
326
+ "x": {
327
+ "type": "number",
328
+ "minimum": 0,
329
+ "description": "Values from 0 to 1 are normalized source coordinates; larger values are source pixels."
330
+ },
331
+ "y": {
332
+ "type": "number",
333
+ "minimum": 0,
334
+ "description": "Values from 0 to 1 are normalized source coordinates; larger values are source pixels."
335
+ },
336
+ "caption": {
337
+ "type": "string"
338
+ },
339
+ "zoom": {
340
+ "type": "boolean"
341
+ },
342
+ "label": {
343
+ "type": "string"
344
+ }
345
+ },
346
+ "additionalProperties": false
347
+ },
348
+ "event": {
349
+ "type": "object",
350
+ "properties": {
351
+ "t": {
352
+ "type": "number",
353
+ "minimum": 0,
354
+ "description": "Milliseconds on the recorded timeline."
355
+ },
356
+ "tEnd": {
357
+ "type": "number",
358
+ "minimum": 0,
359
+ "description": "Milliseconds on the recorded timeline."
360
+ },
361
+ "x": {
362
+ "type": "number"
363
+ },
364
+ "y": {
365
+ "type": "number"
366
+ },
367
+ "action": {
368
+ "type": "string",
369
+ "minLength": 1
370
+ },
371
+ "caption": {
372
+ "type": "string"
373
+ },
374
+ "zoom": {
375
+ "type": "boolean"
376
+ },
377
+ "label": {
378
+ "type": "string"
379
+ }
380
+ },
381
+ "additionalProperties": false,
382
+ "required": [
383
+ "t"
384
+ ]
385
+ },
386
+ "settings": {
387
+ "type": "object",
388
+ "properties": {
389
+ "$schema": {
390
+ "type": "string",
391
+ "minLength": 1
392
+ },
393
+ "displayUrl": {
394
+ "type": "string"
395
+ },
396
+ "out": {
397
+ "type": "string",
398
+ "minLength": 1
399
+ },
400
+ "viewport": {
401
+ "$ref": "#/definitions/viewport"
402
+ },
403
+ "brand": {
404
+ "$ref": "#/definitions/brand"
405
+ },
406
+ "vertical": {
407
+ "$ref": "#/definitions/vertical"
408
+ },
409
+ "posterAt": {
410
+ "type": "number",
411
+ "minimum": 0
412
+ },
413
+ "zoomDuration": {
414
+ "type": "number",
415
+ "minimum": 0
416
+ },
417
+ "url": {
418
+ "type": "string",
419
+ "format": "uri",
420
+ "pattern": "^https?://"
421
+ },
422
+ "scale": {
423
+ "const": 1
424
+ },
425
+ "initialWait": {
426
+ "type": "number",
427
+ "minimum": 0
428
+ },
429
+ "tail": {
430
+ "type": "number",
431
+ "minimum": 0
432
+ },
433
+ "steps": {
434
+ "type": "array",
435
+ "minItems": 1,
436
+ "items": {
437
+ "$ref": "#/definitions/step"
438
+ }
439
+ }
440
+ },
441
+ "additionalProperties": false
442
+ },
443
+ "story": {
444
+ "type": "object",
445
+ "properties": {
446
+ "$schema": {
447
+ "type": "string",
448
+ "minLength": 1
449
+ },
450
+ "displayUrl": {
451
+ "type": "string"
452
+ },
453
+ "out": {
454
+ "type": "string",
455
+ "minLength": 1
456
+ },
457
+ "viewport": {
458
+ "$ref": "#/definitions/viewport"
459
+ },
460
+ "brand": {
461
+ "$ref": "#/definitions/brand"
462
+ },
463
+ "vertical": {
464
+ "$ref": "#/definitions/vertical"
465
+ },
466
+ "posterAt": {
467
+ "type": "number",
468
+ "minimum": 0
469
+ },
470
+ "zoomDuration": {
471
+ "type": "number",
472
+ "minimum": 0
473
+ },
474
+ "url": {
475
+ "type": "string",
476
+ "format": "uri",
477
+ "pattern": "^https?://"
478
+ },
479
+ "scale": {
480
+ "const": 1
481
+ },
482
+ "initialWait": {
483
+ "type": "number",
484
+ "minimum": 0
485
+ },
486
+ "tail": {
487
+ "type": "number",
488
+ "minimum": 0
489
+ },
490
+ "steps": {
491
+ "type": "array",
492
+ "minItems": 1,
493
+ "items": {
494
+ "$ref": "#/definitions/step"
495
+ }
496
+ }
497
+ },
498
+ "additionalProperties": false,
499
+ "required": [
500
+ "url",
501
+ "steps"
502
+ ]
503
+ },
504
+ "marks": {
505
+ "type": "object",
506
+ "properties": {
507
+ "$schema": {
508
+ "type": "string",
509
+ "minLength": 1
510
+ },
511
+ "displayUrl": {
512
+ "type": "string"
513
+ },
514
+ "out": {
515
+ "type": "string",
516
+ "minLength": 1
517
+ },
518
+ "viewport": {
519
+ "$ref": "#/definitions/viewport"
520
+ },
521
+ "brand": {
522
+ "$ref": "#/definitions/brand"
523
+ },
524
+ "vertical": {
525
+ "$ref": "#/definitions/vertical"
526
+ },
527
+ "posterAt": {
528
+ "type": "number",
529
+ "minimum": 0
530
+ },
531
+ "zoomDuration": {
532
+ "type": "number",
533
+ "minimum": 0
534
+ },
535
+ "url": {
536
+ "type": "string"
537
+ },
538
+ "video": {
539
+ "type": "string",
540
+ "minLength": 1
541
+ },
542
+ "duration": {
543
+ "type": "number",
544
+ "exclusiveMinimum": 0
545
+ },
546
+ "marks": {
547
+ "type": "array",
548
+ "items": {
549
+ "$ref": "#/definitions/mark"
550
+ }
551
+ }
552
+ },
553
+ "additionalProperties": false,
554
+ "required": [
555
+ "marks"
556
+ ]
557
+ },
558
+ "record": {
559
+ "type": "object",
560
+ "properties": {
561
+ "$schema": {
562
+ "type": "string",
563
+ "minLength": 1
564
+ },
565
+ "config": {
566
+ "$ref": "#/definitions/settings"
567
+ },
568
+ "url": {
569
+ "type": "string"
570
+ },
571
+ "viewport": {
572
+ "$ref": "#/definitions/viewport"
573
+ },
574
+ "scale": {
575
+ "const": 1
576
+ },
577
+ "video": {
578
+ "type": "string",
579
+ "minLength": 1
580
+ },
581
+ "videoOffset": {
582
+ "type": "number",
583
+ "minimum": 0
584
+ },
585
+ "duration": {
586
+ "type": "number",
587
+ "exclusiveMinimum": 0
588
+ },
589
+ "events": {
590
+ "type": "array",
591
+ "items": {
592
+ "$ref": "#/definitions/event"
593
+ }
594
+ },
595
+ "recordedAt": {
596
+ "type": "string"
597
+ }
598
+ },
599
+ "additionalProperties": false,
600
+ "required": [
601
+ "video",
602
+ "events"
603
+ ]
604
+ }
605
+ }
606
+ }