@shotstack/schemas 1.8.2 → 1.8.4

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.
@@ -1935,88 +1935,7 @@
1935
1935
  "font": {
1936
1936
  "anyOf": [
1937
1937
  {
1938
- "type": "object",
1939
- "properties": {
1940
- "family": {
1941
- "anyOf": [
1942
- {
1943
- "type": "string",
1944
- "enum": [
1945
- "Roboto"
1946
- ]
1947
- },
1948
- {
1949
- "type": "null"
1950
- }
1951
- ]
1952
- },
1953
- "size": {
1954
- "anyOf": [
1955
- {
1956
- "type": "integer",
1957
- "minimum": 1,
1958
- "maximum": 500
1959
- },
1960
- {
1961
- "type": "null"
1962
- }
1963
- ]
1964
- },
1965
- "weight": {
1966
- "anyOf": [
1967
- {
1968
- "type": "string"
1969
- },
1970
- {
1971
- "type": "null"
1972
- }
1973
- ]
1974
- },
1975
- "color": {
1976
- "anyOf": [
1977
- {
1978
- "type": "string",
1979
- "enum": [
1980
- "#ffffff"
1981
- ]
1982
- },
1983
- {
1984
- "type": "null"
1985
- }
1986
- ]
1987
- },
1988
- "opacity": {
1989
- "anyOf": [
1990
- {
1991
- "type": "number",
1992
- "minimum": 0,
1993
- "maximum": 1
1994
- },
1995
- {
1996
- "type": "null"
1997
- }
1998
- ]
1999
- },
2000
- "background": {
2001
- "anyOf": [
2002
- {
2003
- "type": "string"
2004
- },
2005
- {
2006
- "type": "null"
2007
- }
2008
- ]
2009
- }
2010
- },
2011
- "additionalProperties": false,
2012
- "required": [
2013
- "family",
2014
- "size",
2015
- "weight",
2016
- "color",
2017
- "opacity",
2018
- "background"
2019
- ]
1938
+ "$ref": "#/$defs/RichTextFont"
2020
1939
  },
2021
1940
  {
2022
1941
  "type": "null"
@@ -3462,6 +3381,112 @@
3462
3381
  "options"
3463
3382
  ],
3464
3383
  "additionalProperties": false
3384
+ },
3385
+ {
3386
+ "properties": {
3387
+ "provider": {
3388
+ "type": "string",
3389
+ "enum": [
3390
+ "akamai-netstorage"
3391
+ ]
3392
+ },
3393
+ "options": {
3394
+ "anyOf": [
3395
+ {
3396
+ "type": "object",
3397
+ "properties": {
3398
+ "host": {
3399
+ "type": "string"
3400
+ },
3401
+ "cpCode": {
3402
+ "type": "string"
3403
+ },
3404
+ "path": {
3405
+ "type": [
3406
+ "string",
3407
+ "null"
3408
+ ]
3409
+ },
3410
+ "filename": {
3411
+ "type": [
3412
+ "string",
3413
+ "null"
3414
+ ]
3415
+ }
3416
+ },
3417
+ "required": [
3418
+ "host",
3419
+ "cpCode",
3420
+ "path",
3421
+ "filename"
3422
+ ],
3423
+ "additionalProperties": false
3424
+ },
3425
+ {
3426
+ "type": "null"
3427
+ }
3428
+ ]
3429
+ }
3430
+ },
3431
+ "type": "object",
3432
+ "required": [
3433
+ "provider",
3434
+ "options"
3435
+ ],
3436
+ "additionalProperties": false
3437
+ },
3438
+ {
3439
+ "properties": {
3440
+ "provider": {
3441
+ "type": "string",
3442
+ "enum": [
3443
+ "azure-blob-storage"
3444
+ ]
3445
+ },
3446
+ "options": {
3447
+ "anyOf": [
3448
+ {
3449
+ "type": "object",
3450
+ "properties": {
3451
+ "accountName": {
3452
+ "type": "string"
3453
+ },
3454
+ "container": {
3455
+ "type": "string"
3456
+ },
3457
+ "prefix": {
3458
+ "type": [
3459
+ "string",
3460
+ "null"
3461
+ ]
3462
+ },
3463
+ "filename": {
3464
+ "type": [
3465
+ "string",
3466
+ "null"
3467
+ ]
3468
+ }
3469
+ },
3470
+ "required": [
3471
+ "accountName",
3472
+ "container",
3473
+ "prefix",
3474
+ "filename"
3475
+ ],
3476
+ "additionalProperties": false
3477
+ },
3478
+ {
3479
+ "type": "null"
3480
+ }
3481
+ ]
3482
+ }
3483
+ },
3484
+ "type": "object",
3485
+ "required": [
3486
+ "provider",
3487
+ "options"
3488
+ ],
3489
+ "additionalProperties": false
3465
3490
  }
3466
3491
  ]
