docs: func (s *Validity) Validate() error {
  	invalidParams := request.ErrInvalidParams{Context: "Validity"}
  	if s.Type == nil {
  		invalidParams.Add(request.NewErrParamRequired("Type"))
  	}
  	if s.Value == nil {
  		invalidParams.Add(request.NewErrParamRequired("Value"))
  	}
  	if s.Value != nil && *s.Value < 1 {
  		invalidParams.Add(request.NewErrParamMinValue("Value", 1))
  	}
  
  	if invalidParams.Len() > 0 {
  		return invalidParams
  	}
  	return nil
  }