types/v1/proto/source.proto
2019-03-04 09:54:16 -05:00

18 lines
364 B
Protocol Buffer

syntax = "proto2";
package legacy_pb;
message Source {
enum Version {
UNKNOWN_VERSION = 0;
_0_0_1 = 1;
}
required Version version = 1;
enum SourceTypes {
UNKNOWN_SOURCE_TYPE = 0;
lbry_sd_hash = 1;
}
required SourceTypes sourceType = 2;
required bytes source = 3;
required string contentType = 4;
}