syntax = "proto3";
package ar.v1;

import "ar/v1/events.proto";
import "ar/v1/feedback.proto";
import "buf/validate/validate.proto";

option csharp_namespace = "Messages.AR.V1";
option go_package = "github.com/cobotar/protocol/messages/ar/v1";

message FeedbackInfoMessage {
  string name = 2 [(buf.validate.field).string = {
    min_len: 1
    max_len: 64
  }];
  string icon = 3;
  string description = 4;
  FeedbackType type = 5 [(buf.validate.field).required = true];
  string group = 6 [(buf.validate.field).required = true];
  bool require_agent = 7;
  bool require_frame = 8;
  repeated EventType required_events = 9;
  repeated EventType optional_events = 10;
  bool disabled = 11;
}

message FeedbackInfoMessages {
  repeated FeedbackInfoMessage infos = 1;
}
