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 Submitted
Categories Compass
Created by Guest
Created on Feb 28, 2020

Visual rule builder for schema validation

In Compass, it is possible to create validation rules to enforce a schema. It would be good to be able to generate these rules with a simple, visual editor, instead of having to know the MQL or JSON Schema syntax for the validation rules.
  • Attach files
  • Guest
    Feb 5, 2025
    not to jump on the AI hype train, but I just tell copilot the fields I want and what ones are required, and ask it to spit out a validator. I can also hand it a sample document and tell it to generate a validator for it
  • Guest
    Oct 26, 2023
    It would be great being able to build the rules with natural language as it is done in the aggregation and documents tabs.