syntax = "proto3"; package account_selector.v1; message DateOfBirth { message Date { uint32 year = 1; uint32 month = 2; uint32 day = 3; } Date date = 1; string source = 2; } message Code { string code = 1; string source = 2; } enum AccountEligible { ACCOUNT_ELIGIBLE_UNSPECIFIED = 0; ACCOUNT_ELIGIBLE_ELIGIBLE = 1; ACCOUNT_ELIGIBLE_INELIGIBLE = 2; ACCOUNT_ELIGIBLE_UNKNOWN = 3; } message Account { string crsid = 1; string name = 2; string affiliation = 3; string college = 4; repeated DateOfBirth date_of_birth = 5; repeated Code code = 6; AccountEligible eligible = 7; }