Add support for minItems and maxItems properties in array type schema