{
  "id": "za_province_code",
  "kind": "pattern",
  "status": "draft",
  "name": "South African province code",
  "doc": "Code of a South African province from ISO 3166-2:ZA, without the ZA- prefix: EC, FS, GP, KZN, LP, MP, NC, NW or WC. Older data also uses GT for Gauteng, NL for KwaZulu-Natal and NP for Limpopo.",
  "semantic_type": "za_province",
  "is_pii": false,
  "categories": [
    "geo",
    "government"
  ],
  "country": [
    "ZA"
  ],
  "classification": "categorical",
  "regexp": "^(?:EC|FS|GP|KZN|LP|MP|NC|NW|WC)$",
  "examples": [
    {
      "value": "GP",
      "description": "Gauteng",
      "valid": true
    },
    {
      "value": "WC",
      "description": "Western Cape",
      "valid": true
    },
    {
      "value": "KZN",
      "description": "KwaZulu-Natal",
      "valid": true
    },
    {
      "value": "NL",
      "description": "former code of KwaZulu-Natal",
      "valid": false
    }
  ],
  "mappings": {
    "fta": "STATE_PROVINCE.PROVINCE_ZA"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Provinces_of_South_Africa"
    },
    {
      "type": "other",
      "url": "https://github.com/tsegall/fta/blob/main/SemanticTypes.md"
    }
  ],
  "translations": {
    "ru": {
      "name": "Код провинции ЮАР"
    }
  },
  "detected_by": {
    "tools": [
      "fta"
    ]
  },
  "quality": {
    "score": 100,
    "missing": []
  },
  "source": {
    "path": "data/datatypes/ZA/geo/za_province_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/ZA/geo/za_province_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/ZA/geo/za_province_code.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/za_province_code",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/za_province_code.json"
  }
}