Added validation for protoType field in .proto files