|
Health-GPS 3.0.0.0
Global Health Policy Simulation model (Health-GPS)
|
#include "schema.h"#include "HealthGPS/program_dirs.h"#include <fmt/color.h>#include <fmt/format.h>#include <jsoncons/json.hpp>#include <jsoncons_ext/jsonschema/jsonschema.hpp>#include <fstream>Namespaces | |
| namespace | hgps |
| Top-level namespace for Health-GPS Console host application. | |
| namespace | hgps::input |
| Data structures containing model parameters and configuration options. | |
Functions | |
| void | hgps::input::validate_json (std::istream &is, const std::string &schema_file_name, int schema_version) |
| Validate a JSON stream against the specified schema. | |
| nlohmann::json | hgps::input::load_and_validate_json (const std::filesystem::path &file_path, const std::string &schema_file_name, int schema_version, bool require_schema_property=true) |
| Load a JSON file and validate against the specified schema. | |