{
  "id": "country_calling_code",
  "kind": "datatype",
  "status": "draft",
  "name": "Country calling code (international telephone code)",
  "doc": "One- to three-digit code of ITU-T Recommendation E.164 that is dialled after the international prefix to reach a country or a group of countries, usually written with a plus sign. Some codes serve several countries (+1 for the North American Numbering Plan, +7 for Russia and Kazakhstan), and some are for global services such as satellite networks.",
  "is_pii": false,
  "categories": [
    "telecom",
    "geo"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^\\+?[1-9]\\d{0,2}$",
  "examples": [
    {
      "value": "+7",
      "description": "Russia and Kazakhstan",
      "valid": true
    },
    {
      "value": "+44",
      "description": "United Kingdom",
      "valid": true
    },
    {
      "value": "+358",
      "description": "Finland",
      "valid": true
    },
    {
      "value": "+0",
      "description": "No calling code starts with 0",
      "valid": false
    },
    {
      "value": "+1234",
      "description": "Four digits, longer than any calling code",
      "valid": false
    }
  ],
  "mappings": {
    "wikidata": "P474"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/List_of_country_calling_codes"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P474"
    },
    {
      "type": "doc",
      "url": "https://www.itu.int/rec/T-REC-E.164"
    }
  ],
  "translations": {
    "ru": {
      "name": "Телефонный код страны",
      "doc": "Код из одной–трёх цифр по рекомендации МСЭ-Т E.164, который набирается после международного префикса для вызова страны или группы стран; обычно записывается со знаком плюс. Некоторые коды общие для нескольких стран (+1 — Североамериканский план нумерации, +7 — Россия и Казахстан)."
    }
  },
  "quality": {
    "score": 90,
    "missing": [
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/telecom/country_calling_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/telecom/country_calling_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/telecom/country_calling_code.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/country_calling_code",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/country_calling_code.json"
  }
}