Validation editor - rules generation

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 1.46.0
    • Affects Version/s: None
    • Component/s: None
    • Needed
    • Hide

      This includes the new starting screen for Validation rules editor (currently documented under https://www.mongodb.com/docs/compass/current/validation/).

      See designs in https://www.figma.com/design/CBHJriBQZ2qxMxtnXFgDxJ/EXPO-3174-%3A-Export-Schema-%2B-Validation-Detection?node-id=1304-35623&m=dev

      When "generate rules" is chosen, Compass gets a sample of 1k documents and runs schema analysis on it. Based on this, it generates $jsonSchema validator. The changes are not saved, the user is presented with the generated rules in the editor in edit mode.

      Show
      This includes the new starting screen for Validation rules editor (currently documented under https://www.mongodb.com/docs/compass/current/validation/ ). See designs in https://www.figma.com/design/CBHJriBQZ2qxMxtnXFgDxJ/EXPO-3174-%3A-Export-Schema-%2B-Validation-Detection?node-id=1304-35623&m=dev When "generate rules" is chosen, Compass gets a sample of 1k documents and runs schema analysis on it. Based on this, it generates $jsonSchema validator. The changes are not saved, the user is presented with the generated rules in the editor in edit mode.
    • Developer Tools

      As per Figma designs.

      See also Tech design

      Put behind the `enableExportSchema` feature flag.

              Assignee:
              Paula Stachova
              Reporter:
              Paula Stachova
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: