mongoose schema give two types code example Example: mongoose schema multiple types { type: Schema.Types.Mixed }