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: Learn
Start
Guides
Domain packs
Participants
Security and privacy
Pilot kits
Operations
Ecosystem

Guide: OBSP-COMMUNITY (COMMUNITY)

Source docs/guides/community.md

On this page
  1. Who it is for
  2. Functions and objects
  3. Try the draft (step by step)
  4. What the live tree supports, and what only a draft proposes
  5. Self-test and what the result means
  6. Common errors
  7. Open questions the proposal records

Proposed in OIP-0017 (DRAFT). This profile is not part of specification 0.1. Nothing below is in the live tree: the schemas, fixtures, cases, example set and requirement ids exist only in the patches of OIP-0017, which the editors have not accepted. They can change before acceptance. It reads OIP-0006 (observer class PERSON, subject classes, observed-property ids) and OIP-0014 (consent record) by name only, so the patches apply to the live tree on their own. Until the observation record has a field of its own, a record carries its quality tier in the extension member obsp.community.

Who it is for

Citizen-science networks, community monitoring groups, schools, municipalities running low-cost sensor networks, and platforms that collect reports from people (a felt earthquake, a flooded street, rain read from a gauge). The profile lets a reader trust a low-cost value exactly as far as the evidence goes: every value has a quality tier, a calibrated tier needs a co-location record against a reference instrument, a contributor is a pseudonym, and a person’s location is coarse by default.

Functions and objects

Function Specification What the participant does Objects
join (light) 5.1 a contributor is a pseudonym the receiving participant issues, with no device attestation human-report (contributor member)
describe 5.3 names the candidate and the reference instrument by sensor passport version; states the fit and residuals co-location-record (new), sensor-passport (live)
observe 5.5 a human report with coarse location, consent and moderation state; forwarding keeps tier and moderation state human-report (new), observation-record
qualify 5.6 every value carries a tier (REFERENCE, CALIBRATED, INDICATIVE) backed by evidence calibration-record (live), co-location-record

Requirements COM-1 to COM-8 and cases CT-COMMUNITY-001 to -006: pseudonymous contributor (001), co-location record (002), tier evidence (003), human report (004, schema), coarse locations and subject policy (005), forwarding keeps tier and moderation state (006, manual). A tier states the evidence behind a value, never its fitness for a purpose or conformity with a performance scheme.

Try the draft (step by step)

The live tree is never edited by a proposal. Apply the draft’s patches to a throwaway copy of the tree, in the order of the table in the draft’s README.md, from the repository root of your checkout (set up as in start here):

OIPS=$PWD/oips/drafts/OIP-0017/patches
git worktree add --detach ../obsp-oip-0017 HEAD && cd ../obsp-oip-0017
for p in spec registers schemas-fixtures cases-invariants; do git apply "$OIPS/$p.patch"; done
export PYTHONPATH=sdk/python/src
python3 -m obsp validate fixtures/negative/human-report.exact-without-opt-in.json        # exit status 1
python3 -m obsp validate fixtures/negative/co-location-record.ml-fit-without-method.json # exit status 1
python3 -m obsp conformance run --profile OBSP-COMMUNITY --evidence conformance/examples/OBSP-COMMUNITY --out /dev/null
make conformance-community                                                               # the same run, as the Makefile does it

The runs list CT-COMMUNITY-001 to -006 and end OBSP-COMMUNITY: PASS (4/4 requirements) on the draft’s example set: a reference particulate monitor and a low-cost sensor with their passports, the reference’s calibration record, a co-location record, a reference, a calibrated and an indicative value, four human reports and attestations.yaml. Then:

  1. Describe both instruments. Each has a live sensor-passport; the reference also has a calibration-record with a traceability chain and a validity that covers the whole co-location period.
  2. Run a co-location and record it. A co-location-record names the candidate and the reference by passport version, the reference’s calibration record, the site and the separation in metres, the period, the averaging interval, the paired samples and data coverage, the fit (LINEAR, MULTILINEAR, POLYNOMIAL, PIECEWISE_LINEAR, or MACHINE_LEARNING and OTHER with a method record) and the residuals (RMSE, mean bias, R squared, and whether the evaluation was in sample, hold-out or cross-validated), in the property’s unit. It awards CALIBRATED or INDICATIVE, never REFERENCE, and states the window in which the correction applies, which never begins before the co-location period begins. The paired dataset is evidence (co-location-record.missing-evidence.json, ...fit-without-coefficients.json, ...ml-fit-without-method.json, ...missing-residuals.json).
  3. Label every value. CALIBRATED only with a co-location record, referenced by UNI and digest, that awarded CALIBRATED, valid at the observation time, for the same sensor and property. REFERENCE only with a current calibration record of the instrument. Otherwise INDICATIVE, and an indicative value carries no co-location reference. In the draft the record carries {qualityTier, colocationRef} under extensions["obsp.community"].
  4. Issue contributors pseudonyms. A pseud: identifier from the receiving participant, never an e-mail address, telephone number, hardware address or device serial; it has an epoch of at most the declared rotation period and is never reused in another epoch.
  5. Write human reports. A human-report names observer class PERSON, the observed property, exactly one result (a number with a UCUM unit, or a category of a named vocabulary), the phenomenon time, the contributor’s consent record and the moderation state (PENDING, ACCEPTED, FLAGGED, REJECTED, REDACTED; a decided state says when and by which role, a rejection or redaction a reason code). Its tier is always INDICATIVE.
  6. Coarsen locations. The default is COARSENED on a stated grid, at most as fine as 100 metres (about one kilometre recommended); EXACT only with the contributor’s opt-in. A photo is carried by digest only with location metadata removed and an optional content-credentials reference (a placeholder the protocol does not validate yet). A report about persons names its subject policy by absolute URI and never carries an exact location.
  7. Keep markings when you forward. Tier, co-location reference and moderation state stay with the value; a rejected or redacted report travels only as a tombstone. Attest the procedure for CT-COMMUNITY-006.
  8. Run the suite on your evidence (next section).

