{
  "id": "hr_oib",
  "kind": "datatype",
  "status": "draft",
  "name": "Croatian personal identification number (OIB)",
  "doc": "Osobni identifikacijski broj, the 11-digit identification number of persons and legal entities in Croatia. It holds no personal information and has an ISO 7064 mod 11-10 check digit. With the HR prefix it is the VAT number.",
  "parent": "vatin",
  "is_pii": true,
  "categories": [
    "finances",
    "pii"
  ],
  "country": [
    "HR"
  ],
  "langs": [
    "hr"
  ],
  "classification": "identifier",
  "regexp": "^(?:HR[ -]?)?\\d{11}$",
  "examples": [
    {
      "value": "63121378524",
      "description": "Synthetic number with a valid check digit",
      "valid": true
    },
    {
      "value": "18231363323",
      "description": "Synthetic number with a valid check digit",
      "valid": true
    },
    {
      "value": "631213785247",
      "description": "One character too many",
      "valid": false
    }
  ],
  "mappings": {
    "orgid": "HR-OIB",
    "purview": [
      "Croatia personal identification (OIB) number",
      "EU Social Security Number (SSN) or Equivalent ID",
      "EU social security number or equivalent identification"
    ],
    "schema_org": [
      "taxID",
      "vatID"
    ],
    "stdnum": "hr.oib"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://hr.wikipedia.org/wiki/Osobni_identifikacijski_broj"
    },
    {
      "type": "other",
      "url": "https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.hr.oib.html"
    },
    {
      "type": "other",
      "url": "https://docs.dataprep.ai/user_guide/clean/clean_hr_oib.html"
    }
  ],
  "translations": {
    "hr": {
      "name": "Osobni identifikacijski broj (OIB)"
    }
  },
  "detected_by": {
    "tools": [
      "awsglue",
      "azureailanguage",
      "dataprep",
      "microsoftpurview",
      "pythonstdnum",
      "snowflake"
    ]
  },
  "quality": {
    "score": 100,
    "missing": []
  },
  "source": {
    "path": "data/datatypes/HR/finances/hr_oib.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/HR/finances/hr_oib.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/HR/finances/hr_oib.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/hr_oib",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/hr_oib.json"
  }
}