Struct Schema¶
Defined in File channel.hpp
Struct Documentation¶
-
struct Schema¶
A description of the data format of messages in a channel.
It allows Foxglove to validate messages and provide richer visualizations.
Public Members
-
std::string name¶
An identifier for the schema.
-
std::string encoding¶
The encoding of the schema data. For example “jsonschema” or “protobuf”.
The well-known schema encodings are preferred.
-
const std::byte *data = nullptr¶
Must conform to the schema encoding. If encoding is an empty string, data should be 0 length.
-
size_t data_len = 0¶
The length of the schema data.
-
std::string name¶