@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.
Files changed (34) hide show
  1. package/API/index.ts +7 -3
  2. package/CHANGELOG.md +16 -0
  3. package/DataTypes/Video.ts +10 -2
  4. package/Enums/MonetizationType.ts +15 -0
  5. package/Enums/ReleaseType.ts +17 -0
  6. package/Enums/WatchProvider.ts +27 -0
  7. package/Enums/index.ts +4 -0
  8. package/Movies/MovieDetails.ts +5 -1
  9. package/README.md +58 -12
  10. package/TVSeries/SerieDetails.ts +5 -1
  11. package/index.ts +1 -0
  12. package/json-schemas/API/MethodsSchema.json +780 -4
  13. package/json-schemas/API/SpecSchema.json +780 -4
  14. package/json-schemas/API/index.json +1710 -158
  15. package/json-schemas/DataTypes/VideoSchema.json +12 -2
  16. package/json-schemas/DataTypes/VideosResponseSchema.json +12 -2
  17. package/json-schemas/DataTypes/index.json +24 -4
  18. package/json-schemas/Enums/MonetizationType.json +11 -0
  19. package/json-schemas/Enums/ReleaseType.json +12 -0
  20. package/json-schemas/Enums/WatchProvider.json +17 -0
  21. package/json-schemas/Enums/index.json +47 -0
  22. package/json-schemas/MonetizationType.json +11 -0
  23. package/json-schemas/MovieDetailsSchema.json +365 -0
  24. package/json-schemas/Movies/MovieDetailsSchema.json +365 -0
  25. package/json-schemas/Movies/index.json +365 -0
  26. package/json-schemas/ReleaseType.json +12 -0
  27. package/json-schemas/SerieDetailsSchema.json +391 -0
  28. package/json-schemas/TVSeries/SerieDetailsSchema.json +391 -0
  29. package/json-schemas/TVSeries/index.json +391 -0
  30. package/json-schemas/VideoSchema.json +12 -2
  31. package/json-schemas/VideosResponseSchema.json +12 -2
  32. package/json-schemas/WatchProvider.json +17 -0
  33. package/json-schemas/index.json +820 -4
  34. package/package.json +1 -1
@@ -1762,6 +1762,371 @@
1762
1762
  }
1763
1763
  ],
1764
1764
  "description": "Tagline"
