Add support for validating multiple formats (array notation)