The JSON Schema export should be producing a jsonschema file that can be used immediately with schema validation
It currently dumps a bunch of analysis information even though the menu item is "Share Schema as JSON". This file is useless for trying to harden or define a schema, even in non-mongodb tools (like validating documents match schema in our programs).
4
votes
Andrew
shared this idea
-
William commented
Oh this would be perfect. I have no idea why you can't generate a first pass JSON validation schema from a sampling of documents. I've spent hours trying to find a mongo supported tool that does this