code: func (c *CipdSpec) Normalize() error {
  	if err := schemaHostURLValidate(c.Server); err != nil {
  		return fmt.Errorf("job.inputs.cipd.server: %s", err)
  	}
  	if c.Client != nil {
  		if err := c.Client.Normalize(); err != nil {
  			return fmt.Errorf("job.inputs.cipd.client: %s", err)
  		}
  	}
  	for path, pkgs := range c.ByPath {
  		for i, p := range pkgs.Pkg {
  			if err := p.Normalize(); err != nil {
  				return fmt.Errorf("job.inputs.cipd.by_path[%s].pkg[%d]: %s", path, i, err)
  			}
  		}
  	}
  	return nil
  }
docs: // Normalize normalizes and checks for input violations.