Coding with AI: Modeling LTI Dynamic Registration the Right Way @ChuckSeverance
Coding with AI: Modeling LTI Dynamic Registration the Right Way  @ChuckSeverance
Uploaded October 2026 | Updated November 2026, 14 hours ago
In this episode, I go one level deeper into Tsugi’s new LTI 1.3 registration architecture.

The organization hierarchy and basic tool registration model are already taking shape, so now I want to focus on one of the more powerful parts of IMS/1EdTech Dynamic Registration: the messages array.

This is where a tool can describe the different kinds of launches it supports, including normal resource launches, deep linking, different target URLs, custom parameters, requested claims, labels, icons, placements, and more.

In Sakai, I handled much of this with a set of practical boolean columns and some JSON. That worked, but it was always an approximation of the specification.

This time I want Tsugi’s data model to match the Dynamic Registration specification itself.

The goal is simple:

Represent 100% of what a Dynamic Registration document can tell us, even if Tsugi does not implement every possible combination immediately.

That leads us to a clean model built around:
LTI tool registration
LTI tool messages
Registration logging

The tool registration and tool message tables use real JSON columns where that flexibility makes sense, while the registration log deliberately stores raw text so even malformed JSON can be preserved for debugging.

We also preserve message ordering because multiple messages of the same type can exist and their order may matter.

Along the way we talk about:
LTI Dynamic Registration
The messages array
Tool placements
Deep Linking
Multiple launch URLs
Custom parameters
Requested claims
JSON versus relational columns
MySQL 8 JSON support
Debug logging
Preserving malformed registration payloads
Database lifecycle and foreign keys
Building a high-fidelity implementation from the specification instead of copying an older LMS design

One of the things I really like about this process is using the specification as the design brief.

Instead of asking, “How did Sakai do it?” or “How did Canvas do it?”, the better question is:
What does the standard actually model?

Then we can build Tsugi around that cleanly and decide later which features to expose in the user interface.

Cursor turns the resulting design into schema changes, services, and unit tests, and we push the work into the existing branch for CodeRabbit to review.

This was a much calmer session than the initial organization-design work.

The data model is starting to settle down, and the implementation path for LTI 1.3 Dynamic Registration is becoming much clearer.

Tsugi:
tsugi.org
Python for Everybody:
py4e.com
Django for Everybody:
dj4e.com
Coding with AI: Modeling LTI Dynamic Registration the Right WayDJ 03.01 Setting Up Django 5.2 on Python Anywhere (31:58)AI Coding with Dr. Chuck: Adding a Notifications Feature to TsugiMid Ohio - Scott Day 2 - 2026-04-12 - RacingMid Ohio - Scott Day 1 - 2026-04-11 - RacingAI Coding: Refactoring Sakai LTI Map code to be Bean based Code (SAK-52359)Shelby likes hotel breakfast buffets.  #dogcation #aussieChuck Severance Live CodingBuilding an LTI Tool for My Live Django Class — With AIBuilding LTI 1.3 Assignment and Grade Services with AI – And Some Thoughts on AI CodingPythonShell Hits TestFlight — Wrestling with the Mac App StoreCoding with AI: One Controller, Three Worlds — Session, LTI 1.1, and LTI 1.3
Chuck Severance |

Coding with AI: Modeling LTI Dynamic Registration the Right Way

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER