syntax = "proto3";

package category;

option go_package = "category";

import "eventbus/owner.proto";

// A CategoryCreate Event will be triggered when a category is created.
// A category will always have an id, but may not always have an igdb_id.
message CategoryCreate {
  option (eventbus.owner.ldap_group) = "team-search-discovery";
  // ID of the category that was created
  string id = 1;
  // optional IGDB ID of the category that was created, set as an empty string if not applicable
  string igdb_id = 2;
  // URL encoded category name of the category that was created. ie: League of Legends => League%20of%20Legends
  string url_encoded_category_name = 3;
}
