Lowering the Adoption Barrier: Could Data Dictionaries and Decoupled Mapping Layers Encourage Adoption?

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:

  1. Significant engineering and manpower costs to build and maintain a custom transformation pipeline.

  2. Semantic loss or awkward distortion of regulatory concepts into generic directory entities.

  3. 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:

    1. 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.

    2. 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

  1. What are your experiences working with domain-specific datasets that do not natural map to HSDS?

  2. 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?

  3. 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!

1 Like

Thanks for thinking this through, @jeff_cumpsty, good thoughts, a few quick responses:

First of all, your proposed approach seems it could be a fine implementation tactic in a context where one actor has the capacity to transform and aggregate data from other players who don’t. We’ve seen that kind of approach before. I don’t know that I would say that our primary model “assumes” otherwise, although you should feel free to help me understand better what you mean there.

I think it would make sense to offer guidance and even templated artifacts to support publication of data dictionaries. We saw the start of that here in the proposed template for “data guides,” although in that context it does assume the guide is referring to HSDS data. Perhaps the glossary component could be modularized. Can you comment on the difference between what you have in mind and what’s there in the data guide?

Finally, while I might assume it would be possible for a public education department to publish data in HSDS format, I would also assume it would be difficult especially if it’s just data about educational programming. It sounds like a different domain that presumably would be associated with different models and specs! Can you provide more details about the kinds of services that OFSTED was trying to publish, and what kinds of challenges they had?

2 Likes

Thanks for the response, Greg (@bloom). You’ve hit on the core questions.

OFSTED was the model I worked with when mapping source data to HSDS on the ORUK project. The schema didn’t map cleanly, which resulted in data being pushed into generic attributes and taxonomies for lack of a more natural fit.

That experience got me thinking about how we can reduce the integration burden on upstream providers to drive wider adoption. We frequently hear about resistance across local authorities and statutory bodies. Much of that resistance comes down to the initial cost of custom mapping and the perpetual maintenance overhead whenever internal schemas shift—unless an organization is willing and able to rewrite its internal storage layer around HSDS.

To clarify where my proposal fits alongside the Data Guide work, and to address the “primary model” and OFSTED questions:

1. Data Guides vs. Machine-Readable Data Dictionaries

The Data Guide template is a great step forward for human governance and provenance—clarifying data stewardship, licensing, and redaction processes.

What I am proposing is fundamentally different: a machine-readable semantic contract (such as frontmatter YAML or an extended JSON Schema accompanying the endpoint) built primarily for automated tooling, MCP servers, and LLM/SLM ingestion pipelines.

  • Data Guide (Human Context): Informs an analyst about who produces the feed, contact points, and the high-level policy context.

  • Machine-Readable Data Dictionary (Execution Contract): Gives an automated parser or local model the deterministic types, semantic boundaries, and enum definitions needed to transform an upstream schema into HSDS without human guesswork—while remaining legible to human developers.

This stems directly from the challenge of semantic validation. An LLM or an MCP server ingesting a feed cannot perform reliable semantic validation or automated schema mapping from a narrative web page or a PDF. It needs field-level metadata that explicitly defines what a value is and is not (e.g., distinguishing a statutory inspection grade from a generic review rating, allowed ranges, and co-occurrence constraints).

If a provider only partially complies with HSDS or exposes a native schema, an automated agent pairing the raw payload with this dictionary can execute the transformation downstream with high fidelity.

2. What I Mean by the “Primary Model” Assumption

Across the current tooling ecosystem (validators, test suites, and reference implementations), the implicit assumption has largely been: “The upstream publisher will remodel their system to emit native HSDS/ORUK.”

In practice, local authorities and statutory bodies rarely have the budget or engineering capacity to build and maintain bespoke HSDS translation layers. If we instead position a publisher’s core responsibility as providing a clean, validated OpenAPI endpoint alongside a machine-readable data dictionary, we dramatically lower the barrier to entry. Downstream community pipelines, adapters, or AI-assisted ingestion layers can then handle the heavy lifting of projecting into HSDS.

Decoupling the transformation layer this way also allows downstream aggregators to handle indexing, faceted filtering, and streaming/caching off the critical path, rather than expecting heterogeneous upstream systems to support complex querying.

3. The OFSTED Context: Why This Is Core Community Service Data

In this context, OFSTED is not primarily about curriculum data or academic school programming.

