%config is not the data model — it is the parser/runtime configuration table. The grammar turns it into key/value entries in parser->config; ${} reads from that table, $() from environment variables, and undefined references become empty strings. Using amx-scheduler to show the whole chain.
How is Ambiorix (prplOS) ODL actually parsed? From %config/%define/%populate to parser->config, amxd_object_new and amxp_slot_connect, then entry-point's dlsym call. Using amx-scheduler, section by section, against the C source; with a syntax cheat sheet and FAQ.
cpu-info is not the smallest example, but it covers read-only/volatile, CPU[] instances, and read/list/describe actions. File-by-file notes plus a compile/test on the AMX base environment with measured output.
Six fewer C files than cpu-info; still covers objects, instances, events and persistence. ODL, entry point, and a compile/test on the AMX base environment method (ubusd + amxrt verification).
The smallest Ambiorix example: one C file, no ODL. It waits for an object to appear on the ubus/bus, then exits. Use it to understand amxrt startup order, the event loop and bus waiting before moving to ODL and data models.
There are a dozen official examples. Sorted by size, one article per example: wait_for (1 C) → amx-scheduler (2 C + 2 ODL) → cpu-info (8 C + 3 ODL) → greeter_plugin → greeter_app → localagent_threshold.