+$json = file_get_contents(__DIR__ . '/../data/elasticsearch-mapping.json');
+if (json_decode($json) === null) {
+ Log::error("Error: Schema JSON is broken");
+ chdir(__DIR__ . '/../');
+ passthru('json_pp -t null < data/elasticsearch-mapping.json');
+ exit(1);
+}
+