An example usage of sharing client and server validations using composite-validations