syntax = "proto3";

package com.sonymusic.delphi.etl.apps.proto;

import "google/protobuf/wrappers.proto";

message PlaylistTrackStats {
  google.protobuf.StringValue previous_date = 1;
  google.protobuf.StringValue track_id = 2;
  google.protobuf.UInt64Value days_in_playlist = 3;
  google.protobuf.UInt64Value trend = 4;
  google.protobuf.BoolValue is_entry = 5;
  google.protobuf.BoolValue is_exit = 6;
  google.protobuf.BoolValue is_reentry = 7;
  google.protobuf.UInt64Value min_position = 8;
  google.protobuf.StringValue min_position_date = 9;
  google.protobuf.UInt64Value max_position = 10;
  google.protobuf.StringValue max_position_date = 11;
  google.protobuf.UInt64Value earliest_position = 12;
  google.protobuf.StringValue earliest_position_date = 13;
  google.protobuf.UInt64Value latest_position = 14;
  google.protobuf.StringValue latest_position_date = 15;
  google.protobuf.UInt64Value current_position = 16;
  google.protobuf.UInt64Value previous_position = 17;
  google.protobuf.UInt64Value previous_position_change_14_days = 18;
  google.protobuf.UInt64Value trend_change_14_days = 19;
  google.protobuf.StringValue last_date_change_14_days = 20;
}

message PlaylistTrackCountryStats {
  map<string, PlaylistTrackStats> countries = 1;
}
