Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::timeline::TypeSchema Struct Reference

Complete registration contract for one domain-qualified schema type. More...

#include <schema_registry.hpp>

Public Attributes

std::string type_name
SchemaDomain domain = SchemaDomain::Document
std::uint32_t current_version = 0
std::vector< FieldSchema > fields
SchemaCodec codec
std::vector< MigrationStep > upgrades
std::vector< MigrationStep > downgrades

Detailed Description

Complete registration contract for one domain-qualified schema type.

Builder registration sorts fields and migration edges, validates callback completeness, and transfers ownership of all strings, vectors, and shared callback contexts into the immutable registry.

Member Data Documentation

◆ codec

SchemaCodec pulp::timeline::TypeSchema::codec

◆ current_version

std::uint32_t pulp::timeline::TypeSchema::current_version = 0

◆ domain

SchemaDomain pulp::timeline::TypeSchema::domain = SchemaDomain::Document

◆ downgrades

std::vector<MigrationStep> pulp::timeline::TypeSchema::downgrades

◆ fields

std::vector<FieldSchema> pulp::timeline::TypeSchema::fields

◆ type_name

std::string pulp::timeline::TypeSchema::type_name

◆ upgrades

std::vector<MigrationStep> pulp::timeline::TypeSchema::upgrades

The documentation for this struct was generated from the following file: