{
  "id": "chuid",
  "kind": "datatype",
  "status": "stable",
  "name": "Swiss UID",
  "doc": "Swiss UID (Unternehmens-Identifikationsnummer) - Swiss business identification number",
  "is_pii": false,
  "categories": [
    "finances"
  ],
  "country": [
    "CH"
  ],
  "langs": [
    "de",
    "fr",
    "it"
  ],
  "classification": "identifier",
  "regexp": "^CHE-?\\d{3}\\.?\\d{3}\\.?\\d{3}(?: ?(?:MWST|TVA|IVA))?$",
  "examples": [
    {
      "value": "CHE-123.456.788",
      "description": "Swiss UID (valid MOD-11 check digit)",
      "valid": true
    },
    {
      "value": "CHE-123.456.788 TVA",
      "description": "Swiss UID used as VAT number",
      "valid": true
    }
  ],
  "mappings": {
    "orgid": [
      "CH-FDJP",
      "CH_BS-CR"
    ],
    "stdnum": [
      "ch.uid",
      "ch.vat"
    ],
    "wikidata": "P4829"
  },
  "links": [
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P4829"
    }
  ],
  "detected_by": {
    "tools": [
      "dataprep",
      "metacrafter",
      "pythonstdnum"
    ],
    "metacrafter_rules": [
      {
        "rule": "chuidfield",
        "type": "field",
        "match": "text",
        "file": "ch/ch_finances.yaml"
      },
      {
        "rule": "chuidvalue",
        "type": "data",
        "match": "ppr",
        "file": "ch/ch_finances.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "negative example",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/CH/finances/chuid.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/CH/finances/chuid.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/CH/finances/chuid.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/chuid",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/chuid.json"
  }
}