One Schema, Five Apps: How We Built a Government Tool, an AI Platform, and Two Games with the Same Language
A government inspection system. An AI learning platform. A personal fitness tracker. A tactical strategy game. A 3D dungeon crawler.
Five applications. Five completely different domains. One language.
Here's how — and why it matters.
The Claim
Every programming language claims to be "general purpose." But when was the last time you used the same framework to build a game and a government compliance tool?
Almadar's Orbital architecture is domain-agnostic by design. An Orbital is: Entity + Traits + Pages. That formula works for any domain because it models behavior, not technology.
Let's walk through all five — and this time, we'll show you the actual schema code.
How an Orbital Schema Works
Before diving into the five apps, here's a quick primer on what you'll see in the code. Every Orbital schema is a JSON file with this structure:
{
"name": "app-name",
"version": "1.0.0",
"orbitals": [
{
"name": "OrbitalName",
"entity": { ... },
"traits": [ ... ],
"pages": [ ... ]
}
]
}
- Entity defines the data shape — fields, types, persistence mode
- Traits define behavior — state machines with states, events, transitions, guards, and effects
- Pages bind traits to routes — a URL path that activates one or more traits
Effects are the side-effect primitives: set updates a field, render-ui renders a component, persist saves to database, emit sends cross-orbital events, navigate changes the route, notify shows a message.
Guards are S-expression conditions that must be true for a transition to fire. If a guard fails, the transition doesn't exist.
Now let's see this in action across five domains.
1. Government Inspection System — Compliance Workflow
Domain: Structured field inspections for government regulators Key Challenge: 5-phase workflow enforcement, legal requirement guards, audit trails
Built for government inspectors, this system guides them through Introduction → Content → Preparation → Record → Closing phases. Legal requirements are enforced by guards — you can't advance without completing mandatory fields.