Add array validation to schema