types/proto/v2/stream.proto
2019-02-06 11:03:48 -03:00

30 lines
No EOL
537 B
Protocol Buffer

syntax = "proto3";
package pb;
import "fee.proto";
import "file.proto";
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;
string thumbnail = 18;
string preview = 19;
bool nsfw = 20;
uint32 duration = 21;
Timestamp release_time = 22;
}
message Timestamp {
sint64 epoch_seconds = 1;
sint32 bc_year = 2;
}