Validation framework making it easy to share validation between Back-end and Front-end