Use JSON-schema to validate requests (#12)