Skip to content

rlp::base::json::JsonSchemaField

#include <json_utility.hpp>

Public Attributes

Name
std::string_view name
JsonFieldType type
bool required
std::optional< boost::json::value > default_value
const JsonSchemaObject * object_schema
const JsonSchemaArray * array_schema

Public Attributes Documentation

variable name

std::string_view name;

variable type

JsonFieldType type = JsonFieldType::kString;

variable required

bool required = true;

variable default_value

std::optional< boost::json::value > default_value;

variable object_schema

const JsonSchemaObject * object_schema = nullptr;

variable array_schema

const JsonSchemaArray * array_schema = nullptr;

Updated on 2026-06-05 at 17:22:18 -0700