3467
3492
  },
@@ -402,6 +402,112 @@
402
402
  "options"
403
403
  ],
404
404
  "additionalProperties": false
405
+ },
406
+ {
407
+ "properties": {
408
+ "provider": {
409
+ "type": "string",
410
+ "enum": [
411
+ "akamai-netstorage"
412
+ ]
413
+ },
414
+ "options": {
415
+ "anyOf": [
416
+ {
417
+ "type": "object",
418
+ "properties": {
419
+ "host": {
420
+ "type": "string"
421
+ },
422
+ "cpCode": {
423
+ "type": "string"
424
+ },
425
+ "path": {
426
+ "type": [
427
+ "string",
428
+ "null"
429
+ ]
430
+ },
431
+ "filename": {
432
+ "type": [
433
+ "string",
434
+ "null"
435
+ ]
436
+ }
437
+ },
438
+ "required": [
439
+ "host",
440
+ "cpCode",
441
+ "path",
442
+ "filename"
443
+ ],
444
+ "additionalProperties": false
445
+ },
446
+ {
447
+ "type": "null"
448
+ }
449
+ ]
450
+ }
451
+ },
452
+ "type": "object",
453
+ "required": [
454
+ "provider",
455
+ "options"
456
+ ],
457
+ "additionalProperties": false
458
+ },
459
+ {
460
+ "properties": {
461
+ "provider": {
462
+ "type": "string",
463
+ "enum": [
464
+ "azure-blob-storage"
465
+ ]
466
+ },
467
+ "options": {
468
+ "anyOf": [
469
+ {
470
+ "type": "object",
471
+ "properties": {
472
+ "accountName": {
473
+ "type": "string"
474
+ },
475
+ "container": {
476
+ "type": "string"
477
+ },
478
+ "prefix": {
479
+ "type": [
480
+ "string",
481
+ "null"
482
+ ]
483
+ },
484
+ "filename": {
485
+ "type": [
486
+ "string",
487
+ "null"
488
+ ]
489
+ }
490
+ },
491
+ "required": [
492
+ "accountName",
493
+ "container",
494
+ "prefix",
495
+ "filename"
496
+ ],
497
+ "additionalProperties": false
498
+ },
499
+ {
500
+ "type": "null"
501
+ }
502
+ ]
503
+ }
504
+ },
505
+ "type": "object",
506
+ "required": [
507
+ "provider",
508
+ "options"
509
+ ],
510
+ "additionalProperties": false
405
511
  }
406
512
  ]
407
513
  },
