{
  "id": "de_wz2008",
  "kind": "datatype",
  "status": "draft",
  "name": "German classification of economic activities code (WZ 2008)",
  "doc": "Code of the Klassifikation der Wirtschaftszweige, Ausgabe 2008 (WZ 2008) of the Federal Statistical Office of Germany. The first four digits are those of NACE Rev. 2 (division, group, class); WZ 2008 adds a fifth digit for national subclasses, written after a second dot (46.18.2, 74.10.1). Sections are single letters. Business and employment statistics of German cities give it in columns named WZ 2008 or Wirtschaftszweig.",
  "parent": "eu_nace",
  "is_pii": false,
  "categories": [
    "industry"
  ],
  "country": [
    "DE"
  ],
  "langs": [
    "de"
  ],
  "classification": "categorical",
  "regexp": "^(?:[A-U]|\\d{2}(?:\\.\\d{1,2}(?:\\.\\d)?)?)$",
  "examples": [
    {
      "value": "47.71",
      "description": "a class, the same as in NACE Rev. 2",
      "valid": true
    },
    {
      "value": "46.18.2",
      "description": "a national subclass",
      "valid": true
    },
    {
      "value": "74.10.1",
      "valid": true
    },
    {
      "value": "14",
      "description": "a division",
      "valid": true
    },
    {
      "value": "46.18.25",
      "description": "two digits after the second dot",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.destatis.de/DE/Methoden/Klassifikationen/Gueter-Wirtschaftsklassifikationen/klassifikation-wz-2008.html"
    },
    {
      "type": "wikipedia",
      "url": "https://de.wikipedia.org/wiki/Klassifikation_der_Wirtschaftszweige"
    }
  ],
  "translations": {
    "de": {
      "name": "Klassifikation der Wirtschaftszweige (WZ 2008)"
    },
    "ru": {
      "name": "Код вида экономической деятельности WZ 2008 (Германия)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "dewz2008byname",
        "type": "field",
        "match": "regex",
        "file": "de/de_codes.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/DE/industry/de_wz2008.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/DE/industry/de_wz2008.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/DE/industry/de_wz2008.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/de_wz2008",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/de_wz2008.json"
  }
}