Skip to content

Repository files navigation

schemata-cpp

Test

C++ data package for Nostr protocol JSON schemas. Embeds compiled schemas from nostrability/schemata.

Usage

#include <schemata/schemata.hpp>

auto schema = schemata::get("kind1Schema"); // std::optional<std::string>
auto all_keys = schemata::keys();           // std::vector<std::string>

Build

cmake -B build
cmake --build build
cd build && ctest

License

GPL-3.0-or-later

About

Nostr protocol JSON schema schemata-cpp

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages