private Node findRootSchemaItemNode(Node start) {
        Node rootSchemaItemNode = start;

        while (rootSchemaItemNode != null) {
            if (rootSchemaItemNode.isASTInstance(rootSchemaItem.class)) break;
            rootSchemaItemNode = rootSchemaItemNode.getParent();
        }
        return rootSchemaItemNode;
    }
QuickfixAction
Responsible for giving quickfixes for the given code action request
integration/schema-language-server/language-server/src/main/java/ai/vespa/schemals/lsp/schema/codeaction/provider/QuickFixProvider.java