on the frontend, we are building a form with react-hook-form that would also like to use this schema to validate the user input.
The main question is: Where would we put this schema so that we can use it in both places. In terms of colocation, I think I would like to have it somewhere close on the server and then maybe just import it on the client from there? How are you all handling this? Thanks