Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

MongoHQ/mongodb-ejson-schema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mongodb-ejson-schema

MongoDB Extended JSON is a standard way of representing MongoDB documents in JSON. This provides a JSON Schema to validate documents.

why

If you're talking between services in JSON (like to a browser, or producing/consuming mongoexport), you should strictly adhere to this JSON Schema.

This provides an easy way to verify your documents are valid.

It also serves as documentation for what the MongoDB Extended JSON format looks like.

schema/document.json

This is the schema for a document, e.g. something you can store in MongoDB.

schema/query.json

**TODO** implement this schema

This is the schema for a query document. This allows for additional field values, e.g. $set.

##LICENSE

MIT

this is just a test of a paragraph with newline

About

a json schema to verify mongodb extended json

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published