|
FDL Core Library
ASC Framing Decision List — C/C++ Reference Implementation
|
Internal validation — JSON Schema + semantic checks. More...
#include <jsoncons/json.hpp>#include <string>#include <vector>Go to the source code of this file.
Data Structures | |
| struct | fdl::detail::ValidationResult |
| Result of schema + semantic validation. More... | |
Functions | |
| ValidationResult | fdl::detail::validate (const ojson &fdl) |
| Run schema validation followed by semantic validators. | |
Internal validation — JSON Schema + semantic checks.
Schema validation (Draft 2020-12) runs first using embedded schema data. Semantic validators (referential integrity, value range checks) run only if the document passes schema validation.
| 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. |