syntax = "proto3"; package pb; import "stream.proto"; import "channel.proto"; message Claim { enum Type { STREAM = 0; CHANNEL = 1; } Type type = 1; // do we need this? Stream stream = 2; Channel channel = 3; }