func (m *AggregateVoteReq) Validate(formats strfmt.Registry) error {
	var res []error
	if err := m.validateBaseReq(formats); err != nil {
		res = append(res, err)
	}
	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}
Validate validates this aggregate vote req
package models
import (
	"github.com/go-openapi/errors"
	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/swag"
)
type AggregateVoteReq struct {
	BaseReq *BaseReq `json:"base_req,omitempty"`
	ExchangeRates string `json:"exchange_rates,omitempty"`
	Salt string `json:"salt,omitempty"`
}