#include <userver/yaml_config/schema.hpp>
JSON Schema-like type definition.
Definition at line 55 of file schema.hpp.
Public Member Functions | |
void | UpdateDescription (std::string new_description) |
Static Public Member Functions | |
static Schema | EmptyObject () |
Public Attributes | |
std::string | path |
FieldType | type {} |
std::string | description |
std::optional< std::string > | default_description |
std::optional< std::variant< bool, SchemaPtr > > | additional_properties |
std::optional< std::unordered_map< std::string, SchemaPtr > > | properties |
std::optional< SchemaPtr > | items |
std::optional< std::unordered_set< std::string > > | enum_values |
std::optional< double > | minimum |
std::optional< double > | maximum |
std::optional<std::variant<bool, SchemaPtr> > yaml_config::Schema::additional_properties |
Definition at line 65 of file schema.hpp.
std::optional<std::string> yaml_config::Schema::default_description |
Definition at line 64 of file schema.hpp.
std::string yaml_config::Schema::description |
Definition at line 63 of file schema.hpp.
std::optional<std::unordered_set<std::string> > yaml_config::Schema::enum_values |
Definition at line 68 of file schema.hpp.
std::optional<SchemaPtr> yaml_config::Schema::items |
Definition at line 67 of file schema.hpp.
std::optional<double> yaml_config::Schema::maximum |
Definition at line 70 of file schema.hpp.
std::optional<double> yaml_config::Schema::minimum |
Definition at line 69 of file schema.hpp.
std::string yaml_config::Schema::path |
Definition at line 60 of file schema.hpp.
std::optional<std::unordered_map<std::string, SchemaPtr> > yaml_config::Schema::properties |
Definition at line 66 of file schema.hpp.
FieldType yaml_config::Schema::type {} |
Definition at line 62 of file schema.hpp.