flashdata 1.0.0__py3-none-any.whl

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.
@@ -0,0 +1,1096 @@
1
+ {
2
+ "google_search": {
3
+ "type": "object",
4
+ "required": [
5
+ "source",
6
+ "query"
7
+ ],
8
+ "properties": {
9
+ "source": {
10
+ "type": "string",
11
+ "const": "google_search"
12
+ },
13
+ "query": {
14
+ "type": "string",
15
+ "minLength": 1,
16
+ "maxLength": 2000
17
+ },
18
+ "params": {
19
+ "type": "object",
20
+ "additionalProperties": false,
21
+ "properties": {
22
+ "gl": {
23
+ "type": "string",
24
+ "minLength": 2,
25
+ "maxLength": 2,
26
+ "pattern": "^[A-Za-z]{2}$",
27
+ "description": "Country code. Set explicitly when needed; omitted values use the search provider\u2019s behavior."
28
+ },
29
+ "hl": {
30
+ "type": "string",
31
+ "minLength": 1,
32
+ "maxLength": 35,
33
+ "pattern": "^[A-Za-z0-9-]+$",
34
+ "description": "Interface language. Set explicitly when needed; omitted values use the search provider\u2019s behavior."
35
+ },
36
+ "location": {
37
+ "type": "string",
38
+ "minLength": 1,
39
+ "maxLength": 200
40
+ },
41
+ "num": {
42
+ "type": "integer",
43
+ "minimum": 1,
44
+ "maximum": 100,
45
+ "description": "Requested result count. Actual count varies by query and search type; no fixed value is added when omitted."
46
+ },
47
+ "page": {
48
+ "type": "integer",
49
+ "minimum": 1,
50
+ "maximum": 100,
51
+ "description": "Requested page. Set explicitly for pagination; each page is a separate query."
52
+ },
53
+ "tbs": {
54
+ "type": "string",
55
+ "minLength": 1,
56
+ "maxLength": 200
57
+ },
58
+ "autocorrect": {
59
+ "type": "boolean"
60
+ }
61
+ }
62
+ }
63
+ },
64
+ "description": "Google Search. Supported modes: realtime, async, batch. Provider-specific storage requirements and conditional media options are validated by the server; see the source reference.",
65
+ "externalDocs": {
66
+ "url": "https://flashdata.dev/docs/sources/google_search"
67
+ }
68
+ },
69
+ "google_images": {
70
+ "type": "object",
71
+ "required": [
72
+ "source",
73
+ "query"
74
+ ],
75
+ "properties": {
76
+ "source": {
77
+ "type": "string",
78
+ "const": "google_images"
79
+ },
80
+ "query": {
81
+ "type": "string",
82
+ "minLength": 1,
83
+ "maxLength": 2000
84
+ },
85
+ "params": {
86
+ "type": "object",
87
+ "additionalProperties": false,
88
+ "properties": {
89
+ "gl": {
90
+ "type": "string",
91
+ "minLength": 2,
92
+ "maxLength": 2,
93
+ "pattern": "^[A-Za-z]{2}$",
94
+ "description": "Country code. Set explicitly when needed; omitted values use the search provider\u2019s behavior."
95
+ },
96
+ "hl": {
97
+ "type": "string",
98
+ "minLength": 1,
99
+ "maxLength": 35,
100
+ "pattern": "^[A-Za-z0-9-]+$",
101
+ "description": "Interface language. Set explicitly when needed; omitted values use the search provider\u2019s behavior."
102
+ },
103
+ "location": {
104
+ "type": "string",
105
+ "minLength": 1,
106
+ "maxLength": 200
107
+ },
108
+ "num": {
109
+ "type": "integer",
110
+ "minimum": 1,
111
+ "maximum": 100,
112
+ "description": "Requested result count. Actual count varies by query and search type; no fixed value is added when omitted."
113
+ },
114
+ "page": {
115
+ "type": "integer",
116
+ "minimum": 1,
117
+ "maximum": 100,
118
+ "description": "Requested page. Set explicitly for pagination; each page is a separate query."
119
+ },
120
+ "tbs": {
121
+ "type": "string",
122
+ "minLength": 1,
123
+ "maxLength": 200
124
+ },
125
+ "autocorrect": {
126
+ "type": "boolean"
127
+ }
128
+ }
129
+ }
130
+ },
131
+ "description": "Google Images. Supported modes: realtime, async, batch. Provider-specific storage requirements and conditional media options are validated by the server; see the source reference.",
132
+ "externalDocs": {
133
+ "url": "https://flashdata.dev/docs/sources/google_images"
134
+ }
135
+ },
136
+ "google_news": {
137
+ "type": "object",
138
+ "required": [
139
+ "source",
140
+ "query"
141
+ ],
142
+ "properties": {
143
+ "source": {
144
+ "type": "string",
145
+ "const": "google_news"
146
+ },
147
+ "query": {
148
+ "type": "string",
149
+ "minLength": 1,
150
+ "maxLength": 2000
151
+ },
152
+ "params": {
153
+ "type": "object",
154
+ "additionalProperties": false,
155
+ "properties": {
156
+ "gl": {
157
+ "type": "string",
158
+ "minLength": 2,
159
+ "maxLength": 2,
160
+ "pattern": "^[A-Za-z]{2}$",
161
+ "description": "Country code. Set explicitly when needed; omitted values use the search provider\u2019s behavior."
162
+ },
163
+ "hl": {
164
+ "type": "string",
165
+ "minLength": 1,
166
+ "maxLength": 35,
167
+ "pattern": "^[A-Za-z0-9-]+$",
168
+ "description": "Interface language. Set explicitly when needed; omitted values use the search provider\u2019s behavior."
169
+ },
170
+ "location": {
171
+ "type": "string",
172
+ "minLength": 1,
173
+ "maxLength": 200
174
+ },
175
+ "num": {
176
+ "type": "integer",
177
+ "minimum": 1,
178
+ "maximum": 100,
179
+ "description": "Requested result count. Actual count varies by query and search type; no fixed value is added when omitted."
180
+ },
181
+ "page": {
182
+ "type": "integer",
183
+ "minimum": 1,
184
+ "maximum": 100,
185
+ "description": "Requested page. Set explicitly for pagination; each page is a separate query."
186
+ },
187
+ "tbs": {
188
+ "type": "string",
189
+ "minLength": 1,
190
+ "maxLength": 200
191
+ },
192
+ "autocorrect": {
193
+ "type": "boolean"
194
+ }
195
+ }
196
+ }
197
+ },
198
+ "description": "Google News. Supported modes: realtime, async, batch. Provider-specific storage requirements and conditional media options are validated by the server; see the source reference.",
199
+ "externalDocs": {
200
+ "url": "https://flashdata.dev/docs/sources/google_news"
201
+ }
202
+ },
203
+ "google_shopping": {
204
+ "type": "object",
205
+ "required": [
206
+ "source",
207
+ "query"
208
+ ],
209
+ "properties": {
210
+ "source": {
211
+ "type": "string",
212
+ "const": "google_shopping"
213
+ },
214
+ "query": {
215
+ "type": "string",
216
+ "minLength": 1,
217
+ "maxLength": 2000
218
+ },
219
+ "params": {
220
+ "type": "object",
221
+ "additionalProperties": false,
222
+ "properties": {
223
+ "gl": {
224
+ "type": "string",
225
+ "minLength": 2,
226
+ "maxLength": 2,
227
+ "pattern": "^[A-Za-z]{2}$",
228
+ "description": "Country code. Set explicitly when needed; omitted values use the search provider\u2019s behavior."
229
+ },
230
+ "hl": {
231
+ "type": "string",
232
+ "minLength": 1,
233
+ "maxLength": 35,
234
+ "pattern": "^[A-Za-z0-9-]+$",
235
+ "description": "Interface language. Set explicitly when needed; omitted values use the search provider\u2019s behavior."
236
+ },
237
+ "location": {
238
+ "type": "string",
239
+ "minLength": 1,
240
+ "maxLength": 200
241
+ },
242
+ "num": {
243
+ "type": "integer",
244
+ "minimum": 1,
245
+ "maximum": 100,
246
+ "description": "Requested result count. Actual count varies by query and search type; no fixed value is added when omitted."
247
+ },
248
+ "page": {
249
+ "type": "integer",
250
+ "minimum": 1,
251
+ "maximum": 100,
252
+ "description": "Requested page. Set explicitly for pagination; each page is a separate query."
253
+ },
254
+ "tbs": {
255
+ "type": "string",
256
+ "minLength": 1,
257
+ "maxLength": 200
258
+ },
259
+ "autocorrect": {
260
+ "type": "boolean"
261
+ }
262
+ }
263
+ }
264
+ },
265
+ "description": "Google Shopping. Supported modes: realtime, async, batch. Provider-specific storage requirements and conditional media options are validated by the server; see the source reference.",
266
+ "externalDocs": {
267
+ "url": "https://flashdata.dev/docs/sources/google_shopping"
268
+ }
269
+ },
270
+ "google_videos": {
271
+ "type": "object",
272
+ "required": [
273
+ "source",
274
+ "query"
275
+ ],
276
+ "properties": {
277
+ "source": {
278
+ "type": "string",
279
+ "const": "google_videos"
280
+ },
281
+ "query": {
282
+ "type": "string",
283
+ "minLength": 1,
284
+ "maxLength": 2000
285
+ },
286
+ "params": {
287
+ "type": "object",
288
+ "additionalProperties": false,
289
+ "properties": {
290
+ "gl": {
291
+ "type": "string",
292
+ "minLength": 2,
293
+ "maxLength": 2,
294
+ "pattern": "^[A-Za-z]{2}$",
295
+ "description": "Country code. Set explicitly when needed; omitted values use the search provider\u2019s behavior."
296
+ },
297
+ "hl": {
298
+ "type": "string",
299
+ "minLength": 1,
300
+ "maxLength": 35,
301
+ "pattern": "^[A-Za-z0-9-]+$",
302
+ "description": "Interface language. Set explicitly when needed; omitted values use the search provider\u2019s behavior."
303
+ },
304
+ "location": {
305
+ "type": "string",
306
+ "minLength": 1,
307
+ "maxLength": 200
308
+ },
309
+ "num": {
310
+ "type": "integer",
311
+ "minimum": 1,
312
+ "maximum": 100,
313
+ "description": "Requested result count. Actual count varies by query and search type; no fixed value is added when omitted."
314
+ },
315
+ "page": {
316
+ "type": "integer",
317
+ "minimum": 1,
318
+ "maximum": 100,
319
+ "description": "Requested page. Set explicitly for pagination; each page is a separate query."
320
+ },
321
+ "tbs": {
322
+ "type": "string",
323
+ "minLength": 1,
324
+ "maxLength": 200
325
+ },
326
+ "autocorrect": {
327
+ "type": "boolean"
328
+ }
329
+ }
330
+ }
331
+ },
332
+ "description": "Google Videos. Supported modes: realtime, async, batch. Provider-specific storage requirements and conditional media options are validated by the server; see the source reference.",
333
+ "externalDocs": {
334
+ "url": "https://flashdata.dev/docs/sources/google_videos"
335
+ }
336
+ },
337
+ "google_places": {
338
+ "type": "object",
339
+ "required": [
340
+ "source",
341
+ "query"
342
+ ],
343
+ "properties": {
344
+ "source": {
345
+ "type": "string",
346
+ "const": "google_places"
347
+ },
348
+ "query": {
349
+ "type": "string",
350
+ "minLength": 1,
351
+ "maxLength": 2000
352
+ },
353
+ "params": {
354
+ "type": "object",
355
+ "additionalProperties": false,
356
+ "properties": {
357
+ "gl": {
358
+ "type": "string",
359
+ "minLength": 2,
360
+ "maxLength": 2,
361
+ "pattern": "^[A-Za-z]{2}$",
362
+ "description": "Country code. Set explicitly when needed; omitted values use the search provider\u2019s behavior."
363
+ },
364
+ "hl": {
365
+ "type": "string",
366
+ "minLength": 1,
367
+ "maxLength": 35,
368
+ "pattern": "^[A-Za-z0-9-]+$",
369
+ "description": "Interface language. Set explicitly when needed; omitted values use the search provider\u2019s behavior."
370
+ },
371
+ "location": {
372
+ "type": "string",
373
+ "minLength": 1,
374
+ "maxLength": 200
375
+ },
376
+ "num": {
377
+ "type": "integer",
378
+ "minimum": 1,
379
+ "maximum": 100,
380
+ "description": "Requested result count. Actual count varies by query and search type; no fixed value is added when omitted."
381
+ },
382
+ "page": {
383
+ "type": "integer",
384
+ "minimum": 1,
385
+ "maximum": 100,
386
+ "description": "Requested page. Set explicitly for pagination; each page is a separate query."
387
+ },
388
+ "tbs": {
389
+ "type": "string",
390
+ "minLength": 1,
391
+ "maxLength": 200
392
+ },
393
+ "autocorrect": {
394
+ "type": "boolean"
395
+ }
396
+ }
397
+ }
398
+ },
399
+ "description": "Google Places. Supported modes: realtime, async, batch. Provider-specific storage requirements and conditional media options are validated by the server; see the source reference.",
400
+ "externalDocs": {
401
+ "url": "https://flashdata.dev/docs/sources/google_places"
402
+ }
403
+ },
404
+ "youtube_search": {
405
+ "type": "object",
406
+ "required": [
407
+ "source",
408
+ "query"
409
+ ],
410
+ "properties": {
411
+ "source": {
412
+ "type": "string",
413
+ "const": "youtube_search"
414
+ },
415
+ "query": {
416
+ "type": "string",
417
+ "minLength": 1,
418
+ "maxLength": 2000
419
+ },
420
+ "params": {
421
+ "type": "object",
422
+ "additionalProperties": false,
423
+ "properties": {
424
+ "max_results": {
425
+ "type": "integer",
426
+ "minimum": 1,
427
+ "maximum": 20,
428
+ "default": 20
429
+ },
430
+ "filters": {
431
+ "type": [
432
+ "object",
433
+ "null"
434
+ ],
435
+ "additionalProperties": false,
436
+ "properties": {
437
+ "360": {
438
+ "type": "boolean"
439
+ },
440
+ "duration": {
441
+ "type": "string",
442
+ "minLength": 1,
443
+ "maxLength": 2000,
444
+ "enum": [
445
+ "<4",
446
+ "4-20",
447
+ ">20"
448
+ ]
449
+ },
450
+ "sort_by": {
451
+ "type": "string",
452
+ "minLength": 1,
453
+ "maxLength": 2000,
454
+ "enum": [
455
+ "rating",
456
+ "relevance",
457
+ "view_count",
458
+ "upload_date"
459
+ ]
460
+ },
461
+ "type": {
462
+ "type": "string",
463
+ "minLength": 1,
464
+ "maxLength": 2000,
465
+ "enum": [
466
+ "video",
467
+ "channel",
468
+ "playlist",
469
+ "movie"
470
+ ]
471
+ },
472
+ "upload_date": {
473
+ "type": "string",
474
+ "minLength": 1,
475
+ "maxLength": 2000,
476
+ "enum": [
477
+ "today",
478
+ "last_hour",
479
+ "this_week",
480
+ "this_month",
481
+ "this_year"
482
+ ]
483
+ },
484
+ "3d": {
485
+ "type": "boolean"
486
+ },
487
+ "4k": {
488
+ "type": "boolean"
489
+ },
490
+ "creative_commons": {
491
+ "type": "boolean"
492
+ },
493
+ "hd": {
494
+ "type": "boolean"
495
+ },
496
+ "hdr": {
497
+ "type": "boolean"
498
+ },
499
+ "live": {
500
+ "type": "boolean"
501
+ },
502
+ "location": {
503
+ "type": "boolean"
504
+ },
505
+ "purchased": {
506
+ "type": "boolean"
507
+ },
508
+ "subtitles": {
509
+ "type": "boolean"
510
+ },
511
+ "vr180": {
512
+ "type": "boolean"
513
+ }
514
+ }
515
+ }
516
+ }
517
+ }
518
+ },
519
+ "description": "YouTube Search. Supported modes: realtime, async, batch. Provider-specific storage requirements and conditional media options are validated by the server; see the source reference.",
520
+ "externalDocs": {
521
+ "url": "https://flashdata.dev/docs/sources/youtube_search"
522
+ }
523
+ },
524
+ "youtube_search_extended": {
525
+ "type": "object",
526
+ "required": [
527
+ "source",
528
+ "query"
529
+ ],
530
+ "properties": {
531
+ "source": {
532
+ "type": "string",
533
+ "const": "youtube_search_extended"
534
+ },
535
+ "query": {
536
+ "type": "string",
537
+ "minLength": 1,
538
+ "maxLength": 2000
539
+ },
540
+ "params": {
541
+ "type": "object",
542
+ "additionalProperties": false,
543
+ "properties": {
544
+ "max_results": {
545
+ "type": "integer",
546
+ "minimum": 1,
547
+ "maximum": 700,
548
+ "default": 20
549
+ },
550
+ "filters": {
551
+ "type": [
552
+ "object",
553
+ "null"
554
+ ],
555
+ "additionalProperties": false,
556
+ "properties": {
557
+ "360": {
558
+ "type": "boolean"
559
+ },
560
+ "duration": {
561
+ "type": "string",
562
+ "minLength": 1,
563
+ "maxLength": 2000,
564
+ "enum": [
565
+ "<4",
566
+ "4-20",
567
+ ">20"
568
+ ]
569
+ },
570
+ "sort_by": {
571
+ "type": "string",
572
+ "minLength": 1,
573
+ "maxLength": 2000,
574
+ "enum": [
575
+ "rating",
576
+ "relevance",
577
+ "view_count",
578
+ "upload_date"
579
+ ]
580
+ },
581
+ "type": {
582
+ "type": "string",
583
+ "minLength": 1,
584
+ "maxLength": 2000,
585
+ "enum": [
586
+ "video",
587
+ "channel",
588
+ "playlist",
589
+ "movie"
590
+ ]
591
+ },
592
+ "upload_date": {
593
+ "type": "string",
594
+ "minLength": 1,
595
+ "maxLength": 2000,
596
+ "enum": [
597
+ "today",
598
+ "last_hour",
599
+ "this_week",
600
+ "this_month",
601
+ "this_year"
602
+ ]
603
+ },
604
+ "3d": {
605
+ "type": "boolean"
606
+ },
607
+ "4k": {
608
+ "type": "boolean"
609
+ },
610
+ "creative_commons": {
611
+ "type": "boolean"
612
+ },
613
+ "hd": {
614
+ "type": "boolean"
615
+ },
616
+ "hdr": {
617
+ "type": "boolean"
618
+ },
619
+ "live": {
620
+ "type": "boolean"
621
+ },
622
+ "location": {
623
+ "type": "boolean"
624
+ },
625
+ "purchased": {
626
+ "type": "boolean"
627
+ },
628
+ "subtitles": {
629
+ "type": "boolean"
630
+ },
631
+ "vr180": {
632
+ "type": "boolean"
633
+ }
634
+ }
635
+ }
636
+ }
637
+ }
638
+ },
639
+ "description": "YouTube Extended Search. Supported modes: realtime, async, batch. Provider-specific storage requirements and conditional media options are validated by the server; see the source reference.",
640
+ "externalDocs": {
641
+ "url": "https://flashdata.dev/docs/sources/youtube_search_extended"
642
+ }
643
+ },
644
+ "youtube_metadata": {
645
+ "type": "object",
646
+ "required": [
647
+ "source",
648
+ "video_id"
649
+ ],
650
+ "properties": {
651
+ "source": {
652
+ "type": "string",
653
+ "const": "youtube_metadata"
654
+ },
655
+ "video_id": {
656
+ "type": "string",
657
+ "minLength": 11,
658
+ "maxLength": 11,
659
+ "pattern": "^[A-Za-z0-9_-]{11}$"
660
+ },
661
+ "params": {
662
+ "type": "object",
663
+ "additionalProperties": false,
664
+ "properties": {
665
+ "include_formats": {
666
+ "type": "boolean",
667
+ "default": true
668
+ },
669
+ "include_chapters": {
670
+ "type": "boolean",
671
+ "default": true
672
+ }
673
+ }
674
+ }
675
+ },
676
+ "description": "YouTube Metadata. Supported modes: realtime, async, batch. Provider-specific storage requirements and conditional media options are validated by the server; see the source reference.",
677
+ "externalDocs": {
678
+ "url": "https://flashdata.dev/docs/sources/youtube_metadata"
679
+ }
680
+ },
681
+ "youtube_transcript": {
682
+ "type": "object",
683
+ "required": [
684
+ "source",
685
+ "video_id"
686
+ ],
687
+ "properties": {
688
+ "source": {
689
+ "type": "string",
690
+ "const": "youtube_transcript"
691
+ },
692
+ "video_id": {
693
+ "type": "string",
694
+ "minLength": 11,
695
+ "maxLength": 11,
696
+ "pattern": "^[A-Za-z0-9_-]{11}$"
697
+ },
698
+ "params": {
699
+ "type": "object",
700
+ "additionalProperties": false,
701
+ "properties": {
702
+ "language": {
703
+ "type": "string",
704
+ "minLength": 1,
705
+ "maxLength": 35,
706
+ "pattern": "^[A-Za-z0-9-]+$",
707
+ "default": "en"
708
+ },
709
+ "auto": {
710
+ "type": "boolean",
711
+ "default": true,
712
+ "description": "true selects automatically generated captions; false selects manually provided captions. Does not fall back between the two."
713
+ }
714
+ }
715
+ }
716
+ },
717
+ "description": "YouTube Transcript. Supported modes: realtime, async, batch. Provider-specific storage requirements and conditional media options are validated by the server; see the source reference.",
718
+ "externalDocs": {
719
+ "url": "https://flashdata.dev/docs/sources/youtube_transcript"
720
+ }
721
+ },
722
+ "youtube_captions": {
723
+ "type": "object",
724
+ "required": [
725
+ "source",
726
+ "video_id"
727
+ ],
728
+ "properties": {
729
+ "source": {
730
+ "type": "string",
731
+ "const": "youtube_captions"
732
+ },
733
+ "video_id": {
734
+ "type": "string",
735
+ "minLength": 11,
736
+ "maxLength": 11,
737
+ "pattern": "^[A-Za-z0-9_-]{11}$"
738
+ },
739
+ "params": {
740
+ "type": "object",
741
+ "additionalProperties": false,
742
+ "properties": {
743
+ "language": {
744
+ "type": "string",
745
+ "minLength": 1,
746
+ "maxLength": 35,
747
+ "pattern": "^[A-Za-z0-9-]+$",
748
+ "default": "en"
749
+ },
750
+ "auto": {
751
+ "type": "boolean",
752
+ "default": false,
753
+ "description": "true selects automatically generated captions; false selects manually provided captions. Does not fall back between the two."
754
+ }
755
+ }
756
+ }
757
+ },
758
+ "description": "YouTube Captions. Supported modes: realtime, async, batch. Provider-specific storage requirements and conditional media options are validated by the server; see the source reference.",
759
+ "externalDocs": {
760
+ "url": "https://flashdata.dev/docs/sources/youtube_captions"
761
+ }
762
+ },
763
+ "youtube_trainability": {
764
+ "type": "object",
765
+ "required": [
766
+ "source",
767
+ "video_id"
768
+ ],
769
+ "properties": {
770
+ "source": {
771
+ "type": "string",
772
+ "const": "youtube_trainability"
773
+ },
774
+ "video_id": {
775
+ "type": "string",
776
+ "minLength": 11,
777
+ "maxLength": 11,
778
+ "pattern": "^[A-Za-z0-9_-]{11}$"
779
+ },
780
+ "params": {
781
+ "type": "object",
782
+ "additionalProperties": false,
783
+ "properties": {}
784
+ }
785
+ },
786
+ "description": "YouTube Trainability. Supported modes: realtime, async, batch. Provider-specific storage requirements and conditional media options are validated by the server; see the source reference.",
787
+ "externalDocs": {
788
+ "url": "https://flashdata.dev/docs/sources/youtube_trainability"
789
+ }
790
+ },
791
+ "youtube_channel": {
792
+ "type": "object",
793
+ "required": [
794
+ "source",
795
+ "handle"
796
+ ],
797
+ "properties": {
798
+ "source": {
799
+ "type": "string",
800
+ "const": "youtube_channel"
801
+ },
802
+ "handle": {
803
+ "type": "string",
804
+ "minLength": 1,
805
+ "maxLength": 100
806
+ },
807
+ "params": {
808
+ "type": "object",
809
+ "additionalProperties": false,
810
+ "properties": {
811
+ "video_limit": {
812
+ "type": "integer",
813
+ "minimum": 1,
814
+ "maximum": 100,
815
+ "default": 20
816
+ }
817
+ }
818
+ }
819
+ },
820
+ "description": "YouTube Channel. Supported modes: realtime, async, batch. Provider-specific storage requirements and conditional media options are validated by the server; see the source reference.",
821
+ "externalDocs": {
822
+ "url": "https://flashdata.dev/docs/sources/youtube_channel"
823
+ }
824
+ },
825
+ "youtube_suggestions": {
826
+ "type": "object",
827
+ "required": [
828
+ "source",
829
+ "query"
830
+ ],
831
+ "properties": {
832
+ "source": {
833
+ "type": "string",
834
+ "const": "youtube_suggestions"
835
+ },
836
+ "query": {
837
+ "type": "string",
838
+ "minLength": 1,
839
+ "maxLength": 2000
840
+ },
841
+ "params": {
842
+ "type": "object",
843
+ "additionalProperties": false,
844
+ "properties": {
845
+ "language": {
846
+ "type": "string",
847
+ "minLength": 1,
848
+ "maxLength": 35,
849
+ "pattern": "^[A-Za-z0-9-]+$",
850
+ "default": "en"
851
+ },
852
+ "region": {
853
+ "type": "string",
854
+ "minLength": 2,
855
+ "maxLength": 2,
856
+ "default": "US",
857
+ "pattern": "^[A-Za-z]{2}$"
858
+ }
859
+ }
860
+ }
861
+ },
862
+ "description": "YouTube Suggestions. Supported modes: realtime, async, batch. Provider-specific storage requirements and conditional media options are validated by the server; see the source reference.",
863
+ "externalDocs": {
864
+ "url": "https://flashdata.dev/docs/sources/youtube_suggestions"
865
+ }
866
+ },
867
+ "youtube_download": {
868
+ "type": "object",
869
+ "required": [
870
+ "source",
871
+ "video_id",
872
+ "params"
873
+ ],
874
+ "properties": {
875
+ "source": {
876
+ "type": "string",
877
+ "const": "youtube_download"
878
+ },
879
+ "video_id": {
880
+ "type": "string",
881
+ "minLength": 11,
882
+ "maxLength": 11,
883
+ "pattern": "^[A-Za-z0-9_-]{11}$"
884
+ },
885
+ "params": {
886
+ "type": "object",
887
+ "additionalProperties": false,
888
+ "properties": {
889
+ "download_type": {
890
+ "type": "string",
891
+ "minLength": 1,
892
+ "maxLength": 11,
893
+ "default": "audio_video",
894
+ "enum": [
895
+ "audio_video",
896
+ "video",
897
+ "audio"
898
+ ]
899
+ },
900
+ "video_quality": {
901
+ "type": "string",
902
+ "minLength": 1,
903
+ "maxLength": 40,
904
+ "default": "<=720",
905
+ "enum": [
906
+ "best",
907
+ "worst",
908
+ "<=144",
909
+ "==144",
910
+ ">=144",
911
+ "<=360",
912
+ "==360",
913
+ ">=360",
914
+ "<=480",
915
+ "==480",
916
+ ">=480",
917
+ "<=720",
918
+ "==720",
919
+ ">=720",
920
+ "<=1080",
921
+ "==1080",
922
+ ">=1080",
923
+ "<=1440",
924
+ "==1440",
925
+ ">=1440",
926
+ "<=2160",
927
+ "==2160",
928
+ ">=2160",
929
+ "<=4320",
930
+ "==4320",
931
+ ">=4320"
932
+ ]
933
+ },
934
+ "fps": {
935
+ "type": "string",
936
+ "minLength": 1,
937
+ "maxLength": 6,
938
+ "pattern": "^(?:>=|<=|==)(?:[1-9]\\d?|1\\d\\d|2[0-3]\\d|240)$"
939
+ },
940
+ "audio_language": {
941
+ "type": "string",
942
+ "minLength": 1,
943
+ "maxLength": 8,
944
+ "default": "default",
945
+ "enum": [
946
+ "default",
947
+ "original"
948
+ ]
949
+ },
950
+ "audio_quality": {
951
+ "type": "string",
952
+ "minLength": 1,
953
+ "maxLength": 10,
954
+ "default": "best",
955
+ "enum": [
956
+ "best",
957
+ "320",
958
+ "256",
959
+ "192",
960
+ "128"
961
+ ]
962
+ },
963
+ "yt_dlp_format": {
964
+ "type": "string",
965
+ "minLength": 1,
966
+ "maxLength": 1024
967
+ },
968
+ "upload_metadata": {
969
+ "type": "boolean",
970
+ "default": false
971
+ },
972
+ "output_format": {
973
+ "type": "string",
974
+ "minLength": 1,
975
+ "maxLength": 10,
976
+ "default": "mp4",
977
+ "enum": [
978
+ "mp4",
979
+ "webm",
980
+ "mkv",
981
+ "m4a",
982
+ "mp3",
983
+ "opus"
984
+ ]
985
+ },
986
+ "start_at": {
987
+ "type": "string",
988
+ "minLength": 1,
989
+ "maxLength": 8,
990
+ "pattern": "^\\d{1,2}:[0-5]\\d:[0-5]\\d$"
991
+ },
992
+ "end_at": {
993
+ "type": "string",
994
+ "minLength": 1,
995
+ "maxLength": 8,
996
+ "pattern": "^\\d{1,2}:[0-5]\\d:[0-5]\\d$"
997
+ },
998
+ "storage": {
999
+ "type": "object",
1000
+ "additionalProperties": false,
1001
+ "required": [
1002
+ "storage_type",
1003
+ "storage_url"
1004
+ ],
1005
+ "description": "Customer-owned destination, using the same fields as Download API params.storage. Supply credentials from your configured storage; do not invent values or display secrets. GCS uses service_account; Azure uses account_name and a container SAS with write permission; other providers use access_key/secret_key and provider endpoint/region as needed.",
1006
+ "properties": {
1007
+ "storage_type": {
1008
+ "type": "string",
1009
+ "enum": [
1010
+ "azure",
1011
+ "bos",
1012
+ "cos",
1013
+ "gcs",
1014
+ "oss",
1015
+ "s3",
1016
+ "s3_compatible",
1017
+ "tos"
1018
+ ]
1019
+ },
1020
+ "storage_url": {
1021
+ "type": "string",
1022
+ "minLength": 1,
1023
+ "maxLength": 1024,
1024
+ "description": "Bucket name (Azure: container name). Not a local path or a full object URL."
1025
+ },
1026
+ "object_prefix": {
1027
+ "type": "string",
1028
+ "minLength": 1,
1029
+ "maxLength": 513,
1030
+ "description": "Optional object folder prefix. Use a distinct prefix when keeping multiple versions of a video."
1031
+ },
1032
+ "access_key": {
1033
+ "type": "string",
1034
+ "maxLength": 4096
1035
+ },
1036
+ "secret_key": {
1037
+ "type": "string",
1038
+ "maxLength": 4096
1039
+ },
1040
+ "endpoint_url": {
1041
+ "type": "string",
1042
+ "maxLength": 4096,
1043
+ "description": "Provider endpoint, required for S3-compatible storage. Must be reachable from the download Worker."
1044
+ },
1045
+ "region": {
1046
+ "type": "string",
1047
+ "maxLength": 4096
1048
+ },
1049
+ "account_name": {
1050
+ "type": "string",
1051
+ "pattern": "^[a-z0-9]{3,24}$"
1052
+ },
1053
+ "sas_token": {
1054
+ "type": "string",
1055
+ "maxLength": 4097,
1056
+ "description": "Azure container SAS with write permission; never return this secret to the user in output."
1057
+ },
1058
+ "service_account": {
1059
+ "type": "object",
1060
+ "required": [
1061
+ "project_id",
1062
+ "client_email",
1063
+ "private_key"
1064
+ ],
1065
+ "properties": {
1066
+ "project_id": {
1067
+ "type": "string",
1068
+ "minLength": 1,
1069
+ "maxLength": 256
1070
+ },
1071
+ "client_email": {
1072
+ "type": "string",
1073
+ "minLength": 1
1074
+ },
1075
+ "private_key": {
1076
+ "type": "string",
1077
+ "minLength": 1,
1078
+ "maxLength": 16384
1079
+ }
1080
+ },
1081
+ "additionalProperties": true
1082
+ }
1083
+ }
1084
+ }
1085
+ },
1086
+ "required": [
1087
+ "storage"
1088
+ ]
1089
+ }
1090
+ },
1091
+ "description": "YouTube Download. Supported modes: async, batch. Provider-specific storage requirements and conditional media options are validated by the server; see the source reference.",
1092
+ "externalDocs": {
1093
+ "url": "https://flashdata.dev/docs/sources/youtube_download"
1094
+ }
1095
+ }
1096
+ }