metacore Start a pilot

Product · Engine

Declare the data. The rest is built in.

One schema per domain declares its entities and keys, its layers and fields, the roles that change them, and what reacts: events, triggers, workflows and webhooks. It holds no formula, no condition and no script. Whatever computes is your code, outside the engine.

Entities, keys and layers

A record is composed from the layers of its entity, by key. A layer is a group of fields that change together: the unit of a permission, an approval and a release.

Layers

A layer is a group of fields that change together.

Each layer names one scope and one kind. It is the unit of a permission, an approval and a release, so the schema decides who changes what, and how.

Kind of layerWhat it holds
ReleasedValues that a run publishes, a person can review and a rollback restores. The default.
DatedValues that hold over a period known in advance. A read returns the value at its instant.
Stated onceDocuments that never change once stated. A correction is a record of its own.
BalancesAmounts that many runs add to at the same time.
OverlayValues that another system writes live, with no review, no release and no rollback.

Five kinds of layer

Choose a kind by how its values change, and by who changes them.

A field can beWhat it means
CheckedRequired, a least and a greatest, a length, a pattern, allowed values.
UniqueNo two records hold the same value. The engine rejects a change that reuses one.
DerivedComputed by an enricher, your code, at each change.
RestrictedRead and written only by the roles it names. It never enters search or events.
A referenceIt names a record of another entity, and carries some of its fields with each read.
A fileAn image or a document, with the renditions that the field declares.

What a field declares

Every check runs on every change, at every scope where the record exists.

Deployment

A schema changes. The data stays.

A deployment is the next version of the schema. The engine checks it against your org, the other domains and the live data before anything goes live.

From the schemaWhat the engine gives
StorageEvery record at every scope, with its releases.
ValidationEvery check of every field, on every change.
Public APITyped operations for every entity.
Back officeA web app for every entity.
SearchFull text and conditions on fields.
EventsOne event for each changed record.

With no code

The schema alone gives a domain all six.

A deploymentWhat happens
AddsA new entity, layer or field is live as the next version of the schema.
RenamesOne step at any volume: no row moves. A caller that uses the former name still gets its answer.
ConvertsA change of a type, a layer or a key computes new values. A converter, your code, does it.
Widens accessIt waits for an owner.
Runs dryA dry run reports every problem. Nothing goes live.

Changing a schema

A failed deployment changes nothing.

See also

Build your domain.

Declare its schema, and take it to production, self-hosted or in a managed region.

Briefing