{
  "id": "ee_registrikood",
  "kind": "datatype",
  "status": "draft",
  "name": "Estonian organisation registration code (registrikood)",
  "doc": "Registrikood, the 8-digit code that the Estonian registers give to organisations. Commercial companies start with 1, state and local government bodies with 7, non-profit associations with 8 and foundations with 9. The last digit is a check digit.",
  "is_pii": false,
  "categories": [
    "companies"
  ],
  "country": [
    "EE"
  ],
  "langs": [
    "et"
  ],
  "classification": "identifier",
  "regexp": "^[1789]\\d{7}$",
  "examples": [
    {
      "value": "19232463",
      "description": "Synthetic number with a valid check digit",
      "valid": true
    },
    {
      "value": "95529387",
      "description": "Synthetic number with a valid check digit",
      "valid": true
    },
    {
      "value": "192324637",
      "description": "One character too many",
      "valid": false
    }
  ],
  "mappings": {
    "orgid": [
      "EE-KMKR",
      "EE-RIK"
    ],
    "stdnum": "ee.registrikood",
    "wikidata": "P6518"
  },
  "links": [
    {
      "type": "doc",
      "url": "https://ariregister.rik.ee/"
    },
    {
      "type": "other",
      "url": "https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.ee.registrikood.html"
    },
    {
      "type": "other",
      "url": "https://docs.dataprep.ai/user_guide/clean/clean_ee_registrikood.html"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P6518"
    }
  ],
  "translations": {
    "et": {
      "name": "Registrikood"
    }
  },
  "detected_by": {
    "tools": [
      "dataprep",
      "pythonstdnum"
    ]
  },
  "quality": {
    "score": 100,
    "missing": []
  },
  "source": {
    "path": "data/datatypes/EE/companies/ee_registrikood.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/EE/companies/ee_registrikood.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/EE/companies/ee_registrikood.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/ee_registrikood",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/ee_registrikood.json"
  }
}