I have a API in NodeJS who between several properties one is like this:
let cartSchema = new Schema({ cartTime: { type: Date, required: [true, \'{PATH} required\'