Add functions that generate json array validate.