code: public ValidationData findListParent() {
          if (!this.listChild) {
              return null;
          }
  
          ValidationData parent = this.parent;
          while (parent != null && !parent.isList()) {
              parent = parent.parent;
          }
          return parent;
      }
docs: Find list parent validation data.
  
  @return the validation data