Lubinik Structured Data
Utility Plugin
Structured Data is Lubinik's JSON-LD engine. It discovers schema fragments from the core plugin, active addons, parent theme, child theme, and its own config folder, then renders automatic or manual schema entities.
- Structured Data
Problem
Schema markup can easily become hidden template code. But in Lubinik, each layer owns different data: the parent theme knows generic pages and sections, the core knows shared plugin components, addons know their entities, and child themes know the site identity.
Solution
The plugin loads `config/structured-data/*.json` fragments and helper files from the layers that provide them. Auto rules decide when schemas apply, helpers collect dynamic data, and i18n dictionaries provide localized labels.
Results
Structured data becomes declarative and distributed without being chaotic. Each layer contributes the schema it owns, while the plugin merges and renders the final JSON-LD graph.