docs: func (s *JobManifest) Validate() error {
  	invalidParams := request.ErrInvalidParams{Context: "JobManifest"}
  	if s.Location == nil {
  		invalidParams.Add(request.NewErrParamRequired("Location"))
  	}
  	if s.Spec == nil {
  		invalidParams.Add(request.NewErrParamRequired("Spec"))
  	}
  	if s.Location != nil {
  		if err := s.Location.Validate(); err != nil {
  			invalidParams.AddNested("Location", err.(request.ErrInvalidParams))
  		}
  	}
  	if s.Spec != nil {
  		if err := s.Spec.Validate(); err != nil {
  			invalidParams.AddNested("Spec", err.(request.ErrInvalidParams))
  		}
  	}
  
  	if invalidParams.Len() > 0 {
  		return invalidParams
  	}
  	return nil
  }