Skip to content

Glossary: MongoDB

$jsonSchema

Also written: jsonSchema

The rule format MongoDB uses to validate documents, which is JSON Schema plus `bsonType` to name BSON types. It goes inside a collection's `validator`.

Where the book teaches it

Related terms

Schema validationbsonTypecollMod