specs for adding custom validations
update how to define validations and expand demo with more examples