Eight parts, and four steps to production.
The schema above declares one setting, with a value that can differ by team. metacore schema guide models a domain step by step, with sample schemas.
| Part | What it declares |
|---|---|
| Entity | A kind of record, with a key of its own. |
| Layer | A group of fields that change together, at one scope: the unit of a permission, an approval and a release. |
| Field | A typed value and its checks: required, least and greatest, length, pattern, allowed values, unique. |
| Role | The operations that one job needs, on entities and layers. |
| Atom | Your code behind a connection: a source, an enricher, a gate rule, a handler or a converter. |
| Event, trigger | What a handler did, and what starts a handler or a source: a schedule, an event or a change. |
| Workflow | Stages where people decide and handlers act. |
| Webhook | Where a third party notifies the domain. |
The parts of a schema
A schema holds no secret and no address. A connection is a name in it, which an admin binds in each environment.
metacore schema check FILE --localEvery problem of the schema alone, on your machine, with no sign-in.metacore schema check FILEChecked against what your org allows. It lists what a deployment would widen or remove.metacore schema deploy FILE --dry-runChecked against the org, the other domains and the live data. Nothing goes live.metacore schema deploy FILELive, as the next version of the schema. The data stays.
Check, then deploy
metacore schema doc -o json gives the language as a JSON Schema, for an editor or for a model that writes schemas.