@@ -36,88 +36,7 @@
36
36
  "font": {
37
37
  "anyOf": [
38
38
  {
39
- "type": "object",
40
- "properties": {
41
- "family": {
42
- "anyOf": [
43
- {
44
- "type": "string",
45
- "enum": [
46
- "Roboto"
47
- ]
48
- },
49
- {
50
- "type": "null"
51
- }
52
- ]
53
- },
54
- "size": {
55
- "anyOf": [
56
- {
57
- "type": "integer",
58
- "minimum": 1,
59
- "maximum": 500
60
- },
61
- {
62
- "type": "null"
63
- }
64
- ]
65
- },
66
- "weight": {
67
- "anyOf": [
68
- {
69
- "type": "string"
70
- },
71
- {
72
- "type": "null"
73
- }
74
- ]
75
- },
76
- "color": {
77
- "anyOf": [
78
- {
79
- "type": "string",
80
- "enum": [
81
- "#ffffff"
82
- ]
83
- },
84
- {
85
- "type": "null"
86
- }
87
- ]
88
- },
89
- "opacity": {
90
- "anyOf": [
91
- {
92
- "type": "number",
93
- "minimum": 0,
94
- "maximum": 1
95
- },
96
- {
97
- "type": "null"
98
- }
99
- ]
100
- },
101
- "background": {
102
- "anyOf": [
103
- {
104
- "type": "string"
105
- },
106
- {
107
- "type": "null"
108
- }
109
- ]
110
- }
111
- },
112
- "additionalProperties": false,
113
- "required": [
114
- "family",
115
- "size",
116
- "weight",
117
- "color",
118
- "opacity",
119
- "background"
120
- ]
39
+ "$ref": "#/$defs/RichTextFont"
121
40
  },
122
41
  {
123
42
  "type": "null"
@@ -302,6 +221,145 @@
302
221
  "confidence"
303
222
  ]
304
223
  },
224
+ "RichTextFont": {
225
+ "properties": {
226
+ "family": {
227
+ "anyOf": [
228
+ {
229
+ "type": "string",
230
+ "enum": [
231
+ "Open Sans"
232
+ ]
233
+ },
234
+ {
235
+ "type": "null"
236
+ }
237
+ ]
238
+ },
239
+ "size": {
240
+ "anyOf": [
241
+ {
242
+ "type": "integer",
243
+ "minimum": 1,
244
+ "maximum": 500
245
+ },
246
+ {
247
+ "type": "null"
248
+ }
249
+ ]
250
+ },
251
+ "weight": {
252
+ "anyOf": [
253
+ {
254
+ "type": "string"
255
+ },
256
+ {
257
+ "type": "null"
258
+ }
259
+ ]
260
+ },
261
+ "color": {
262
+ "anyOf": [
263
+ {
264
+ "type": "string"
265
+ },
266
+ {
267
+ "type": "null"
268
+ }
269
+ ]
270
+ },
271
+ "opacity": {
272
+ "anyOf": [
273
+ {
274
+ "type": "number",
275
+ "minimum": 0,
276
+ "maximum": 1
277
+ },
278
+ {
279
+ "type": "null"
280
+ }
281
+ ]
282
+ },
283
+ "background": {
284
+ "anyOf": [
285
+ {
286
+ "type": "string"
287
+ },
288
+ {
289
+ "type": "null"
290
+ }
291
+ ]
292
+ },
293
+ "stroke": {
294
+ "anyOf": [
295
+ {
296
+ "$ref": "#/$defs/RichTextStroke"
297
+ },
298
+ {
299
+ "type": "null"
300
+ }
301
+ ]
302
+ }
303
+ },
304
+ "additionalProperties": false,
305
+ "type": "object",
306
+ "required": [
307
+ "family",
308
+ "size",
309
+ "weight",
310
+ "color",
311
+ "opacity",
312
+ "background",
313
+ "stroke"
314
+ ]
315
+ },
316
+ "RichTextStroke": {
317
+ "properties": {
318
+ "width": {
319
+ "anyOf": [
320
+ {
321
+ "type": "number",
322
+ "minimum": 0
323
+ },
324
+ {
325
+ "type": "null"
326
+ }
327
+ ]
328
+ },
329
+ "color": {
330
+ "anyOf": [
331
+ {
332
+ "type": "string",
333
+ "enum": [
334
+ "#000000"
335
+ ]
336
+ },
337
+ {
338
+ "type": "null"
339
+ }
340
+ ]
341
+ },
342
+ "opacity": {
343
+ "anyOf": [
344
+ {
345
+ "type": "number",
346
+ "minimum": 0,
347
+ "maximum": 1
348
+ },
349
+ {
350
+ "type": "null"
351
+ }
352
+ ]
353
+ }
354
+ },
355
+ "additionalProperties": false,
356
+ "type": "object",
357
+ "required": [
358
+ "width",
359
+ "color",
360
+ "opacity"
361
+ ]
362
+ },
305
363
  "RichTextStyle": {
306
364
  "properties": {
307
365
  "letterSpacing": {
@@ -448,53 +506,6 @@
448
506
  "additionalProperties": false,
449
507
  "type": "object"
450
508
  },
451
- "RichTextStroke": {
452
- "properties": {
453
- "width": {
454
- "anyOf": [
455
- {
456
- "type": "number",
457
- "minimum": 0
458
- },
459
- {
460
- "type": "null"
461
- }
462
- ]
463
- },
464
- "color": {
465
- "anyOf": [
466
- {
467
- "type": "string",
468
- "enum": [
469
- "#000000"
470
- ]
471
- },
472
- {
473
- "type": "null"
474
- }
475
- ]
476
- },
477
- "opacity": {
478
- "anyOf": [
479
- {
480
- "type": "number",
481
- "minimum": 0,
482
- "maximum": 1
483
- },
484
- {
485
- "type": "null"
486
- }
487
- ]
488
- }
489
- },
490
- "additionalProperties": false,
491
- "type": "object",
492
- "required": [
493
- "width",
494
- "color",
495
- "opacity"
496
- ]
497
- },
498
509
  "RichTextShadow": {
499
510
  "properties": {
500
511
  "offsetX": {
@@ -836,98 +847,6 @@
836
847
  "animation"
837
848
  ]
838
849
  },
839
- "RichTextFont": {
840
- "properties": {
841
- "family": {
842
- "anyOf": [
843
- {
844
- "type": "string",
845
- "enum": [
846
- "Open Sans"
847
- ]
848
- },
849
- {
850
- "type": "null"
851
- }
852
- ]
853
- },
854
- "size": {
855
- "anyOf": [
856
- {
857
- "type": "integer",
858
- "minimum": 1,
859
- "maximum": 500
860
- },
861
- {
862
- "type": "null"
863
- }
864
- ]
865
- },
866
- "weight": {
867
- "anyOf": [
868
- {
869
- "type": "string"
870
- },
871
- {
872
- "type": "null"
873
- }
874
- ]
875
- },
876
- "color": {
877
- "anyOf": [
878
- {
879
- "type": "string"
880
- },
881
- {
882
- "type": "null"
883
- }
884
- ]
885
- },
886
- "opacity": {
887
- "anyOf": [
888
- {
889
- "type": "number",
890
- "minimum": 0,
891
- "maximum": 1
892
- },
893
- {
894
- "type": "null"
895
- }
896
- ]
897
- },
898
- "background": {
899
- "anyOf": [
900
- {
901
- "type": "string"
902
- },
903
- {
904
- "type": "null"
905
- }
906
- ]
907
- },
908
- "stroke": {
909
- "anyOf": [
910
- {
911
- "$ref": "#/$defs/RichTextStroke"
912
- },
913
- {
914
- "type": "null"
915
- }
916
- ]
917
- }
918
- },
919
- "additionalProperties": false,
920
- "type": "object",
921
- "required": [
922
- "family",
923
- "size",
924
- "weight",
925
- "color",
926
- "opacity",
927
- "background",
928
- "stroke"
929
- ]
930
- },
931
850
  "RichTextAlignment": {
932
851
  "properties": {
933
852
  "horizontal": {