{
  "id": "ru_post_tracking_number",
  "kind": "datatype",
  "status": "draft",
  "name": "Russian Post tracking number (ShPI)",
  "doc": "Fourteen-digit bar-code postal identifier (ШПИ) that Russian Post assigns to a registered domestic item. Digits 1-6 are the postal code of the accepting post office, digits 7-8 count the month in which the bar code was printed, digits 9-13 are the serial number of the item in that office and month, and digit 14 is a check digit. The check digit uses the same weights as GS1 keys (3 for odd positions, 1 for even positions, modulo 10). International items use the UPU S10 number instead (s10upu).",
  "is_pii": false,
  "categories": [
    "shipping"
  ],
  "country": [
    "RU"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^\\d{14}$",
  "checksum": "gs1_mod10",
  "examples": [
    {
      "value": "14211716007389",
      "description": "Worked example of the check digit from the Russian Wikipedia article",
      "valid": true
    },
    {
      "value": "14211716007380",
      "description": "Wrong check digit",
      "valid": false
    },
    {
      "value": "1421171600738",
      "description": "Thirteen digits, the check digit is missing",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://ru.wikipedia.org/wiki/Почтовый_идентификатор"
    }
  ],
  "translations": {
    "ru": {
      "name": "Штриховой почтовый идентификатор (ШПИ)",
      "doc": "Четырнадцатизначный идентификатор регистрируемого внутреннего почтового отправления Почты России. Состоит из индекса отделения приёма, номера месяца, порядкового номера отправления и контрольного разряда."
    }
  },
  "quality": {
    "score": 73,
    "missing": [
      "second example",
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/RU/shipping/ru_post_tracking_number.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/RU/shipping/ru_post_tracking_number.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/RU/shipping/ru_post_tracking_number.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/ru_post_tracking_number",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/ru_post_tracking_number.json"
  }
}