Choose what this site may use

This site uses strictly necessary cookies to work and to remember your privacy choices. With your permission it would also load content hosted by other services, such as videos, maps and fonts, which then receive your network address and device data. We do not sell or share your personal information and we run no advertising. Choose Accept all, Reject all or Customise. You can change your mind at any time through Privacy choices at the foot of every page.

  • Always on

    Needed for the site to work and to remember your privacy choices. Always on.

  • Remembers settings you choose, such as the light or dark display, in your browser.

  • Loads videos, maps and other content hosted by other services. Those services receive your address and device data.

Menu Close
In this section: Specification
Specification
Functions
Schemas
Registers

5. The twelve functions

Source spec/OBSP-0.1.md#5

On this page
  1. 5.1 Join
  2. 5.2 Admit
  3. 5.3 Describe
  4. 5.4 Time
  5. 5.5 Observe
  6. 5.6 Qualify
  7. 5.7 Federate
  8. 5.8 Orchestrate
  9. 5.9 Correct
  10. 5.10 Exchange
  11. 5.11 Prove
  12. 5.12 Exit and decommission

Each function states its requirements, the objects and state machine it uses and the evidence it produces. Open gaps are listed in §9.

5.1 Join

A node proves what it is, receives an identity and a policy, then a signed plan.

  • States: UNENROLLED → DISCOVERED → ATTESTING → IDENTITY_ISSUED → POLICY_BOUND → PLAN_STAGED → LOCAL_READY, with DEGRADED, QUARANTINED and terminal REVOKED. Transitions not in the table MUST be refused and recorded.
  • A node MUST present attestation evidence (RATS, RFC 9334, passport model) rooted in a hardware root of trust where the device class has one (TPM 2.0, DICE or a secure element), or a software root explicitly marked SOFTWARE_ROOT otherwise. A verifier MUST bind the result to a nonce and an expiry.
  • Identity MUST be short-lived and renewable (X.509 SVID, SPIFFE-style URI spiffe://<trust-domain>/node/<uni>). Long-lived shared secrets MUST NOT be used.
  • The bootstrap bundle MUST be signed by the site cell’s enrolment key and carry the trust anchors, policy reference and the first plan digest.
  • Evidence: enrolment receipt, attestation result, identity issuance record.

5.2 Admit

Providers enter by manifest, rights, security and technical review, for a stated scope.

  • States: DISCOVERED → MANIFEST_VALID → RIGHTS_REVIEWED → SECURITY_REVIEWED → TECHNICALLY_QUALIFIED → JURISDICTION_QUALIFIED → ADMITTED_FOR_SCOPE, with SUSPENDED, REVOKED, RETIRED. No state is a sovereignty, certification or endorsement claim.
  • Admission is scoped to the tuple (provider, artifact digest or version, capability or profile, jurisdiction, purpose, qualification revision). Presence, connectivity or a commercial relationship MUST NOT imply admission.
  • Every admitted software artifact MUST carry an SBOM (SPDX or CycloneDX) and SLSA provenance. A transparency receipt (SCITT) SHOULD be recorded.

5.3 Describe

Every instrument and observation carries what, where, how and by whom.

  • A sensor MUST have a SensorPassport: device class, make and model (provider name gated), serial, firmware digest, mounting and exposure, sampling plan, units (UCUM), and calibration history.
  • Metadata MUST map to OGC SensorML 3.0 and the SOSA/SSN ontology; weather and climate instruments SHOULD also map to WMO WIGOS metadata.
  • Every observation MUST reference its sensor passport version, so a later recalibration is traceable.

5.4 Time

One time base across the grid, with time quality as explicit state.

  • A node MUST report a TimeQuality with every observation: source class (AUTHENTICATED_PNT, PTP, NTS, GNSS_ONLY, SYSTEM_CLOCK, UNKNOWN), estimated offset bound, holdover age and integrity flags.
  • Network time MUST be authenticated (NTS, RFC 8915) or come from a site grandmaster (IEEE 1588 PTP, telecom profile ITU-T G.8275.1 where radios need it). GNSS alone MUST NOT be treated as trusted time; spoofing and jamming indicators MUST lower the quality.
  • A node whose time integrity is compromised MUST stop signing receipts that depend on time and enter DEGRADED.

5.5 Observe

Streams and files move over whatever link the site has, with store and forward.

  • Field-side transport: MQTT 5 with Sparkplug B for device telemetry; a node MAY also speak LoRaWAN, OPC UA or vendor buses through a connector.
  • Site to upstream: observations are written to a local durable outbox first and published at-least-once with an idempotency key. Duplicates MUST be absorbed by the receiver.
  • Replay outcomes: ACCEPTED, IDEMPOTENT_REPLAY, STALE_HISTORICAL, GAP_RECORDED, CONFLICT, REJECTED, FAILED_RETRYABLE, FAILED_TERMINAL. A gap MUST be recorded, never filled silently.
  • Events use the EventEnvelope and MUST map one-to-one to CloudEvents 1.0 attributes.

5.6 Qualify

Quality flags, calibration and provenance travel with each value.

  • Quality flags MUST come from a controlled vocabulary (WMO-style: GOOD, SUSPECT, BAD, MISSING, ESTIMATED, NOT_CHECKED, plus test codes) with the test that set them.
  • Provenance MUST be expressible as W3C PROV-O (entity, activity, agent) and travel with derived products.
  • Uncertainty MUST be stated where the instrument class defines one. A missing value is a typed state, never zero.

5.7 Federate

Nodes form cells, cells form clusters, and clusters federate across trust domains.

  • Federation is asynchronous exchange under an explicit FederationBinding: the two trust domains, the scopes and data classes shared, the direction, retention, the authority lease (who may command what, until when) and the exit terms. No binding, no exchange.
  • A federation peer MUST NOT gain command authority over another domain’s nodes unless an unexpired authority lease grants it for a named scope.
  • Federation MUST survive partition: each domain stays authoritative for its own facts (P2).

5.8 Orchestrate

Software, configuration and upgrades roll out by signed plan, with evidence for every change.

  • A SystemPack (released, signed) is compiled deterministically into a per-site Plan; the same inputs MUST give the same plan digest.
  • A plan MUST be signed before a node applies it. Update metadata MUST follow TUF roles (root, targets, snapshot, timestamp) so a compromised mirror cannot roll back or freeze a node; device firmware SHOULD use IETF SUIT manifests.
  • The node agent applies the smallest reversible step, records an ObservedStateReceipt, and rolls back on failure.

5.9 Correct

An upstream correction marks dependants stale, triggers recompute and publishes a new version.

  • Correction states: CURRENT → DISPUTED → SUPERSEDED | WITHDRAWN | RECALLED; DISPUTED → CURRENT on resolution. SUPERSEDED, WITHDRAWN and RECALLED are terminal for that version.
  • A CorrectionNotice MUST name the corrected record and version, the reason, the issuer and the dependants it invalidates. Consumers subscribed to a product MUST receive the notice.

5.10 Exchange

Governed products reach people and applications through versioned APIs, events, maps and exports.

  • Read APIs follow OpenAPI 3.1. Geospatial products SHOULD be served through OGC API (Features, Tiles, EDR), SensorThings API for observations, OGC API Connected Systems for systems, and STAC for archives. WMO WIS 2.0 publication is a product option.
  • Every product has a ProductManifest with licence, the most restrictive upstream term, quality and correction state.
  • The exchange plane is read-only toward sites (P7).

5.11 Prove

Peers answer unpredictable challenges and emit signed proof receipts for an independent verifier.

  • Proofs cover coverage, uptime, data delivery, location and time. A challenge MUST be unpredictable to the prover; a receipt MUST be signed and bound to the challenge, the evidence digests and the scope.
  • Location proofs SHOULD combine at least two independent sources (GNSS with RTK, radio ranging, witness nodes).

5.12 Exit and decommission

Every material provider has an open export and replacement path, and decommissioning closes the record.

  • Every ProviderManifest MUST declare an exit path (export format, replacement procedure), exercised as a test before admission for scope.
  • Decommissioning MUST revoke identities, wipe or return keys, export the owner’s data in open formats, and issue a DecommissionRecord with final evidence.

Previous: 4. Objects, identifiers and envelopes · Next: 6. Wire bindings