add validation support for simple array lists

I added some basic validation support for simple arrays, let me know if there's something that I missed.