|
nfx-json 1.5.2
Modern C++20 JSON library with schema validation and generation
|
JSON Schema validation for Document instances. More...
#include "Document.h"#include <optional>#include <string>#include <string_view>#include <unordered_map>#include <vector>#include "detail/SchemaValidator.inl"

Go to the source code of this file.
Classes | |
| class | nfx::json::ValidationError |
| Represents a single JSON schema validation error. More... | |
| struct | nfx::json::ValidationError::ErrorEntry |
| Simple error entry structure for convenient ValidationError construction. More... | |
| class | nfx::json::ValidationResult |
| Result of JSON schema validation operation. More... | |
| class | nfx::json::SchemaValidator |
| JSON Schema validator for Document instances. More... | |
| struct | nfx::json::SchemaValidator::Options |
| Configuration options for validation. More... | |
Enumerations | |
| enum class | nfx::json::SchemaDraft { Unknown , Draft04 , Draft06 , Draft07 , Draft201909 , Draft202012 } |
| Enumeration of supported JSON Schema draft versions. More... | |
JSON Schema validation for Document instances.
Provides JSON Schema Draft 2020-12 validation capabilities for verifying Document structure, types, constraints, and business rules against schema definitions. Supports validation with detailed error reporting and path tracking.
Definition in file SchemaValidator.h.
|
strong |
Enumeration of supported JSON Schema draft versions.
Used to identify and track which JSON Schema draft version a schema conforms to. Detection is based on the $schema keyword in the schema document.
Definition at line 277 of file SchemaValidator.h.