Skip to content

GuitarPrometheus::Profiles::ProfileSchema

GuitarPrometheus::Profiles::ProfileSchema

Accessor for the compiled-in v1 Profile JSON Schema. More…

#include <ProfileSchema.h>

Public Functions

Name
std::string_viewgetV1SchemaJson()
Get the v1 schema as a UTF-8 string view.

Detailed Description

class GuitarPrometheus::Profiles::ProfileSchema;

Accessor for the compiled-in v1 Profile JSON Schema.

The schema text is the canonical validation contract. A unit test verifies that this embedded literal is byte-identical to resources/schema/profile-v1.schema.json — they must never diverge.

Public Functions Documentation

function getV1SchemaJson

static std::string_view getV1SchemaJson()

Get the v1 schema as a UTF-8 string view.

Return: View over a static string literal with process lifetime.


Updated on 2026-05-29 at 07:39:52 +0000