{
  "id": "gb_ofsted_urn",
  "kind": "datatype",
  "status": "draft",
  "name": "Ofsted unique reference number (URN)",
  "doc": "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.",
  "is_pii": false,
  "categories": [
    "education",
    "government"
  ],
  "country": [
    "GB"
  ],
  "langs": [
    "en"
  ],
  "classification": "identifier",
  "regexp": "^(?:EY|SC)?\\d{6}$",
  "examples": [
    {
      "value": "EY498378",
      "description": "Early years provider",
      "valid": true
    },
    {
      "value": "317217",
      "description": "Childcare provider",
      "valid": true
    },
    {
      "value": "SC068179",
      "description": "Children's social care setting",
      "valid": true
    },
    {
      "value": "EY49837",
      "description": "Five digits",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Ofsted"
    }
  ],
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "gbofstedurnvalue",
        "type": "data",
        "match": "regex",
        "file": "gb/gb_education.yaml"
      }
    ]
  },
  "quality": {
    "score": 85,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/GB/education/gb_ofsted_urn.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/GB/education/gb_ofsted_urn.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/GB/education/gb_ofsted_urn.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/gb_ofsted_urn",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/gb_ofsted_urn.json"
  }
}