This document specifies the integration library: the machine-readable format in which data sources, their ingestion logic, and their outputs are described for the Open Source Data Integrator Platform. It is the companion to the System Architecture (section 3.1) and the Interoperability and Standards Mapping (section 6), and is independently reusable: a library written to this specification can be consumed by any platform implementation that conforms to it, and an implementation that conforms to it can run any library written to it.
The specification has three parts: the library layout on disk, the
integration definition document, and the job contract that the
definition's code is executed against. The key words MUST, SHOULD, and MAY
are used as in RFC 2119. This document describes contract version 2, the
value carried in every definition's contract field.
A library is a directory tree, versioned in ordinary source control:
library/
integrations/<id>/definition.json the definition (section 2)
integrations/<id>/code.py | code.mjs the integration code (section 3)
skills/<id>/SKILL.md reusable know-how (section 5)
- Each integration directory holds exactly one
definition.jsonand exactly one code file. The code file's extension MUST match the definition'sruntime(code.pyforpython,code.mjsfornode). On install, the file's contents become the definition'scodefield, which is therefore left empty ("") in the library copy. - Directory names are the integration and skill ids and MUST match the identifier grammar of section 2.1.
- Library entries are templates. They SHOULD omit
aoiso an installed copy inherits the deployment's area of interest, and theirtriggerandlimitsare starting values the deployment may change (section 4). - Secret values MUST NOT appear anywhere in a library.
Any party MAY publish a library: mWater, UNICEF, a national agency, a programme or another vendor. A library is identified by its source-control repository, and that repository is its provenance record:
- Authorship and change history are the repository's commit history: who changed which entry, when, and why.
- Releases SHOULD be tagged, and publishers SHOULD sign their tags so a
deployer can verify the source before installing (for example
git tag -v <tag>). - Curation is the publisher's review process for changes to its repository.
A publisher checks its own library against this specification without
running any platform: every definition.json validates against the
published JSON Schema (section 2.14) with any standard validator.
A deployment uses a library published by another party in either of two ways:
- As its library. The deployment installs from the library at its
configured location (in the reference implementation,
LIBRARY_PATH, a checkout of the chosen repository at a chosen tag). Entries from several libraries are combined by the deployer in a checkout of their own. - One integration at a time. A definition document exported by another
deployment is imported (section 4) without any library. A library entry
becomes such a document when the contents of its code file are placed in
code. An imported integration is installed paused, so an operator reads its code and runs it by hand before it is ever scheduled.
Each installed integration then carries its own version history in the deployment (section 4), and single integrations move between deployments by export and import.
A definition is one JSON document (RFC 8259, UTF-8) describing everything about an integration except secret values. It is the unit of portability: the same document is installed from a library, exported from one deployment, and imported into another. Its structure is also published as a JSON Schema, integration-definition.schema.json (section 2.14).
{
"id": "worldpop_population",
"name": { "_base": "en", "en": "WorldPop Population" },
"description": { "_base": "en", "en": "Annual constrained population counts at about 100 m for the area of interest." },
"source": {
"name": { "_base": "en", "en": "WorldPop Global 2 constrained population counts" },
"provider": "WorldPop, University of Southampton",
"url": "https://hub.worldpop.org/",
"license": "CC BY 4.0",
"documentation": "https://data.worldpop.org/..."
},
"trigger": { "cron": "0 6 1 * *" },
"runtime": "python",
"limits": { "cpus": 2, "memoryMb": 4096, "timeoutMs": 3600000 },
"destinations": [
{
"kind": "raster",
"layerId": "population",
"name": { "_base": "en", "en": "Population" },
"temporality": "time-series",
"bands": [
{
"id": "population",
"name": { "_base": "en", "en": "Population count" },
"units": "people per grid cell",
"nodata": -99999,
"rendering": {
"colorMap": [{ "value": 0, "color": "#ffffe5" }, { "value": 280, "color": "#005a32" }],
"resampling": "nearest"
}
}
]
}
],
"code": "",
"contract": 2
}Every identifier in a definition (integration id, input ids, file slot
ids, tableId, column ids, layerId, band ids, skill ids) MUST match:
^[a-z][a-z0-9_]{0,62}$
Identifiers are permanent. Renaming an integration is creating a new one; table and layer ids appear in query, tile, and download URLs and in the relational schema.
Human-facing text is a localized string: an object whose _base key
names the locale the text was authored in, and whose other keys are locale
codes mapping to text. The base locale MUST be present as a key.
{ "_base": "en", "en": "Population count", "fr": "Nombre d'habitants" }Consumers resolve a localized string by the requested locale, falling back
to the _base locale. Locale codes are BCP 47 language tags (in practice
two-letter ISO 639-1 codes).
| Field | Type | Required | Meaning |
|---|---|---|---|
id |
identifier | yes | Published identifier of the integration |
name |
localized string | yes | Display name |
description |
localized string | no | What the integration does and any caveats |
source |
object (2.4) | no | Provenance of the external source; absent for derived integrations |
trigger |
object (2.5) | yes | When runs happen |
secrets |
string[] | no | Names of credentials the code reads; values are never in the definition |
aoi |
object (2.6), null, or absent |
no | Area of interest, tri-state |
inputs |
map of id to input reference (2.7) | no | Platform data the run consumes |
files |
map of slot id to file slot (2.8) | no | Uploaded files the run reads |
runtime |
"node" or "python" |
yes | Runtime image the code executes in |
limits |
object (2.9) | no | Per-run resource limits |
destinations |
array (2.10) | yes | Tables and raster layers the integration writes |
validation |
object (2.11) | no | Data quality rules evaluated on each run |
settings |
map of setting id to setting (2.12) | no | Options an operator may change without editing code |
settingValues |
map of setting id to value (2.12) | no | The deployment's values for declared settings |
code |
string | yes | The single self-contained code file |
contract |
2 |
yes | Job contract version |
Field names not listed in this section are reserved, at the top level and inside every object the section defines. Validators SHOULD reject unknown fields so that a definition means the same thing to every implementation; the JSON Schema (2.14) rejects them, and the reference implementation ignores them on install.
Documentation and lineage only; nothing in source affects behavior.
When source is present, name is required.
| Field | Type | Meaning |
|---|---|---|
name |
localized string | Name of the dataset or service |
url |
string | Primary URL of the source or its API |
provider |
string | Organization publishing the data |
license |
string | License of the source data, as an SPDX identifier where one exists |
documentation |
string | Link to source documentation |
limitations |
localized string | Caveats a data consumer should see: accuracy, coverage, timeliness, interpretation |
| Field | Type | Meaning |
|---|---|---|
cron |
string | Five-field POSIX cron expression, evaluated in UTC |
webhook |
boolean | Accept pushed events on the integration's capability URL |
webhookDelaySeconds |
integer 0 to 86400 | Batch window: the first event schedules a run this far in the future and later events join it; default 0 (immediate) |
A trigger MAY declare both cron and webhook. A definition with neither
can only be run manually.
| Field | Type | Meaning |
|---|---|---|
bbox |
[west, south, east, north] |
Geographic bounding box in WGS 84 (EPSG:4326) decimal degrees; west > east crosses the antimeridian |
countries |
string[] | ISO 3166-1 alpha-3 codes covered by the box: a hint for sources keyed by country rather than extent, and the countries whose land outlines the platform clips statistics and map drawing to |
bbox longitudes lie in -180 to 180 and latitudes satisfy
-90 <= south < north <= 90.
aoi is tri-state. An object clips ingestion and input extracts to the box.
An explicit null means the source's full extent. An absent field inherits
the deployment's default area of interest at run time. The platform resolves
this before launch: the job's copy of the definition carries either a
concrete aoi or no aoi field at all (full extent), never null. The box
bounds what is downloaded and stored; when countries is set, the platform
also derives a land-only shape from it for statistics and map clipping, so
stored pixels along the coast and the border are kept, not cut.
inputs maps an input id to a reference to platform data. Before a run, the
platform resolves each reference to concrete versions, materializes them
read-only under /in, and records the resolved versions on the run. An
input MUST NOT reference one of the definition's own destinations.
Raster input
| Field | Type | Meaning |
|---|---|---|
kind |
"raster" |
|
layerId |
identifier | Catalog layer to read |
select |
"current", { "latest": n }, or { "from": iso, "to"?: iso } |
Which snapshots to materialize |
Table input
| Field | Type | Meaning |
|---|---|---|
kind |
"table" |
|
tableId |
identifier | Table to extract from |
columns |
identifier[] | Columns to include; absent means all |
where |
filter (below) | Row filter applied before extraction |
format |
"gpkg", "json", or "csv" |
Extract file format; defaults to gpkg for python and json for node |
A filter is an array of clauses combined with AND, each
{ "column": id, "op": "=" | "!=" | ">" | ">=" | "<" | "<=" | "in", "value": any }
(in takes an array). Extracts are select, filter, and clip only, never
aggregation, and implementations MAY cap their size.
files maps a slot id to a file slot: a file users upload for the code
to read (a spreadsheet, a shapefile archive). Like secrets, the definition
names the slot and the deployment holds the contents, so a library entry can
expect "a water point inventory" and each deployment uploads its own.
| Field | Type | Meaning |
|---|---|---|
description |
localized string | What the file is and what it must contain, shown beside the upload control |
accept |
string[] | Accepted extensions, lowercase with the leading dot (for example [".xlsx", ".xls"]); absent accepts any |
Each upload is an immutable, numbered version of its slot. Every run reads
one version per declared slot: the version the run pins, else the slot's
current version (the one the last successful run read). A run of an
integration with a declared slot that has no version yet is refused. The
version read is materialized under /in/files (3.3) and recorded on the
run.
| Field | Type | Meaning |
|---|---|---|
cpus |
number | CPU cores |
memoryMb |
integer | Memory ceiling in megabytes |
timeoutMs |
integer | Wall-clock timeout in milliseconds |
workDiskMb |
integer | Quota for the persistent /work workspace; a run does not start while /work is over it, and is killed when polling during the run finds it exceeded |
tmpDiskMb |
integer | Quota for the run's /tmp; the run is killed when polling finds it exceeded |
Declared limits are requests. A deployment MAY set a maximum for each; a
declared value above the maximum is lowered to it (and the run log says
so), and a deployment /work or /tmp maximum also applies when the
definition declares no workDiskMb or tmpDiskMb.
A destination is a table or a raster layer. Each is created and owned by the installing integration.
Table destination
| Field | Type | Required | Meaning |
|---|---|---|---|
kind |
"table" |
yes | |
tableId |
identifier | yes | Table name in the data schema |
name |
localized string | no | Display name |
description |
localized string | no | One-sentence summary shown in the data catalog |
action |
"replace", "append", or "merge" |
yes | How each run's rows are applied |
mergeColumns |
identifier[] | when merge |
Key columns identifying a row; each MUST be a declared column |
columns |
column[] | yes | Schema of the table |
A column is { id, name?, type, enumValues?, units? } with type one of:
| Type | Semantics |
|---|---|
text |
Unicode string |
number |
Floating-point number |
integer |
Exact 64-bit integer |
boolean |
true or false |
date |
Calendar date, ISO 8601 YYYY-MM-DD |
datetime |
Instant, ISO 8601 with offset, stored in UTC |
geometry |
GeoJSON geometry object in WGS 84 |
enum |
Text drawn from enumValues, the harmonization target for source codings |
json |
Arbitrary JSON |
enumValues is an array of { id, name } (name a localized string).
Implementations SHOULD flag runs that deliver values outside the vocabulary
(2.11). units is free text (for example mm/day).
replace truncates the table and loads the run's rows; append adds them;
merge upserts on mergeColumns. Every row additionally records the run
that produced it, which is the lineage link.
Raster layer destination
| Field | Type | Required | Meaning |
|---|---|---|---|
kind |
"raster" |
yes | |
layerId |
identifier | yes | Catalog layer; appears in tile and API URLs |
name |
localized string | no | Display name |
description |
localized string | no | One-sentence summary shown in the data catalog |
temporality |
"time-series" or "current-only" |
yes | Whether promoted snapshots are retained as history or superseded |
retention |
{ days } |
no | Time-series only, days a whole number of at least 1: snapshots whose observation ended more than days ago are deleted; the current snapshot is always kept. Absent keeps all history |
bands |
band[] | yes | Bands in file band order |
A band is { id, name?, units?, nodata?, rendering? }. nodata is the
sentinel value written in the files; absent means the file's own nodata or
NaN. rendering is { colorMap?, resampling? }:
| Field | Type | Meaning |
|---|---|---|
colorMap |
[{ value, color }] |
Value-to-color stops, interpolated between stops; color is hex, #rrggbb or #rrggbbaa |
resampling |
"nearest" or "average" |
Overview resampling; nearest avoids inflating sparse data |
| Field | Type | Meaning |
|---|---|---|
expectedCadence |
ISO 8601 duration (for example P1D, PT6H) |
Expected data cadence |
ranges |
[{ destinationId, field, min?, max? }] |
Allowed value range for a numeric column (field is a number or integer column id) or band (field is a band id) of the named destination; at least one bound |
The platform evaluates the rules on what each run wrote:
- Table ranges are checked exactly, over the rows the run wrote. A finding counts the values outside the range.
- Raster ranges are checked per stored snapshot against approximate band statistics (overviews may be used), so a finding reports the observed minimum and maximum. This catches sentinels and unit mistakes, not single outlying cells.
- Enum columns need no rule: values outside
enumValuesare counted the same way.
Findings are recorded on the run and appended to its log. They never reject data: a source that legitimately moves outside a declared range keeps loading while the operator is told.
expectedCadence drives freshness monitoring: an enabled integration with
no successful run within twice the cadence is reported as overdue. For the
calculation a month counts as 30 days and a year as 365.
A setting is an option the code offers, such as how much history a first load fetches or which product variant to read. The definition declares it; the deployment chooses its value without touching the code.
| Field | Type | Required | Meaning |
|---|---|---|---|
label |
localized string | yes | Short label for the control |
description |
localized string | no | What the setting changes and when |
type |
"integer", "boolean", "choice", or "text" |
yes | Value type |
default |
value of type |
yes | Value when the deployment sets none; must itself be valid |
min, max |
number | no | Bounds of an integer setting |
choices |
[{ value, label }] |
for choice |
Allowed values in display order; value is a string, label a localized string |
pattern |
string | no | Regular expression a text value must match in full |
appliesOn |
"every-run" or "rebuild" |
no | "rebuild" when the code reads the setting only when previousState is null, so a change shows on the next rebuild (4); default "every-run" |
settingValues holds the deployment's value per declared setting id;
absent ids take the default. A value for an undeclared setting, or one that
fails its setting's type, bounds, choices, or pattern, is invalid, as is a
text value longer than 1000 characters. The run
payload's params (3.1) carries every declared setting resolved this way and
nothing else, so code reads settings only from params.
A validator MUST reject a definition when:
- a required field of 2.3 (
id,name,trigger,runtime,destinations,code,contract) is missing; - any identifier violates the grammar of 2.1;
- a human-facing text field is a plain string where a localized string is
required, or a required one (
name,source.name, enum value names) is missing; aoiis an object whosebboxis malformed or whosecountriesholds a code that is not ISO 3166-1 alpha-3;secretsis not an array of names matching^[A-Za-z_][A-Za-z0-9_]{0,63}$, or names a secret twice;filesis not an object, or a slot'sacceptis empty or holds an entry that is not a lowercase extension with its dot (^\.[a-z0-9]{1,10}$);trigger.cronis not a valid five-field expression, orwebhookDelaySecondsis outside 0 to 86400;- a table destination's
actionis not one of the three values, amergedestination lacksmergeColumns, or a merge column is not a declared column; - a column
typeis outside the vocabulary of 2.10; - a raster destination declares
retentionwithouttemporality"time-series", orretention.daysis not a whole number of at least 1; - an input references one of the definition's own destinations;
validationhas fields other thanexpectedCadenceandranges,expectedCadenceis not an ISO 8601 duration, or a range rule has no bound, a non-numeric bound, or names a destination, column, or band that does not exist (or a table column that is notnumberorinteger);- a setting's id violates the grammar of 2.1, its
typeis outside the four values, achoicesetting has no choices or duplicate values, itspatternis not a regular expression, or itsdefaultis not a valid value; orsettingValuesnames an undeclared setting or holds an invalid value (2.12); contractis not2, orruntimeis not"node"or"python".
integration-definition.schema.json, beside this document, is the definition format as a JSON Schema (draft 2020-12). Any standard validator, in any language, checks a definition against it. It covers the fields and their types, the identifier and other grammars, the vocabularies, which fields are required, and unknown fields (2.3). The copy in a tagged release describes the format as of that release.
Passing the schema is necessary but not sufficient. A JSON Schema cannot compare one part of a document with another, so these rules of 2.13 are checked by the implementation and not by the schema:
- the base locale of a localized string is one of its keys (2.2);
- a
bboxhas south below north, and each entry ofcountriesis an assigned ISO 3166-1 code (the schema checks only the three-letter form); - each field of a
cronexpression is within its range (the schema checks only that there are five fields); - every merge column is a declared column;
- no input reads one of the definition's own destinations;
- a range rule names an existing destination, and a numeric column or a band of it;
- a setting's choice values are distinct, its
patternis a regular expression, and itsdefaultsatisfies its own bounds, choices, and pattern; settingValuesnames only declared settings, with a valid value for each.
Integration code runs as a job inside an isolated container built from the declared runtime image. The contract between the platform and the job is language-agnostic: a JSON payload on standard input, a JSON result on standard output, logs on standard error, and the mount points of 3.3. A per-language harness inside the image maps this onto a single entrypoint function, so integration code is a plain module with no platform-specific imports.
{
"definition": { ...the definition, with aoi resolved... },
"secrets": { "name": "value" },
"previousState": { ... } | null,
"webhookData": [ ...pending events, oldest first... ],
"params": { ... },
"catalog": { "<layerId>": { "snapshots": [ { "timestamp": "…", "timestampEnd": "…", "label": "…", "sources": 1 } ] } }
}definitionis the installed definition withaoiresolved to the effective area of interest (2.6). It includescode, which the harness loads from there.secretsholds the values for the names declared indefinition.secrets.previousStateis thestatereturned by the last successful run, or null on the first run and on a rebuild (4), which also starts with an empty/work.webhookDatais every buffered event not yet consumed, oldest first, each the JSON body of one webhook POST. Any run of the integration receives every pending event, whatever triggered it; a successful run consumes them. It is absent when none are pending. Test runs in a design session never receive webhook events.paramsholds the definition's settings resolved for this deployment (2.12): every declared setting at its deployment value or its default. It is an empty object when none are declared.cataloglists, for each raster destination the definition declares, the most recent snapshots already promoted for that layer (implementations MAY bound the list; the reference implementation sends the latest 100), ascending bytimestamp, withtimestampEndfor periods, an optional implementation-assignedlabel, and the number ofsources(files; 0 is a published empty snapshot). Whether a period still needs producing is the code's decision: it compares what the source offers with whatcatalogholds and returns no artifact for a period that needs no update. The platform never skips a run on the code's behalf.
The harness exposes the payload as a context object and calls the integration's entrypoint with it:
| Runtime | Entrypoint | Context fields |
|---|---|---|
python |
module-level def run(ctx) |
ctx.definition, ctx.secrets, ctx.previous_state, ctx.webhook_data, ctx.params, ctx.catalog, ctx.in_dir, ctx.work_dir, ctx.out_dir, ctx.tmp_dir |
node |
default-exported async function run(ctx) |
ctx.definition, ctx.secrets, ctx.previousState, ctx.webhookData, ctx.params, ctx.catalog, ctx.inDir, ctx.workDir, ctx.outDir, ctx.tmpDir |
The entrypoint returns (or resolves to) a run result (3.5). A nonzero exit or an uncaught exception fails the run, and the tail of standard error becomes the run's error message. Standard output is reserved for the result: the harness redirects the code's own prints and any child-process output to standard error.
| Path | Access | Contents |
|---|---|---|
/in |
read-only | Materialized inputs and uploaded files plus /in/manifest.json (3.4); absent when the run reads neither |
/work |
read-write, persistent per integration | Cache workspace; may be wiped at any time, so correctness MUST NOT depend on it. Subject to limits.workDiskMb |
/out |
read-write, per run | Where the job writes the files it references in its result |
/tmp |
read-write, per run | Temporary disk for intermediates (unpacked archives, VRTs, GeoTIFFs before COG conversion), empty at the start and discarded with the job. Subject to limits.tmpDiskMb |
The container's root filesystem is read-only, so any other write MUST go to one of these. Curated libraries are part of the runtime image; jobs cannot install packages at run time. Network egress is limited to the public internet.
/in/manifest.json describes what was materialized: inputs keyed by input
id, and uploaded files keyed by slot id:
{
"inputs": {
"rain": {
"kind": "raster",
"layerId": "chirps_monthly",
"snapshots": [
{ "path": "rain/2026-06-01T00-00-00.000Z.tif", "snapshotId": "…", "timestamp": "2026-06-01T00:00:00.000Z", "bands": ["precip"] }
]
},
"sites": { "kind": "table", "tableId": "water_points", "path": "sites.gpkg", "format": "gpkg", "rowCount": 1240 }
},
"files": {
"inventory": {
"path": "files/inventory.xlsx", "versionId": "…", "version": 3, "filename": "Inventory 2026.xlsx",
"sha256": "…", "sizeBytes": 48210, "uploadedAt": "2026-06-03T09:12:44.000Z"
}
}
}- Raster snapshots are listed ascending by
timestamp, each with apathrelative to/in(null for an empty snapshot), the catalogsnapshotIdrecorded for lineage,timestamp, optionaltimestampEndfor periods, andbandsin file band order. A single-file snapshot is<inputId>/<stem>.tif, where the stem is the timestamp with colons replaced by dashes; a multi-file snapshot is presented as one openable virtual raster,<inputId>/<stem>.vrt. - Table extracts are one file in the requested
format. Injson, dates are ISO 8601 strings and geometry columns are GeoJSON geometry objects. - Uploaded files are at
files/<slotId><ext>, with the extension of the uploaded file, and carry the version id and number, the name the file was uploaded under (display only), its SHA-256, size, and upload time. The section is absent when the run reads no files.
The manifest is authoritative about paths; code SHOULD read it rather than assume a layout.
{
"data": { "tableId": [ { "column": value, ... } ] },
"tables": [ { "tableId": "…", "path": "…", "format": "geojson" | "fgb" | "gpkg" | "csv" } ],
"rasters": [ { "layerId": "…", "path": "…", "timestamp": "…" } ],
"state": { ... }
}Every field is optional; an empty object is a successful run that changed nothing.
data: rows per destination table id, inline. Values follow the column types of 2.10 (geometry as GeoJSON geometry objects, dates and instants as ISO 8601 strings). Inline rows are bounded by the platform's standard-output cap; larger tables go throughtables.tables: table files written under/out, loaded into their destination table.formatdefaults to the file extension. Fields are matched to declared columns by name, plus the file's geometry for a declared geometry column, and cast to the declared types. A table id MUST appear indataortables, never both.rasters: one entry per snapshot produced. Fields:layerId; exactly one ofpath(single file) orsources(array of{ path, footprint? }making up one observation, mosaicked at read time; an empty array publishes an empty snapshot that supersedes the previous one);timestampand optionaltimestampEnd; optionalfootprint([west, south, east, north]in WGS 84) andcrs(authority code such asEPSG:4326), both derived from the files when absent; optional free-formmetadata. Files MUST be Cloud-Optimized GeoTIFFs whose band order matches the destination'sbandsand whose nodata matches the declared sentinel; the platform reads only footprint, CRS, and cell size from them, so meeting this is the job's responsibility. Whencrsis absent and the file's CRS has no EPSG code, it is recorded asunknown. An implementation that registers rasters for SQL cannot register such a snapshot; the reference implementation fails the run. Omitting a layer fromrastersmeans no update to it.state: the next incremental state, persisted and delivered aspreviousStateto the next run. This is the only authoritative incremental state; it is what makes ingestion resumable after outages.
The platform, not the job, applies the result: it casts rows to the declared schema, applies tabular changes transactionally, promotes raster files into the store, registers them in the catalog, evaluates the validation rules of 2.11, and records volumes, lineage, and findings on the run.
Two runtime images are specified: node, a JavaScript runtime, and
python, which additionally carries an open geospatial stack (raster,
array, and vector libraries, and the command-line raster tools the library's
integrations rely on). An implementation MUST provide both and MAY add
further runtimes as additional images implementing the same harness
contract. Each harness SHOULD have tests verifying it against sections 3.1
to 3.5; the reference implementation keeps one suite per runtime image.
- Install copies a library entry into the deployment, where the copy becomes the integration's single specification. There is no separate override layer.
- Versions are assigned by the deployment on install and on every subsequent change; each version is archived with attribution. Reinstalling an unchanged definition is a no-op.
- Library updates replace the installed definition but carry over the
deployment-owned fields:
aoi,trigger,limits, and thosesettingValuesthe new definition still accepts (the rest fall back to their defaults). - Rebuild is a run started from nothing:
previousStateis null and/workis empty, so the code produces everything in scope again. Data is replaced as the rebuild reproduces it (a current-only layer's snapshot, time-series snapshots at the same timestamps, merged or replaced tables); nothing is deleted beforehand, and append tables receive the reproduced rows again. - Export produces the definition document without a concrete
aoi, so the importer's default area of interest applies; an explicitnull(the source's full extent) is kept, since it describes the source rather than the deployment. Import installs the document as it arrives, whateveraoiit carries, paused so the operator can review the code and run it manually first. An id that is already installed is refused. Declaredsecretsand file slots are then filled in the importing deployment. - Secrets are stored by the deployment per integration, encrypted at rest, and injected only into that integration's runs.
A skill is prose know-how about a source or technique, independent of any
particular integration, kept beside the definitions so that an AI designer
or a human developer can load it on demand. skills/<id>/SKILL.md is
Markdown with YAML front matter:
---
name: WorldPop population source
description: How WorldPop publishes gridded population: country-keyed files, release layout, encoding pitfalls
verified: 2026-08-28
---
name and description are required; description is a one-line answer
to "when would I read this", used to index skills for on-demand loading.
verified is the date the content was last confirmed against the live
source. Skills are documents to read, never code to execute.
A library conforms when every definition validates under section 2, the code file matches the declared runtime, and no secret value appears. The JSON Schema (2.14) is the part of that check a publisher can run with a standard validator; the rules listed in 2.14 are checked on install.
A platform implementation conforms when it:
- accepts and validates definitions per section 2, rejecting the violations of 2.13;
- executes code under the job contract of section 3, providing both runtime images and the manifest and mounts as specified;
- applies run results per 3.5, including transactional tabular loads, COG promotion and cataloging, and persistent incremental state;
- implements the lifecycle semantics of section 4;
- serves skills to its design tooling as read-only documents.
An implementation meeting these criteria runs every entry of a conforming library unchanged, and definitions exported from it import into any other conforming implementation.