When loading a JSON representation of a document into the ProseMirror editor my experience has been that the rendering will fail silently if the JSON document does not conform to the schema. This results in a lot of wasted time manually validating documents against schema. Is there now, or could there be, some function that will validate a JSON doc against a schema spec? Ideally any point where validation failed would be reported to the caller. This would make it dramatically easier to build applications that store ProseMirror documents in JSON.