changed to pure json schema