syntax = "proto3";

package entitlement_drop;

option go_package = "entitlement_drop";

import "eventbus/owner.proto";
import "google/protobuf/timestamp.proto";

// EntitlementDropCreate triggers when a Drop is claimed and a user is entitled with a benefit.
message EntitlementDropCreate {
  option (eventbus.owner.ldap_group) = "team-ext-money-dev";
  // ID of the category associated with this entitlement.
  string category_id = 1;
  // ID of this entitlement.
  string id = 2;
  // Twitch User ID of the user receiving this entitlement.
  string user_id = 3;
  // ID of the organization that owns the benefit.
  string organization_id = 4;
  // ID of the campaign that contains the benefit related to this entitlement.
  string campaign_id = 5;
  // ID of the benefit associated to this entitlement.
  string benefit_id = 6;
  // When the benefit was entitled to the user.
  google.protobuf.Timestamp created_at = 7;
}
