In this section: Learn
Guides
- Guide: choosing and implementing a binding
- Guide: OBSP-COMMUNITY (COMMUNITY)
- Conformance guide
- Guide: OBSP-CONSTELLATION (CONSTELLATION)
- Guide: OBSP-CONSUMER
- Guide: the exchange plane (reference implementation)
- Guide: OBSP-GRID
- Implementers guide
- Guide: OBSP-MOBILE (MOBILE)
- Guide: OBSP-MODEL-OBSERVER (MODEL-OBSERVER)
- Guide: OBSP-NETWORK-SENSING (NETWORK-SENSING, provisional)
- Guide: OBSP-NODE
- Guide: operating the reference stack
- Operators guide
- Guide: OBSP-PROVIDER
- Python SDK: the 0.2 candidate mode (DRAFT)
- Release guide
- Guide: OBSP-SITE
- Guide: OBSP-SOV (operator sovereignty overlay)
- Start here: from a clone to a checked evidence set in 30 minutes
- Guide: the web front ends
Domain packs
- All domain packs
- Agriculture: fields, crops, livestock and stored grain
- Air quality: reference monitors and sensor networks
- Cryosphere: snow, glaciers, permafrost, sea and lake ice
- Greenhouse gases and methane: in-situ, flux and remote sensing
- Health (One Health): environment, animals and people
- Hydrology: river, lake, groundwater and water-quality stations
- Infrastructure: structural health of bridges, dams, tunnels and buildings
- Meteorology: surface synoptic and climate stations (GBON-oriented)
- Ocean: moorings, buoys, profiling floats and coastal stations
- Seismology and geodesy: seismometers, strong motion, GNSS and InSAR
- Space weather: geomagnetism, ionosphere and the solar wind
Participants
- Non-profits, humanitarian organisations, communities and citizen networks
- Device makers
- Enterprises and infrastructure owners
- Governments, agencies and utilities
- Individual experts, developers and students
- United Nations agencies and intergovernmental organisations
- National consortiums, national standards councils and national hosts
- Universities, observatories and research networks
- Managed-service and technology providers
Security and privacy
- Threat note: obsp-mcp (reference Model Context Protocol server)
- Threat note: credential status publisher (reference service)
- Threat note: discovery (reference service)
- Threat note: production public services
- Threat note: implementations and conformance registry (reference service)
- Threat note: transparency log (reference service)
- Supply chain: controls and current status
- Threat model of the Observatory Protocol (version 2)
- Privacy assessments
- Draft privacy impact assessment: COMMUNITY profile (OIP-0017)
- Draft privacy impact assessment: MOBILE profile, person-carried case (OIP-0013)
- Draft privacy impact assessment: NETWORK-SENSING profile (OIP-0011)
- Privacy impact assessment template
Pilot kits
Operations
- Operations
- Capacity scaling
- Capacity plan
- Chaos and resilience experiments
- Data plane
- Deploy
- Error-budget policy
- Game days
- Game day: clock skew
- Game day: disk full
- Game day: federation partition and rejoin
- Game day: replica loss
- Game day: slow or unreachable database
- Incident response
- Key rotation and compromise recovery
- Load and soak testing
- Observability conventions
- Offline site operation
- What the owner must decide
- Restore
- Rollback
- Service-level objectives
- Static web sites
- Supply chain and release hardening: the checks
- Variables
Guide: choosing and implementing a binding
On this page
A binding says how the protocol’s objects and functions are carried by an existing standard: an API family, a messaging
protocol, a notification format, a field bus. The protocol maps to existing standards and never replaces them. A binding
cites the standard by identifier, edition and clause, never copies its text, and is never a statement that an
implementation conforms to, or is certified for, the external standard. The rules for authors of bindings are in
bindings/README.md; this guide is for the people who choose and implement them.
What is in the live tree
The live tree has no binding folder yet: bindings/ holds the layout rules and the manifest schema
(binding.schema.json), and every binding below that has a folder is proposed by a
draft. What is live are the wire contracts of specification section 6:
| Plane | Live contract | Where | Notes |
|---|---|---|---|
| Participant gateway (registration, claims, registers, join, admit, describe) | OpenAPI 3.1, seven operations | schemas/openapi/obsp-gateway.openapi.yaml |
make openapi checks it; the Rust and Python references implement it |
| Field channels and events | AsyncAPI 3 | schemas/asyncapi/obsp-field.asyncapi.yaml; the documents for draft bindings (WIS 2.0, CloudEvents, correction subscriptions, federation sync) are listed in schemas/asyncapi/README.md |
event envelope maps one to one to CloudEvents 1.0 attributes |
| Control (site cell and node, grid and site cell) | protobuf package obsp.v1 over gRPC or HTTP/2 with mutual TLS 1.3 |
schemas/proto/obsp/v1/ |
only common.proto exists so far; make proto compiles it; the current node-agent framing obsp-control/0 stays supported until 0.2 |
| Field data | MQTT 5 with Sparkplug B; connectors for LoRaWAN, OPC UA and vendor buses | specification section 6 | named, with no mapping file in the live tree; the Sparkplug mapping is a draft |
| Exchange | OpenAPI 3.1; OGC API family, SensorThings, STAC, WIS 2.0 | specification section 6 | named, with no mapping file in the live tree; read APIs are gap G-EXCH-1 |
| Evidence | DSSE-signed in-toto statements, SLSA provenance, SCITT receipts | specification section 6 | the signature envelope is a draft (OIP-0008) |
| Telemetry | OpenTelemetry OTLP | specification section 6 |
Crosswalks are a different tool: data that maps schema fields to the terms of one standard. A binding carries objects over a standard; a crosswalk only maps vocabulary.
Bindings proposed in drafts
Every row has status proposed and exists only in the patches of its draft. The editions are as the draft states
them; where a draft marks an edition as not checked, the guide repeats that. Nothing here is accepted.
| Binding id | Carries | Standard and edition (as the draft states) | Functions | Profiles | Draft |
|---|---|---|---|---|---|
sparkplug |
field telemetry through a connector | Sparkplug 3.0.0 (ISO/IEC 20237:2023) over MQTT 5.0 | observe | NODE | OIP-0007 |
cap |
alert notices | OASIS CAP 1.2 (ITU-T X.1303 bis) | exchange | GRID | OIP-0005 |
ogc-api |
products, observations, catalogue | OGC API Features Part 1, EDR, Records Part 1 (editions and document numbers not checked) | exchange | GRID, CONSUMER | OIP-0009 (read endpoints: OIP-0001) |
stac |
product versions as Items and Collections, with an obsp extension |
STAC 1.1.0 | exchange | GRID, CONSUMER | OIP-0009 |
wis2 |
publication of observations and products | WMO-No. 1061 Volume II, WIS2 Notification Message (edition in force not checked) | exchange | GRID, CONSUMER | OIP-0009 |
lorawan |
field telemetry from uplinks delivered by a network server | LoRaWAN L2 1.0.4; LoRaWAN 1.1 | observe | NODE | OIP-0019 |
opcua |
field telemetry from PubSub and client reads | IEC 62541 parts 3, 4, 6, 8, 14 (2020 or later) | observe | NODE | OIP-0019 |
nmea |
field telemetry from sentences | NMEA 0183 4.11 (IEC 61162-1:2016) | observe | NODE | OIP-0019 |
sdi12 |
field telemetry from a datalogger | SDI-12 1.4 | observe | NODE | OIP-0019 |
wis2-ingest |
observations from BUFR messages announced by WIS 2.0 notifications | WMO BUFR edition 4 (WMO-No. 306), WIGOS station identifier (WMO-No. 1160), WIS2 Notification Message (editions as published, not checked) | observe | NODE | OIP-0019 |
The draft OIP-0007 also defines the universal connector contract that the
field bindings share: a connector maps an external source to observation records and never guesses what a source does
not say (an unmapped metric is not invented, a null is not zero, a gap is recorded, a quality is not assumed good).
OIP-0004 (federation bindings) names a protocol object, not a standard binding,
and is not in this list. Domain packs list the bindings that fit each domain in profiles/domains/<domain>/pack.yaml
(some of those ids are proposed by drafts).
How to choose
- Start from the function and the profile, not the standard. A node that reads instruments picks a field binding
(
observe, NODE). A grid or a consumer picks an exchange binding (exchange). Nothing in a binding changes which functions your profile covers. - Pick what your source or your counterpart already speaks. An instrument bus decides the field binding; the audience decides the exchange binding (weather services read WIS 2.0, EO catalogues read STAC, GIS tools read OGC API, alerting chains read CAP). Several bindings may run side by side; each is a separate view of the same objects.
- Prefer the live contracts for the participant API. Use the OpenAPI gateway for registration, claims and registers, whatever else you add.
- Check the status. A binding with status
proposedcan change before acceptance. Build it behind your own adapter, keep the mapping table beside your code, and plan to re-run its checks when the draft changes. - Check the edition. A binding targets a published edition only. If your counterpart speaks a draft or a different edition of the standard, say so in your claim’s scope; do not claim the binding.
- Mind neutrality and claims. Say “carries objects over X” or “maps to X”, never “compliant with X” or “certified for X”. Do not name a vendor product in a binding.
How to implement one
A binding folder (bindings/<id>/) holds PROFILE.md (scope, requirement ids BND-<ID>-NN, the mapping table, what is
out of scope, open questions), binding.yaml (the manifest), positive and negative examples (at least two each) and the
artefact in the standard’s own syntax. To implement one that has landed, or one a draft proposes (apply the draft’s
patches to a throwaway copy first; the draft’s README.md lists them in order):
- Read
PROFILE.mdend to end, especially the unmapped fields and the open questions. - Build your adapter from the mapping table: each protocol field is on one side (schema and JSON pointer), the
standard’s term and clause on the other. Where the table says a field is unmapped, keep it in an
extensionsmember or leave it out and say so; never guess. - Feed the positive examples through your adapter and compare; feed the negative ones and check each is refused for its stated reason (the file name says which).
- Validate every protocol object you produce with
obsp validate <file> --schema <name>and compute reference digests withobsp digest. - Run the conformance case that covers each
BND-requirement; a requirement without a case is listed as a gap ofregisters/functions.yaml. Then run the profile’s suite on your evidence as in the conformance guide. - Record in your claim’s
scopewhich binding and which edition you carried, and the evidence digests.
Checks you can run today: make openapi (gateway document), make proto (needs protoc), python3 tools/validate.py --only bindings once a binding folder exists, and the draft check python3 -m unittest tests.test_validate -k draft_patches, which proves every draft’s patches, bindings included, still apply to the live tree.
Common errors
| What you see | Cause | Fix |
|---|---|---|
binding.yaml rejected: the standard is a draft edition |
a binding targets published editions only | track the draft in an open question; bind the published edition |
PROFILE.md requirement id not matching BND-<ID>-NN |
id built from the folder name with hyphens | capitals, hyphens removed: ogc-api gives BND-OGCAPI-01 |
| a binding requirement with no case | every requirement needs a case or a gap row | add the case, or register the gap |
a mapped value is 0 where the source said nothing |
a missing value mapped to zero | use the typed missing state (P5) |
| duplicate observations after a restart | no idempotency key on the connector’s output | derive the key from source identity and time, and absorb duplicates |
OBS-CONTRACT-0001 from a gateway |
the adapter produced an object that fails its schema | validate before sending |