{
  "id": "sip_uri",
  "kind": "datatype",
  "status": "draft",
  "name": "SIP URI",
  "doc": "Address of a user, a phone or a service in the Session Initiation Protocol (RFC 3261), used for voice over IP, video calls and instant messaging. It has the form sip:user@host or, for secure transport, sips:user@host; the user part may be a phone number, and parameters and headers may follow the host.",
  "parent": "uri",
  "is_pii": true,
  "categories": [
    "telecom",
    "internet",
    "pii"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^sips?:(?:[^\\s@]+@)?(?:[A-Za-z0-9](?:[A-Za-z0-9.-]*[A-Za-z0-9])?|\\[[0-9A-Fa-f:.]+\\])(?::\\d{1,5})?(?:[;?]\\S*)?$",
  "examples": [
    {
      "value": "sip:alice@atlanta.com",
      "description": "Example from RFC 3261",
      "valid": true
    },
    {
      "value": "sips:alice@atlanta.com?subject=project%20x&priority=urgent",
      "description": "SIPS URI with headers (RFC 3261)",
      "valid": true
    },
    {
      "value": "sip:+1-212-555-1212:1234@gateway.com;user=phone",
      "description": "Phone number as the user part (RFC 3261)",
      "valid": true
    },
    {
      "value": "sip:alice@192.0.2.4",
      "description": "Host given as an IPv4 address (RFC 3261)",
      "valid": true
    },
    {
      "value": "alice@atlanta.com",
      "description": "The sip or sips scheme is missing",
      "valid": false
    },
    {
      "value": "tel:+1-201-555-0123",
      "description": "A tel URI, not a SIP URI",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.rfc-editor.org/rfc/rfc3261"
    },
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/SIP_URI_scheme"
    }
  ],
  "translations": {
    "ru": {
      "name": "SIP URI",
      "doc": "Адрес пользователя, телефона или сервиса в протоколе SIP (RFC 3261), который используется в IP-телефонии, видеозвонках и мессенджерах. Имеет вид sip:user@host или, для защищённого соединения, sips:user@host; пользовательской частью может быть номер телефона."
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/telecom/sip_uri.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/telecom/sip_uri.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/telecom/sip_uri.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/sip_uri",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/sip_uri.json"
  }
}