code: func (pTypeDef *StringTest) Validate() error {
  	if pTypeDef.Name == "" {
  		return fmt.Errorf("StringTest: Missing required field: name")
  	}
  	if pTypeDef.Parent == "" {
  		return fmt.Errorf("StringTest: Missing required field: parent")
  	}
  	return nil
  }
docs: //
  // Validate - checks for missing required fields, etc
  //