code: func (s *SpaceTemplate) Validate() error {
  	if s.Name == "" {
  		return errors.NewBadParameterError("name", s.Name).Expected("not empty")
  	}
  	if uuid.Equal(s.ID, uuid.Nil) {
  		return errors.NewBadParameterError("template id", s.ID).Expected("non-nil UUID")
  	}
  
  	return nil
  }
docs: // Validate ensures that all inner-document references of the given space
  // template are fine.