Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-15701

[Manual] Better JSON Schema Documentation

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: manual, Server
    • Labels:

      How are you using Mongo? What version of the server and driver are you using?

      N/A

      What is the feature/improvement you would like?

      Further and more in-depth documentation on the native JSON schema validator. As it is now, things aren't exactly crystal clear. I've spent a lot of time on it and had to explore into the MongoDB Compass code base and various others to get a full grasp on how it works, what is supported, etcetera.

      What use case would this feature/improvement enable?

      Better developer experience. For me specifically, I've been trying to create a faithful light weight TS ORM that converts a user friendly schema into a valid mongodb json schema for easy insertion. To be clear I'm not asking for much, just a clear description of the modified spec mongodb uses. For example, there is a  meta schema for JSON Schema draft v4 which gives a clear description of each field and its input/output seen here I've made an attempt at my own but I know there is more, I just don't know its specifics.

            Assignee:
            Unassigned Unassigned
            Reporter:
            developer.lenneth@gmail.com Lenny Elzey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              1 year, 28 weeks, 5 days ago