See discussion in https://github.com/microsoft/PowerShell-FeatureFlags/pull/35. It doesn't seem trivial to update the code to support NJsonSchema 10.x, but at some point we should do it (or use another library like https://github.com/gregsdennis/json-everything).