code: func (g *GenItems) ItemsDepth() string {
  	// NOTE: this is currently used by templates to generate explicit comments in nested structures
  	current := g
  	i := 1
  	for current.Parent != nil {
  		i++
  		current = current.Parent
  	}
  	return strings.Repeat("items.", i)
  }
docs: // ItemsDepth returns a string "items.items..." with as many items as the level of nesting of the array.