Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-3773

Is there a way to create a $jsonSchema validator for a collection based on its data?

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: API
    • Labels:
      None

      Hello, 

      I know there are ways to create a schema from collection even in a JSON fashion, but is there a way to actually create a $jsonSchema that can be used as a validator in a collection? 

      If so, how does one achieve this? 

            Assignee:
            durran.jordan@mongodb.com Durran Jordan
            Reporter:
            daubersc@fim.uni-passau.de Kai Dauberschmidt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: