python client to json schema APIs