syntax = "proto2";

package maps_adv.geosmb.landlord.proto.promo;

import "google/protobuf/timestamp.proto";
import "maps_adv/geosmb/landlord/proto/common.proto";

message Promos {
    repeated Promotion promotion = 1;
}

message Promotion {
    required string announcement = 1;
    required string description = 2;
    required google.protobuf.Timestamp date_from = 3;
    required google.protobuf.Timestamp date_to = 4;

    // url to promotion details
    optional string details_url = 5;
    // avatars href
    optional common.ImageTemplate banner_img = 6;
}
