code: func (m *Mark) Validate(formats strfmt.Registry) error {
  	var res []error
  
  	if err := m.validateRemains(formats); err != nil {
  		res = append(res, err)
  	}
  
  	if len(res) > 0 {
  		return errors.CompositeValidationError(res...)
  	}
  	return nil
  }
docs: // Validate validates this mark