We validate messages a lot and every time multiple schemas are retrieved from Github. This causes a single validation to take between 500ms and 1000ms. All required schema files seem to come from the same repository anyway, so this PR changes the references from locations on Github to the local files. I tested it using https://github.com/justinrainbow/json-schema and all references are loaded from their local files, speeding up our tests significantly.
We validate messages a lot and every time multiple schemas are retrieved from Github. This causes a single validation to take between 500ms and 1000ms. All required schema files seem to come from the same repository anyway, so this PR changes the references from locations on Github to the local files. I tested it using https://github.com/justinrainbow/json-schema and all references are loaded from their local files, speeding up our tests significantly.