import "mapreduce/yt/interface/protos/extension.proto";

package NWebmaster.NProto;

message TQualityTopHost {
    optional string MascotOwner     = 1 [(NYT.column_name) = "MascotOwner"];
    optional uint64 Clicks          = 2 [(NYT.column_name) = "Clicks"];
}

message TQualitySimilarHost {
    optional string SourceOwner     = 1 [(NYT.column_name) = "SourceOwner"];
    optional uint64 SourceClicks    = 2 [(NYT.column_name) = "SourceClicks"];
    optional string AnalogyOwner    = 3 [(NYT.column_name) = "AnalogyOwner"];
    optional uint64 AnalogyClicks   = 4 [(NYT.column_name) = "AnalogyClicks"];
    optional double Cosine          = 5 [(NYT.column_name) = "Cosine"];
}

message TQualityGeneratedRival {
    optional string SourceOwner     = 1 [(NYT.column_name) = "SourceOwner"];
    optional uint64 SourceClicks    = 2 [(NYT.column_name) = "SourceClicks"];
    optional string AnalogyOwner    = 3 [(NYT.column_name) = "AnalogyOwner"];
    optional uint64 AnalogyClicks   = 4 [(NYT.column_name) = "AnalogyClicks"];
    optional bool SpyLog            = 5 [(NYT.column_name) = "SpyLog"];
    optional bool SimilarGroup      = 6 [(NYT.column_name) = "SimilarGroup"];
    optional bool Serp              = 7 [(NYT.column_name) = "Serp"];
    optional uint32 SourceIKS       = 8 [(NYT.column_name) = "SourceIKS"];
    optional uint32 AnalogyIKS      = 9 [(NYT.column_name) = "AnalogyIKS"];
    optional double Cosine          = 10 [(NYT.column_name) = "Cosine"];
}
