{
  "id": "ch_noga",
  "kind": "datatype",
  "status": "draft",
  "name": "Swiss NOGA code (classification of economic activities)",
  "doc": "Code of NOGA (Nomenclature générale des activités économiques), the classification of economic activities of the Swiss Federal Statistical Office. NOGA 2008 follows NACE Rev. 2 down to the four-digit class and adds a Swiss level below it, the type (Art), written as six digits without dots: 794 types in NOGA 2008. A section is one letter from A to U, a division has two digits, a group three and a class four. Business registers and structural statistics carry the six-digit code of the main activity of an enterprise.",
  "is_pii": false,
  "categories": [
    "industry"
  ],
  "country": [
    "CH"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^(?:[A-U]|\\d{2,4}|\\d{6})$",
  "examples": [
    {
      "value": "702200",
      "description": "Type: business and other management consultancy (Unternehmensberatung)",
      "valid": true
    },
    {
      "value": "561001",
      "description": "Type: restaurants, snack bars, tea rooms and ice cream parlours",
      "valid": true
    },
    {
      "value": "46",
      "description": "Division: wholesale trade",
      "valid": true
    },
    {
      "value": "G",
      "description": "Section: trade; repair of motor vehicles",
      "valid": true
    },
    {
      "value": "70220",
      "description": "five digits are not a level of NOGA",
      "valid": false
    },
    {
      "value": "70.22",
      "description": "the dotted NACE form (eu_nace)",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.kubb-tool.bfs.admin.ch/de/noga/2008/702200"
    }
  ],
  "translations": {
    "de": {
      "name": "NOGA-Code (Allgemeine Systematik der Wirtschaftszweige)"
    },
    "fr": {
      "name": "Code NOGA (Nomenclature générale des activités économiques)"
    },
    "ru": {
      "name": "Код NOGA (швейцарская классификация видов экономической деятельности)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "chnogabyname",
        "type": "field",
        "match": "regex",
        "file": "ch/ch_codes.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/CH/industry/ch_noga.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/CH/industry/ch_noga.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/CH/industry/ch_noga.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/ch_noga",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/ch_noga.json"
  }
}