ForestHub SDK 0.1.0
C++14 LLM SDK for PC and embedded platforms
Loading...
Searching...
No Matches
schema.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: AGPL-3.0-only
2// Copyright (c) 2026 ForestHub. All rights reserved.
3// For commercial licensing, visit https://github.com/ForestHubAI/fh-sdk
4
5#ifndef FORESTHUB_UTIL_SCHEMA_HPP
6#define FORESTHUB_UTIL_SCHEMA_HPP
7
10
12
13namespace foresthub {
14namespace util {
15
16using json = nlohmann::json;
17
27json NormalizeSchema(json schema);
28
29} // namespace util
30} // namespace foresthub
31
32#endif // FORESTHUB_UTIL_SCHEMA_HPP
Wrapper for nlohmann/json that works around abs macro conflicts.
Utility types: Optional polyfill, JSON Schema normalization, Ticker.
json NormalizeSchema(json schema)
Wraps a minimal properties-only JSON object into a full JSON Schema.
Top-level namespace for the ForestHub SDK.