22namespace neograph::mcp {
27 const std::string& path =
"$schema");
32 const std::string& subject =
"JSON value",
33 const std::string& path =
"$");
NEOGRAPH_API export/import macro for shared-library builds.
Thin C++ RAII wrapper around yyjson with nlohmann-compatible API.
NEOGRAPH_API void validate_json_schema(const json &schema, const std::string &path="$schema")
Check that schema is a JSON Schema 2020-12 document this validator supports; throw std::invalid_argum...
NEOGRAPH_API void validate_json_value(const json &value, const json &schema, const std::string &subject="JSON value", const std::string &path="$")
Validate value against schema (checked as above first).