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 6d872df commit 8e2a812
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <jsoncons/json.hpp>
#include <jsoncons_ext/jsonpointer/jsonpointer.hpp>
#include <jsoncons_ext/jsonschema/jsonschema_error.hpp>
#include <jsoncons_ext/jsonschema/schema_location.hpp>
#include <jsoncons_ext/jsonschema/common/schema_location.hpp>

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

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

#ifndef JSONCONS_JSONSCHEMA_SCHEMA_PARSER_HPP
#define JSONCONS_JSONSCHEMA_SCHEMA_PARSER_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/jsonschema_error.hpp>
#include <jsoncons_ext/jsonschema/schema_location.hpp>
#include <jsoncons_ext/jsonschema/keyword_validator.hpp>
#ifndef JSONCONS_JSONSCHEMA_COMMON_SCHEMA_PARSER_HPP
#define JSONCONS_JSONSCHEMA_COMMON_SCHEMA_PARSER_HPP

namespace jsoncons {
namespace jsonschema {
Expand All @@ -31,4 +23,4 @@ namespace jsonschema {
} // namespace jsonschema
} // namespace jsoncons

#endif // JSONCONS_JSONSCHEMA_SCHEMA_HPP
#endif // JSONCONS_JSONSCHEMA_COMMON_SCHEMA_HPP
7 changes: 3 additions & 4 deletions include/jsoncons_ext/jsonschema/draft7/schema_parser_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,15 @@
#ifndef JSONCONS_JSONSCHEMA_DRAFT7_SCHEMA_PARSER_IMPL_HPP
#define JSONCONS_JSONSCHEMA_DRAFT7_SCHEMA_PARSER_IMPL_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/compilation_context.hpp>
#include <jsoncons_ext/jsonschema/common/compilation_context.hpp>
#include <jsoncons_ext/jsonschema/json_schema.hpp>
#include <jsoncons_ext/jsonschema/keywords.hpp>
#include <jsoncons_ext/jsonschema/draft7/schema_draft7.hpp>
#include <jsoncons_ext/jsonschema/schema_version.hpp>
#include <jsoncons_ext/jsonschema/schema_parser.hpp>
#include <jsoncons_ext/jsonschema/common/schema_parser.hpp>
#include <jsoncons_ext/jsonschema/draft7/schema_draft7.hpp>
#include <cassert>
#include <set>
#include <sstream>
Expand Down
1 change: 0 additions & 1 deletion include/jsoncons_ext/jsonschema/json_schema.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include <jsoncons/json.hpp>
#include <jsoncons_ext/jsonpointer/jsonpointer.hpp>
#include <jsoncons_ext/jsonschema/jsonschema_error.hpp>
#include <jsoncons_ext/jsonschema/schema_location.hpp>
#include <jsoncons_ext/jsonschema/keyword_validator.hpp>

namespace jsoncons {
Expand Down
1 change: 0 additions & 1 deletion include/jsoncons_ext/jsonschema/keyword_validator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include <jsoncons/json.hpp>
#include <jsoncons_ext/jsonpointer/jsonpointer.hpp>
#include <jsoncons_ext/jsonschema/jsonschema_error.hpp>
#include <jsoncons_ext/jsonschema/schema_location.hpp>

namespace jsoncons {
namespace jsonschema {
Expand Down

0 comments on commit 8e2a812

Please sign in to comment.