{
  "id": "mailto_uri",
  "kind": "datatype",
  "status": "draft",
  "name": "Mailto URI",
  "doc": "URI of the mailto: scheme (RFC 6068) that opens a new email message: one or more email addresses separated by commas, optionally followed by ? and header fields such as subject, cc or body. Web pages use it in mailto: links, and Wikidata stores email addresses (property P968) in this form. Spaces and other special characters in the header values are percent-encoded.",
  "parent": "uri",
  "is_pii": true,
  "categories": [
    "internet",
    "pii"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^[Mm][Aa][Ii][Ll][Tt][Oo]:(?:[^\\s?,@]+@[^\\s?,@]+(?:,[^\\s?,@]+@[^\\s?,@]+)*(?:\\?\\S*)?|\\?\\S+)$",
  "examples": [
    {
      "value": "mailto:chris@example.com",
      "description": "Example of RFC 6068, section 6.1",
      "valid": true
    },
    {
      "value": "mailto:infobot@example.com?subject=current-issue",
      "description": "Example of RFC 6068 with a subject",
      "valid": true
    },
    {
      "value": "mailto:joe@example.com?cc=bob@example.com&body=hello",
      "description": "Example of RFC 6068 with cc and body",
      "valid": true
    },
    {
      "value": "chris@example.com",
      "description": "An email address without the mailto: scheme",
      "valid": false
    },
    {
      "value": "mailto:chris.example.com",
      "description": "No @ in the address",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Mailto"
    },
    {
      "type": "doc",
      "url": "https://www.rfc-editor.org/rfc/rfc6068"
    }
  ],
  "translations": {
    "ru": {
      "name": "URI mailto:",
      "doc": "URI схемы mailto: с одним или несколькими адресами электронной почты и необязательными полями письма (RFC 6068)."
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/internet/mailto_uri.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/internet/mailto_uri.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/internet/mailto_uri.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/mailto_uri",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/mailto_uri.json"
  }
}