syntax = "proto3";

package Klang.Seed.Services.EventLogs.Environment;

// Event Types
message Event {
  oneof eventAttributes {
    PlayerSignup playerSignup = 1000;
    SurveyAnswer SurveyAnswer = 1001;
  }
}

message PlayerSignup {
  int64 userId = 1;
  string username = 2;
}

message SurveyAnswer {
    int64 userId = 1;
    int64 surveyId = 2;
    string surveyName = 3;
    int64 questionId = 4;
    string questionName = 5;
    string textAnswer = 6;
    int64 choiceAnswerId = 7;
    string choiceAnswerName = 8;
    int32 choiceAnswerValue = 9;
}
