64 lines
1.4 KiB
Protocol Buffer
64 lines
1.4 KiB
Protocol Buffer
syntax = "proto2";
|
|
|
|
package tm;
|
|
|
|
message TeamInfo {
|
|
enum AgeGroup {
|
|
ELEMENTARY = 1;
|
|
MIDDLE_SCHOOL = 2;
|
|
HIGH_SCHOOL = 3;
|
|
COLLEGE = 4;
|
|
}
|
|
optional string number = 1;
|
|
optional string name = 2;
|
|
optional string city = 3;
|
|
optional string state = 4;
|
|
optional string country = 5;
|
|
optional string shortName = 6;
|
|
optional string school = 7;
|
|
optional string sponsors = 8;
|
|
optional int32 divId = 9;
|
|
optional int32 id = 10;
|
|
optional int32 tiebreaker = 11;
|
|
optional int32 rank = 12;
|
|
optional bool checkedIn = 13;
|
|
optional tm.TeamInfo.AgeGroup ageGroup = 14 [default = HIGH_SCHOOL];
|
|
}
|
|
|
|
message TeamList {
|
|
repeated tm.TeamInfo teams = 1;
|
|
}
|
|
|
|
message TeamInspection {
|
|
enum Status {
|
|
NOT_STARTED = 1;
|
|
PARTIAL = 2;
|
|
PASSED = 3;
|
|
}
|
|
optional tm.TeamInfo info = 1;
|
|
optional tm.TeamInspection.Status status = 2 [default = NOT_STARTED];
|
|
optional string comments = 3;
|
|
optional int32 numRobots = 4 [default = 1];
|
|
repeated tm.TeamInspection.Status robotStatus = 5;
|
|
optional bytes details = 6;
|
|
}
|
|
|
|
message TeamInspectionList {
|
|
repeated tm.TeamInspection teams = 1;
|
|
}
|
|
|
|
message TeamInspectionLogEntry {
|
|
enum Status {
|
|
NOT_STARTED = 1;
|
|
PARTIAL = 2;
|
|
PASSED = 3;
|
|
}
|
|
optional string number = 1;
|
|
optional tm.TeamInspectionLogEntry.Status status = 2 [default = NOT_STARTED];
|
|
optional string timestamp = 3;
|
|
}
|
|
|
|
message TeamInspectionLog {
|
|
repeated tm.TeamInspectionLogEntry entries = 1;
|
|
}
|