Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SchemaOptions

Options when setting JSON schemas.

Hierarchy

  • SchemaOptions

Index

Properties

Optional ignoreType

ignoreType: boolean

Ignore "type" keyword, so as not to conflict with "bsonType".

Optional ignoreUnsupportedKeywords

ignoreUnsupportedKeywords: boolean

Ignore some JSON schema keywords MongoDB does not support, instead of throwing errors.

see

OMITTED_JSON_SCHEMA_KEYWORDS