I’ve just published an article over at IBM’s developerWorks outlining how using JSON Schema can help you increase the robustness of your browser-server communications. I used this technique on a large client engagement recently to great effect.
You may also find the JSON Schema Lint tool of use for developing your own schema.