iterated on endpoints and added a schema, see /data for json schema