Kapitol World

The core

Model the grammar, not the business

World's core has no table called Customer, Book or Patient. Businesses change; what they do does not: someone acts on something, money or goods move, and other things happen at a known time. The core holds only those four ideas, and each world adds its own nouns and verbs as data.

The four ideas of the core An actor acts on a thing. If money or goods move, a ledger line records it. Everything else that happened is an event. Actor anyone or anythingthat acts 553 in World, of 18 kinds Thing anything a worldowns, makes or sells an emoji, a bicycle, a bottle of ale Ledger every movement ofmoney or goods Event everything else thathappened, and when acts on money or goods move anything else the verb that connects them is checked by the database: the world, the actor's key, and whether that actor was granted the verb
Four ideas carry World's core of 27 tables. A sale, a loan, a drone flight and a room temperature are all written in this same grammar.

Nouns are rows, not tables

"Patient", "pizza", "parcel", "book" are not tables in World. They are types, written as rows, and a world invents its own. "FIRE the order" and "LAUNCH the drone" are not code either. They are verbs, also rows, and an actor may use a verb only if it holds the capability for it. Where a kind of thing really needs columns of its own, it gets them in a side table (a typed extension), listed in World's own catalog so the engine knows what a world added.

The design is older than World. It comes from Robot, the engine Dimitar Hrisafov built around a hospital, and from its paper, Abstract Object-Oriented Event-Driven Schema Design, with its eleven principles (below). See Robots and the ward.

The actor is a super class

A super class is a programmer's term: one general kind that many specific kinds belong to. Actor is that general kind.

"When I began to design Robot database 5-6 years ago I've used Operator as an object, than realize that Actor is most like as a Super Class object, because actor may be and the Hospital and so on."Dimitar Hrisafov, 2 November 2026

An actor is not a user account, and most actors never sign in. A customer, a supplier, a waiter robot, a drone, a loader that moved a database in, and the world itself are all actors - one family, one table.

The Actor family in World One super class, Actor, with five branches: people, companies, machines, software, and the world itself. Eighteen kinds and 553 actors, counted on 2 December 2026. Actor 553 actors - 18 kinds People employee37 job applicant64 manager1 user2 Companies customer361 supplier36 vendor14 shipper3 company1 Machines device computer12 drone2 waiter robot1 kitchen display1 table tablet1 dispatch station1 Software software agent2 loader7 The world itself founder7 one per world: the hospital's founder is the hospital itself
Counted in the main World database on 2 December 2026 (see Two databases). A software agent is a program that acts, such as the emoji factory's storefront; a loader is the program that moved an old database in. In the database each kind has a code of at most eight letters: EMPLOYEE, APPLICNT, MANAGER, USER; CUSTOMER, SUPPLIER, VENDOR, SHIPPER, COMPANY; ENDPOINT, DRONEOP, WAITER, KDS, STATION, DISPSTN; AGENT, LOADER; FOUNDER.

A sign-in is a key

A person signs in, and the sign-in is a key to act as an actor of one world. The key, not the application, is what the database checks before every act.

Who really did it

The ledger names the actor who acted - a nurse, a waiter robot - never the organization. The organization is the world. A hospital acts only as itself: when it signs a contract, or founds its world.

Worlds are its siblings

"For me Tenants (Worlds) are siblings of Super Class Actor," Dimitar wrote. A world already has an actor that stands for it, its founder. Today no world acts in another.

The eleven principles, in one line each

  1. Nouns are rows. A new kind of thing is an insert, not a new table.
  2. One identity for every thing, with a typed extension where a kind really needs columns.
  3. Relationships are a graph in time: who belonged to what, and from when to when.
  4. One event spine for everything that happened.
  5. Verbs are routed by capability: an actor may do only what it was granted.
  6. One ledger for every quantity and value.
  7. Tenancy is part of every row: each row belongs to one world.
  8. The schema describes itself, so the engine can extend itself.
  9. Views are the business's costume: reports see the business's own words.
  10. Codes from outside systems are translated at the door, never mixed into the core.
  11. Backups, restores and checks are part of the design.