chage conditions in json validator