@@ -2,7 +2,6 @@ syntax = "proto3";
2
2
3
3
package thamesflix.titlecatalog.v1alpha1 ;
4
4
5
- import "google/protobuf/duration.proto" ;
6
5
import "google/protobuf/field_mask.proto" ;
7
6
import "google/protobuf/timestamp.proto" ;
8
7
import "google/type/date.proto" ;
@@ -118,9 +117,8 @@ message Title {
118
117
// A brief summary of the story.
119
118
// Required for create requests.
120
119
string plot = 6 ;
121
- // The duration of the title.
122
- // Required for create requests.
123
- google.protobuf.Duration duration = 7 ;
120
+ // The duration of the title in minutes.
121
+ optional uint32 duration_minutes = 7 ;
124
122
// The release date of the title.
125
123
// Required for create requests.
126
124
google.type.Date release_date = 8 ;
@@ -138,7 +136,7 @@ message Title {
138
136
repeated string genres = 11 ;
139
137
// The URL of the poster for the title.
140
138
optional string poster_url = 12 ;
141
- // The type of the title (e.g. movie, tv show ).
139
+ // The type of the title (e.g. movie, series ).
142
140
// Required for create requests.
143
141
TitleType type = 13 ;
144
142
// Awards or nominations the title has received.
@@ -147,16 +145,18 @@ message Title {
147
145
148
146
// TitleType represents the type of a title.
149
147
enum TitleType {
150
- // The title type is unspecified .
148
+ // Default value for cases where the type is not set or unknown .
151
149
TITLE_TYPE_UNSPECIFIED = 0 ;
152
- // The title is a movie .
150
+ // All full-length films, typically narrative fiction or theatrical releases .
153
151
TITLE_TYPE_MOVIE = 1 ;
154
- // The title is a TV show.
155
- TITLE_TYPE_TV_SHOW = 2 ;
156
- // The title is a video game.
157
- TITLE_TYPE_VIDEO_GAME = 3 ;
158
- // The title is of another type.
159
- TITLE_TYPE_OTHER = 4 ;
152
+ // All serialized content, including TV shows, web series, miniseries, and animated series.
153
+ TITLE_TYPE_SERIES = 2 ;
154
+ // Content that is not regularly scheduled or episodic, such as award shows, yearly events, and TV specials.
155
+ TITLE_TYPE_SPECIAL = 3 ;
156
+ // Short form content such as short films and music videos, typically under 40 minutes.
157
+ TITLE_TYPE_SHORT = 4 ;
158
+ // Both single documentaries and documentary series.
159
+ TITLE_TYPE_DOCUMENTARY = 5 ;
160
160
}
161
161
162
162
// ServingStatus represents the health status of a service.
0 commit comments