package ws.antonov.protobuf.test;

message TestMessage {
  required int32 id = 1;
  optional string name = 2;
}

message AnotherMessage {
  repeated string names = 1;
  optional DataPayload data = 2;

  message DataPayload {
    optional string payload = 1;
  }
}

message Item {
  required string name = 1;
  optional string value = 2;
}
message DataMap {
  repeated Item data_items = 1 [experimental_map_key="name"];
}