replace _root() with _schema prop