[fix #11] Add semantics for specifying client-side validation