---
id: "tel_uri"
kind: "pattern"
status: "draft"
is_pii: true
categories: ["pii", "common", "telecom"]
langs: ["common"]
quality: 80
url: "http://registry.apicrafter.io/datatype/tel_uri"
---

# Telephone number as a tel URI (`tel_uri`)

> **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.

Telephone number written as a URI of the tel scheme (RFC 3966), as in HTML links, vCards and SIP messages. A global number starts with a plus sign and may contain hyphens, dots and parentheses as visual separators; a local number needs a phone-context parameter. Other parameters, such as ext for an extension, follow after semicolons.

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

## Detection

Regular expression (Python `re`):

```
^tel:(?:\+[\d().-]*\d[\d().-]*|[\dA-Fa-f*#().-]*[\dA-Fa-f*#][\dA-Fa-f*#().-]*)(?:;[^;\s]+)*$
```

## Examples

- `tel:+1-201-555-0123` — Global number (RFC 3966)
- `tel:7042;phone-context=example.com` — Local number with a domain as its context (RFC 3966)
- `tel:863-1234;phone-context=+1-914-555` — Local number with a number prefix as its context (RFC 3966)
- `+1-201-555-0123` (invalid example) — The tel scheme is missing
- `sip:+1-212-555-1212@gateway.com` (invalid example) — A SIP URI, not a tel URI

## Translations

- ru: Номер телефона в виде tel URI: Номер телефона, записанный как URI схемы tel (RFC 3966), например в HTML-ссылках, vCard и сообщениях SIP. Глобальный номер начинается со знака плюс и может содержать дефисы, точки и скобки; для локального номера нужен параметр phone-context.

## Sources

- doc: <https://www.rfc-editor.org/rfc/rfc3966>

## Quality

Score 80/100. Missing: mapping (Wikidata, Schema.org, ...), detector coverage.

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