{
  "id": "ph_psgc",
  "kind": "datatype",
  "status": "draft",
  "name": "Philippine Standard Geographic Code (PSGC)",
  "doc": "Code of a region, province, city, municipality or barangay of the Philippines assigned by the Philippine Statistics Authority: nine digits in the older form and ten digits in the current one.",
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "country": [
    "PH"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^(?:\\d{9}|\\d{10})$",
  "examples": [
    {
      "value": "175307000",
      "description": "Busuanga",
      "valid": true
    },
    {
      "value": "129804000",
      "description": "Cotabato City",
      "valid": true
    },
    {
      "value": "071246023",
      "description": "Humayhumay",
      "valid": true
    }
  ],
  "mappings": {
    "wikidata": "P988"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Philippine_Standard_Geographic_Code"
    },
    {
      "type": "doc",
      "url": "https://psa.gov.ph/classification/psgc"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P988"
    }
  ],
  "quality": {
    "score": 80,
    "missing": [
      "negative example",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/PH/geo/ph_psgc.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/PH/geo/ph_psgc.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/PH/geo/ph_psgc.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/ph_psgc",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/ph_psgc.json"
  }
}