OBS 0.9.6 · draft
OBS Agent Interoperability 0.9, public draft
Status: public draft for comment (0.9), 30 November 2026. Part of the Open Beauty Standard (OBS) 0.9. The schemas are
in schema/ (OBS Schema); the reference implementation is reference/obs_reference.py; the self-check is
conformance/. Examples use invented providers.
MCP standardises how AI assistants talk to tools. OBS proposes a shared language for what those tools say when they search for beauty services: an assistant could send one structured query to several providers and compare their answers with the same meaning. OBS doesn't depend on MCP; the same contract works over an ordinary HTTP API, in structured web data or in a batch export. Adoption is voluntary: no platform has adopted it, and no AI platform requires it.
1. Tolerant by design
The contract is relaxed on purpose, so that old and new software keep talking as OBS grows:
- Ignore what you don't know. A field, facet, value or relation a receiver doesn't recognise is skipped, never refused, in requests and in responses. New releases only add; nothing is renamed or removed.
- Versions are labels, not gates.
obs_versionis optional. A server answers any version as best it can and says which version it speaks; a client reads any response the same way. - Degrade, don't fail. A retired code answers as its replacement; a code the server doesn't know answers
as its nearest known parent (
01.04.99as01.04); an unknown facet value is ignored. Each is said innotes. The only error is a request with no usableservice_code. - One firm rule: a code never changes meaning. That is what makes everything else safe to relax.
2. Search request
search-request.schema.json. Only service_code is required.
{"obs_version": "0.9", "service_code": "01.04.06", "expand": "nearby",
"facets": {"extent": "partial", "length": "long"},
"location": {"query": "New York, NY, US"},
"price": {"max": 250, "currency": "USD", "basis": "fixed"}}
expand: how far around the asked service to look.exact;narrower(and what's under it);nearby, the default (also the level above and the same family);category(anything in the category).facets: the variant asked for. A facet not asked for is not a filter: a search for haircuts returns men's, women's and kids' cuts alike; an agent that wants adults' cuts asksaudience: any.location: passed to the provider, which decides distance; OBS doesn't define geography.price:maxincurrency(ISO 4217; no conversion is implied), onbasis(defaultfixed). A price limit is one visit's price unless the request asks for another kind of line (line: package).include_uncertain(default true) andpage(size, an opaquecursor). 0.9.0'sinclude_descendantsstill works (true reads asexpand: narrower, false asexact).
3. Results: related services, labelled
A menu is a sample of what someone does, not the full list. A salon that lists Color correction but not Vivid color may well do vivid color, and what it does list is evidence. So a search returns the asked service and the services around it, each labelled with how it relates; the client decides what to show.
relation |
The offered service, compared with the one asked for | Asked: Vivid color 01.04.11 |
|---|---|---|
exact |
the same concept | Vivid color |
narrower |
a kind of it | (a technique under it) |
broader |
the level above it: a general line that may cover it | a "Hair color" line, 01.04 |
sibling |
the same family | Color correction 01.04.12, Balayage 01.04.06 |
same_category |
elsewhere in the same category | Haircut 01.01 |
Relations come from the registry, never from the digits. A sibling is never presented as the asked service:
the label says what it is. A client that doesn't know a relation value reads it as same_category.
Each result also has a fit for the asked variant and price:
full: every asked facet the concept has is stated and met, and the price is on the asked basis withinmax;partial: something isn't known (a facet the line doesn't state, a starting price), or, for a related service, differs (extent: full, not partial).match_notessay which.
For the asked service itself (exact, narrower), a facet that contradicts the request removes the offering:
a full short-hair balayage is not the partial long one asked for. For related services it only lowers the
fit. A price over max, in another currency, or not one visit's price removes any offering.
Results are ordered by relation (exact, narrower and broader, sibling, same category), then fit, then price.
match_status (0.9.0's exact, descendant, uncertain, plus related) is kept for older clients.
4. Response
search-response.schema.json: obs_version, registry_release, answered_as (the code the search used),
expand, results, notes, unsupported_facets, next_cursor, availability; or error.
{"obs_version": "0.9", "registry_release": "0.9.1", "answered_as": "01.04.11", "expand": "nearby",
"results": [{"provider_id": "juniper-row.example", "offering_id": "j7", "original_label": "Color Correction",
"service_code": "01.04.12", "relation": "sibling", "fit": "full",
"match_notes": ["sibling: Color correction (01.04.12), not Vivid color (01.04.11)"],
"price": {"amount": 300, "currency": "USD", "basis": "from"},
"evidence": [{"source_type": "provider_menu", "scope": "business",
"source_url": "https://juniper-row.example/menu", "observed_at": "2026-11-30"}]}],
"notes": [], "unsupported_facets": [], "next_cursor": null, "availability": "not_included"}
An offering is what a menu says, not an open appointment ("availability": "not_included"); live
availability, booking and payment are separate. Providers keep their own ids; evidence (source, date, business
or a named professional) lets a client merge and deduplicate, and judge freshness. Capabilities
(capabilities.schema.json) say which OBS Core release and extensions a server implements, the facets and
currencies it supports, and whether it has live availability.
5. MCP binding (optional)
schema/mcp-tools.json defines two tools with self-contained JSON Schemas, for MCP revisions that support
outputSchema and structuredContent (2025-06-18 or later):
obs_search_services:inputSchemais the search request,outputSchemathe search response; the result goes instructuredContent(and, for older clients, as JSON text). Read-only.obs_capabilities: no input; returns the capabilities.
A server offering the binding can check it with conformance/run.py --mcp. The binding adds nothing to the
semantics: the same request gives the same answer over HTTP.
REVELLE's own MCP server (/mcp, REVELLE's tools) doesn't offer these tools yet; it is planned.