let us say that I have this simple Schema in Node js
const example = new mongoose.Schema({ type: { type: String, enum: ['apple', 'orange', 'bannana'] } })
How can I retrieve the array(enum) validation for the Type field?