Hi everyone,
I have held onto this thought since I was on the OpenReferralUK project. I know I currently sit (slightly) outside the ecosystem, but during my time on the project I grew quite passionate about this concept of actually doing some good! I didn’t want to step on anyones toes, or (frankly) introduce nd idea that was fundamentally stupid! After attending the Summit last week, I thought I should at least share this thought/opinion (everyone has one! Call it what you like). Here goes…
Is the cost of upstream adoption one of the most persistent bottlenecks in the Open Referral / HSDS ecosystem?
Right now, our primary model assumes that data publishers will bear the entire burden of transforming their internal operational data into canonical HSDS/Open Referral entities before publishing. While a unified standard is essential for directory aggregation and cross-boundary discovery, requiring publishers to perform this mapping natively is potentially a dealbreaker.
The Reality at the Source: The OFSTED Example
I dol not know where the ORUK team has progressed with regards to OFSTED. This example is from when I was on the project, and attempted to map the OFSTED data schema to ORUK. Their operational reality revolves around regulatory frameworks, inspection judgments, and statutory provision types. Forcing that domain model directly into generic service, organization, and location structures didn’t map cleanly.
When an organization like OFSTED evaluates adopting Open Referral, they face:
-
Significant engineering and manpower costs to build and maintain a custom transformation pipeline.
-
Semantic loss or awkward distortion of regulatory concepts into generic directory entities.
-
High ongoing maintenance drag whenever their internal schema updates.
Faced with this, large data owners understandably might deprioritize adoption.
A Decoupled Alternative: Documented Source Feeds + Transformation Layer
Instead of insisting that providers natively emit full HSDS, we could lower the friction to entry:
-
Let providers expose their data in whatever format is native and cheapest for them, provided it is paired with:
-
A strictly validated OpenAPI spec (
openapi.json).
My current 200 file pull request into the ORUK Validator Github repo, ensures through configuration that an endpoint is exposing a specification in json, yaml. or swagger UI, and it is strictly adhered to. -
A human- and machine-readable data dictionary defining technical boundaries, operational context, and domain semantics.
-
-
Push the HSDS mapping into a decoupled mediating layer. Once source feeds are rigorously documented, consumers, community-maintained adapter pipelines, and modern language models (LLMs/SLMs) should be able to handle the transformation into HSDS downstream.
Addressing the Counter-Argument: “Isn’t this just another schema?”
Some might argue that introducing a data dictionary standard is simply falling into the classic XKCD 927 trap (“now we have 15 competing standards”).
I disagree, because a data dictionary is not an interchange schema—it is a semantic contract for source metadata.
-
HSDS is the destination protocol: It defines how directory consumers discover services uniformly across the ecosystem.
-
The data dictionary is the translation guide: It tells both engineers and machine validators what source fields actually mean in the real world (e.g., differentiating an OFSTED statutory rating from a Care Quality Commission finding or a 5-star review score).
Without an explicit, machine-readable data dictionary, downstream ETL pipelines and AI models are forced to guess domain intent, leading to silent mapping errors and drift. With one, we get:
-
Accelerated developer ingestion: Clear expectations without back-and-forth email chains asking what ambiguous column names mean.
-
Reliable semantic validation: Rules that local SLMs and automated linters can evaluate deterministically.
-
Automated mapping: Tooling that can ingest a source feed, consult its dictionary, and emit compliant HSDS without requiring the publisher to rebuild their backend.
Discussion Points for the Community
-
What are your experiences working with domain-specific datasets that do not natural map to HSDS?
-
What is the community’s appetite for shifting the rigid schema model downstream and focusing on standardizing the metadata/contract format/documentation quality for source feeds, rather than solely standardizing the final output?
-
Has anyone looked into anything like this? Or even implemented a data dictionary along side your API?
This idea began when someone mentioned semantic validation, and I started playing with the idea. It started as a way to instruct an AI model what individual fields meant, rather than just define them as string, date, etc. I think it can a lot more, and really help with reducing the barrier to adoption.
I’d welcome thoughts from anyone.
Sorry, if it’s a stupid thought!