create new schema without id code example
Example: mongoose nested object without id
var subSchema = mongoose.Schema({
//your subschema content
},{ _id : false });
var subSchema = mongoose.Schema({
//your subschema content
},{ _id : false });