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 |
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.
| SchemaCodec pulp::timeline::TypeSchema::codec |
| std::uint32_t pulp::timeline::TypeSchema::current_version = 0 |
| SchemaDomain pulp::timeline::TypeSchema::domain = SchemaDomain::Document |
| std::vector<MigrationStep> pulp::timeline::TypeSchema::downgrades |
| std::vector<FieldSchema> pulp::timeline::TypeSchema::fields |
| std::string pulp::timeline::TypeSchema::type_name |
| std::vector<MigrationStep> pulp::timeline::TypeSchema::upgrades |