{
  "id": "nl_municipality_code",
  "name": "Dutch municipality code (CBS)",
  "status": "stable",
  "doc": "Four-digit code of a Dutch municipality assigned by Statistics Netherlands (CBS), often written with the prefix GM, as in GM0363 for Amsterdam. CBS never reuses a whole code; a municipality created by a merger or renamed gets a new code that starts with 1, which may repeat the last three digits of an abolished municipality (1892 Zuidplas, from 0892). The code is the first four digits of the CBS district (nl_wijk_code) and neighbourhood (nl_buurt_code) codes; BAG identifiers (nl_bag_id) start with the code of the municipality that assigned them.",
  "semantic_type": "nl_municipality",
  "country": [
    {
      "id": "NL",
      "name": "Netherlands"
    }
  ],
  "regexp": "^(?:GM)?\\d{4}$",
  "examples": [
    {
      "value": "GM0363",
      "description": "Amsterdam"
    },
    {
      "value": "0599",
      "description": "Rotterdam"
    },
    {
      "value": "0518",
      "description": "'s-Gravenhage (The Hague)"
    },
    {
      "value": "GM0344",
      "description": "Utrecht"
    },
    {
      "value": "363",
      "valid": false,
      "description": "Leading zero dropped"
    },
    {
      "value": "WK036300",
      "valid": false,
      "description": "A district code, not a municipality code"
    }
  ],
  "mappings": {
    "wikidata": "P382",
    "fta": "STATE_PROVINCE.MUNICIPALITY_CODE_NL"
  },
  "links": [
    {
      "type": "doc",
      "url": "https://www.cbs.nl/nl-nl/dossier/nederland-regionaal/informatie-voor-gemeenten/codering-gebieden"
    },
    {
      "type": "doc",
      "url": "https://www.cbs.nl/nl-nl/onze-diensten/methoden/classificaties/overig/gemeentelijke-indelingen-per-jaar/indeling-per-jaar/gemeentelijke-indeling-op-1-januari-2026"
    },
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Municipalities_of_the_Netherlands"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P382"
    },
    {
      "type": "other",
      "url": "https://github.com/tsegall/fta/blob/main/SemanticTypes.md"
    }
  ],
  "translations": {
    "nl": {
      "name": "Gemeentecode (CBS)",
      "doc": "Viercijferige code van een gemeente van het CBS, vaak met het voorvoegsel GM, zoals GM0363 voor Amsterdam."
    },
    "ru": {
      "name": "Код муниципалитета Нидерландов (CBS)",
      "doc": "Четырёхзначный код муниципалитета, присвоенный статистическим бюро CBS, часто с префиксом GM, например GM0363 (Амстердам)."
    }
  },
  "type": "pattern",
  "is_pii": false,
  "categories": [
    {
      "id": "geo",
      "name": "Geographic identifiers"
    },
    {
      "id": "government",
      "name": "Government related"
    }
  ],
  "classification": "categorical",
  "wikidata_property": "P382"
}