{
  "id": "ch_bfs_bezirk",
  "kind": "datatype",
  "status": "draft",
  "name": "Swiss district number (BFS)",
  "doc": "Number of a district (Bezirk, district, distretto) in the official register of Swiss municipalities of the Federal Statistical Office (BFS/OFS), three or four digits, as in 101 and 110 for districts of the canton of Zürich.",
  "is_pii": false,
  "categories": [
    "geo",
    "government"
  ],
  "country": [
    "CH"
  ],
  "langs": [
    "de",
    "fr",
    "it"
  ],
  "classification": "identifier",
  "regexp": "^\\d{3,4}$",
  "examples": [
    {
      "value": "101",
      "description": "District in the canton of Zürich",
      "valid": true
    },
    {
      "value": "110",
      "description": "District in the canton of Zürich",
      "valid": true
    },
    {
      "value": "12",
      "description": "Two digits",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Districts_of_Switzerland"
    },
    {
      "type": "doc",
      "url": "https://www.agvchapp.bfs.admin.ch/"
    }
  ],
  "translations": {
    "de": {
      "name": "BFS-Bezirksnummer"
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/CH/geo/ch_bfs_bezirk.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/CH/geo/ch_bfs_bezirk.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/CH/geo/ch_bfs_bezirk.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/ch_bfs_bezirk",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/ch_bfs_bezirk.json"
  }
}