{
  "id": "gb_usrn",
  "kind": "datatype",
  "status": "draft",
  "name": "UK Unique Street Reference Number (USRN)",
  "doc": "Eight-digit number of a street in the street gazetteers of Great Britain: the National Street Gazetteer of England and Wales and the Street Gazetteer of Scotland. Local authorities assign the numbers from ranges allocated to them, so the streets of one authority share the first digits (380 in Stirling).",
  "is_pii": false,
  "categories": [
    "geo",
    "transport"
  ],
  "country": [
    "GB"
  ],
  "langs": [
    "en"
  ],
  "classification": "identifier",
  "regexp": "^\\d{8}$",
  "examples": [
    {
      "value": "47901305",
      "description": "Royal Crescent, Bath; example of Wikipedia",
      "valid": true
    },
    {
      "value": "38002160",
      "description": "A street of Stirling",
      "valid": true
    },
    {
      "value": "122046218",
      "description": "A UPRN, the number of a property",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Unique_Street_Reference_Number"
    },
    {
      "type": "doc",
      "url": "https://www.gov.uk/government/publications/open-standards-for-government/identifying-property-and-street-information"
    }
  ],
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "gbusrnbyname",
        "type": "field",
        "match": "regex",
        "file": "gb/gb_geo.yaml"
      }
    ]
  },
  "quality": {
    "score": 85,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/GB/geo/gb_usrn.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/GB/geo/gb_usrn.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/GB/geo/gb_usrn.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/gb_usrn",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/gb_usrn.json"
  }
}