@@ -0,0 +1,970 @@
+package org.usergrid.rest.exceptions;%0A%0Aimport static org.usergrid.utils.JsonUtils.mapToJsonString;%0A%0Aimport javax.ws.rs.core.Response;%0A%0Aimport org.usergrid.persistence.exceptions.JsonSchemaValidatorException;%0Aimport org.usergrid.rest.ApiResponse;%0A%0Apublic class JsonSchemaValidatorExceptionMapper extends%0A        AbstractExceptionMapper%3CJsonSchemaValidatorException%3E %7B%0A%0A    public Response toResponse(int status, JsonSchemaValidatorException e) %7B%0A        logger.error(%22Error in request (%22 + status + %22)%22, e);%0A        ApiResponse response = new ApiResponse();%0A        AuthErrorInfo authError = AuthErrorInfo.getForException(e);%0A        if (authError != null) %7B%0A            response.setError(authError.getType(), authError.getMessage(), e);%0A        %7D else %7B%0A            response.setError(e);%0A        %7D%0A        response.setValidation(e.getProcessingReport());%0A        String jsonResponse = mapToJsonString(response);%0A        return toResponse(status, jsonResponse);%0A    %7D%0A%0A%7D%0A

add validation processing report to api response