Develop annotation based validation