docs: public DocumentPath childPath() {
      if (pathElements.size() <= 1) {
        return null;
      }
      return new DocumentPath(this.pathElements.subList(pathElements.size() - 1, pathElements.size()));
    }