mongoose-array-validator
JSON →Mongoose schema plugin that adds array validation constraints such as minItems, maxItems, and uniqueItems to your schemas. Version 1.0.3 is the latest and only stable release; no active development seen. Unlike manual validation in middleware, this plugin integrates directly into schema path options. Requires Mongoose as a peer dependency. Note that the plugin must be applied via schema.plugin().
Resources
packagemongoose-array-validator ↗