work on schema api routes