Hi, I would like to know if can set a predefined set of values while writing the schema and then allow the user to choose from the available options at the time of creating the document.
For expample:
userType: {
type: String, //isSuperUser/isAdmis/isUser/etc
default: “isUser”
}