I'm starting a new project that consists in an Extjs 6 application with a pyramid/python backend.
Due to this architecture, the backend will only provide an RPC and won't serve any page directly. My implementation of such a thing is usually based on REST and will fit nicely this CRUD application.
Regarding data validation i would like to move from Colander/Peppercorn that i always found awkward to the simpler and more streamlined jsonschema.
The idea here would be to move all the parameters - minus the id contained in the url when is the case - of the various requests into a json body that could be easily handled by jsonschema.
The main problem here is that GET requests shouldn't have a body and i definitely want to put parameters in there (filters, pagination, etc).
There's probably some approach to REST or REST-like and JSONschema but i'm not able to find anything on the web.
Edit: someone mentioned the question about body in GET HTTP request. While putting a body in a GET HTTP request is somehow possible, it's in violation of part of HTTP 1.1 specification and therefore this is NOT the solution to this problem.