Open andreineculau opened 2 years ago
Just came here to say the same thing.
I plan to send a PR to parse the schema url and match the parts, but curious if this really needs to continue to support OTP-19 and 20? Would like to just use uri_string
from the stdlib.
I think the added value trumps supporting old OTP 19-20. PR appreciated
I don't think there should be a need to support http://json-schema.org/draft-06/schema
without the trailing#
. I think that the JSON schema specification strictly uses it.
A schema with
"$schema": "http://json-schema.org/draft-06/schema"
i.e. no trailing#
will make jesse believe this is not a draft6 schema, and complain about unsupported schema.http://json-schema.org/draft-06/schema#
is equivalent tohttp://json-schema.org/draft-06/schema
and should be treated as such.