{
  "id": "pl_teryt_terc",
  "kind": "datatype",
  "status": "draft",
  "name": "Polish TERYT TERC code",
  "doc": "Code of a Polish voivodeship, county or municipality in the TERC part of the TERYT register of Statistics Poland: two digits per level and, for municipalities, a digit for the municipality type.",
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "country": [
    "PL"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^\\d{2}(?:\\d{2}(?:\\d{3})?)?$",
  "examples": [
    {
      "value": "1428",
      "description": "Sochaczew County",
      "valid": true
    },
    {
      "value": "2004",
      "description": "Grajewo County",
      "valid": true
    },
    {
      "value": "2262011",
      "description": "Gdynia",
      "valid": true
    }
  ],
  "mappings": {
    "wikidata": "P1653"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://pl.wikipedia.org/wiki/TERYT"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P1653"
    }
  ],
  "quality": {
    "score": 80,
    "missing": [
      "negative example",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/PL/geo/pl_teryt_terc.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/PL/geo/pl_teryt_terc.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/PL/geo/pl_teryt_terc.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/pl_teryt_terc",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/pl_teryt_terc.json"
  }
}