{
  "id": "mx_postcode",
  "kind": "pattern",
  "status": "draft",
  "name": "Mexican postal code",
  "doc": "Postal code (código postal) in Mexico: five digits. The first two digits identify the state; codes of Mexico City start with 01 to 16.",
  "semantic_type": "postindex",
  "is_pii": true,
  "categories": [
    "geo",
    "pii",
    "common"
  ],
  "country": [
    "MX"
  ],
  "langs": [
    "es"
  ],
  "classification": "categorical",
  "regexp": "^\\d{5}$",
  "examples": [
    {
      "value": "06000",
      "description": "Centro, Mexico City",
      "valid": true
    },
    {
      "value": "44100",
      "description": "Guadalajara",
      "valid": true
    },
    {
      "value": "64000",
      "description": "Monterrey",
      "valid": true
    },
    {
      "value": "6000",
      "valid": false
    }
  ],
  "mappings": {
    "fta": "POSTAL_CODE.POSTAL_CODE_MX"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Postal_codes_in_Mexico"
    },
    {
      "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/MX/geo/mx_postcode.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/MX/geo/mx_postcode.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/MX/geo/mx_postcode.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/mx_postcode",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/mx_postcode.json"
  }
}