[DOCS-15701] [Manual] Better JSON Schema Documentation Created: 22/Oct/22  Updated: 22/Jan/24

Status: Backlog
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Minor - P4
Reporter: Lenny Elzey Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: backlog, proactive
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File mongodb-json-schema-meta.json    
Participants:
Days since reply: 1 year, 15 weeks, 5 days ago

 Description   

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.


Generated at Thu Feb 08 08:13:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.