pluggable validation against schema