Case study Utility Plugin

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

Inside

StackStructured Data
01

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.

02

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.

03

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.