Create json schema get and put endpoint