syntax = "proto3"; package pb; import "google/protobuf/timestamp.proto"; import "protoc-gen-openapiv2/options/annotations.proto"; option go_package = "github.com/itsscb/df/pb"; message Account { option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { json_schema: { title: "Account"; }; example: "{\"id\": 185,\"email\": \"john.doe@example.com\", \"firstname\": \"John\", \"lastname\": \"Doe\", \"phone\": \"\", \"street\": \"Death Star 2\", \"zip\": \"0815\", \"city\": \"New York\", \"country\": \"USA\", \"birthday\": \"1990-10-05T00:00:00Z\", \"privacy_accepted\": false, \"privacy_accepted_date\": \"0001-01-01T00:00:00Z\", \"creator\": \"john.doe@example.com\", \"created\": \"2023-10-05T02:30:53Z\", \"changer\": \"john.doe@example.com\", \"changed\": \"2023-10-05T02:30:53Z\"}"; }; int64 id = 1; string email = 2; string firstname = 3; string lastname = 4; string street = 5; string city = 6; string zip = 7; string country = 8; google.protobuf.Timestamp birthday = 9; string phone = 10; bool privacy_accepted = 11; google.protobuf.Timestamp privacy_accepted_date = 12; int32 permission_level = 13; string creator = 14; google.protobuf.Timestamp created = 15; string changer = 16; google.protobuf.Timestamp changed = 17; }