syntax = "proto3";

package user_ban;

option go_package = "user_ban";

import "eventbus/owner.proto";

// UserBanCreate triggers when a user has a tos or dmca strike against them.
message UserBanCreate {
  option (eventbus.owner.ldap_group) = "team-identity";
  string user_id = 1;
  bool dmca_violation = 2;
  bool terms_of_service_violation = 3;
  int64 duration = 4;
  bool is_permanent = 5;
}
