syntax = "proto3";

package entitlement_drop_batch;

option go_package = "entitlement_drop_batch";

import "eventbus/owner.proto";

// EntitlementDropsBatchCreate triggers when an event occurs and several users are granted drops at once.
message EntitlementDropBatchCreate {
  option (eventbus.owner.ldap_group) = "team-developer-success";
  // ID of the game that this involves.
  string game_id = 1;
  // The list of entitlements for this particular batch.
  repeated Entitlement entitlements = 2;
}

// Entitlement is the specific drop entitlement for a user.
message Entitlement {
  // ID of this entitlement.
  string id = 1;
  // Twitch User ID of the user receiving this entitlement.
  string user_id = 2;
}
