{
  "id": "ukpostalcode",
  "kind": "pattern",
  "status": "stable",
  "name": "UK Postal code",
  "doc": "Postal codes used in the United Kingdom, British Overseas Territories and Crown dependencies are known as postcodes (originally, postal codes).",
  "semantic_type": "postindex",
  "is_pii": true,
  "categories": [
    "geo"
  ],
  "country": [
    "GB"
  ],
  "langs": [
    "en"
  ],
  "classification": "categorical",
  "mappings": {
    "autotype": "ukpost",
    "fta": "POSTAL_CODE.POSTAL_CODE_UK",
    "presidio": "UK_POSTCODE"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Postcodes_in_the_United_Kingdom"
    }
  ],
  "detected_by": {
    "tools": [
      "autotype",
      "collibra",
      "fta",
      "ibmknowledgecatalog",
      "metacrafter",
      "presidio",
      "snowflake",
      "talend"
    ],
    "metacrafter_rules": [
      {
        "rule": "ukpostcodefield",
        "type": "field",
        "match": "text",
        "file": "gb/gb_geo.yaml"
      },
      {
        "rule": "ukpostcodevalue",
        "type": "data",
        "match": "ppr",
        "file": "gb/gb_geo.yaml"
      }
    ]
  },
  "quality": {
    "score": 55,
    "missing": [
      "regexp",
      "examples",
      "negative example",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/GB/geo/ukpostalcode.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/GB/geo/ukpostalcode.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/GB/geo/ukpostalcode.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/ukpostalcode",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/ukpostalcode.json"
  }
}