---
id: "gb_ofsted_urn"
kind: "datatype"
status: "draft"
is_pii: false
name: "Ofsted unique reference number (URN)"
regexp: "^(?:EY|SC)?\\d{6}$"
categories: ["education", "government"]
country: ["GB"]
langs: ["en"]
quality: 85
url: "https://registry.apicrafter.io/datatype/gb_ofsted_urn"
---

# Ofsted unique reference number (URN) (`gb_ofsted_urn`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Unique reference number of a provider inspected by Ofsted: six digits for schools and many childcare providers, EY and six digits for early years providers registered since 2008, SC and six digits for children's social care settings.

- Personal data (PII): no
- Categories: Education (education), Government related (government)
- Countries: United Kingdom (GB)
- Languages: English (en)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^(?:EY|SC)?\d{6}$
```

## Examples

- `EY498378` — Early years provider
- `317217` — Childcare provider
- `SC068179` — Children's social care setting
- `EY49837` (invalid example) — Five digits

## Metacrafter rules

1 rules: 0 match the field name, 1 match values.

- `gbofstedurnvalue` (data, `gb/gb_education.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Ofsted>

## Quality

Score 85/100. Missing: mapping (Wikidata, Schema.org, ...), translation.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/gb_ofsted_urn.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/GB/education/gb_ofsted_urn.yaml>
