syntax = "proto3"; message News { map config = 1; repeated string tags = 2; repeated Author receiver = 3; repeated oneof resource { Location location = 4; map web = 5; } bytes profileImage = 6; bool read = 7; oneof source { Author author = 8; map web = 9; } Author author = 10; Meta meta = 11; string sendDate = 12; string readDate = 13; string expires = 14; float price = 15; int32 rating = 16; string content = 17; string question = 18; string version = 19; string coffeeTime = 20; string profileUri = 21; string g-recaptcha-response = 22; } message Author { string title = 1; repeated string categories = 2; repeated Location locations = 3; Location origin = 4; } message Location { float lat = 1; float long = 2; } message Meta { string createDate = 1; }