1765
+ },
1766
+ "images": {
1767
+ "type": "object",
1768
+ "properties": {
1769
+ "id": {
1770
+ "type": "number",
1771
+ "description": "Image ID"
1772
+ },
1773
+ "backdrops": {
1774
+ "type": "array",
1775
+ "items": {
1776
+ "type": "object",
1777
+ "properties": {
1778
+ "aspect_ratio": {
1779
+ "type": "number",
1780
+ "description": "Aspect ratio"
1781
+ },
1782
+ "height": {
1783
+ "type": "number",
1784
+ "description": "Height"
1785
+ },
1786
+ "iso_639_1": {
1787
+ "anyOf": [
1788
+ {
1789
+ "type": "string"
1790
+ },
1791
+ {
1792
+ "type": "null"
1793
+ }
1794
+ ],
1795
+ "description": "Spoken language ISO 639-1 code"
1796
+ },
1797
+ "file_path": {
1798
+ "type": "string",
1799
+ "description": "File path"
1800
+ },
1801
+ "vote_average": {
1802
+ "type": "number",
1803
+ "description": "Vote average"
1804
+ },
1805
+ "vote_count": {
1806
+ "type": "number",
1807
+ "description": "Vote count"
1808
+ },
1809
+ "width": {
1810
+ "type": "number",
1811
+ "description": "Width"
1812
+ }
1813
+ },
1814
+ "required": [
1815
+ "aspect_ratio",
1816
+ "height",
1817
+ "iso_639_1",
1818
+ "file_path",
1819
+ "vote_average",
1820
+ "vote_count",
1821
+ "width"
1822
+ ]
1823
+ },
1824
+ "description": "Backdrops"
1825
+ },
1826
+ "logos": {
1827
+ "type": "array",
1828
+ "items": {
1829
+ "type": "object",
1830
+ "properties": {
1831
+ "aspect_ratio": {
1832
+ "type": "number",
1833
+ "description": "Aspect ratio"
1834
+ },
1835
+ "height": {
1836
+ "type": "number",
1837
+ "description": "Height"
1838
+ },
1839
+ "iso_639_1": {
1840
+ "anyOf": [
1841
+ {
1842
+ "type": "string"
1843
+ },
1844
+ {
1845
+ "type": "null"
1846
+ }
1847
+ ],
1848
+ "description": "Spoken language ISO 639-1 code"
1849
+ },
1850
+ "file_path": {
1851
+ "type": "string",
1852
+ "description": "File path"
1853
+ },
1854
+ "vote_average": {
1855
+ "type": "number",
1856
+ "description": "Vote average"
1857
+ },
1858
+ "vote_count": {
1859
+ "type": "number",
1860
+ "description": "Vote count"
1861
+ },
1862
+ "width": {
1863
+ "type": "number",
1864
+ "description": "Width"
1865
+ }
1866
+ },
1867
+ "required": [
1868
+ "aspect_ratio",
1869
+ "height",
1870
+ "iso_639_1",
1871
+ "file_path",
1872
+ "vote_average",
1873
+ "vote_count",
1874
+ "width"
1875
+ ]
1876
+ },
1877
+ "description": "Logos"
1878
+ },
1879
+ "posters": {
1880
+ "type": "array",
1881
+ "items": {
1882
+ "type": "object",
1883
+ "properties": {
1884
+ "aspect_ratio": {
1885
+ "type": "number",
1886
+ "description": "Aspect ratio"
1887
+ },
1888
+ "height": {
1889
+ "type": "number",
1890
+ "description": "Height"
1891
+ },
1892
+ "iso_639_1": {
1893
+ "anyOf": [
1894
+ {
1895
+ "type": "string"
1896
+ },
1897
+ {
1898
+ "type": "null"
1899
+ }
1900
+ ],
1901
+ "description": "Spoken language ISO 639-1 code"
1902
+ },
1903
+ "file_path": {
1904
+ "type": "string",
1905
+ "description": "File path"
1906
+ },
1907
+ "vote_average": {
1908
+ "type": "number",
1909
+ "description": "Vote average"
1910
+ },
1911
+ "vote_count": {
1912
+ "type": "number",
1913
+ "description": "Vote count"
1914
+ },
1915
+ "width": {
1916
+ "type": "number",
1917
+ "description": "Width"
1918
+ }
1919
+ },
1920
+ "required": [
1921
+ "aspect_ratio",
1922
+ "height",
1923
+ "iso_639_1",
1924
+ "file_path",
1925
+ "vote_average",
1926
+ "vote_count",
1927
+ "width"
1928
+ ]
1929
+ },
1930
+ "description": "Posters"
1931
+ }
1932
+ },
1933
+ "required": [
1934
+ "id",
1935
+ "backdrops",
1936
+ "logos",
1937
+ "posters"
1938
+ ]
1939
+ },
1940
+ "videos": {
1941
+ "type": "object",
1942
+ "properties": {
1943
+ "id": {
1944
+ "type": "number",
1945
+ "description": "Video ID"
1946
+ },
1947
+ "results": {
1948
+ "type": "array",
1949
+ "items": {
1950
+ "type": "object",
1951
+ "properties": {
1952
+ "iso_639_1": {
1953
+ "type": "string",
1954
+ "description": "Spoken language ISO 639-1 code"
1955
+ },
1956
+ "iso_3166_1": {
1957
+ "type": "string",
1958
+ "description": "Production country ISO 3166-1 Alpha-2 code"
1959
+ },
1960
+ "name": {
1961
+ "type": "string",
1962
+ "description": "Video name"
1963
+ },
1964
+ "key": {
1965
+ "type": "string",
1966
+ "description": "Video key"
1967
+ },
1968
+ "site": {
1969
+ "anyOf": [
1970
+ {
1971
+ "type": "string",
1972
+ "const": "YouTube"
1973
+ }
1974
+ ],
1975
+ "description": "Video site"
1976
+ },
1977
+ "size": {
1978
+ "type": "number",
1979
+ "description": "Video size"
1980
+ },
1981
+ "type": {
1982
+ "anyOf": [
1983
+ {
1984
+ "type": "string",
1985
+ "const": "Teaser"
1986
+ }
1987
+ ],
1988
+ "description": "Video type"
1989
+ },
1990
+ "official": {
1991
+ "type": "boolean",
1992
+ "description": "Video official"
1993
+ },
1994
+ "published_at": {
1995
+ "type": "string",
1996
+ "description": "Video published at"
1997
+ },
1998
+ "id": {
1999
+ "type": "string",
2000
+ "description": "Video ID"
2001
+ }
2002
+ },
2003
+ "required": [
2004
+ "iso_639_1",
2005
+ "iso_3166_1",
2006
+ "name",
2007
+ "key",
2008
+ "site",
2009
+ "size",
2010
+ "type",
2011
+ "official",
2012
+ "published_at",
2013
+ "id"
2014
+ ]
2015
+ },
2016
+ "description": "Videos"
2017
+ }
2018
+ },
2019
+ "required": [
2020
+ "id",
2021
+ "results"
2022
+ ]
2023
+ },
2024
+ "similar": {
2025
+ "type": "object",
2026
+ "properties": {
2027
+ "page": {
2028
+ "type": "number",
2029
+ "description": "Page number"
2030
+ },
2031
+ "results": {
2032
+ "type": "array",
2033
+ "items": {
2034
+ "type": "object",
2035
+ "properties": {
2036
+ "id": {
2037
+ "type": "number",
2038
+ "description": "Unique identifier for the movie"
2039
+ },
2040
+ "title": {
2041
+ "type": "string",
2042
+ "description": "Movie title"
2043
+ },
2044
+ "original_title": {
2045
+ "type": "string",
2046
+ "description": "Original movie title (in original language)"
2047
+ },
2048
+ "original_language": {
2049
+ "type": "string",
2050
+ "description": "Original language code (e.g., 'en', 'es', 'fr')"
2051
+ },
2052
+ "overview": {
2053
+ "type": "string",
2054
+ "description": "Movie overview/synopsis"
2055
+ },
2056
+ "poster_path": {
2057
+ "type": "string",
2058
+ "description": "Poster path (relative URL)"
2059
+ },
2060
+ "backdrop_path": {
2061
+ "type": "string",
2062
+ "description": "Backdrop path (relative URL)"
2063
+ },
2064
+ "release_date": {
2065
+ "type": "string",
2066
+ "description": "Release date (YYYY-MM-DD format)"
2067
+ },
2068
+ "vote_average": {
2069
+ "type": "number",
2070
+ "description": "Average vote rating (0-10)"
2071
+ },
2072
+ "vote_count": {
2073
+ "type": "number",
2074
+ "description": "Total number of votes"
2075
+ },
2076
+ "popularity": {
2077
+ "type": "number",
2078
+ "description": "Popularity score"
2079
+ },
2080
+ "adult": {
2081
+ "type": "boolean",
2082
+ "description": "Adult content flag"
2083
+ },
2084
+ "genre_ids": {
2085
+ "type": "array",
2086
+ "items": {
2087
+ "type": "number"
2088
+ },
2089
+ "description": "Array of genre IDs"
2090
+ },
2091
+ "video": {
2092
+ "type": "boolean",
2093
+ "description": "Video flag"
2094
+ }
2095
+ },
2096
+ "required": [
2097
+ "id",
2098
+ "title",
2099
+ "original_title",
2100
+ "original_language",
2101
+ "overview",
2102
+ "poster_path",
2103
+ "backdrop_path",
2104
+ "release_date",
2105
+ "vote_average",
2106
+ "vote_count",
2107
+ "popularity",
2108
+ "adult",
2109
+ "genre_ids",
2110
+ "video"
2111
+ ]
2112
+ },
2113
+ "description": "Movies"
2114
+ },
2115
+ "total_pages": {
2116
+ "type": "number",
2117
+ "description": "Total pages"
2118
+ },
2119
+ "total_results": {
2120
+ "type": "number",
2121
+ "description": "Total results"
2122
+ }
2123
+ },
2124
+ "required": [
2125
+ "page",
2126
+ "results",
2127
+ "total_pages",
2128
+ "total_results"
2129
+ ]
1765
2130
  }
1766
2131
  },
1767
2132
  "required": [
@@ -2096,7 +2461,12 @@
2096
2461
  "description": "Video key"
2097
2462
  },
2098
2463
  "site": {
2099
- "type": "string",
2464
+ "anyOf": [
2465
+ {
2466
+ "type": "string",
2467
+ "const": "YouTube"
2468
+ }
2469
+ ],
2100
2470
  "description": "Video site"
2101
2471
  },
2102
2472
  "size": {
@@ -2104,7 +2474,12 @@
2104
2474
  "description": "Video size"
2105
2475
  },
2106
2476
  "type": {
2107
- "type": "string",
2477
+ "anyOf": [
2478
+ {
2479
+ "type": "string",
2480
+ "const": "Teaser"
2481
+ }
2482
+ ],
2108
2483
  "description": "Video type"
2109
2484
  },
2110
2485
  "official": {
@@ -3416,7 +3791,131 @@
3416
3791
  "type": "string",
3417
3792
  "description": "Network name"
3418
3793
  },
