{
  "id": "ee_ehak",
  "kind": "datatype",
  "status": "draft",
  "name": "Estonian EHAK code",
  "doc": "Four-digit code of an Estonian county, municipality or settlement in the classification of administrative units and settlements (Eesti haldus- ja asustusjaotuse klassifikaator, EHAK), with leading zeros.",
  "parent": "category",
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "country": [
    "EE"
  ],
  "langs": [
    "et"
  ],
  "classification": "categorical",
  "regexp": "^\\d{4}$",
  "examples": [
    {
      "value": "0353",
      "description": "Municipality",
      "valid": true
    },
    {
      "value": "0037",
      "description": "County",
      "valid": true
    },
    {
      "value": "353",
      "description": "Leading zero lost",
      "valid": false
    }
  ],
  "translations": {
    "et": {
      "name": "EHAK kood"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "eeehakvalue",
        "type": "data",
        "match": "regex",
        "file": "ee/ee_geo.yaml"
      }
    ]
  },
  "quality": {
    "score": 75,
    "missing": [
      "source link",
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/EE/geo/ee_ehak.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/EE/geo/ee_ehak.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/EE/geo/ee_ehak.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/ee_ehak",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/ee_ehak.json"
  }
}