OBS 0.9.6 · draft
OBS Conformance 0.9, public draft
Status: public draft for comment (0.9), 30 November 2026. A self-check, not a gate: the runner
(conformance/run.py, invented fixtures) tells an implementation what it supports and where it differs from
OBS, so it can say so plainly. Supporting level 1 alone, attaching codes to services, is already useful. There
is no certification and no "OBS certified" mark; a future mark would need a published policy and trademark
clearance first.
What it reports
Four levels, each building on the one below; implement as far as is useful. Identifiers: obs-0.9-l1 ... obs-0.9-l4. Levels apply per
module: an implementation of OBS Core and the Aesthetics extension declares both
({"obs_core": "0.9.0", "extensions": {"aesthetics": "0.1.0"}}) and passes each one's tests at the level it
claims. A platform that doesn't declare an extension is never tested on its codes.
| Level | Name | An implementation MUST |
|---|---|---|
| 1 | Identification | use only active codes from the registry release it names, as strings; give concept addresses as /concepts/{code}; treat parent and child by the registry's relationships |
| 2 | Structured services | Level 1, and: exchange offerings valid against offering.schema.json; state only OBS facet values; leave a facet it doesn't know out (unstated), never guessed; keep provider extensions namespaced, unique per namespace and under an active code |
| 3 | Evidence and pricing | Level 2, and: give every offering its evidence (source, date, business or named professional); give every price its currency and basis; give a price group only where the comparison rule (spec 7) allows one, and the right one; give an unclassified or out-of-scope line no code and no price group |
| 4 | Agent interoperability | Level 3, and: accept search requests and return responses valid against the schemas, with the matching of the agent specification (exact, descendant, uncertain, not returned), errors and versions; the MCP binding where claimed |
SHOULD: state a facet only for a concept that has it (spec 6); the runner reports these as warnings.
The levels are cumulative but light for first-party data: a booking platform publishing its own services
meets Level 3's evidence with one entry per offering (source_type: provider_api, scope: business, the
date), not REVELLE-style evidence gathering. Provider extensions are never required at any level: a
provider's own ids (provider_id, offering_id) are enough.
Readers (optional). An implementation that reads menu text passes the classification fixtures
(fixtures/classification.yaml, run.py --reader): the readings must agree, by whatever method. One that
maps its services by hand doesn't need a reader at all.
The tests (run.py)
| Test | Level | Passes when |
|---|---|---|
L1-registry |
1 | the registry follows section 3.1 and no released code has changed or gone |
L1-rejects-* |
1 | the registry check rejects: a duplicate code, 00, 1.4, 001, a fourth level, a number, a released code reassigned or dropped |
L1-code-active, L1-concept-uri |
1 | every code in the offerings is active; every address matches its code |
L2-schema, L2-extension-base, L2-extension-unique |
2 | offerings valid; extensions under an active code; one offering per (namespace, code, local code) |
L3-abstain, L3-price-group, L3-evidence |
3 | abstentions carry no code or group; every price group is the rule's; a professional's claim names the professional |
L*-rejects-* |
1-3 | each check rejects its negative fixture (a code not in the registry, a wrong address, a facet value OBS doesn't have, an extension without an https namespace or with three digits, two offerings on one extension, no evidence, a package with a price group, a price without a basis, an unclassified line with a code) |
R-* |
with --reader |
each classification fixture read as expected: Brazilian Blowout is smoothing, never a wax; Chin under Waxing is a chin wax; a combination is two concepts; an unknown line is unknown |
L4-search-* |
4 | each case in fixtures/search.yaml gives the expected offerings with their relation (and fit), the expected notes, or, for a request with no usable code, an error; tolerance cases check that unknown codes, versions, facets and fields are answered, not refused |
L4-mcp-binding |
4 (--mcp) |
the tool definitions are valid and a response validates against obs_search_services' output schema |
A compatibility statement
An implementation that passes publishes its report (run.py --report) with: the implementation and its
version, the profile, the OBS and registry release tested, the date, and the scope (which data, which
endpoint). It may then say, for example, "Self-tested against OBS 0.9 Level 3, registry 0.9.0, on
2026-12-15." It must not say "certified" or imply REVELLE's or anyone's endorsement.
Continuous integration
scripts/codes.py check runs on every change: no released code may change meaning or disappear. The
conformance run with the reference implementation runs too; a change that breaks a fixture is a change in
behaviour and goes in the release notes.
The reference implementation's self-test
OBS reference implementation, profile obs-0.9-l4, registry 0.9.0, run 2026-11-30: pass, 67 tests, 0 failed, 0 warnings. A self-test, not a certification. The report.