{
  "id": "za_small_area_code",
  "kind": "datatype",
  "status": "draft",
  "name": "South African census small area code (SAL)",
  "doc": "Seven-digit code of a small area of the Small Area Layer of Statistics South Africa, the finest geography of the 2011 census, such as 2610024.",
  "is_pii": false,
  "categories": [
    "geo",
    "government"
  ],
  "country": [
    "ZA"
  ],
  "langs": [
    "en"
  ],
  "classification": "identifier",
  "regexp": "^\\d{7}$",
  "examples": [
    {
      "value": "2610024",
      "valid": true
    },
    {
      "value": "2610045",
      "valid": true
    },
    {
      "value": "261002",
      "description": "Six digits",
      "valid": false
    }
  ],
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "zasmallareacodebyname",
        "type": "field",
        "match": "regex",
        "file": "za/za_codes.yaml"
      }
    ]
  },
  "quality": {
    "score": 70,
    "missing": [
      "source link",
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/ZA/geo/za_small_area_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/ZA/geo/za_small_area_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/ZA/geo/za_small_area_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/za_small_area_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/za_small_area_code.json"
  }
}