syntax = "proto3";

package category;

option go_package = "category";

import "eventbus/change.proto";
import "eventbus/owner.proto";

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