In the UK, OFSTED is the statutory regulator for all Early Years and Childcare provision (childminders, nurseries, crèches, and after-school clubs). UK local authorities have a statutory duty to maintain a Family Information Service (FIS) directory directing parents to childcare, and healthcare or social prescribing teams routinely signpost families to these services. It is foundational community service data.

The mapping friction:

  • OFSTED’s operational data is built around statutory registers (the Early Years Register vs. the General Childcare Register), Unique Reference Numbers (URNs), conditions of registration, and formal inspection judgments.

  • Forcing this into canonical HSDS entities (service, organization, location, eligibility) requires flattening regulatory nuances or stuffing vital statutory grades into unstructured tags or generic fields.

  • Because OFSTED’s systems are purpose-built for regulation, expecting them to rebuild their public exports into canonical HSDS creates an immediate barrier to entry.

If an organization like OFSTED can expose its native format paired with a machine-readable data contract, downstream tools and local authorities can ingest and project that data into HSDS directories without requiring the regulator to re-architect its data model.

I would love to see the glossary and metadata aspects of the Data Guide modularized so that automated agents and developer tooling can consume them as easily as humans.

I understand your distinction re #1 and I think that’s worth exploring as a prospective complement to HSDS/A (though I’m not sure it sounds like something that should be a requirement as opposed to a best practice for which we can provide guidance).

re #2 again I think in some instances that framing could make tactical sense. Which is not to say it should be our primary strategy for all publishers. Perhaps OFSTED in #3 is a good example of what I mean.

(First off it would be helpful to understand the nature of the “statutory duty” re a FIS directory – can you point to specific text to that effect, in order to get more specific?)

In what sounds like similar contexts with other regulatory bodies, I’ve always encouraged people working at (or engaging with) such agencies to NOT assume that most or maybe even all of their operational data is sufficient to produce standardized directory outputs. Because the data they collect is determined more by regulatory and administrative processes than it is by users’ needs, and it may not be possible to get the latter out of stuff produced by the former. The data assets that are produced through contracting, inspection, etc can be valuable inputs to a process that produces directory data outputs – such as URNs as you mention – and incorporating such elements could significantly expand the potential value of a directory dataset, especially for certain governmental purposes like reporting and evaluation; however, at the same time, those elements may not even be strictly necessary in order to produce a directory that is useful to downstream users.

What I’m saying is that if anyone had asked me about the prospect of OFSTED data assets being converted into HSDS, I would have told them that unless those data assets were produced for the purpose of directory information, I would not assume such an effort would succeed. Because the data that bureaucracy wants is not actually the data that users need. It sounds like my hunch may have been right.

Of course in this circumstance, I still think I agree with you on one level – the best thing for OFSTED to do with its existing data assets would be publish them with a data dictionary, not to try to force it immediately into HSDS. And the next thing to do would be to establish the human resources and processes (internally or via contracted information intermediary) to leverage those incomplete data assets as one input in a broader process of resource directory data production. My point is this process is not (just) about transforming data, but rather producing knowledge – collecting the information that users need but which is probably not collected in a usable form by the regulatory agency in the first place. We’re agreed on the need for intermediation, it’s just that the technical intermediation you’re describing here is a secondary or even tertiary concern.

1 Like

Thanks, Greg (@bloom), that makes total sense.

You’ve clarified a few questionable points in my own limited understanding.

You’re spot on that regulatory administrative data often only forms one piece of the puzzle and isn’t designed as a direct-to-user directory product on its own. (On the FIS statutory duty question, that stems from Section 12 of the Childcare Act 2006, which places a duty on English local authorities to provide information, advice, and assistance to parents regarding childcare and related services).

I agree that technical transformation alone doesn’t magically solve information gaps, but having a clear machine-readable contract at least removes the engineering friction when integrating these assets as baseline inputs.

I will try to find some time to put together a concrete mock-up of:

1. A sample machine-readable data dictionary (defining field boundaries, semantics, and constraints for regulatory/operational feeds).

2. A practical ingestion/transformation workflow illustrating how tooling (traditional ETL or modern AI/MCP pipelines) can consume both the raw data and the dictionary to produce the beneficial, compliant directory outputs you described.

I’ll post that here once I have something tangible to share so we can ground the discussion and see if my thoughts are nonsense or can add real benefit to the initiative.