Skip to content

Commit

Permalink
jsonschema common
Browse files Browse the repository at this point in the history
  • Loading branch information
danielaparker committed Dec 13, 2023
1 parent 382fa65 commit 80ec495
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion doc/ref/jsonschema/schema_error.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### jsoncons::jsonschema::schema_error

```cpp
#include <jsoncons_ext/jsonschema/common/jsonschema_error.hpp>
#include <jsoncons_ext/jsonschema/jsonschema_error.hpp>
```

<br>
Expand Down
2 changes: 1 addition & 1 deletion doc/ref/jsonschema/validation_error.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### jsoncons::jsonschema::validation_error

```cpp
#include <jsoncons_ext/jsonschema/common/jsonschema_error.hpp>
#include <jsoncons_ext/jsonschema/jsonschema_error.hpp>
```

<br>
Expand Down
2 changes: 1 addition & 1 deletion doc/ref/jsonschema/validation_output.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### jsoncons::jsonschema::validation_output

```cpp
#include <jsoncons_ext/jsonschema/common/jsonschema_error.hpp>
#include <jsoncons_ext/jsonschema/jsonschema_error.hpp>
```

<br>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

// See https://github.com/danielaparker/jsoncons for latest version

#ifndef JSONCONS_JSONSCHEMA_COMPILATION_CONTEXT_HPP
#define JSONCONS_JSONSCHEMA_COMPILATION_CONTEXT_HPP
#ifndef JSONCONS_JSONSCHEMA_COMMON_COMPILATION_CONTEXT_HPP
#define JSONCONS_JSONSCHEMA_COMMON_COMPILATION_CONTEXT_HPP

#include <jsoncons/config/jsoncons_config.hpp>
#include <jsoncons/uri.hpp>
#include <jsoncons/json.hpp>
#include <jsoncons_ext/jsonpointer/jsonpointer.hpp>
#include <jsoncons_ext/jsonschema/common/jsonschema_error.hpp>
#include <jsoncons_ext/jsonschema/jsonschema_error.hpp>
#include <jsoncons_ext/jsonschema/common/schema_location.hpp>

namespace jsoncons {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

// See https://github.com/danielaparker/jsoncons for latest version

#ifndef JSONCONS_JSONSCHEMA_FORMAT_VALIDATOR_HPP
#define JSONCONS_JSONSCHEMA_FORMAT_VALIDATOR_HPP
#ifndef JSONCONS_JSONSCHEMA_COMMON_FORMAT_VALIDATOR_HPP
#define JSONCONS_JSONSCHEMA_COMMON_FORMAT_VALIDATOR_HPP

#include <jsoncons/config/jsoncons_config.hpp>
#include <jsoncons/uri.hpp>
#include <jsoncons/json.hpp>
#include <jsoncons_ext/jsonpointer/jsonpointer.hpp>
#include <jsoncons_ext/jsonschema/common/json_schema.hpp>
#include <jsoncons_ext/jsonschema/json_schema.hpp>
#include <cassert>
#include <set>
#include <sstream>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <jsoncons/uri.hpp>
#include <jsoncons/json.hpp>
#include <jsoncons_ext/jsonpointer/jsonpointer.hpp>
#include <jsoncons_ext/jsonschema/common/jsonschema_error.hpp>
#include <jsoncons_ext/jsonschema/jsonschema_error.hpp>

namespace jsoncons {
namespace jsonschema {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <jsoncons/uri.hpp>
#include <jsoncons/json.hpp>
#include <jsoncons_ext/jsonpointer/jsonpointer.hpp>
#include <jsoncons_ext/jsonschema/format_validator.hpp>
#include <jsoncons_ext/jsonschema/common/format_validator.hpp>
#include <jsoncons_ext/jsonschema/common/keyword_validator.hpp>
#include <cassert>
#include <set>
Expand Down
2 changes: 1 addition & 1 deletion include/jsoncons_ext/jsonschema/common/schema_location.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <jsoncons/uri.hpp>
#include <jsoncons/json.hpp>
#include <jsoncons_ext/jsonpointer/jsonpointer.hpp>
#include <jsoncons_ext/jsonschema/common/jsonschema_error.hpp>
#include <jsoncons_ext/jsonschema/jsonschema_error.hpp>

namespace jsoncons {
namespace jsonschema {
Expand Down
4 changes: 2 additions & 2 deletions include/jsoncons_ext/jsonschema/draft7/schema_parser_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#include <jsoncons/json.hpp>
#include <jsoncons_ext/jsonpointer/jsonpointer.hpp>
#include <jsoncons_ext/jsonschema/common/compilation_context.hpp>
#include <jsoncons_ext/jsonschema/common/json_schema.hpp>
#include <jsoncons_ext/jsonschema/keywords.hpp>
#include <jsoncons_ext/jsonschema/json_schema.hpp>
#include <jsoncons_ext/jsonschema/common/keywords.hpp>
#include <jsoncons_ext/jsonschema/schema_version.hpp>
#include <jsoncons_ext/jsonschema/common/schema_parser.hpp>
#include <jsoncons_ext/jsonschema/draft7/schema_draft7.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <jsoncons/uri.hpp>
#include <jsoncons/json.hpp>
#include <jsoncons_ext/jsonpointer/jsonpointer.hpp>
#include <jsoncons_ext/jsonschema/common/jsonschema_error.hpp>
#include <jsoncons_ext/jsonschema/jsonschema_error.hpp>
#include <jsoncons_ext/jsonschema/common/keyword_validator.hpp>

namespace jsoncons {
Expand Down
2 changes: 1 addition & 1 deletion include/jsoncons_ext/jsonschema/json_validator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <jsoncons/uri.hpp>
#include <jsoncons/json.hpp>
#include <jsoncons_ext/jsonpointer/jsonpointer.hpp>
#include <jsoncons_ext/jsonschema/common/json_schema.hpp>
#include <jsoncons_ext/jsonschema/json_schema.hpp>
#include <cassert>
#include <set>
#include <sstream>
Expand Down
2 changes: 1 addition & 1 deletion include/jsoncons_ext/jsonschema/jsonschema.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef JSONCONS_JSONSCHEMA_JSONSCHEMA_HPP
#define JSONCONS_JSONSCHEMA_JSONSCHEMA_HPP

#include <jsoncons_ext/jsonschema/keywords.hpp>
#include <jsoncons_ext/jsonschema/common/keywords.hpp>
#include <jsoncons_ext/jsonschema/json_validator.hpp>
#include <jsoncons_ext/jsonschema/schema_factory.hpp>

Expand Down
2 changes: 1 addition & 1 deletion test/jsonschema/src/format_validator_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <fstream>
#include <iostream>
#include <regex>
#include <jsoncons_ext/jsonschema/format_validator.hpp>
#include <jsoncons_ext/jsonschema/common/format_validator.hpp>

namespace jsonschema = jsoncons::jsonschema;

Expand Down

0 comments on commit 80ec495

Please sign in to comment.