{
  "id": "mt_postcode",
  "kind": "pattern",
  "status": "draft",
  "name": "Malta postal code",
  "doc": "Postal code in Malta: three letters and four digits, optionally separated by a space; codes in the format used before 2007 have two digits.",
  "semantic_type": "postindex",
  "is_pii": true,
  "categories": [
    "geo",
    "pii",
    "common"
  ],
  "country": [
    "MT"
  ],
  "langs": [
    "mt",
    "en"
  ],
  "classification": "categorical",
  "regexp": "^[A-Z]{3} ?\\d{2,4}$",
  "examples": [
    {
      "value": "NXR 01",
      "valid": true
    },
    {
      "value": "ZTN 05",
      "valid": true
    },
    {
      "value": "GPO 01",
      "valid": true
    },
    {
      "value": "BZN 1130",
      "valid": true
    },
    {
      "value": "SPB 6031",
      "valid": true
    },
    {
      "value": "VCT 1753",
      "valid": true
    },
    {
      "value": "NXR 0",
      "description": "too short",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Postal_codes_in_Malta"
    },
    {
      "type": "other",
      "url": "https://chromium-i18n.appspot.com/ssl-address/data/MT"
    }
  ],
  "quality": {
    "score": 75,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/MT/geo/mt_postcode.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/MT/geo/mt_postcode.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/MT/geo/mt_postcode.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/mt_postcode",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/mt_postcode.json"
  }
}