#include <userver/formats/json/schema.hpp>
Contains a prepared JSON schema.
Usage example:
Definition at line 32 of file schema.hpp.
Classes | |
| class | ValidationError |
| class | ValidationResult |
| Contains error details (if any) from Schema::Validate. More... | |
Public Member Functions | |
| Schema (const Value &doc) | |
| ValidationResult | Validate (const Value &doc) const |
| Validates JSON against the Schema. | |
| ValidationResult formats::json::Schema::Validate | ( | const Value & | doc | ) | const |
Validates JSON against the Schema.