@Override
	public Iterator<Node> iterator() {
        return new Iterator<Node>() {
            int currentIndex = 0;

			@Override
			public boolean hasNext() {
                return currentIndex < children.size();
			}

			@Override
			public Node next() {
                return children.get(currentIndex++);
			}
        };
	}
Returns the next sibling of this schema node.
A sibling node is a node that shares the same parent node.

@return the next sibling of this schema node, or null if there is no previous sibling
integration/schema-language-server/language-server/src/main/java/ai/vespa/schemals/tree/Node.java