array string mongoose

var personSchema = new mongoose.Schema({
  tags:{
     type:[String],
     required: true
  }
});
Charming Crocodile