added json model for validation