{
  "id": "at_bundesland_code",
  "kind": "datatype",
  "status": "draft",
  "name": "Austrian state code (1-9)",
  "doc": "One-digit code of an Austrian state used by Statistics Austria and in the Austrian open data files (BundeslandID, BL, BDL), the states in alphabetical order of their German names, 1 Burgenland, 2 Kärnten, 3 Niederösterreich, 4 Oberösterreich, 5 Salzburg, 6 Steiermark, 7 Tirol, 8 Vorarlberg, 9 Wien. It is the first digit of the municipality code (at_gkz), of the political district code (at_bezirkskennziffer) and of the school code (at_schulkennzahl), and the subdivision part of the ISO 3166-2 codes AT-1 to AT-9. Some files add 10 for Austria as a whole.",
  "parent": "at_bundesland",
  "is_pii": false,
  "categories": [
    "geo",
    "government"
  ],
  "country": [
    "AT"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^[1-9]$",
  "examples": [
    {
      "value": "3",
      "description": "Niederösterreich",
      "valid": true
    },
    {
      "value": "9",
      "description": "Wien",
      "valid": true
    },
    {
      "value": "10",
      "description": "Austria as a whole in the COVID-19 case files, not a state",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://de.wikipedia.org/wiki/ISO_3166-2:AT"
    }
  ],
  "translations": {
    "de": {
      "name": "Bundeslandkennziffer"
    },
    "ru": {
      "name": "Код федеральной земли Австрии"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "atbundeslandcodebyname",
        "type": "field",
        "match": "regex",
        "file": "at/at_geo.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/AT/geo/at_bundesland_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/AT/geo/at_bundesland_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/AT/geo/at_bundesland_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/at_bundesland_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/at_bundesland_code.json"
  }
}