Skip to content

Commit d1f3b3f

Browse files
committed
Sync title keyword detail contract
1 parent 6ef7c44 commit d1f3b3f

5 files changed

Lines changed: 5 additions & 4 deletions

File tree

catalog-contract/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"contract_version": "2.0.0",
44
"upstream_repository": "LamPPKK/Smart-Movie-iOS",
55
"upstream_commit": "fb532b4",
6-
"openapi_sha256": "fdac810bee206a4df59b5c77307e5533b2c125dfb9e0d1e81c3efa9d662477ab",
6+
"openapi_sha256": "b662b2afa83472fdfc94426367e1540cfccc0dc4ce6c3c37a51f710e475d6fd4",
77
"fixtures_sha256": "d5bcb3a270e54c7aa6e73ef1ebf5dd0f17630f94d6a6c27559821dab10146874",
88
"legacy_v1_contract_version": "1.0.0"
99
}

catalog-contract/v2/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"contract_version": "2.0.0",
44
"compatibility": "additive-only-within-v2",
55
"legacy_v1_support": "at-least-12-months-after-3.0.0",
6-
"openapi_sha256": "fdac810bee206a4df59b5c77307e5533b2c125dfb9e0d1e81c3efa9d662477ab",
6+
"openapi_sha256": "b662b2afa83472fdfc94426367e1540cfccc0dc4ce6c3c37a51f710e475d6fd4",
77
"fixtures_sha256": "d5bcb3a270e54c7aa6e73ef1ebf5dd0f17630f94d6a6c27559821dab10146874"
88
}

