types/proto/stream.proto

25 lines
475 B
Protocol Buffer
Raw Normal View History

syntax = "proto3";
2017-12-14 20:39:53 +01:00
package pb;
import "fee.proto";
import "file.proto";
2017-12-14 20:39:53 +01:00
message Stream {
bytes hash = 1;
string language = 2;
string title = 3;
string author = 4;
string description = 5;
string media_type = 6;
string license = 7;
File file = 8;
Fee fee = 16;
string license_url = 17;
2019-02-14 15:55:47 +01:00
string thumbnail_url = 18;
uint32 duration = 19;
repeated string tags = 20;
2019-02-27 17:37:12 +01:00
int64 release_time = 21; // seconds since UNIX epoch
2017-12-14 20:39:53 +01:00
}