The class that Mongoose uses internally to instantiate this SchemaType's options property.
Optional casterThe schematype embedded in this array
Default options for this SchemaType
String representation of what type this is, like 'ObjectID' or 'Number'
Optional isTrue if this SchemaType has a required validator. False otherwise.
The options this SchemaType was instantiated with
The path to this SchemaType in a Schema.
The schema this SchemaType instance is part of
The validators that Mongoose should run to validate properties at this SchemaType's path.
Static optionsStatic schemaThis schema type's name, to defend against minifiers that mangle function names.
Adds a discriminator type.
Optional value: stringOptional Optional value: stringOptional Static castStatic checkStatic getStatic setGenerated using TypeDoc
SchemaType constructor