23 lines
456 B
Protocol Buffer
23 lines
456 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option go_package = "git.coopgo.io/coopgo-platform/mobility-accounts/grpcapi";
|
|
|
|
import "google/protobuf/struct.proto";
|
|
|
|
message Account {
|
|
string id = 1;
|
|
string namespace = 2;
|
|
AccountAuth authentication = 3;
|
|
google.protobuf.Struct data = 4;
|
|
}
|
|
|
|
message AccountAuth {
|
|
LocalAuth local = 7;
|
|
}
|
|
|
|
message LocalAuth {
|
|
string username = 10;
|
|
string password = 11;
|
|
string email = 12;
|
|
string phone_number = 13;
|
|
} |