{
  "id": "oktmo",
  "kind": "datatype",
  "status": "stable",
  "name": "Russian Classification of Territories of Municipal Formations (OKTMO) code",
  "doc": "Russian Classification of Territories of Municipal Formations (Russian: Общероссийский классификатор территорий муниципальных образований), or OKTMO (Russian: ОКТМО), is one of several Russian national registers. OKTMO organizes information about the structure of the municipal divisions of Russia.",
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "country": [
    "RU"
  ],
  "langs": [
    "ru"
  ],
  "classification": "categorical",
  "regexp": "^\\d{2}\\s?\\d{3}\\s?\\d{3}(?:\\s?\\d{3})?$",
  "examples": [
    {
      "value": "45000000",
      "description": "City of Moscow",
      "valid": true
    },
    {
      "value": "45397000",
      "description": "Municipal district Akademicheskiy, Moscow",
      "valid": true
    },
    {
      "value": "45 397 000",
      "description": "The same code written in groups, as in the Moscow classifier OMK MO",
      "valid": true
    },
    {
      "value": "4500000",
      "description": "Seven digits",
      "valid": false
    }
  ],
  "mappings": {
    "wikidata": "P764"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/OKTMO"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P764"
    }
  ],
  "translations": {
    "ru": {
      "name": "Код ОКТМО",
      "doc": "Общероссийский классификатор территорий муниципальных образований (сокращ. ОКТМО) — классификатор объектов административно-территориального деления Российской Федерации, входит в состав «Единой системы классификации и кодирования технико-экономической и социальной информации Российской Федерации» (ЕСКК)."
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter",
      "metacrafterpro"
    ],
    "metacrafter_rules": [
      {
        "rule": "ruoktmoknown",
        "type": "field",
        "match": "text",
        "file": "ru/ru_geo.yaml"
      }
    ]
  },
  "quality": {
    "score": 100,
    "missing": []
  },
  "source": {
    "path": "data/datatypes/RU/geo/oktmo.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/RU/geo/oktmo.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/RU/geo/oktmo.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/oktmo",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/oktmo.json"
  }
}