Skip to content

Commit

Permalink
jsonschema draft2019-03
Browse files Browse the repository at this point in the history
  • Loading branch information
danielaparker committed Dec 22, 2023
1 parent fa305f3 commit 5c21a63
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,7 @@ namespace draft7 {
if (it != sch.object_range().end())
{
auto sv = it->value().as_string_view();
if (sv.find("json-schema.org/draft-07/schema#") != string_view::npos)
if (sv.find("json-schema.org/draft-07/schema#") == string_view::npos)
{
std::string message("Unsupported schema version ");
message.append(sv.data(), sv.size());
Expand Down

0 comments on commit 5c21a63

Please sign in to comment.