When you are done, leave the throwaway copy: cd - && git worktree remove --force ../obsp-oip-0017.

What the live tree supports, and what only a draft proposes

Topic Live in 0.1 Only in a draft
sensor-passport, calibration-record (traceability chain, validity), observation-record yes
Observer class PERSON, subject classes, observed-property ids no OIP-0006
Consent record and privacy classes no OIP-0014
co-location-record, human-report, COM-1 to COM-8, the profile, six cases, six invariants (community-tier-evidence, community-colocation-covers, community-colocation-consistent, community-contributor-pseudonymous, community-location-coarsened, community-subject-policy), the conformance-community target no OIP-0017
A qualityTier field on the observation record no open question of OIP-0017 for OIP-0006
Relations to CEN/TS 17660 and the PPSR Core model no not added: neither source has been opened

Self-test and what the result means

python3 -m obsp conformance run --profile OBSP-COMMUNITY --evidence ./evidence --out report.json
python3 -m unittest tests.test_validate -k draft_patches      # in the live tree: the draft's patches still apply
make check                                                    # in the patched copy

Four requirements are covered by six cases (the sixth is manual). The suite checks that tiers are backed by documents and that privacy rules hold in the documents; it does not judge whether a fit is good enough for a purpose. The acceptance criteria a co-location is judged against are referenced, not encoded.

What a SELF_TESTED result means. For a live profile it means the open suite ran on evidence you publish and anyone can reproduce the report (CNF-3); it is never a certification, accreditation or endorsement. For this draft profile it means less: the profile id is not in the conformance-claim enumerations of 0.1, so no claim can name it, and no report, listing or product text may say you conform to it. A run against the patched copy is a rehearsal of the proposed suite on your evidence. If the editors accept the proposal, the same evidence can then support a DECLARED or SELF_TESTED claim under the rules of the conformance guide, with the level bounded by that evidence. A tier never states that a low-cost sensor meets a performance scheme or is fit for regulatory use.

Common errors

What you see Cause Fix
CT-COMMUNITY-001 fails (community-contributor-pseudonymous) a contributor that looks like an e-mail, telephone, hardware address or serial; an epoch longer than the rotation period; one pseudonym used in two epochs issue a fresh pseudonym per epoch
CT-COMMUNITY-002 fails (community-colocation-consistent) candidate equals the reference, a passport or calibration missing from the set, a reference calibration that does not cover the whole period, paired samples that do not fit the period, residuals in another unit fix the record and include the documents
CT-COMMUNITY-003 fails (community-tier-evidence, community-colocation-covers) a CALIBRATED value with no matching co-location record, a window that does not cover the observation, or an INDICATIVE value with a co-location reference label by evidence
CT-COMMUNITY-004 schema errors a report without consent reference, location method, moderation state or subject class; a category without a vocabulary complete the members
CT-COMMUNITY-005 fails (community-location-coarsened, community-subject-policy) a coarsened location off its grid or finer than half a cell; a report about persons without a policy URI or with an exact location snap to the grid; add the policy
CT-COMMUNITY-006 is MANUAL no attestation add the entry to attestations.yaml
coarsened-precision-too-fine, exact-without-opt-in, content-credentials-not-c2pa fixtures in fixtures/negative/human-report.*.json of the patched copy coarsen to 100 metres or more; obtain opt-in; use the C2PA format name

Open questions the proposal records

  • Whether OIP-0006 should give the observation record a qualityTier and a co-location reference, so the tier leaves the extension member.
  • Whether acceptance criteria should be machine-readable thresholds per property, or left to the scheme the operator names; whether separation and extrapolation of a correction should be bounded.
  • Whether the coarsening floor (100 metres) and the single grid scheme are right, and whether the floor should depend on the subject class or population density.
  • How pseudonym rotation should work so a contributor can link their own reports across epochs for reputation or withdrawal of consent, without the receiver being able to.
  • Which edition and assertions of content credentials, and whether a photo without credentials should be allowed at all.
  • Whether a person reading a calibrated instrument (a standard rain gauge) may report CALIBRATED values.