Closed sascha-andres closed 2 months ago
Instead of succeeding I get the error unknown $schema "https://json-schema.org/draft/2020-12/schema" but you say you support this draft.
I don't see any such error message in the source code. it should say "unsupported draft" as shown in code
which version are you using. may be the error is coming from your code (not from the library)
I am using 1.2.4, also jv cmdline prijt ths out:
❯ jv schema/schema.json
unknown $schema "https://json-schema.org/draft/2020-12/schema"
I also tested samples from https://json-schema.org/learn/json-schema-examples and they fail, too
Thanks for your support, found the error, my fault, I just forgot to use v6 :/
Sometimes, only sometimes...
I have the following schema defined:
I load it using a custom loader:
Now I wrote a test:
Instead of succeeding I get the error
unknown $schema "https://json-schema.org/draft/2020-12/schema"
but you say you support this draft.Any ideas what I make wrong?