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
Start here: from a clone to a checked evidence set in 30 minutes
On this page
This path needs Python 3.11 or later and, for the verifier page, any static web server (Python’s own is enough). Node.js 20 or later is only needed to run the TypeScript tests. A Rust toolchain is optional. Nothing here contacts a remote service, and nothing here makes a conformance claim: a verdict describes the documents you gave it.
| Minutes | Step |
|---|---|
| 0 to 5 | Install the tooling and check the tree |
| 5 to 10 | Validate and digest one document |
| 10 to 20 | Check evidence sets in the verifier page |
| 20 to 25 | Check the same files on the command line with obsp-verify (optional) |
| 25 to 30 | Run the open suite and read the report |
1. Install and check the tree (5 minutes)
From the repository root:
python3 -m pip install -r requirements.txt
python3 -m pip install -e sdk/python # the obsp package and the obsp command
make check # about a minute and a half; exit status 0 means the tree is sound
make check validates the schemas, registers, fixtures and links, runs every test, runs the open suite on the example
sets and starts the live harness against its own reference responder on 127.0.0.1. Without the install you can still run
every obsp command as PYTHONPATH=sdk/python/src python3 -m obsp ..., which is what the Makefile does.
2. Validate and digest one document (5 minutes)
obsp validate fixtures/positive/time-quality.valid.json
obsp validate fixtures/negative/observation-record.quality-flag-without-test.json # exit status 1, one line per broken rule
obsp digest fixtures/positive/plan.valid.json # sha256:... over the RFC 8785 canonical form
Fixtures in fixtures/positive/ wrap a document as {"_schemaTitle": ..., "document": {...}}; the tools unwrap it. A
document of your own is a bare JSON object, and --schema <name> says which schema applies (obsp validate my.json --schema observation-record). The digest is computed over the canonical bytes, so two files that differ only in white
space or member order have the same digest. Every cross-reference in the protocol ({uni, version, digest}) is built
from this digest.
3. Check evidence sets in the verifier page (10 minutes)
The page runs entirely in your browser and makes no network request. Serve the reference/ folder, because the page
imports the TypeScript SDK by relative path:
cd reference && python3 -m http.server 8000 --bind 127.0.0.1
Open http://127.0.0.1:8000/web/verifier/. Browsers refuse ES modules from file://, so do not open the file directly.
- In Load documents choose the example
evidence-setand select Load example. Five documents (an observation record, its provenance, time quality, quality flag and sensor passport) give the verdictPASS: every schema matches, every identifier is well formed, every digest is well formed and every reference between the loaded documents resolves with a matching digest. The evidence graph shows the references. - Load the example
tampered. It has one edited record and one re-digested signature, and givesFAILfor two different reasons: the reference check names the record whose digest no longer matches, and the signature check reportsOBS-SIG-0005(the signature does not verify). Read both lines to see what each check proves. - Load
signed-notices. The two signature checks pass because the key records travel in the same set; remove the key records and the result becomesINCONCLUSIVE, neverPASS. Signatures are the envelope of the draft OIP-0008; the page labels results that rest on it as draft. - Check files of your own. Make a folder from five repository fixtures and drop it on the page (or choose the folder):
mkdir evidence
for n in observation-record provenance time-quality quality-flag sensor-passport; do cp fixtures/positive/$n.valid.json evidence/; done
The verdict is PASS. Some reference checks say INCONCLUSIVE: those references name documents that are not in the
folder, and the page never treats a document it cannot see as passing. Now add
fixtures/negative/observation-record.quality-flag-without-test.json to the folder and load it again. The verdict
becomes FAIL and the schema check names the missing testCode and testVersion.
How to read a verdict:
| Verdict | Meaning |
|---|---|
PASS |
no check failed and every check on the loaded documents could be completed |
FAIL |
at least one check failed; the failing check names the document and the member |
INCONCLUSIVE |
a check could not be completed (a key that is not loaded, an algorithm the browser cannot compute, a document that does not match any schema) |
The same checks run without a browser in make ts (reference/web/verifier/tests/verify.test.mjs).
4. The same check on the command line (5 minutes, optional)
obsp-verify is the Rust reference of the page’s checks (reference/rust/obsp-verify). It reads a directory or files and
exits 0 for PASS, 1 for FAIL or INCONCLUSIVE, 2 for a usage error:
cd reference/rust
cargo run -p obsp-verify -- ../../evidence # a human summary
cargo run -p obsp-verify -- --json report.json --web-compatible ../../evidence
--web-compatible turns off the one check the page does not make (a signed document whose schema has a planned
signature member), so the two give the same result on the same files. A report from either tool is a description of
documents, not a conformance claim. make rust runs the Rust tests when a toolchain is present and skips them when it is not.
5. Run the open suite and read the report (5 minutes)
obsp conformance run --profile OBSP-NODE --evidence conformance/examples/OBSP-NODE --out report.json
Each line is a case of conformance/cases/OBSP-NODE/, with PASS, FAIL or MANUAL and the requirement it covers
(OBSP-NODE:join, OBSP-NODE:observe, and so on). The last line is the profile result with the requirements covered.
report.json is a conformance-report. Two points to take from the
run:
- The suite checks documents against schemas and a small set of cross-document rules. It does not run your product.
The example set passes the suite and still gives
FAILin the verifier, because it names its cross-references with placeholder digests. The suite and the verifier answer different questions; use both on your own evidence. - A run on
conformance/examples/negative/OBSP-NODEfails (exit status 1): that set omits a time-quality document and names a sensor passport it does not hold. It shows what aFAILline looks like.
Where next
| You build | Guide |
|---|---|
| Firmware or an agent on a device | NODE |
| A site controller | SITE |
| A grid or cluster control plane | GRID |
| A supplied product or service | PROVIDER |
| An application | CONSUMER |
| A deployment the operator runs without the publisher | SOV |
| How to carry the objects over an existing standard | Bindings |
| Testing and claiming | Conformance guide |
Profiles proposed in draft proposals have their own guides, each labelled as a draft: MODEL-OBSERVER, MOBILE, CONSTELLATION, NETWORK-SENSING and COMMUNITY.