3419
- "logo_path": {
3794
+ "logo_path": {
3795
+ "anyOf": [
3796
+ {
3797
+ "type": "string"
3798
+ },
3799
+ {
3800
+ "type": "null"
3801
+ }
3802
+ ],
3803
+ "description": "Logo path (relative URL)"
3804
+ },
3805
+ "origin_country": {
3806
+ "type": "string",
3807
+ "description": "Network origin country"
3808
+ }
3809
+ },
3810
+ "required": [
3811
+ "id",
3812
+ "name",
3813
+ "logo_path",
3814
+ "origin_country"
3815
+ ]
3816
+ },
3817
+ "description": "Networks of the serie"
3818
+ },
3819
+ "number_of_episodes": {
3820
+ "type": "number",
3821
+ "description": "Number of episodes"
3822
+ },
3823
+ "number_of_seasons": {
3824
+ "type": "number",
3825
+ "description": "Number of seasons"
3826
+ },
3827
+ "production_companies": {
3828
+ "type": "array",
3829
+ "items": {
3830
+ "type": "object",
3831
+ "properties": {
3832
+ "id": {
3833
+ "type": "number",
3834
+ "description": "Unique identifier for the production company"
3835
+ },
3836
+ "name": {
3837
+ "type": "string",
3838
+ "description": "Production company name"
3839
+ },
3840
+ "logo_path": {
3841
+ "anyOf": [
3842
+ {
3843
+ "type": "string"
3844
+ },
3845
+ {
3846
+ "type": "null"
3847
+ }
3848
+ ],
3849
+ "description": "Logo path (relative URL)"
3850
+ },
3851
+ "origin_country": {
3852
+ "type": "string",
3853
+ "description": "Production company origin country"
3854
+ }
3855
+ },
3856
+ "required": [
3857
+ "id",
3858
+ "name",
3859
+ "logo_path",
3860
+ "origin_country"
3861
+ ]
3862
+ },
3863
+ "description": "Production companies of the serie"
3864
+ },
3865
+ "production_countries": {
3866
+ "type": "array",
3867
+ "items": {
3868
+ "type": "object",
3869
+ "properties": {
3870
+ "iso_3166_1": {
3871
+ "type": "string",
3872
+ "description": "Production country ISO 3166-1 Alpha-2 code"
3873
+ },
3874
+ "name": {
3875
+ "type": "string",
3876
+ "description": "Production country name"
3877
+ }
3878
+ },
3879
+ "required": [
3880
+ "iso_3166_1",
3881
+ "name"
3882
+ ]
3883
+ },
3884
+ "description": "Production countries of the serie"
3885
+ },
3886
+ "seasons": {
3887
+ "type": "array",
3888
+ "items": {
3889
+ "type": "object",
3890
+ "properties": {
3891
+ "air_date": {
3892
+ "type": "string",
3893
+ "description": "Air date (YYYY-MM-DD format)"
3894
+ },
3895
+ "episode_count": {
3896
+ "type": "number",
3897
+ "description": "Episode count"
3898
+ },
3899
+ "id": {
3900
+ "type": "number",
3901
+ "description": "Unique identifier for the season"
3902
+ },
3903
+ "name": {
3904
+ "type": "string",
3905
+ "description": "Season name"
3906
+ },
3907
+ "overview": {
3908
+ "anyOf": [
3909
+ {
3910
+ "type": "string"
3911
+ },
3912
+ {
3913
+ "type": "null"
3914
+ }
3915
+ ],
3916
+ "description": "Season overview/synopsis"
3917
+ },
3918
+ "poster_path": {
3420
3919
  "anyOf": [
3421
3920
  {
3422
3921
  "type": "string"
@@ -3425,193 +3924,460 @@
3425
3924
  "type": "null"
3426
3925
  }
3427
3926
  ],
3428
- "description": "Logo path (relative URL)"
3927
+ "description": "Poster path (relative URL)"
3429
3928
  },
3430
- "origin_country": {
3431
- "type": "string",
3432
- "description": "Network origin country"
3929
+ "season_number": {
3930
+ "type": "number",
3931
+ "description": "Season number"
3433
3932
  }
3434
3933
  },
3435
3934
  "required": [
3935
+ "air_date",
3936
+ "episode_count",
3436
3937
  "id",
3437
3938
  "name",
3438
- "logo_path",
3439
- "origin_country"
3939
+ "overview",
3940
+ "poster_path",
3941
+ "season_number"
3440
3942
  ]
3441
3943
  },
3442
- "description": "Networks of the serie"
3443
- },
3444
- "number_of_episodes": {
3445
- "type": "number",
3446
- "description": "Number of episodes"
3447
- },
3448
- "number_of_seasons": {
3449
- "type": "number",
3450
- "description": "Number of seasons"
3944
+ "description": "Seasons of the serie"
3451
3945
  },
3452
- "production_companies": {
3946
+ "spoken_languages": {
3453
3947
  "type": "array",
3454
3948
  "items": {
3455
3949
  "type": "object",
3456
3950
  "properties": {
3457
- "id": {
3458
- "type": "number",
3459
- "description": "Unique identifier for the production company"
3951
+ "iso_639_1": {
3952
+ "type": "string",
3953
+ "description": "Spoken language ISO 639-1 code"
3460
3954
  },
3461
3955
  "name": {
3462
3956
  "type": "string",
3463
- "description": "Production company name"
3464
- },
3465
- "logo_path": {
3466
- "anyOf": [
3467
- {
3468
- "type": "string"
3469
- },
3470
- {
3471
- "type": "null"
3472
- }
3473
- ],
3474
- "description": "Logo path (relative URL)"
3957
+ "description": "Spoken language name"
3475
3958
  },
3476
- "origin_country": {
3959
+ "english_name": {
3477
3960
  "type": "string",
3478
- "description": "Production company origin country"
3961
+ "description": "Spoken language English name"
3479
3962
  }
3480
3963
  },
3481
3964
  "required": [
3482
- "id",
3965
+ "iso_639_1",
3483
3966
  "name",
3484
- "logo_path",
3485
- "origin_country"
3967
+ "english_name"
3486
3968
  ]
3487
3969
  },
3488
- "description": "Production companies of the serie"
3970
+ "description": "Spoken languages of the serie"
3489
3971
  },
3490
- "production_countries": {
3491
- "type": "array",
3492
- "items": {
3493
- "type": "object",
3494
- "properties": {
3495
- "iso_3166_1": {
3496
- "type": "string",
3497
- "description": "Production country ISO 3166-1 Alpha-2 code"
3972
+ "status": {
3973
+ "type": "string",
3974
+ "description": "Status of the serie"
3975
+ },
3976
+ "tagline": {
3977
+ "anyOf": [
3978
+ {
3979
+ "type": "string"
3980
+ },
3981
+ {
3982
+ "type": "null"
3983
+ }
3984
+ ],
3985
+ "description": "Tagline of the serie"
3986
+ },
3987
+ "type": {
3988
+ "type": "string",
3989
+ "description": "Type of the serie"
3990
+ },
3991
+ "images": {
3992
+ "type": "object",
3993
+ "properties": {
3994
+ "id": {
3995
+ "type": "number",
3996
+ "description": "Image ID"
3997
+ },
3998
+ "backdrops": {
3999
+ "type": "array",
4000
+ "items": {
4001
+ "type": "object",
4002
+ "properties": {
4003
+ "aspect_ratio": {
4004
+ "type": "number",
4005
+ "description": "Aspect ratio"
4006
+ },
4007
+ "height": {
4008
+ "type": "number",
4009
+ "description": "Height"
4010
+ },
4011
+ "iso_639_1": {
4012
+ "anyOf": [
4013
+ {
4014
+ "type": "string"
4015
+ },
4016
+ {
4017
+ "type": "null"
4018
+ }
4019
+ ],
4020
+ "description": "Spoken language ISO 639-1 code"
4021
+ },
4022
+ "file_path": {
4023
+ "type": "string",
4024
+ "description": "File path"
4025
+ },
4026
+ "vote_average": {
4027
+ "type": "number",
4028
+ "description": "Vote average"
4029
+ },
4030
+ "vote_count": {
4031
+ "type": "number",
4032
+ "description": "Vote count"
4033
+ },
4034
+ "width": {
4035
+ "type": "number",
4036
+ "description": "Width"
4037
+ }
4038
+ },
4039
+ "required": [
4040
+ "aspect_ratio",
4041
+ "height",
4042
+ "iso_639_1",
4043
+ "file_path",
4044
+ "vote_average",
4045
+ "vote_count",
4046
+ "width"
4047
+ ]
4048
+ },
4049
+ "description": "Backdrops"
4050
+ },
4051
+ "logos": {
4052
+ "type": "array",
4053
+ "items": {
4054
+ "type": "object",
4055
+ "properties": {
4056
+ "aspect_ratio": {
4057
+ "type": "number",
4058
+ "description": "Aspect ratio"
4059
+ },
4060
+ "height": {
4061
+ "type": "number",
4062
+ "description": "Height"
4063
+ },
4064
+ "iso_639_1": {
4065
+ "anyOf": [
4066
+ {
4067
+ "type": "string"
4068
+ },
4069
+ {
4070
+ "type": "null"
4071
+ }
4072
+ ],
4073
+ "description": "Spoken language ISO 639-1 code"
4074
+ },
4075
+ "file_path": {
4076
+ "type": "string",
4077
+ "description": "File path"
4078
+ },
4079
+ "vote_average": {
4080
+ "type": "number",
4081
+ "description": "Vote average"
4082
+ },
4083
+ "vote_count": {
4084
+ "type": "number",
4085
+ "description": "Vote count"
4086
+ },
4087
+ "width": {
4088
+ "type": "number",
4089
+ "description": "Width"
4090
+ }
4091
+ },
4092
+ "required": [
4093
+ "aspect_ratio",
4094
+ "height",
4095
+ "iso_639_1",
4096
+ "file_path",
4097
+ "vote_average",
4098
+ "vote_count",
4099
+ "width"
4100
+ ]
4101
+ },
4102
+ "description": "Logos"
4103
+ },
4104
+ "posters": {
4105
+ "type": "array",
4106
+ "items": {
4107
+ "type": "object",
4108
+ "properties": {
4109
+ "aspect_ratio": {
4110
+ "type": "number",
4111
+ "description": "Aspect ratio"
4112
+ },
4113
+ "height": {
4114
+ "type": "number",
4115
+ "description": "Height"
4116
+ },
4117
+ "iso_639_1": {
4118
+ "anyOf": [
4119
+ {
4120
+ "type": "string"
4121
+ },
4122
+ {
4123
+ "type": "null"
4124
+ }
4125
+ ],
4126
+ "description": "Spoken language ISO 639-1 code"
4127
+ },
4128
+ "file_path": {
4129
+ "type": "string",
4130
+ "description": "File path"
4131
+ },
4132
+ "vote_average": {
4133
+ "type": "number",
4134
+ "description": "Vote average"
4135
+ },
4136
+ "vote_count": {
4137
+ "type": "number",
4138
+ "description": "Vote count"
4139
+ },
4140
+ "width": {
4141
+ "type": "number",
4142
+ "description": "Width"
4143
+ }
4144
+ },
4145
+ "required": [
4146
+ "aspect_ratio",
4147
+ "height",
4148
+ "iso_639_1",
4149
+ "file_path",
4150
+ "vote_average",
4151
+ "vote_count",
4152
+ "width"
4153
+ ]
3498
4154
  },
3499
- "name": {
3500
- "type": "string",
3501
- "description": "Production country name"
3502
- }
3503
- },
3504
- "required": [
3505
- "iso_3166_1",
3506
- "name"
3507
- ]
4155
+ "description": "Posters"
4156
+ }
3508
4157
  },
3509
- "description": "Production countries of the serie"
4158
+ "required": [
4159
+ "id",
4160
+ "backdrops",
4161
+ "logos",
4162
+ "posters"
4163
+ ]
3510
4164
  },
3511
- "seasons": {
3512
- "type": "array",
3513
- "items": {
3514
- "type": "object",
3515
- "properties": {
3516
- "air_date": {
3517
- "type": "string",
3518
- "description": "Air date (YYYY-MM-DD format)"
3519
- },
3520
- "episode_count": {
3521
- "type": "number",
3522
- "description": "Episode count"
3523
- },
3524
- "id": {
3525
- "type": "number",
3526
- "description": "Unique identifier for the season"
3527
- },
3528
- "name": {
3529
- "type": "string",
3530
- "description": "Season name"
3531
- },
3532
- "overview": {
3533
- "anyOf": [
3534
- {
3535
- "type": "string"
4165
+ "videos": {
4166
+ "type": "object",
4167
+ "properties": {
4168
+ "id": {
4169
+ "type": "number",
4170
+ "description": "Video ID"
4171
+ },
4172
+ "results": {
4173
+ "type": "array",
4174
+ "items": {
4175
+ "type": "object",
4176
+ "properties": {
4177
+ "iso_639_1": {
4178
+ "type": "string",
4179
+ "description": "Spoken language ISO 639-1 code"
3536
4180
  },
3537
- {
3538
- "type": "null"
3539
- }
3540
- ],
3541
- "description": "Season overview/synopsis"
3542
- },
3543
- "poster_path": {
3544
- "anyOf": [
3545
- {
3546
- "type": "string"
4181
+ "iso_3166_1": {
4182
+ "type": "string",
4183
+ "description": "Production country ISO 3166-1 Alpha-2 code"
3547
4184
  },
3548
- {
3549
- "type": "null"
4185
+ "name": {
4186
+ "type": "string",
4187
+ "description": "Video name"
4188
+ },
4189
+ "key": {
4190
+ "type": "string",
4191
+ "description": "Video key"
4192
+ },
4193
+ "site": {
4194
+ "anyOf": [
4195
+ {
4196
+ "type": "string",
4197
+ "const": "YouTube"
4198
+ }
4199
+ ],
4200
+ "description": "Video site"
4201
+ },
4202
+ "size": {
4203
+ "type": "number",
4204
+ "description": "Video size"
4205
+ },
4206
+ "type": {
4207
+ "anyOf": [
4208
+ {
4209
+ "type": "string",
4210
+ "const": "Teaser"
4211
+ }
4212
+ ],
4213
+ "description": "Video type"
4214
+ },
4215
+ "official": {
4216
+ "type": "boolean",
4217
+ "description": "Video official"
4218
+ },
4219
+ "published_at": {
4220
+ "type": "string",
4221
+ "description": "Video published at"
4222
+ },
4223
+ "id": {
4224
+ "type": "string",
4225
+ "description": "Video ID"
3550
4226
  }
3551
- ],
3552
- "description": "Poster path (relative URL)"
4227
+ },
4228
+ "required": [
4229
+ "iso_639_1",
4230
+ "iso_3166_1",
4231
+ "name",
4232
+ "key",
4233
+ "site",
4234
+ "size",
4235
+ "type",
4236
+ "official",
4237
+ "published_at",
4238
+ "id"
4239
+ ]
3553
4240
  },
3554
- "season_number": {
3555
- "type": "number",
3556
- "description": "Season number"
3557
- }
3558
- },
3559
- "required": [
3560
- "air_date",
3561
- "episode_count",
3562
- "id",
3563
- "name",
3564
- "overview",
3565
- "poster_path",
3566
- "season_number"
3567
- ]
4241
+ "description": "Videos"
4242
+ }
3568
4243
  },
3569
- "description": "Seasons of the serie"
4244
+ "required": [
4245
+ "id",
4246
+ "results"
4247
+ ]
3570
4248
  },
3571
- "spoken_languages": {
3572
- "type": "array",
3573
- "items": {
3574
- "type": "object",
3575
- "properties": {
3576
- "iso_639_1": {
3577
- "type": "string",
3578
- "description": "Spoken language ISO 639-1 code"
3579
- },
3580
- "name": {
3581
- "type": "string",
3582
- "description": "Spoken language name"
4249
+ "similar": {
4250
+ "type": "object",
4251
+ "properties": {
4252
+ "page": {
4253
+ "type": "number",
4254
+ "description": "Page number"
4255
+ },
4256
+ "results": {
4257
+ "type": "array",
4258
+ "items": {
4259
+ "type": "object",
4260
+ "properties": {
4261
+ "backdrop_path": {
4262
+ "anyOf": [
4263
+ {
4264
+ "type": "string"
4265
+ },
4266
+ {
4267
+ "type": "null"
4268
+ }
4269
+ ],
4270
+ "description": "Backdrop path (relative URL)"
4271
+ },
4272
+ "first_air_date": {
4273
+ "anyOf": [
4274
+ {
4275
+ "type": "string"
4276
+ },
4277
+ {
4278
+ "type": "null"
4279
+ }
4280
+ ],
4281
+ "description": "First air date (YYYY-MM-DD format)"
4282
+ },
4283
+ "genre_ids": {
4284
+ "type": "array",
4285
+ "items": {
4286
+ "type": "number"
4287
+ },
4288
+ "description": "Array of genre IDs"
4289
+ },
4290
+ "id": {
4291
+ "type": "number",
4292
+ "description": "Unique identifier for the serie"
4293
+ },
4294
+ "name": {
4295
+ "type": "string",
4296
+ "description": "Serie name"
4297
+ },
4298
+ "origin_country": {
4299
+ "type": "array",
4300
+ "items": {
4301
+ "type": "string"
4302
+ },
4303
+ "description": "Array of origin countries"
4304
+ },
4305
+ "original_language": {
4306
+ "type": "string",
4307
+ "description": "Original language code (e.g., 'en', 'es', 'fr')"
4308
+ },
4309
+ "original_name": {
4310
+ "type": "string",
4311
+ "description": "Original serie name (in original language)"
4312
+ },
4313
+ "overview": {
4314
+ "anyOf": [
4315
+ {
4316
+ "type": "string"
4317
+ },
4318
+ {
4319
+ "type": "null"
4320
+ }
4321
+ ],
4322
+ "description": "Serie overview/synopsis"
4323
+ },
4324
+ "popularity": {
4325
+ "type": "number",
4326
+ "description": "Popularity score"
4327
+ },
4328
+ "poster_path": {
4329
+ "anyOf": [
4330
+ {
4331
+ "type": "string"
4332
+ },
4333
+ {
4334
+ "type": "null"
4335
+ }
4336
+ ],
4337
+ "description": "Poster path (relative URL)"
4338
+ },
4339
+ "vote_average": {
4340
+ "type": "number",
4341
+ "description": "Average vote rating (0-10)"
4342
+ },
4343
+ "vote_count": {
4344
+ "type": "number",
4345
+ "description": "Total number of votes"
4346
+ }
4347
+ },
4348
+ "required": [
4349
+ "backdrop_path",
4350
+ "first_air_date",
4351
+ "genre_ids",
4352
+ "id",
4353
+ "name",
4354
+ "origin_country",
4355
+ "original_language",
4356
+ "original_name",
4357
+ "overview",
4358
+ "popularity",
4359
+ "poster_path",
4360
+ "vote_average",
4361
+ "vote_count"
4362
+ ]
3583
4363
  },
3584
- "english_name": {
3585
- "type": "string",
3586
- "description": "Spoken language English name"
3587
- }
4364
+ "description": "Series"
3588
4365
  },
3589
- "required": [
3590
- "iso_639_1",
3591
- "name",
3592
- "english_name"
3593
- ]
3594
- },
3595
- "description": "Spoken languages of the serie"
3596
- },
3597
- "status": {
3598
- "type": "string",
3599
- "description": "Status of the serie"
3600
- },
3601
- "tagline": {
3602
- "anyOf": [
3603
- {
3604
- "type": "string"
4366
+ "total_pages": {
4367
+ "type": "number",
4368
+ "description": "Total pages"
3605
4369
  },
3606
- {
3607
- "type": "null"
4370
+ "total_results": {
4371
+ "type": "number",
4372
+ "description": "Total results"
3608
4373
  }
3609
- ],
3610
- "description": "Tagline of the serie"
3611
- },
3612
- "type": {
3613
- "type": "string",
3614
- "description": "Type of the serie"
4374
+ },
4375
+ "required": [
4376
+ "page",
4377
+ "results",
4378
+ "total_pages",
4379
+ "total_results"
4380
+ ]
3615
4381
  }
3616
4382
  },
3617
4383
  "required": [
@@ -3954,7 +4720,12 @@
3954
4720
  "description": "Video key"
3955
4721
  },
3956
4722
  "site": {
3957
- "type": "string",
4723
+ "anyOf": [
4724
+ {
4725
+ "type": "string",
4726
+ "const": "YouTube"
4727
+ }
4728
+ ],
3958
4729
  "description": "Video site"
3959
4730
  },
3960
4731
  "size": {
@@ -3962,7 +4733,12 @@
3962
4733
  "description": "Video size"
3963
4734
  },
3964
4735
  "type": {
3965
- "type": "string",
4736
+ "anyOf": [
4737
+ {
4738
+ "type": "string",
4739
+ "const": "Teaser"
4740
+ }
4741
+ ],
3966
4742
  "description": "Video type"
3967
4743
  },
3968
4744
  "official": {
@@ -5560,6 +6336,371 @@
5560
6336
  }
5561
6337
  ],
5562
6338
  "description": "Tagline"
6339
+ },
6340
+ "images": {
6341
+ "type": "object",
6342
+ "properties": {
6343
+ "id": {
6344
+ "type": "number",
6345
+ "description": "Image ID"
6346
+ },
6347
+ "backdrops": {
6348
+ "type": "array",
6349
+ "items": {
6350
+ "type": "object",
6351
+ "properties": {
6352
+ "aspect_ratio": {
6353
+ "type": "number",
6354
+ "description": "Aspect ratio"
6355
+ },
6356
+ "height": {
6357
+ "type": "number",
6358
+ "description": "Height"
6359
+ },
6360
+ "iso_639_1": {
6361
+ "anyOf": [
6362
+ {
6363
+ "type": "string"
6364
+ },
6365
+ {
6366
+ "type": "null"
6367
+ }
6368
+ ],
6369
+ "description": "Spoken language ISO 639-1 code"
6370
+ },
6371
+ "file_path": {
6372
+ "type": "string",
6373
+ "description": "File path"
6374
+ },
6375
+ "vote_average": {
6376
+ "type": "number",
6377
+ "description": "Vote average"
6378
+ },
6379
+ "vote_count": {
6380
+ "type": "number",
6381
+ "description": "Vote count"
6382
+ },
6383
+ "width": {
6384
+ "type": "number",
6385
+ "description": "Width"
6386
+ }
6387
+ },
6388
+ "required": [
6389
+ "aspect_ratio",
6390
+ "height",
6391
+ "iso_639_1",
6392
+ "file_path",
6393
+ "vote_average",
6394
+ "vote_count",
6395
+ "width"
6396
+ ]
6397
+ },
6398
+ "description": "Backdrops"
6399
+ },
6400
+ "logos": {
6401
+ "type": "array",
6402
+ "items": {
6403
+ "type": "object",
6404
+ "properties": {
6405
+ "aspect_ratio": {
6406
+ "type": "number",
6407
+ "description": "Aspect ratio"
6408
+ },
6409
+ "height": {
6410
+ "type": "number",
6411
+ "description": "Height"
6412
+ },
6413
+ "iso_639_1": {
6414
+ "anyOf": [
6415
+ {
6416
+ "type": "string"
6417
+ },
6418
+ {
6419
+ "type": "null"
6420
+ }
6421
+ ],
6422
+ "description": "Spoken language ISO 639-1 code"
6423
+ },
6424
+ "file_path": {
6425
+ "type": "string",
6426
+ "description": "File path"
6427
+ },
6428
+ "vote_average": {
6429
+ "type": "number",
6430
+ "description": "Vote average"
6431
+ },
6432
+ "vote_count": {
6433
+ "type": "number",
6434
+ "description": "Vote count"
6435
+ },
6436
+ "width": {
6437
+ "type": "number",
6438
+ "description": "Width"
6439
+ }
6440
+ },
6441
+ "required": [
6442
+ "aspect_ratio",
6443
+ "height",
6444
+ "iso_639_1",
6445
+ "file_path",
6446
+ "vote_average",
6447
+ "vote_count",
6448
+ "width"
6449
+ ]
6450
+ },
6451
+ "description": "Logos"
6452
+ },
6453
+ "posters": {
6454
+ "type": "array",
6455
+ "items": {
6456
+ "type": "object",
6457
+ "properties": {
6458
+ "aspect_ratio": {
6459
+ "type": "number",
6460
+ "description": "Aspect ratio"
6461
+ },
6462
+ "height": {
6463
+ "type": "number",
6464
+ "description": "Height"
6465
+ },
6466
+ "iso_639_1": {
6467
+ "anyOf": [
6468
+ {
6469
+ "type": "string"
6470
+ },
6471
+ {
6472
+ "type": "null"
6473
+ }
6474
+ ],
6475
+ "description": "Spoken language ISO 639-1 code"
6476
+ },
6477
+ "file_path": {
6478
+ "type": "string",
6479
+ "description": "File path"
6480
+ },
6481
+ "vote_average": {
6482
+ "type": "number",
6483
+ "description": "Vote average"
6484
+ },
6485
+ "vote_count": {
6486
+ "type": "number",
6487
+ "description": "Vote count"
6488
+ },
6489
+ "width": {
6490
+ "type": "number",
6491
+ "description": "Width"
6492
+ }
6493
+ },
6494
+ "required": [
6495
+ "aspect_ratio",
6496
+ "height",
6497
+ "iso_639_1",
6498
+ "file_path",
6499
+ "vote_average",
6500
+ "vote_count",
6501
+ "width"
6502
+ ]
6503
+ },
6504
+ "description": "Posters"
6505
+ }
6506
+ },
6507
+ "required": [
6508
+ "id",
6509
+ "backdrops",
6510
+ "logos",
6511
+ "posters"
6512
+ ]
6513
+ },
6514
+ "videos": {
6515
+ "type": "object",
6516
+ "properties": {
6517
+ "id": {
6518
+ "type": "number",
6519
+ "description": "Video ID"
6520
+ },
6521
+ "results": {
6522
+ "type": "array",
6523
+ "items": {
6524
+ "type": "object",
6525
+ "properties": {
6526
+ "iso_639_1": {
6527
+ "type": "string",
6528
+ "description": "Spoken language ISO 639-1 code"
6529
+ },
6530
+ "iso_3166_1": {
6531
+ "type": "string",
6532
+ "description": "Production country ISO 3166-1 Alpha-2 code"
6533
+ },
6534
+ "name": {
6535
+ "type": "string",
6536
+ "description": "Video name"
6537
+ },
6538
+ "key": {
6539
+ "type": "string",
6540
+ "description": "Video key"
6541
+ },
6542
+ "site": {
6543
+ "anyOf": [
6544
+ {
6545
+ "type": "string",
6546
+ "const": "YouTube"
6547
+ }
6548
+ ],
6549
+ "description": "Video site"
6550
+ },
6551
+ "size": {
6552
+ "type": "number",
6553
+ "description": "Video size"
6554
+ },
6555
+ "type": {
6556
+ "anyOf": [
6557
+ {
6558
+ "type": "string",
6559
+ "const": "Teaser"
6560
+ }
6561
+ ],
6562
+ "description": "Video type"
6563
+ },
6564
+ "official": {
6565
+ "type": "boolean",
6566
+ "description": "Video official"
6567
+ },
6568
+ "published_at": {
6569
+ "type": "string",
6570
+ "description": "Video published at"
6571
+ },
6572
+ "id": {
6573
+ "type": "string",
6574
+ "description": "Video ID"
6575
+ }
6576
+ },
6577
+ "required": [
6578
+ "iso_639_1",
6579
+ "iso_3166_1",
6580
+ "name",
6581
+ "key",
6582
+ "site",
6583
+ "size",
6584
+ "type",
6585
+ "official",
6586
+ "published_at",
6587
+ "id"
6588
+ ]
6589
+ },
6590
+ "description": "Videos"
6591
+ }
6592
+ },
6593
+ "required": [
6594
+ "id",
6595
+ "results"
6596
+ ]
6597
+ },
6598
+ "similar": {
6599
+ "type": "object",
6600
+ "properties": {
6601
+ "page": {
6602
+ "type": "number",
6603
+ "description": "Page number"
6604
+ },
6605
+ "results": {
6606
+ "type": "array",
6607
+ "items": {
6608
+ "type": "object",
6609
+ "properties": {
6610
+ "id": {
6611
+ "type": "number",
6612
+ "description": "Unique identifier for the movie"
6613
+ },
6614
+ "title": {
6615
+ "type": "string",
6616
+ "description": "Movie title"
6617
+ },
6618
+ "original_title": {
6619
+ "type": "string",
6620
+ "description": "Original movie title (in original language)"
6621
+ },
6622
+ "original_language": {
6623
+ "type": "string",
6624
+ "description": "Original language code (e.g., 'en', 'es', 'fr')"
6625
+ },
6626
+ "overview": {
6627
+ "type": "string",
6628
+ "description": "Movie overview/synopsis"
6629
+ },
6630
+ "poster_path": {
6631
+ "type": "string",
6632
+ "description": "Poster path (relative URL)"
6633
+ },
6634
+ "backdrop_path": {
6635
+ "type": "string",
6636
+ "description": "Backdrop path (relative URL)"
6637
+ },
6638
+ "release_date": {
6639
+ "type": "string",
6640
+ "description": "Release date (YYYY-MM-DD format)"
6641
+ },
6642
+ "vote_average": {
6643
+ "type": "number",
6644
+ "description": "Average vote rating (0-10)"
6645
+ },
6646
+ "vote_count": {
6647
+ "type": "number",
6648
+ "description": "Total number of votes"
6649
+ },
6650
+ "popularity": {
6651
+ "type": "number",
6652
+ "description": "Popularity score"
6653
+ },
6654
+ "adult": {
6655
+ "type": "boolean",
6656
+ "description": "Adult content flag"
6657
+ },
6658
+ "genre_ids": {
6659
+ "type": "array",
6660
+ "items": {
6661
+ "type": "number"
6662
+ },
6663
+ "description": "Array of genre IDs"
6664
+ },
6665
+ "video": {
6666
+ "type": "boolean",
6667
+ "description": "Video flag"
6668
+ }
6669
+ },
6670
+ "required": [
6671
+ "id",
6672
+ "title",
6673
+ "original_title",
6674
+ "original_language",
6675
+ "overview",
6676
+ "poster_path",
6677
+ "backdrop_path",
6678
+ "release_date",
6679
+ "vote_average",
6680
+ "vote_count",
6681
+ "popularity",
6682
+ "adult",
6683
+ "genre_ids",
6684
+ "video"
6685
+ ]
6686
+ },
6687
+ "description": "Movies"
6688
+ },
6689
+ "total_pages": {
6690
+ "type": "number",
6691
+ "description": "Total pages"
6692
+ },
6693
+ "total_results": {
6694
+ "type": "number",
6695
+ "description": "Total results"
6696
+ }
6697
+ },
6698
+ "required": [
6699
+ "page",
6700
+ "results",
6701
+ "total_pages",
6702
+ "total_results"
6703
+ ]
5563
6704
  }
5564
6705
  },
5565
6706
  "required": [
@@ -5894,7 +7035,12 @@
5894
7035
  "description": "Video key"
5895
7036
  },
5896
7037
  "site": {
5897
- "type": "string",
7038
+ "anyOf": [
7039
+ {
7040
+ "type": "string",
7041
+ "const": "YouTube"
7042
+ }
7043
+ ],
5898
7044
  "description": "Video site"
5899
7045
  },
5900
7046
  "size": {
@@ -5902,7 +7048,12 @@
5902
7048
  "description": "Video size"
5903
7049
  },
5904
7050
  "type": {
5905
- "type": "string",
7051
+ "anyOf": [
7052
+ {
7053
+ "type": "string",
7054
+ "const": "Teaser"
7055
+ }
7056
+ ],
5906
7057
  "description": "Video type"
5907
7058
  },
5908
7059
  "official": {
@@ -7410,6 +8561,397 @@
7410
8561
  "type": {
7411
8562
  "type": "string",
7412
8563
  "description": "Type of the serie"
8564
+ },
8565
+ "images": {
8566
+ "type": "object",
8567
+ "properties": {
8568
+ "id": {
8569
+ "type": "number",
8570
+ "description": "Image ID"
8571
+ },
8572
+ "backdrops": {
8573
+ "type": "array",
8574
+ "items": {
8575
+ "type": "object",
8576
+ "properties": {
8577
+ "aspect_ratio": {
8578
+ "type": "number",
8579
+ "description": "Aspect ratio"
8580
+ },
8581
+ "height": {
8582
+ "type": "number",
8583
+ "description": "Height"
8584
+ },
8585
+ "iso_639_1": {
8586
+ "anyOf": [
8587
+ {
8588
+ "type": "string"
8589
+ },
8590
+ {
8591
+ "type": "null"
8592
+ }
8593
+ ],
8594
+ "description": "Spoken language ISO 639-1 code"
8595
+ },
8596
+ "file_path": {
8597
+ "type": "string",
8598
+ "description": "File path"
8599
+ },
8600
+ "vote_average": {
8601
+ "type": "number",
8602
+ "description": "Vote average"
8603
+ },
8604
+ "vote_count": {
8605
+ "type": "number",
8606
+ "description": "Vote count"
8607
+ },
8608
+ "width": {
8609
+ "type": "number",
8610
+ "description": "Width"
8611
+ }
8612
+ },
8613
+ "required": [
8614
+ "aspect_ratio",
8615
+ "height",
8616
+ "iso_639_1",
8617
+ "file_path",
8618
+ "vote_average",
8619
+ "vote_count",
8620
+ "width"
8621
+ ]
8622
+ },
8623
+ "description": "Backdrops"
8624
+ },
8625
+ "logos": {
8626
+ "type": "array",
8627
+ "items": {
8628
+ "type": "object",
8629
+ "properties": {
8630
+ "aspect_ratio": {
8631
+ "type": "number",
8632
+ "description": "Aspect ratio"
8633
+ },
8634
+ "height": {
8635
+ "type": "number",
8636
+ "description": "Height"
8637
+ },
8638
+ "iso_639_1": {
8639
+ "anyOf": [
8640
+ {
8641
+ "type": "string"
8642
+ },
8643
+ {
8644
+ "type": "null"
8645
+ }
8646
+ ],
8647
+ "description": "Spoken language ISO 639-1 code"
8648
+ },
8649
+ "file_path": {
8650
+ "type": "string",
8651
+ "description": "File path"
8652
+ },
8653
+ "vote_average": {
8654
+ "type": "number",
8655
+ "description": "Vote average"
8656
+ },
8657
+ "vote_count": {
8658
+ "type": "number",
8659
+ "description": "Vote count"
8660
+ },
8661
+ "width": {
8662
+ "type": "number",
8663
+ "description": "Width"
8664
+ }
8665
+ },
8666
+ "required": [
8667
+ "aspect_ratio",
8668
+ "height",
8669
+ "iso_639_1",
8670
+ "file_path",
8671
+ "vote_average",
8672
+ "vote_count",
8673
+ "width"
8674
+ ]
8675
+ },
8676
+ "description": "Logos"
8677
+ },
8678
+ "posters": {
8679
+ "type": "array",
8680
+ "items": {
8681
+ "type": "object",
8682
+ "properties": {
8683
+ "aspect_ratio": {
8684
+ "type": "number",
8685
+ "description": "Aspect ratio"
8686
+ },
8687
+ "height": {
8688
+ "type": "number",
8689
+ "description": "Height"
8690
+ },
8691
+ "iso_639_1": {
8692
+ "anyOf": [
8693
+ {
8694
+ "type": "string"
8695
+ },
8696
+ {
8697
+ "type": "null"
8698
+ }
8699
+ ],
8700
+ "description": "Spoken language ISO 639-1 code"
8701
+ },
8702
+ "file_path": {
8703
+ "type": "string",
8704
+ "description": "File path"
8705
+ },
8706
+ "vote_average": {
8707
+ "type": "number",
8708
+ "description": "Vote average"
8709
+ },
8710
+ "vote_count": {
8711
+ "type": "number",
8712
+ "description": "Vote count"
8713
+ },
8714
+ "width": {
8715
+ "type": "number",
8716
+ "description": "Width"
8717
+ }
8718
+ },
8719
+ "required": [
8720
+ "aspect_ratio",
8721
+ "height",
8722
+ "iso_639_1",
8723
+ "file_path",
8724
+ "vote_average",
8725
+ "vote_count",
8726
+ "width"
8727
+ ]
8728
+ },
8729
+ "description": "Posters"
8730
+ }
8731
+ },
8732
+ "required": [
8733
+ "id",
8734
+ "backdrops",
8735
+ "logos",
8736
+ "posters"
8737
+ ]
8738
+ },
8739
+ "videos": {
8740
+ "type": "object",
8741
+ "properties": {
8742
+ "id": {
8743
+ "type": "number",
8744
+ "description": "Video ID"
8745
+ },
8746
+ "results": {
8747
+ "type": "array",
8748
+ "items": {
8749
+ "type": "object",
8750
+ "properties": {
8751
+ "iso_639_1": {
8752
+ "type": "string",
8753
+ "description": "Spoken language ISO 639-1 code"
8754
+ },
8755
+ "iso_3166_1": {
8756
+ "type": "string",
8757
+ "description": "Production country ISO 3166-1 Alpha-2 code"
8758
+ },
8759
+ "name": {
8760
+ "type": "string",
8761
+ "description": "Video name"
8762
+ },
8763
+ "key": {
8764
+ "type": "string",
8765
+ "description": "Video key"
8766
+ },
8767
+ "site": {
8768
+ "anyOf": [
8769
+ {
8770
+ "type": "string",
8771
+ "const": "YouTube"
8772
+ }
8773
+ ],
8774
+ "description": "Video site"
8775
+ },
8776
+ "size": {
8777
+ "type": "number",
8778
+ "description": "Video size"
8779
+ },
8780
+ "type": {
8781
+ "anyOf": [
8782
+ {
8783
+ "type": "string",
8784
+ "const": "Teaser"
8785
+ }
8786
+ ],
8787
+ "description": "Video type"
8788
+ },
8789
+ "official": {
8790
+ "type": "boolean",
8791
+ "description": "Video official"
8792
+ },
8793
+ "published_at": {
8794
+ "type": "string",
8795
+ "description": "Video published at"
8796
+ },
8797
+ "id": {
8798
+ "type": "string",
8799
+ "description": "Video ID"
8800
+ }
8801
+ },
8802
+ "required": [
8803
+ "iso_639_1",
8804
+ "iso_3166_1",
8805
+ "name",
8806
+ "key",
8807
+ "site",
8808
+ "size",
8809
+ "type",
8810
+ "official",
8811
+ "published_at",
8812
+ "id"
8813
+ ]
8814
+ },
8815
+ "description": "Videos"
8816
+ }
8817
+ },
8818
+ "required": [
8819
+ "id",
8820
+ "results"
8821
+ ]
8822
+ },
8823
+ "similar": {
8824
+ "type": "object",
8825
+ "properties": {
8826
+ "page": {
8827
+ "type": "number",
8828
+ "description": "Page number"
8829
+ },
8830
+ "results": {
8831
+ "type": "array",
8832
+ "items": {
8833
+ "type": "object",
8834
+ "properties": {
8835
+ "backdrop_path": {
8836
+ "anyOf": [
8837
+ {
8838
+ "type": "string"
8839
+ },
8840
+ {
8841
+ "type": "null"
8842
+ }
8843
+ ],
8844
+ "description": "Backdrop path (relative URL)"
8845
+ },
8846
+ "first_air_date": {
8847
+ "anyOf": [
8848
+ {
8849
+ "type": "string"
8850
+ },
8851
+ {
8852
+ "type": "null"
8853
+ }
8854
+ ],
8855
+ "description": "First air date (YYYY-MM-DD format)"
8856
+ },
8857
+ "genre_ids": {
8858
+ "type": "array",
8859
+ "items": {
8860
+ "type": "number"
8861
+ },
8862
+ "description": "Array of genre IDs"
8863
+ },
8864
+ "id": {
8865
+ "type": "number",
8866
+ "description": "Unique identifier for the serie"
8867
+ },
8868
+ "name": {
8869
+ "type": "string",
8870
+ "description": "Serie name"
8871
+ },
8872
+ "origin_country": {
8873
+ "type": "array",
8874
+ "items": {
8875
+ "type": "string"
8876
+ },
8877
+ "description": "Array of origin countries"
8878
+ },
8879
+ "original_language": {
8880
+ "type": "string",
8881
+ "description": "Original language code (e.g., 'en', 'es', 'fr')"
8882
+ },
8883
+ "original_name": {
8884
+ "type": "string",
8885
+ "description": "Original serie name (in original language)"
8886
+ },
8887
+ "overview": {
8888
+ "anyOf": [
8889
+ {
8890
+ "type": "string"
8891
+ },
8892
+ {
8893
+ "type": "null"
8894
+ }
8895
+ ],
8896
+ "description": "Serie overview/synopsis"
8897
+ },
8898
+ "popularity": {
8899
+ "type": "number",
8900
+ "description": "Popularity score"
8901
+ },
8902
+ "poster_path": {
8903
+ "anyOf": [
8904
+ {
8905
+ "type": "string"
8906
+ },
8907
+ {
8908
+ "type": "null"
8909
+ }
8910
+ ],
8911
+ "description": "Poster path (relative URL)"
8912
+ },
8913
+ "vote_average": {
8914
+ "type": "number",
8915
+ "description": "Average vote rating (0-10)"
8916
+ },
8917
+ "vote_count": {
8918
+ "type": "number",
8919
+ "description": "Total number of votes"
8920
+ }
8921
+ },
8922
+ "required": [
8923
+ "backdrop_path",
8924
+ "first_air_date",
8925
+ "genre_ids",
8926
+ "id",
8927
+ "name",
8928
+ "origin_country",
8929
+ "original_language",
8930
+ "original_name",
8931
+ "overview",
8932
+ "popularity",
8933
+ "poster_path",
8934
+ "vote_average",
8935
+ "vote_count"
8936
+ ]
8937
+ },
8938
+ "description": "Series"
8939
+ },
8940
+ "total_pages": {
8941
+ "type": "number",
8942
+ "description": "Total pages"
8943
+ },
8944
+ "total_results": {
8945
+ "type": "number",
8946
+ "description": "Total results"
8947
+ }
8948
+ },
8949
+ "required": [
8950
+ "page",
8951
+ "results",
8952
+ "total_pages",
8953
+ "total_results"
8954
+ ]
7413
8955
  }
7414
8956
  },
7415
8957
  "required": [
@@ -7752,7 +9294,12 @@
7752
9294
  "description": "Video key"
7753
9295
  },
7754
9296
  "site": {
7755
- "type": "string",
9297
+ "anyOf": [
9298
+ {
9299
+ "type": "string",
9300
+ "const": "YouTube"
9301
+ }
9302
+ ],
7756
9303
  "description": "Video site"
7757
9304
  },
7758
9305
  "size": {
@@ -7760,7 +9307,12 @@
7760
9307
  "description": "Video size"
7761
9308
  },
7762
9309
  "type": {
7763
- "type": "string",
9310
+ "anyOf": [
9311
+ {
9312
+ "type": "string",
9313
+ "const": "Teaser"
9314
+ }
9315
+ ],
7764
9316
  "description": "Video type"
7765
9317
  },
7766
9318
  "official": {