载入中...
搜索中...
未找到
PropertySchemaJson.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
3
7
8#include <string_view>
9
10namespace eve::editing {
11
19[[nodiscard]] EVENGINE_API_PLATFORM Result<Value> propertySchemaToJsonSchema(const PropertySchema& schema,
20 std::string_view schemaId);
21
26[[nodiscard]] EVENGINE_API_PLATFORM PropertySchema emptyObjectPropertySchema(std::string_view typeId = "emptyObject");
27
28} // namespace eve::editing
#define EVENGINE_API_PLATFORM
Definition Export.h:107
editing::PropertySchema PropertySchema
Result< Value > propertySchemaToJsonSchema(const PropertySchema &schema, std::string_view schemaId)
Project a PropertySchema into a JSON Schema object tree (pointer-free Value).
PropertySchema emptyObjectPropertySchema(std::string_view typeId)
Build an explicit empty-object payload schema.