---
id: "ru_phone_national"
kind: "pattern"
status: "draft"
is_pii: true
categories: ["pii", "common", "telecom"]
country: ["RU"]
langs: ["common"]
quality: 73
url: "https://registry.apicrafter.io/datatype/ru_phone_national"
---

# Russian phone number in national notation (`ru_phone_national`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Phone number of the Russian Federation written in national notation: the trunk prefix 8, then the area or operator code of 3 to 5 digits, often in parentheses, and the subscriber number split by spaces or hyphens, 11 digits in total. This is how most regional open data portals publish contact phones of organizations, for example "8 (XXXXX) X-XX-XX". The regexp requires at least one space, hyphen or parenthesis, so that a plain 11-digit number is not taken for a phone. The international form +7 is covered by ru_phone.

- Pattern of: `phone`
- Personal data (PII): yes
- Categories: Personally identifiable information (pii), Common (common), Telecommunications (telecom)
- Countries: Russian Federation (RU)
- Languages: Common to most languages (common)

## Detection

Regular expression (Python `re`):

```
^(?=(?:\D*\d){11}$)(?=.*[ ()-])8[ -]?(?:\(\d{3,5}\)|\d{3,5})[ -]?\d{1,3}(?:[ -]?\d{1,3}){1,3}$
```

## Examples

- `8 (301) 123-45-67` — Google libphonenumber example fixed-line number in national notation
- `8 (912) 345-67-89` — Google libphonenumber example mobile number in national notation
- `8(301)1234567` — The same fixed-line number without spaces and hyphens
- `83011234567` (invalid example) — Plain 11 digits without separators are not taken for a phone number
- `+73011234567` (invalid example) — International E.164 form, covered by ru_phone

## Translations

- ru: Номер телефона в России в национальном формате: Номер телефона в национальной записи с префиксом 8, кодом города или оператора и номером абонента, разделённым пробелами или дефисами, например «8 (XXXXX) X-XX-XX».

## Sources

- other: <https://github.com/google/libphonenumber/blob/master/resources/PhoneNumberMetadata.xml>

## Quality

Score 73/100. Missing: authoritative source link, mapping (Wikidata, Schema.org, ...), detector coverage.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/ru_phone_national.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/RU/telecom/ru_phone_national.yaml>
