Algorithm
Core Trucast Algorithm Logic
ValueGraph Schema Architecture & Extensibility
The following diagrams illustrate core schema architecture (ValueGraph) and template extensibility patterns. Our system leverages a hierarchical blueprint approach that enables industry-specific protocol implementations while maintaining strict type safety and structural consistency. By separating core templates from domain implementations, we achieve both standardization of base functionality and flexibility for specialized business logic.
The architecture supports complex business workflows through typed protocol chains, where each implementation inherits core capabilities while extending them with domain-specific actors, actions, and metrics. This approach allows business experts to define industry-specific processes while ensuring technical consistency and type safety throughout the system.
Figure 1: The Value Graph Schema System

The Value Graph Schema System illustrates the core architectural components and their relationships. Core Templates (Actor, Action, Blueprint, Metric) form the foundation, with Protocol and Template schemas extending these base definitions. The diagram demonstrates how Protocols implement Blueprints while Templates extend them, creating a hierarchical schema system that enforces type safety and structural consistency across the platform.
Figure 2: Tailored Templates Extensibility

The Template Extensibility Pattern demonstrates how industry-specific implementations inherit from base templates. Primary and Secondary blueprints provide foundational structures, while specialized implementations (Financial Services, Healthcare, Technology) extend these with domain-specific features. This inheritance pattern, similar to Pydantic model extensions, enables consistent base functionality while allowing industry-specific customization of actors, actions, workflows, and metrics. The workflow templates ensure standardized process definitions across different domains.
Trucast core diagrams describe:
Architectural relationships (Figure 1)
Extensibility mechanisms (Figure 2)
Practical implementation patterns
Relationship to familiar patterns (JSON | Pydantic)
A balance between standardization and customization
Diagrams:
Last updated
Was this helpful?