{
  "id": "at_okz",
  "kind": "datatype",
  "status": "draft",
  "name": "Austrian e-government organisation code (Organisationskennzeichen, OKZ)",
  "doc": "Code of an Austrian public body or one of its units under the convention of the Austrian e-government (Verwaltungskennzeichen, extended to Organisationskennzeichen), used in the Portalverbund, the administration directories (Verwaltungsadressen) of the states and the Transparenzdatenbank. The first part names the authority, BMF or BKA for federal ministries, L1 to L9 for the states in the order of at_bundesland_code (L5AL the office of the government of Salzburg, L7BH a district authority of Tyrol), GGA with the municipality code (at_gkz) for a municipal office (GGA-10101 Eisenstadt); each lower unit adds a part after a hyphen (L5AL-20001, BMVIT-III-I2). The data.gv.at catalogues are named after it in lower case (l7, gga-41605).",
  "parent": "id",
  "is_pii": false,
  "categories": [
    "government"
  ],
  "country": [
    "AT"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^(?:L[1-9][A-Z]{0,4}|GGA-[1-9]\\d{4}|BKA|BM[A-Z]{1,8})(?:-[0-9A-Za-zÄÖÜäöüß]+)*$",
  "examples": [
    {
      "value": "L5AL-20001",
      "description": "A department of the office of the Salzburg state government",
      "valid": true
    },
    {
      "value": "GGA-10101",
      "description": "Municipal office of Eisenstadt",
      "valid": true
    },
    {
      "value": "L7BH-IL-BH",
      "description": "District authority Innsbruck-Land",
      "valid": true
    },
    {
      "value": "L9-B01",
      "description": "A district office of Vienna",
      "valid": true
    },
    {
      "value": "BMVIT-III-I2",
      "description": "A unit of a federal ministry (Transparenzdatenbank guide)",
      "valid": true
    },
    {
      "value": "12120",
      "description": "A locality code (at_ortschaftskennziffer), also abbreviated OKZ",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://transparenzportal.gv.at/tdb/resources/cms/130228_Leitfaden_TDB_OKZ_v1.93.pdf"
    }
  ],
  "translations": {
    "de": {
      "name": "Organisationskennzeichen (OKZ)"
    },
    "ru": {
      "name": "Код организации электронного правительства Австрии (OKZ)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "atokzbyname",
        "type": "field",
        "match": "regex",
        "file": "at/at_gov.yaml"
      },
      {
        "rule": "atokzvalue",
        "type": "data",
        "match": "func",
        "file": "at/at_gov.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/AT/government/at_okz.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/AT/government/at_okz.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/AT/government/at_okz.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/at_okz",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/at_okz.json"
  }
}