Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Planned
Categories Compass
Created by Guest
Created on Feb 26, 2021

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).
  • Attach files
  • Guest
    Jun 5, 2024
    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