{
  "id": "cn_postcode",
  "kind": "pattern",
  "status": "draft",
  "name": "Chinese postal code (邮政编码)",
  "doc": "Postal code in mainland China: six digits; the first two identify the province-level division.",
  "semantic_type": "postindex",
  "is_pii": true,
  "categories": [
    "geo",
    "pii",
    "common"
  ],
  "country": [
    "CN"
  ],
  "langs": [
    "zh"
  ],
  "classification": "categorical",
  "regexp": "^\\d{6}$",
  "examples": [
    {
      "value": "100000",
      "description": "Beijing",
      "valid": true
    },
    {
      "value": "200000",
      "description": "Shanghai",
      "valid": true
    },
    {
      "value": "12345",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Postal_codes_in_China"
    }
  ],
  "translations": {
    "zh": {
      "name": "邮政编码"
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/CN/geo/cn_postcode.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/CN/geo/cn_postcode.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/CN/geo/cn_postcode.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/cn_postcode",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/cn_postcode.json"
  }
}