1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
### jsoncons::jsonschema::json_schema
```cpp
#include <jsoncons_ext/jsonschema/jsonschema.hpp>
template <typename Json>
class json_schema
```
A `json_schema` represents the compiled form of a JSON Schema document.
A `json_schema` is immutable and thread-safe.
The class satisfies the requirements of MoveConstructible and MoveAssignable, but not CopyConstructible or CopyAssignable.
#### Member functions
<table border="0">
<tr>
<td><a href="json_schema/is_valid.md">is_valid</a></td>
<td>Validates input JSON against a JSON Schema and returns false upon the first schema violation</td>
</tr>
<tr>
<td><a href="json_schema/validate.md">validate</a></td>
<td>Validates input JSON against a JSON Schema.</td>
</tr>
<tr>
<td><a href="json_schema/walk.md">walk</a> (since 0.175.0)</td>
<td>Walks through a JSON Schema.</td>
</tr>
</table>
|