|
ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
|
Contains the json schema validation for the libocpp config. More...
#include <schemas.hpp>
Public Member Functions | |
| Schemas (fs::path schemas_path) | |
Creates a new Schemas object looking for the root schema file in relation to the provided main_dir. | |
| Schemas (const json &schema_in) | |
| Creates a new Schemas object using the supplied JSON schema. | |
| Schemas (json &&schema_in) | |
| Creates a new Schemas object using the supplied JSON schema. | |
| json | get_schema () |
| Provides the config schema. More... | |
| std::shared_ptr< json_validator > | get_validator () |
| Provides the config schema validator. More... | |
Static Public Member Functions | |
| static void | format_checker (const std::string &format, const std::string &value) |
Provides a format checker for the given format and value. | |
Contains the json schema validation for the libocpp config.
| json ocpp::Schemas::get_schema | ( | ) |
Provides the config schema.
| std::shared_ptr< json_validator > ocpp::Schemas::get_validator | ( | ) |
Provides the config schema validator.