FDL Core Library
ASC Framing Decision List — C/C++ Reference Implementation
Loading...
Searching...
No Matches
fdl_validate.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2024-present American Society Of Cinematographers
2// SPDX-License-Identifier: Apache-2.0
11#ifndef FDL_VALIDATE_INTERNAL_H
12#define FDL_VALIDATE_INTERNAL_H
13
14#include <jsoncons/json.hpp>
15#include <string>
16#include <vector>
17
18namespace fdl::detail {
19
20using ojson = jsoncons::ojson;
21
24 std::vector<std::string> errors;
25};
26
37
38} // namespace fdl::detail
39
40#endif // FDL_VALIDATE_INTERNAL_H
jsoncons::ojson ojson
Alias for ordered JSON type.
Definition fdl_accessors_api.cpp:23
jsoncons::ojson ojson
Use ojson (ordered JSON) to preserve key insertion order for canonical serialization.
Definition fdl_builder.h:22
ValidationResult validate(const ojson &fdl)
Run schema validation followed by semantic validators.
Definition fdl_validate.cpp:800
Result of schema + semantic validation.
Definition fdl_validate.h:23
std::vector< std::string > errors
Error messages (empty = valid).
Definition fdl_validate.h:24