@segha/tmdb 0.0.4 → 1.0.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.
- package/API/index.ts +7 -3
- package/CHANGELOG.md +16 -0
- package/DataTypes/Video.ts +10 -2
- package/Enums/MonetizationType.ts +15 -0
- package/Enums/ReleaseType.ts +17 -0
- package/Enums/WatchProvider.ts +27 -0
- package/Enums/index.ts +4 -0
- package/Movies/MovieDetails.ts +5 -1
- package/README.md +58 -12
- package/TVSeries/SerieDetails.ts +5 -1
- package/index.ts +1 -0
- package/json-schemas/API/MethodsSchema.json +780 -4
- package/json-schemas/API/SpecSchema.json +780 -4
- package/json-schemas/API/index.json +1710 -158
- package/json-schemas/DataTypes/VideoSchema.json +12 -2
- package/json-schemas/DataTypes/VideosResponseSchema.json +12 -2
- package/json-schemas/DataTypes/index.json +24 -4
- package/json-schemas/Enums/MonetizationType.json +11 -0
- package/json-schemas/Enums/ReleaseType.json +12 -0
- package/json-schemas/Enums/WatchProvider.json +17 -0
- package/json-schemas/Enums/index.json +47 -0
- package/json-schemas/MonetizationType.json +11 -0
- package/json-schemas/MovieDetailsSchema.json +365 -0
- package/json-schemas/Movies/MovieDetailsSchema.json +365 -0
- package/json-schemas/Movies/index.json +365 -0
- package/json-schemas/ReleaseType.json +12 -0
- package/json-schemas/SerieDetailsSchema.json +391 -0
- package/json-schemas/TVSeries/SerieDetailsSchema.json +391 -0
- package/json-schemas/TVSeries/index.json +391 -0
- package/json-schemas/VideoSchema.json +12 -2
- package/json-schemas/VideosResponseSchema.json +12 -2
- package/json-schemas/WatchProvider.json +17 -0
- package/json-schemas/index.json +820 -4
- package/package.json +1 -1
package/json-schemas/index.json
CHANGED
|
@@ -280,6 +280,17 @@
|
|
|
280
280
|
"english_name"
|
|
281
281
|
]
|
|
282
282
|
},
|
|
283
|
+
"MonetizationType": {
|
|
284
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
285
|
+
"type": "string",
|
|
286
|
+
"enum": [
|
|
287
|
+
"flatrate",
|
|
288
|
+
"free",
|
|
289
|
+
"ads",
|
|
290
|
+
"rent",
|
|
291
|
+
"buy"
|
|
292
|
+
]
|
|
293
|
+
},
|
|
283
294
|
"MovieDetailsParamsSchema": {
|
|
284
295
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
285
296
|
"type": "object",
|
|
@@ -515,6 +526,371 @@
|
|
|
515
526
|
}
|
|
516
527
|
],
|
|
517
528
|
"description": "Tagline"
|
|
529
|
+
},
|
|
530
|
+
"images": {
|
|
531
|
+
"type": "object",
|
|
532
|
+
"properties": {
|
|
533
|
+
"id": {
|
|
534
|
+
"type": "number",
|
|
535
|
+
"description": "Image ID"
|
|
536
|
+
},
|
|
537
|
+
"backdrops": {
|
|
538
|
+
"type": "array",
|
|
539
|
+
"items": {
|
|
540
|
+
"type": "object",
|
|
541
|
+
"properties": {
|
|
542
|
+
"aspect_ratio": {
|
|
543
|
+
"type": "number",
|
|
544
|
+
"description": "Aspect ratio"
|
|
545
|
+
},
|
|
546
|
+
"height": {
|
|
547
|
+
"type": "number",
|
|
548
|
+
"description": "Height"
|
|
549
|
+
},
|
|
550
|
+
"iso_639_1": {
|
|
551
|
+
"anyOf": [
|
|
552
|
+
{
|
|
553
|
+
"type": "string"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"type": "null"
|
|
557
|
+
}
|
|
558
|
+
],
|
|
559
|
+
"description": "Spoken language ISO 639-1 code"
|
|
560
|
+
},
|
|
561
|
+
"file_path": {
|
|
562
|
+
"type": "string",
|
|
563
|
+
"description": "File path"
|
|
564
|
+
},
|
|
565
|
+
"vote_average": {
|
|
566
|
+
"type": "number",
|
|
567
|
+
"description": "Vote average"
|
|
568
|
+
},
|
|
569
|
+
"vote_count": {
|
|
570
|
+
"type": "number",
|
|
571
|
+
"description": "Vote count"
|
|
572
|
+
},
|
|
573
|
+
"width": {
|
|
574
|
+
"type": "number",
|
|
575
|
+
"description": "Width"
|
|
576
|
+
}
|
|
577
|
+
},
|
|
578
|
+
"required": [
|
|
579
|
+
"aspect_ratio",
|
|
580
|
+
"height",
|
|
581
|
+
"iso_639_1",
|
|
582
|
+
"file_path",
|
|
583
|
+
"vote_average",
|
|
584
|
+
"vote_count",
|
|
585
|
+
"width"
|
|
586
|
+
]
|
|
587
|
+
},
|
|
588
|
+
"description": "Backdrops"
|
|
589
|
+
},
|
|
590
|
+
"logos": {
|
|
591
|
+
"type": "array",
|
|
592
|
+
"items": {
|
|
593
|
+
"type": "object",
|
|
594
|
+
"properties": {
|
|
595
|
+
"aspect_ratio": {
|
|
596
|
+
"type": "number",
|
|
597
|
+
"description": "Aspect ratio"
|
|
598
|
+
},
|
|
599
|
+
"height": {
|
|
600
|
+
"type": "number",
|
|
601
|
+
"description": "Height"
|
|
602
|
+
},
|
|
603
|
+
"iso_639_1": {
|
|
604
|
+
"anyOf": [
|
|
605
|
+
{
|
|
606
|
+
"type": "string"
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"type": "null"
|
|
610
|
+
}
|
|
611
|
+
],
|
|
612
|
+
"description": "Spoken language ISO 639-1 code"
|
|
613
|
+
},
|
|
614
|
+
"file_path": {
|
|
615
|
+
"type": "string",
|
|
616
|
+
"description": "File path"
|
|
617
|
+
},
|
|
618
|
+
"vote_average": {
|
|
619
|
+
"type": "number",
|
|
620
|
+
"description": "Vote average"
|
|
621
|
+
},
|
|
622
|
+
"vote_count": {
|
|
623
|
+
"type": "number",
|
|
624
|
+
"description": "Vote count"
|
|
625
|
+
},
|
|
626
|
+
"width": {
|
|
627
|
+
"type": "number",
|
|
628
|
+
"description": "Width"
|
|
629
|
+
}
|
|
630
|
+
},
|
|
631
|
+
"required": [
|
|
632
|
+
"aspect_ratio",
|
|
633
|
+
"height",
|
|
634
|
+
"iso_639_1",
|
|
635
|
+
"file_path",
|
|
636
|
+
"vote_average",
|
|
637
|
+
"vote_count",
|
|
638
|
+
"width"
|
|
639
|
+
]
|
|
640
|
+
},
|
|
641
|
+
"description": "Logos"
|
|
642
|
+
},
|
|
643
|
+
"posters": {
|
|
644
|
+
"type": "array",
|
|
645
|
+
"items": {
|
|
646
|
+
"type": "object",
|
|
647
|
+
"properties": {
|
|
648
|
+
"aspect_ratio": {
|
|
649
|
+
"type": "number",
|
|
650
|
+
"description": "Aspect ratio"
|
|
651
|
+
},
|
|
652
|
+
"height": {
|
|
653
|
+
"type": "number",
|
|
654
|
+
"description": "Height"
|
|
655
|
+
},
|
|
656
|
+
"iso_639_1": {
|
|
657
|
+
"anyOf": [
|
|
658
|
+
{
|
|
659
|
+
"type": "string"
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"type": "null"
|
|
663
|
+
}
|
|
664
|
+
],
|
|
665
|
+
"description": "Spoken language ISO 639-1 code"
|
|
666
|
+
},
|
|
667
|
+
"file_path": {
|
|
668
|
+
"type": "string",
|
|
669
|
+
"description": "File path"
|
|
670
|
+
},
|
|
671
|
+
"vote_average": {
|
|
672
|
+
"type": "number",
|
|
673
|
+
"description": "Vote average"
|
|
674
|
+
},
|
|
675
|
+
"vote_count": {
|
|
676
|
+
"type": "number",
|
|
677
|
+
"description": "Vote count"
|
|
678
|
+
},
|
|
679
|
+
"width": {
|
|
680
|
+
"type": "number",
|
|
681
|
+
"description": "Width"
|
|
682
|
+
}
|
|
683
|
+
},
|
|
684
|
+
"required": [
|
|
685
|
+
"aspect_ratio",
|
|
686
|
+
"height",
|
|
687
|
+
"iso_639_1",
|
|
688
|
+
"file_path",
|
|
689
|
+
"vote_average",
|
|
690
|
+
"vote_count",
|
|
691
|
+
"width"
|
|
692
|
+
]
|
|
693
|
+
},
|
|
694
|
+
"description": "Posters"
|
|
695
|
+
}
|
|
696
|
+
},
|
|
697
|
+
"required": [
|
|
698
|
+
"id",
|
|
699
|
+
"backdrops",
|
|
700
|
+
"logos",
|
|
701
|
+
"posters"
|
|
702
|
+
]
|
|
703
|
+
},
|
|
704
|
+
"videos": {
|
|
705
|
+
"type": "object",
|
|
706
|
+
"properties": {
|
|
707
|
+
"id": {
|
|
708
|
+
"type": "number",
|
|
709
|
+
"description": "Video ID"
|
|
710
|
+
},
|
|
711
|
+
"results": {
|
|
712
|
+
"type": "array",
|
|
713
|
+
"items": {
|
|
714
|
+
"type": "object",
|
|
715
|
+
"properties": {
|
|
716
|
+
"iso_639_1": {
|
|
717
|
+
"type": "string",
|
|
718
|
+
"description": "Spoken language ISO 639-1 code"
|
|
719
|
+
},
|
|
720
|
+
"iso_3166_1": {
|
|
721
|
+
"type": "string",
|
|
722
|
+
"description": "Production country ISO 3166-1 Alpha-2 code"
|
|
723
|
+
},
|
|
724
|
+
"name": {
|
|
725
|
+
"type": "string",
|
|
726
|
+
"description": "Video name"
|
|
727
|
+
},
|
|
728
|
+
"key": {
|
|
729
|
+
"type": "string",
|
|
730
|
+
"description": "Video key"
|
|
731
|
+
},
|
|
732
|
+
"site": {
|
|
733
|
+
"anyOf": [
|
|
734
|
+
{
|
|
735
|
+
"type": "string",
|
|
736
|
+
"const": "YouTube"
|
|
737
|
+
}
|
|
738
|
+
],
|
|
739
|
+
"description": "Video site"
|
|
740
|
+
},
|
|
741
|
+
"size": {
|
|
742
|
+
"type": "number",
|
|
743
|
+
"description": "Video size"
|
|
744
|
+
},
|
|
745
|
+
"type": {
|
|
746
|
+
"anyOf": [
|
|
747
|
+
{
|
|
748
|
+
"type": "string",
|
|
749
|
+
"const": "Teaser"
|
|
750
|
+
}
|
|
751
|
+
],
|
|
752
|
+
"description": "Video type"
|
|
753
|
+
},
|
|
754
|
+
"official": {
|
|
755
|
+
"type": "boolean",
|
|
756
|
+
"description": "Video official"
|
|
757
|
+
},
|
|
758
|
+
"published_at": {
|
|
759
|
+
"type": "string",
|
|
760
|
+
"description": "Video published at"
|
|
761
|
+
},
|
|
762
|
+
"id": {
|
|
763
|
+
"type": "string",
|
|
764
|
+
"description": "Video ID"
|
|
765
|
+
}
|
|
766
|
+
},
|
|
767
|
+
"required": [
|
|
768
|
+
"iso_639_1",
|
|
769
|
+
"iso_3166_1",
|
|
770
|
+
"name",
|
|
771
|
+
"key",
|
|
772
|
+
"site",
|
|
773
|
+
"size",
|
|
774
|
+
"type",
|
|
775
|
+
"official",
|
|
776
|
+
"published_at",
|
|
777
|
+
"id"
|
|
778
|
+
]
|
|
779
|
+
},
|
|
780
|
+
"description": "Videos"
|
|
781
|
+
}
|
|
782
|
+
},
|
|
783
|
+
"required": [
|
|
784
|
+
"id",
|
|
785
|
+
"results"
|
|
786
|
+
]
|
|
787
|
+
},
|
|
788
|
+
"similar": {
|
|
789
|
+
"type": "object",
|
|
790
|
+
"properties": {
|
|
791
|
+
"page": {
|
|
792
|
+
"type": "number",
|
|
793
|
+
"description": "Page number"
|
|
794
|
+
},
|
|
795
|
+
"results": {
|
|
796
|
+
"type": "array",
|
|
797
|
+
"items": {
|
|
798
|
+
"type": "object",
|
|
799
|
+
"properties": {
|
|
800
|
+
"id": {
|
|
801
|
+
"type": "number",
|
|
802
|
+
"description": "Unique identifier for the movie"
|
|
803
|
+
},
|
|
804
|
+
"title": {
|
|
805
|
+
"type": "string",
|
|
806
|
+
"description": "Movie title"
|
|
807
|
+
},
|
|
808
|
+
"original_title": {
|
|
809
|
+
"type": "string",
|
|
810
|
+
"description": "Original movie title (in original language)"
|
|
811
|
+
},
|
|
812
|
+
"original_language": {
|
|
813
|
+
"type": "string",
|
|
814
|
+
"description": "Original language code (e.g., 'en', 'es', 'fr')"
|
|
815
|
+
},
|
|
816
|
+
"overview": {
|
|
817
|
+
"type": "string",
|
|
818
|
+
"description": "Movie overview/synopsis"
|
|
819
|
+
},
|
|
820
|
+
"poster_path": {
|
|
821
|
+
"type": "string",
|
|
822
|
+
"description": "Poster path (relative URL)"
|
|
823
|
+
},
|
|
824
|
+
"backdrop_path": {
|
|
825
|
+
"type": "string",
|
|
826
|
+
"description": "Backdrop path (relative URL)"
|
|
827
|
+
},
|
|
828
|
+
"release_date": {
|
|
829
|
+
"type": "string",
|
|
830
|
+
"description": "Release date (YYYY-MM-DD format)"
|
|
831
|
+
},
|
|
832
|
+
"vote_average": {
|
|
833
|
+
"type": "number",
|
|
834
|
+
"description": "Average vote rating (0-10)"
|
|
835
|
+
},
|
|
836
|
+
"vote_count": {
|
|
837
|
+
"type": "number",
|
|
838
|
+
"description": "Total number of votes"
|
|
839
|
+
},
|
|
840
|
+
"popularity": {
|
|
841
|
+
"type": "number",
|
|
842
|
+
"description": "Popularity score"
|
|
843
|
+
},
|
|
844
|
+
"adult": {
|
|
845
|
+
"type": "boolean",
|
|
846
|
+
"description": "Adult content flag"
|
|
847
|
+
},
|
|
848
|
+
"genre_ids": {
|
|
849
|
+
"type": "array",
|
|
850
|
+
"items": {
|
|
851
|
+
"type": "number"
|
|
852
|
+
},
|
|
853
|
+
"description": "Array of genre IDs"
|
|
854
|
+
},
|
|
855
|
+
"video": {
|
|
856
|
+
"type": "boolean",
|
|
857
|
+
"description": "Video flag"
|
|
858
|
+
}
|
|
859
|
+
},
|
|
860
|
+
"required": [
|
|
861
|
+
"id",
|
|
862
|
+
"title",
|
|
863
|
+
"original_title",
|
|
864
|
+
"original_language",
|
|
865
|
+
"overview",
|
|
866
|
+
"poster_path",
|
|
867
|
+
"backdrop_path",
|
|
868
|
+
"release_date",
|
|
869
|
+
"vote_average",
|
|
870
|
+
"vote_count",
|
|
871
|
+
"popularity",
|
|
872
|
+
"adult",
|
|
873
|
+
"genre_ids",
|
|
874
|
+
"video"
|
|
875
|
+
]
|
|
876
|
+
},
|
|
877
|
+
"description": "Movies"
|
|
878
|
+
},
|
|
879
|
+
"total_pages": {
|
|
880
|
+
"type": "number",
|
|
881
|
+
"description": "Total pages"
|
|
882
|
+
},
|
|
883
|
+
"total_results": {
|
|
884
|
+
"type": "number",
|
|
885
|
+
"description": "Total results"
|
|
886
|
+
}
|
|
887
|
+
},
|
|
888
|
+
"required": [
|
|
889
|
+
"page",
|
|
890
|
+
"results",
|
|
891
|
+
"total_pages",
|
|
892
|
+
"total_results"
|
|
893
|
+
]
|
|
518
894
|
}
|
|
519
895
|
},
|
|
520
896
|
"required": [
|
|
@@ -815,6 +1191,18 @@
|
|
|
815
1191
|
"name"
|
|
816
1192
|
]
|
|
817
1193
|
},
|
|
1194
|
+
"ReleaseType": {
|
|
1195
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1196
|
+
"type": "string",
|
|
1197
|
+
"enum": [
|
|
1198
|
+
"1",
|
|
1199
|
+
"2",
|
|
1200
|
+
"3",
|
|
1201
|
+
"4",
|
|
1202
|
+
"5",
|
|
1203
|
+
"6"
|
|
1204
|
+
]
|
|
1205
|
+
},
|
|
818
1206
|
"SearchMoviesParamsSchema": {
|
|
819
1207
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
820
1208
|
"type": "object",
|
|
@@ -1377,6 +1765,397 @@
|
|
|
1377
1765
|
"type": {
|
|
1378
1766
|
"type": "string",
|
|
1379
1767
|
"description": "Type of the serie"
|
|
1768
|
+
},
|
|
1769
|
+
"images": {
|
|
1770
|
+
"type": "object",
|
|
1771
|
+
"properties": {
|
|
1772
|
+
"id": {
|
|
1773
|
+
"type": "number",
|
|
1774
|
+
"description": "Image ID"
|
|
1775
|
+
},
|
|
1776
|
+
"backdrops": {
|
|
1777
|
+
"type": "array",
|
|
1778
|
+
"items": {
|
|
1779
|
+
"type": "object",
|
|
1780
|
+
"properties": {
|
|
1781
|
+
"aspect_ratio": {
|
|
1782
|
+
"type": "number",
|
|
1783
|
+
"description": "Aspect ratio"
|
|
1784
|
+
},
|
|
1785
|
+
"height": {
|
|
1786
|
+
"type": "number",
|
|
1787
|
+
"description": "Height"
|
|
1788
|
+
},
|
|
1789
|
+
"iso_639_1": {
|
|
1790
|
+
"anyOf": [
|
|
1791
|
+
{
|
|
1792
|
+
"type": "string"
|
|
1793
|
+
},
|
|
1794
|
+
{
|
|
1795
|
+
"type": "null"
|
|
1796
|
+
}
|
|
1797
|
+
],
|
|
1798
|
+
"description": "Spoken language ISO 639-1 code"
|
|
1799
|
+
},
|
|
1800
|
+
"file_path": {
|
|
1801
|
+
"type": "string",
|
|
1802
|
+
"description": "File path"
|
|
1803
|
+
},
|
|
1804
|
+
"vote_average": {
|
|
1805
|
+
"type": "number",
|
|
1806
|
+
"description": "Vote average"
|
|
1807
|
+
},
|
|
1808
|
+
"vote_count": {
|
|
1809
|
+
"type": "number",
|
|
1810
|
+
"description": "Vote count"
|
|
1811
|
+
},
|
|
1812
|
+
"width": {
|
|
1813
|
+
"type": "number",
|
|
1814
|
+
"description": "Width"
|
|
1815
|
+
}
|
|
1816
|
+
},
|
|
1817
|
+
"required": [
|
|
1818
|
+
"aspect_ratio",
|
|
1819
|
+
"height",
|
|
1820
|
+
"iso_639_1",
|
|
1821
|
+
"file_path",
|
|
1822
|
+
"vote_average",
|
|
1823
|
+
"vote_count",
|
|
1824
|
+
"width"
|
|
1825
|
+
]
|
|
1826
|
+
},
|
|
1827
|
+
"description": "Backdrops"
|
|
1828
|
+
},
|
|
1829
|
+
"logos": {
|
|
1830
|
+
"type": "array",
|
|
1831
|
+
"items": {
|
|
1832
|
+
"type": "object",
|
|
1833
|
+
"properties": {
|
|
1834
|
+
"aspect_ratio": {
|
|
1835
|
+
"type": "number",
|
|
1836
|
+
"description": "Aspect ratio"
|
|
1837
|
+
},
|
|
1838
|
+
"height": {
|
|
1839
|
+
"type": "number",
|
|
1840
|
+
"description": "Height"
|
|
1841
|
+
},
|
|
1842
|
+
"iso_639_1": {
|
|
1843
|
+
"anyOf": [
|
|
1844
|
+
{
|
|
1845
|
+
"type": "string"
|
|
1846
|
+
},
|
|
1847
|
+
{
|
|
1848
|
+
"type": "null"
|
|
1849
|
+
}
|
|
1850
|
+
],
|
|
1851
|
+
"description": "Spoken language ISO 639-1 code"
|
|
1852
|
+
},
|
|
1853
|
+
"file_path": {
|
|
1854
|
+
"type": "string",
|
|
1855
|
+
"description": "File path"
|
|
1856
|
+
},
|
|
1857
|
+
"vote_average": {
|
|
1858
|
+
"type": "number",
|
|
1859
|
+
"description": "Vote average"
|
|
1860
|
+
},
|
|
1861
|
+
"vote_count": {
|
|
1862
|
+
"type": "number",
|
|
1863
|
+
"description": "Vote count"
|
|
1864
|
+
},
|
|
1865
|
+
"width": {
|
|
1866
|
+
"type": "number",
|
|
1867
|
+
"description": "Width"
|
|
1868
|
+
}
|
|
1869
|
+
},
|
|
1870
|
+
"required": [
|
|
1871
|
+
"aspect_ratio",
|
|
1872
|
+
"height",
|
|
1873
|
+
"iso_639_1",
|
|
1874
|
+
"file_path",
|
|
1875
|
+
"vote_average",
|
|
1876
|
+
"vote_count",
|
|
1877
|
+
"width"
|
|
1878
|
+
]
|
|
1879
|
+
},
|
|
1880
|
+
"description": "Logos"
|
|
1881
|
+
},
|
|
1882
|
+
"posters": {
|
|
1883
|
+
"type": "array",
|
|
1884
|
+
"items": {
|
|
1885
|
+
"type": "object",
|
|
1886
|
+
"properties": {
|
|
1887
|
+
"aspect_ratio": {
|
|
1888
|
+
"type": "number",
|
|
1889
|
+
"description": "Aspect ratio"
|
|
1890
|
+
},
|
|
1891
|
+
"height": {
|
|
1892
|
+
"type": "number",
|
|
1893
|
+
"description": "Height"
|
|
1894
|
+
},
|
|
1895
|
+
"iso_639_1": {
|
|
1896
|
+
"anyOf": [
|
|
1897
|
+
{
|
|
1898
|
+
"type": "string"
|
|
1899
|
+
},
|
|
1900
|
+
{
|
|
1901
|
+
"type": "null"
|
|
1902
|
+
}
|
|
1903
|
+
],
|
|
1904
|
+
"description": "Spoken language ISO 639-1 code"
|
|
1905
|
+
},
|
|
1906
|
+
"file_path": {
|
|
1907
|
+
"type": "string",
|
|
1908
|
+
"description": "File path"
|
|
1909
|
+
},
|
|
1910
|
+
"vote_average": {
|
|
1911
|
+
"type": "number",
|
|
1912
|
+
"description": "Vote average"
|
|
1913
|
+
},
|
|
1914
|
+
"vote_count": {
|
|
1915
|
+
"type": "number",
|
|
1916
|
+
"description": "Vote count"
|
|
1917
|
+
},
|
|
1918
|
+
"width": {
|
|
1919
|
+
"type": "number",
|
|
1920
|
+
"description": "Width"
|
|
1921
|
+
}
|
|
1922
|
+
},
|
|
1923
|
+
"required": [
|
|
1924
|
+
"aspect_ratio",
|
|
1925
|
+
"height",
|
|
1926
|
+
"iso_639_1",
|
|
1927
|
+
"file_path",
|
|
1928
|
+
"vote_average",
|
|
1929
|
+
"vote_count",
|
|
1930
|
+
"width"
|
|
1931
|
+
]
|
|
1932
|
+
},
|
|
1933
|
+
"description": "Posters"
|
|
1934
|
+
}
|
|
1935
|
+
},
|
|
1936
|
+
"required": [
|
|
1937
|
+
"id",
|
|
1938
|
+
"backdrops",
|
|
1939
|
+
"logos",
|
|
1940
|
+
"posters"
|
|
1941
|
+
]
|
|
1942
|
+
},
|
|
1943
|
+
"videos": {
|
|
1944
|
+
"type": "object",
|
|
1945
|
+
"properties": {
|
|
1946
|
+
"id": {
|
|
1947
|
+
"type": "number",
|
|
1948
|
+
"description": "Video ID"
|
|
1949
|
+
},
|
|
1950
|
+
"results": {
|
|
1951
|
+
"type": "array",
|
|
1952
|
+
"items": {
|
|
1953
|
+
"type": "object",
|
|
1954
|
+
"properties": {
|
|
1955
|
+
"iso_639_1": {
|
|
1956
|
+
"type": "string",
|
|
1957
|
+
"description": "Spoken language ISO 639-1 code"
|
|
1958
|
+
},
|
|
1959
|
+
"iso_3166_1": {
|
|
1960
|
+
"type": "string",
|
|
1961
|
+
"description": "Production country ISO 3166-1 Alpha-2 code"
|
|
1962
|
+
},
|
|
1963
|
+
"name": {
|
|
1964
|
+
"type": "string",
|
|
1965
|
+
"description": "Video name"
|
|
1966
|
+
},
|
|
1967
|
+
"key": {
|
|
1968
|
+
"type": "string",
|
|
1969
|
+
"description": "Video key"
|
|
1970
|
+
},
|
|
1971
|
+
"site": {
|
|
1972
|
+
"anyOf": [
|
|
1973
|
+
{
|
|
1974
|
+
"type": "string",
|
|
1975
|
+
"const": "YouTube"
|
|
1976
|
+
}
|
|
1977
|
+
],
|
|
1978
|
+
"description": "Video site"
|
|
1979
|
+
},
|
|
1980
|
+
"size": {
|
|
1981
|
+
"type": "number",
|
|
1982
|
+
"description": "Video size"
|
|
1983
|
+
},
|
|
1984
|
+
"type": {
|
|
1985
|
+
"anyOf": [
|
|
1986
|
+
{
|
|
1987
|
+
"type": "string",
|
|
1988
|
+
"const": "Teaser"
|
|
1989
|
+
}
|
|
1990
|
+
],
|
|
1991
|
+
"description": "Video type"
|
|
1992
|
+
},
|
|
1993
|
+
"official": {
|
|
1994
|
+
"type": "boolean",
|
|
1995
|
+
"description": "Video official"
|
|
1996
|
+
},
|
|
1997
|
+
"published_at": {
|
|
1998
|
+
"type": "string",
|
|
1999
|
+
"description": "Video published at"
|
|
2000
|
+
},
|
|
2001
|
+
"id": {
|
|
2002
|
+
"type": "string",
|
|
2003
|
+
"description": "Video ID"
|
|
2004
|
+
}
|
|
2005
|
+
},
|
|
2006
|
+
"required": [
|
|
2007
|
+
"iso_639_1",
|
|
2008
|
+
"iso_3166_1",
|
|
2009
|
+
"name",
|
|
2010
|
+
"key",
|
|
2011
|
+
"site",
|
|
2012
|
+
"size",
|
|
2013
|
+
"type",
|
|
2014
|
+
"official",
|
|
2015
|
+
"published_at",
|
|
2016
|
+
"id"
|
|
2017
|
+
]
|
|
2018
|
+
},
|
|
2019
|
+
"description": "Videos"
|
|
2020
|
+
}
|
|
2021
|
+
},
|
|
2022
|
+
"required": [
|
|
2023
|
+
"id",
|
|
2024
|
+
"results"
|
|
2025
|
+
]
|
|
2026
|
+
},
|
|
2027
|
+
"similar": {
|
|
2028
|
+
"type": "object",
|
|
2029
|
+
"properties": {
|
|
2030
|
+
"page": {
|
|
2031
|
+
"type": "number",
|
|
2032
|
+
"description": "Page number"
|
|
2033
|
+
},
|
|
2034
|
+
"results": {
|
|
2035
|
+
"type": "array",
|
|
2036
|
+
"items": {
|
|
2037
|
+
"type": "object",
|
|
2038
|
+
"properties": {
|
|
2039
|
+
"backdrop_path": {
|
|
2040
|
+
"anyOf": [
|
|
2041
|
+
{
|
|
2042
|
+
"type": "string"
|
|
2043
|
+
},
|
|
2044
|
+
{
|
|
2045
|
+
"type": "null"
|
|
2046
|
+
}
|
|
2047
|
+
],
|
|
2048
|
+
"description": "Backdrop path (relative URL)"
|
|
2049
|
+
},
|
|
2050
|
+
"first_air_date": {
|
|
2051
|
+
"anyOf": [
|
|
2052
|
+
{
|
|
2053
|
+
"type": "string"
|
|
2054
|
+
},
|
|
2055
|
+
{
|
|
2056
|
+
"type": "null"
|
|
2057
|
+
}
|
|
2058
|
+
],
|
|
2059
|
+
"description": "First air date (YYYY-MM-DD format)"
|
|
2060
|
+
},
|
|
2061
|
+
"genre_ids": {
|
|
2062
|
+
"type": "array",
|
|
2063
|
+
"items": {
|
|
2064
|
+
"type": "number"
|
|
2065
|
+
},
|
|
2066
|
+
"description": "Array of genre IDs"
|
|
2067
|
+
},
|
|
2068
|
+
"id": {
|
|
2069
|
+
"type": "number",
|
|
2070
|
+
"description": "Unique identifier for the serie"
|
|
2071
|
+
},
|
|
2072
|
+
"name": {
|
|
2073
|
+
"type": "string",
|
|
2074
|
+
"description": "Serie name"
|
|
2075
|
+
},
|
|
2076
|
+
"origin_country": {
|
|
2077
|
+
"type": "array",
|
|
2078
|
+
"items": {
|
|
2079
|
+
"type": "string"
|
|
2080
|
+
},
|
|
2081
|
+
"description": "Array of origin countries"
|
|
2082
|
+
},
|
|
2083
|
+
"original_language": {
|
|
2084
|
+
"type": "string",
|
|
2085
|
+
"description": "Original language code (e.g., 'en', 'es', 'fr')"
|
|
2086
|
+
},
|
|
2087
|
+
"original_name": {
|
|
2088
|
+
"type": "string",
|
|
2089
|
+
"description": "Original serie name (in original language)"
|
|
2090
|
+
},
|
|
2091
|
+
"overview": {
|
|
2092
|
+
"anyOf": [
|
|
2093
|
+
{
|
|
2094
|
+
"type": "string"
|
|
2095
|
+
},
|
|
2096
|
+
{
|
|
2097
|
+
"type": "null"
|
|
2098
|
+
}
|
|
2099
|
+
],
|
|
2100
|
+
"description": "Serie overview/synopsis"
|
|
2101
|
+
},
|
|
2102
|
+
"popularity": {
|
|
2103
|
+
"type": "number",
|
|
2104
|
+
"description": "Popularity score"
|
|
2105
|
+
},
|
|
2106
|
+
"poster_path": {
|
|
2107
|
+
"anyOf": [
|
|
2108
|
+
{
|
|
2109
|
+
"type": "string"
|
|
2110
|
+
},
|
|
2111
|
+
{
|
|
2112
|
+
"type": "null"
|
|
2113
|
+
}
|
|
2114
|
+
],
|
|
2115
|
+
"description": "Poster path (relative URL)"
|
|
2116
|
+
},
|
|
2117
|
+
"vote_average": {
|
|
2118
|
+
"type": "number",
|
|
2119
|
+
"description": "Average vote rating (0-10)"
|
|
2120
|
+
},
|
|
2121
|
+
"vote_count": {
|
|
2122
|
+
"type": "number",
|
|
2123
|
+
"description": "Total number of votes"
|
|
2124
|
+
}
|
|
2125
|
+
},
|
|
2126
|
+
"required": [
|
|
2127
|
+
"backdrop_path",
|
|
2128
|
+
"first_air_date",
|
|
2129
|
+
"genre_ids",
|
|
2130
|
+
"id",
|
|
2131
|
+
"name",
|
|
2132
|
+
"origin_country",
|
|
2133
|
+
"original_language",
|
|
2134
|
+
"original_name",
|
|
2135
|
+
"overview",
|
|
2136
|
+
"popularity",
|
|
2137
|
+
"poster_path",
|
|
2138
|
+
"vote_average",
|
|
2139
|
+
"vote_count"
|
|
2140
|
+
]
|
|
2141
|
+
},
|
|
2142
|
+
"description": "Series"
|
|
2143
|
+
},
|
|
2144
|
+
"total_pages": {
|
|
2145
|
+
"type": "number",
|
|
2146
|
+
"description": "Total pages"
|
|
2147
|
+
},
|
|
2148
|
+
"total_results": {
|
|
2149
|
+
"type": "number",
|
|
2150
|
+
"description": "Total results"
|
|
2151
|
+
}
|
|
2152
|
+
},
|
|
2153
|
+
"required": [
|
|
2154
|
+
"page",
|
|
2155
|
+
"results",
|
|
2156
|
+
"total_pages",
|
|
2157
|
+
"total_results"
|
|
2158
|
+
]
|
|
1380
2159
|
}
|
|
1381
2160
|
},
|
|
1382
2161
|
"required": [
|
|
@@ -1676,7 +2455,12 @@
|
|
|
1676
2455
|
"description": "Video key"
|
|
1677
2456
|
},
|
|
1678
2457
|
"site": {
|
|
1679
|
-
"
|
|
2458
|
+
"anyOf": [
|
|
2459
|
+
{
|
|
2460
|
+
"type": "string",
|
|
2461
|
+
"const": "YouTube"
|
|
2462
|
+
}
|
|
2463
|
+
],
|
|
1680
2464
|
"description": "Video site"
|
|
1681
2465
|
},
|
|
1682
2466
|
"size": {
|
|
@@ -1684,7 +2468,12 @@
|
|
|
1684
2468
|
"description": "Video size"
|
|
1685
2469
|
},
|
|
1686
2470
|
"type": {
|
|
1687
|
-
"
|
|
2471
|
+
"anyOf": [
|
|
2472
|
+
{
|
|
2473
|
+
"type": "string",
|
|
2474
|
+
"const": "Teaser"
|
|
2475
|
+
}
|
|
2476
|
+
],
|
|
1688
2477
|
"description": "Video type"
|
|
1689
2478
|
},
|
|
1690
2479
|
"official": {
|
|
@@ -1743,7 +2532,12 @@
|
|
|
1743
2532
|
"description": "Video key"
|
|
1744
2533
|
},
|
|
1745
2534
|
"site": {
|
|
1746
|
-
"
|
|
2535
|
+
"anyOf": [
|
|
2536
|
+
{
|
|
2537
|
+
"type": "string",
|
|
2538
|
+
"const": "YouTube"
|
|
2539
|
+
}
|
|
2540
|
+
],
|
|
1747
2541
|
"description": "Video site"
|
|
1748
2542
|
},
|
|
1749
2543
|
"size": {
|
|
@@ -1751,7 +2545,12 @@
|
|
|
1751
2545
|
"description": "Video size"
|
|
1752
2546
|
},
|
|
1753
2547
|
"type": {
|
|
1754
|
-
"
|
|
2548
|
+
"anyOf": [
|
|
2549
|
+
{
|
|
2550
|
+
"type": "string",
|
|
2551
|
+
"const": "Teaser"
|
|
2552
|
+
}
|
|
2553
|
+
],
|
|
1755
2554
|
"description": "Video type"
|
|
1756
2555
|
},
|
|
1757
2556
|
"official": {
|
|
@@ -1787,6 +2586,23 @@
|
|
|
1787
2586
|
"id",
|
|
1788
2587
|
"results"
|
|
1789
2588
|
]
|
|
2589
|
+
},
|
|
2590
|
+
"WatchProvider": {
|
|
2591
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2592
|
+
"type": "number",
|
|
2593
|
+
"enum": [
|
|
2594
|
+
8,
|
|
2595
|
+
337,
|
|
2596
|
+
350,
|
|
2597
|
+
119,
|
|
2598
|
+
63,
|
|
2599
|
+
62,
|
|
2600
|
+
1899,
|
|
2601
|
+
188,
|
|
2602
|
+
541,
|
|
2603
|
+
538,
|
|
2604
|
+
283
|
|
2605
|
+
]
|
|
1790
2606
|
}
|
|
1791
2607
|
}
|
|
1792
2608
|
}
|