Specification

The SKL Specification

The SKL Specification says what each kind of spec means, and what software must do with it. It will be published here, with SKL Ontology 4.x and the SKL Kernel.

What it will define

Each layer of SKL, and what runs across them.

SKL’s layers

LayerWhat it will define
IdentityHow things are addressed, and which namespace each address belongs to.
VocabularySets of terms, their codes and labels, and how a field’s values come from a set.
StructureClasses and properties, and how one class builds on another.
ConstraintsThe checks a spec can carry, and when they’re applied.
CapabilitiesWhat a capability takes and returns, how it’s called, and how a switch picks what answers it.
MappingsHow one system’s records, fields, terms, and capabilities correspond to another’s, including which operation answers a capability.
User interfacesPages, components, and styles, as specs.
PoliciesHow software asks who may see and do what.
VersionsHow a spec’s versions are addressed, how a change waits on a branch until it’s merged, and how specs are released together.

Across the layers

TopicWhat it will define
OperationsThe SKL Kernel’s own operations, such as save, find, count, and group, each a spec that says what it takes and returns.
FormatsHow one spec, or one record, is written in each format: JSON-LD, JSON, YAML, XML, RDF/XML, and CBOR, and how a new format is added.
MessagesWhere each of a call’s values travels in an HTTP message, in its path, its query, a header, a cookie, or its body, and how its status is read.
Activity and errorsWhat the record of a call holds, and how an error says what went wrong.
Interfaces and accountsAPIs, the accounts that use them, and how an account signs in.

A spec is the same whatever format it’s written in, the way FHIR’s resources are written alike in JSON, XML, and RDF: read it in the one your tools use.

How each layer works

What it settles, and what it leaves

Some things every implementation of SKL must do the same way, and the SKL Specification settles them. The rest is left to the software that runs it, which makes its own choices.

The SKL Specification

What it settles

  • The classes, properties, and sets of terms SKL defines, and what each one means
  • How SKL specs define structure and build on each other
  • How a record is checked against its SKL spec
  • How versioning and branching work: drafts, commits, merges, and releases
  • How a capability is bound to what answers it

The software that runs it

What it leaves to that software

  • Where SKL specs and records are stored
  • How requests arrive, over HTTP or in the same process
  • Where code runs, under the policies you write
  • How addresses for new things are created, under the policies you write
  • How fast it answers

Its foundations are the W3C’s RDF, JSON-LD, SKOS, and SHACL, reused where they fit.

What SKL keeps from each standardHow the SKL Kernel makes those choices

The principles it follows

Six principles SKL is written to, whatever software runs it.

Separate from any implementation

SKL says what data means, how it’s structured, and what software must do with it, not how that software is built. The SKL Kernel is one implementation, and SKL is written so that other software can implement it too.

Specs and data point at what they use, by address

A record points at its spec and at the records it refers to, and a spec at the specs it builds on, so nothing is copied and left to go stale.

No forced central schema or copy

Systems do not have to migrate into one shared database first: SKL reads and invokes live systems through reusable mappings, and each system chooses whom it connects with.

Integration is defined outside applications

When records move between systems, a mapping does the translating, field by field and term by term. It is a spec of its own, outside any one application, so anyone can read it and other systems can share it.

Every app asks the same two access questions

May this account run this capability? What may it read? SKL defines the two questions, and the access service you connect answers them, so who may do what isn’t written into each app.

A stable address, and one per version

Each spec has an address that stays as it changes, and each of its versions an address of its own: a reference to the spec keeps working, and a reference to a version stays on it.

Six architectural choices

Concrete design choices that make SKL specs practical to evolve across long-lived production systems.

Stable identities, separate from versions

Every concept carries a permanent address apart from its version history, so apps and records stay anchored as specs evolve.

Properties as independently governed entities

Properties stand on their own rather than inside one table, letting unrelated classes reuse and map concepts directly.

Capabilities separate from implementations

A spec declares what a capability takes and returns separately from the API, provider, or code body that fulfills it, so implementations swap without changing callers.

Declarative specs with code as an escape hatch

Structure, constraints, mappings, and policies stay declarative while specialized calculations or UI components run as typed, locked-down code where needed.

Scoped UI policies, separate from domain specs

Presentation varies by context, role, or device without duplicating or entangling the underlying business specs.

Product specs, reference data, demo data, and user records kept apart

Software ships its specs and sample datasets cleanly separate from operational records, keeping ownership unambiguous.

SKL is written in itself

What the SKL Specification defines is itself written in SKL, in SKL Ontology 4.x. A class is described by the spec that says what a class is, and a property by the spec that says what a property is.

So the software that reads your specs reads the language’s own the same way: its classes and properties can be searched, checked, and versioned like anything else.

What SKL Ontology 4.x describes, and what you do

Hear when it’s published

The fourth generation of SKL and the SKL Kernel will be open sourced here in 2027, with SKL Ontology 4.x, the shared specs SKL starts from.

Tell us what you would build with it.