code: func (wit WorkItemType) Validate() error {
  	if strings.TrimSpace(wit.Name) == "" {
  		return errs.Errorf(`work item type name "%s" when trimmed has a zero-length`, wit.Name)
  	}
  	if err := wit.Fields.Validate(); err != nil {
  		return errs.Wrapf(err, "failed to validate work item type's fields")
  	}
  	return nil
  }
docs: // Validate runs some checks on the work item type to ensure the field
  // definitions make sense.