{
  "id": "gb_addressbase_classification",
  "kind": "datatype",
  "status": "draft",
  "name": "AddressBase classification code",
  "doc": "Code of the use of an addressable object (BLPU) in the AddressBase classification scheme of Ordnance Survey and GeoPlace: a letter for the primary class (R residential, C commercial, P parent shell), a second letter (RD dwelling), two digits (RD02 detached house) and, for some codes, two more characters. Local gazetteers give it in BLPU_CLASS or CLASSIFICATION_CODE.",
  "is_pii": false,
  "categories": [
    "realestate",
    "geo"
  ],
  "country": [
    "GB"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^[CLMOPRUXZ](?:[A-Z](?:\\d{2}(?:[A-Z0-9]{2})?)?)?$",
  "examples": [
    {
      "value": "RD02",
      "description": "Detached house",
      "valid": true
    },
    {
      "value": "RI01",
      "description": "Care home",
      "valid": true
    },
    {
      "value": "PP",
      "description": "Property shell",
      "valid": true
    },
    {
      "value": "CR08",
      "valid": true
    },
    {
      "value": "12AB",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://docs.os.uk/os-downloads/addressing-and-location/addressbase-fundamentals/classification-scheme"
    }
  ],
  "translations": {
    "ru": {
      "name": "Код классификации AddressBase"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "gbaddressbaseclassbyname",
        "type": "field",
        "match": "regex",
        "file": "gb/gb_b14.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/GB/realestate/gb_addressbase_classification.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/GB/realestate/gb_addressbase_classification.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/GB/realestate/gb_addressbase_classification.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/gb_addressbase_classification",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/gb_addressbase_classification.json"
  }
}