catalog-contract/v2/openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
"WatchProviderOption": { "type": "object", "required": ["id", "name", "logo_path", "display_priority"], "properties": { "id": { "type": "integer", "minimum": 1 }, "name": { "type": "string", "minLength": 1 }, "logo_path": { "type": ["string", "null"] }, "display_priority": { "type": "integer", "minimum": 0 } }, "additionalProperties": true },
236236
"ProviderOffer": { "type": "object", "required": ["provider_id", "provider_name", "logo_path", "display_priority"], "properties": { "provider_id": { "type": "integer", "minimum": 1 }, "provider_name": { "type": "string" }, "logo_path": { "type": ["string", "null"] }, "display_priority": { "type": "integer" } }, "additionalProperties": true },
237237
"ProviderRegion": { "type": "object", "required": ["region", "tmdb_url", "attribution", "stream", "rent", "buy", "ads", "free"], "properties": { "region": { "$ref": "#/components/schemas/Region" }, "tmdb_url": { "type": ["string", "null"], "format": "uri" }, "attribution": { "const": "JustWatch" }, "stream": { "type": "array", "items": { "$ref": "#/components/schemas/ProviderOffer" } }, "rent": { "type": "array", "items": { "$ref": "#/components/schemas/ProviderOffer" } }, "buy": { "type": "array", "items": { "$ref": "#/components/schemas/ProviderOffer" } }, "ads": { "type": "array", "items": { "$ref": "#/components/schemas/ProviderOffer" } }, "free": { "type": "array", "items": { "$ref": "#/components/schemas/ProviderOffer" } } }, "additionalProperties": true },
238-
"TitleDetail": { "allOf": [{ "$ref": "#/components/schemas/TitleSummary" }, { "type": "object", "required": ["tagline", "adult", "genres", "creators", "cast", "crew", "collection", "companies", "networks", "seasons", "alternative_titles", "external_ids", "images", "videos", "reviews", "recommendations", "similar", "release_information", "translations", "watch_providers"], "properties": { "tagline": { "type": "string" }, "adult": { "type": "boolean" }, "genres": { "type": "array" }, "creators": { "type": "array", "items": { "$ref": "#/components/schemas/Credit" } }, "cast": { "type": "array", "items": { "$ref": "#/components/schemas/Credit" } }, "crew": { "type": "array", "items": { "$ref": "#/components/schemas/Credit" } }, "collection": { "oneOf": [{ "$ref": "#/components/schemas/CollectionSummary" }, { "type": "null" }] }, "companies": { "type": "array", "items": { "$ref": "#/components/schemas/OrganizationSummary" } }, "networks": { "type": "array", "items": { "$ref": "#/components/schemas/OrganizationSummary" } }, "seasons": { "type": "array", "items": { "$ref": "#/components/schemas/SeasonSummary" } }, "alternative_titles": { "type": "array" }, "external_ids": { "type": "object" }, "images": { "type": "object" }, "videos": { "type": "array" }, "reviews": { "type": "object" }, "recommendations": { "$ref": "#/components/schemas/TitlePage" }, "similar": { "type": "array", "items": { "$ref": "#/components/schemas/TitleSummary" } }, "release_information": { "type": "array" }, "translations": { "type": "array" }, "watch_providers": { "type": "array", "items": { "$ref": "#/components/schemas/ProviderRegion" } } }, "additionalProperties": true }] },
238+
"TitleDetail": { "allOf": [{ "$ref": "#/components/schemas/TitleSummary" }, { "type": "object", "required": ["tagline", "adult", "genres", "creators", "cast", "crew", "collection", "companies", "networks", "seasons", "alternative_titles", "external_ids", "images", "videos", "reviews", "recommendations", "similar", "release_information", "translations", "watch_providers"], "properties": { "tagline": { "type": "string" }, "adult": { "type": "boolean" }, "genres": { "type": "array" }, "creators": { "type": "array", "items": { "$ref": "#/components/schemas/Credit" } }, "cast": { "type": "array", "items": { "$ref": "#/components/schemas/Credit" } }, "crew": { "type": "array", "items": { "$ref": "#/components/schemas/Credit" } }, "collection": { "oneOf": [{ "$ref": "#/components/schemas/CollectionSummary" }, { "type": "null" }] }, "companies": { "type": "array", "items": { "$ref": "#/components/schemas/OrganizationSummary" } }, "networks": { "type": "array", "items": { "$ref": "#/components/schemas/OrganizationSummary" } }, "seasons": { "type": "array", "items": { "$ref": "#/components/schemas/SeasonSummary" } }, "alternative_titles": { "type": "array" }, "external_ids": { "type": "object" }, "images": { "type": "object" }, "videos": { "type": "array" }, "reviews": { "type": "object" }, "recommendations": { "$ref": "#/components/schemas/TitlePage" }, "similar": { "type": "array", "items": { "$ref": "#/components/schemas/TitleSummary" } }, "release_information": { "type": "array" }, "translations": { "type": "array" }, "watch_providers": { "type": "array", "items": { "$ref": "#/components/schemas/ProviderRegion" } }, "keywords": { "type": "array", "items": { "$ref": "#/components/schemas/KeywordSummary" } } }, "additionalProperties": true }] },
239239
"PersonDetail": { "allOf": [{ "$ref": "#/components/schemas/PersonSummary" }, { "type": "object", "required": ["biography", "also_known_as", "images", "credits", "external_ids"], "properties": { "biography": { "type": "string" }, "birthday": { "type": ["string", "null"] }, "deathday": { "type": ["string", "null"] }, "also_known_as": { "type": "array", "items": { "type": "string" } }, "images": { "type": "array", "items": { "$ref": "#/components/schemas/ImageAsset" } }, "credits": { "type": "object" }, "external_ids": { "type": "object" } } }] },
240240
"CollectionDetail": { "allOf": [{ "$ref": "#/components/schemas/CollectionSummary" }, { "type": "object", "required": ["parts", "images"], "properties": { "parts": { "type": "array", "items": { "$ref": "#/components/schemas/TitleSummary" } }, "images": { "type": "object" } } }] },
241241
"OrganizationDetail": { "allOf": [{ "$ref": "#/components/schemas/OrganizationSummary" }, { "type": "object", "required": ["description", "titles"], "properties": { "description": { "type": "string" }, "titles": { "$ref": "#/components/schemas/TitlePage" } } }] },

core/model/src/main/java/com/lamndt/smartmovie/model/CatalogModelsV2.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,7 @@ data class TitleDetailV2(
421421
@SerialName("release_information") val releaseInformation: List<ReleaseInformation> = emptyList(),
422422
val translations: List<TitleTranslation> = emptyList(),
423423
@SerialName("watch_providers") val watchProviders: List<ProviderRegion> = emptyList(),
424+
val keywords: List<KeywordSummary> = emptyList(),
424425
) {
425426
val summary get() = TitleSummary(id, mediaType, title, originalTitle, overview, posterPath, backdropPath, releaseDate, voteAverage, genreIds, adult)
426427

release/train.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"schema_version": 1,
33
"train_version": "3.0.0",
44
"contract_version": "2.0.0",
5-
"contract_openapi_sha256": "fdac810bee206a4df59b5c77307e5533b2c125dfb9e0d1e81c3efa9d662477ab",
5+
"contract_openapi_sha256": "b662b2afa83472fdfc94426367e1540cfccc0dc4ce6c3c37a51f710e475d6fd4",
66
"legacy_contract_version": "1.0.0",
77
"apple": {
88
"marketing_version": "3.0.0",

0 commit comments

Comments
 (0)