|
FDL Core Library
ASC Framing Decision List — C/C++ Reference Implementation
|
Schema (Draft 2020-12) and semantic validation using embedded schema data. More...
#include "fdl_validate.h"#include "fdl_constants.h"#include "fdl_schema_data.h"#include <jsoncons_ext/jsonschema/jsonschema.hpp>#include <algorithm>#include <map>#include <mutex>#include <set>#include <sstream>#include <stdexcept>Functions | |
| ValidationResult | fdl::detail::validate (const ojson &fdl) |
| Run schema validation followed by semantic validators. | |
Schema (Draft 2020-12) and semantic validation using embedded schema data.
| ValidationResult fdl::detail::validate | ( | const ojson & | fdl | ) |
Run schema validation followed by semantic validators.
Schema errors are prefixed with "Schema Error:". Semantic errors are only run if schema validation passes.
| fdl | JSON document to validate. |