Open ghost opened 2 years ago
Hey, so I don't really get the use case for this. The draft schemas are bundled in the lib and will not be fetched over the network. Why would you want to provide your own, identical schemas that have to be fetched remotely? I think there's also a bunch of other functions that match on the schema that won't work out of the box.
We are hosting the schema itself so it would be nice if the schema domain can be configurable. Now we get the following error:
If we host it on for example:
http://json-schema.test.docker/draft-07/schema
Suggested code at
lib/ex_json_schema/schema.ex#L37
Thanks in advance