@mongodb-js/compass-schema-validation
TypeScript icon, indicating that this package has built-in type declarations

6.24.1 • Public • Published

compass-schema-validation

Compass plugin for Schema Validation

Compass Schema Validation supports complex validation rules based on JSON Schema, along with the already supported MQL-based simple validation. Compared with previously available document validation, JSON Schema is much more flexible when creating complex validation rules.

Features

  • Showing, creating, editing and deleting schema validation rules.
  • Using both MQL and JSON schema syntax.
  • Accepting any query syntax including $jsonSchema but not be limited to it.
  • Autocompleting fields and keywords.
  • Syntactic validation to enforce correct syntax.
  • Showing and modifying validationLevel (strict, moderate, off).
  • Showing and modifying validationAction (error, warn).
  • Showing preview of sample documents in the collection that match and do not match the validation rules.

Readme

Keywords

none

Package Sidebar

Install

npm i @mongodb-js/compass-schema-validation

Weekly Downloads

26

Version

6.24.1

License

SSPL

Unpacked Size

1.04 MB

Total Files

56

Last publish

Collaborators

  • orechova
  • himanshusinghs
  • c-buckingham
  • mongo-j
  • mabaasit
  • alexander_schroll
  • chuck.kalmanek
  • mongodb-js-user
  • rueckstiess
  • durran
  • lerouxb
  • fredtruman
  • mbroadst
  • hswolff
  • satyasinha
  • matt_d_rat
  • rhysm
  • tomhollander
  • alena.khineika
  • jeff-allen-mongo
  • mmarcon
  • jonathan.balsano
  • mongodb-build
  • jack.weir
  • stennie
  • mcasimir
  • kristina.stefano
  • jarjee
  • shaketbaby
  • devtoolsbot
  • addaleax
  • gribnoysup
  • mutukrish