{
  "id": "message_id",
  "kind": "datatype",
  "status": "stable",
  "name": "Message-ID (Email Message Identifier)",
  "doc": "Globally unique identifier of an email message, which the sending client or server writes in the Message-ID header (RFC 5322, section 3.6.4). It has the form <left@right>: the right part is usually the domain name of the host that created it, and the left part is a unique string such as a timestamp with a random suffix. Replies refer to it in their In-Reply-To and References headers.",
  "is_pii": false,
  "categories": [
    "internet"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^<[^<>@\\s]+@[^<>@\\s]+>$",
  "examples": [
    {
      "value": "<1234@local.machine.example>",
      "description": "Example of RFC 5322, appendix A.1.1",
      "valid": true
    },
    {
      "value": "<5678.21-Nov-1997@example.com>",
      "description": "Example of RFC 5322, appendix A.1.2",
      "valid": true
    },
    {
      "value": "<testabcd.1234@silly.example>",
      "description": "Example of RFC 5322, appendix A.1.3",
      "valid": true
    },
    {
      "value": "1234@local.machine.example",
      "description": "No angle brackets",
      "valid": false
    },
    {
      "value": "<1234@local.machine.example> <3456@example.net>",
      "description": "Two identifiers, as in a References header",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Message-ID"
    },
    {
      "type": "doc",
      "url": "https://www.rfc-editor.org/rfc/rfc5322.html#section-3.6.4"
    }
  ],
  "translations": {
    "ru": {
      "name": "Идентификатор письма (Message-ID)",
      "doc": "Уникальный идентификатор письма из заголовка Message-ID в форме <левая_часть@правая_часть> (RFC 5322)."
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "messageidfield",
        "type": "field",
        "match": "text",
        "file": "common/internet.yaml"
      },
      {
        "rule": "messageidvalue",
        "type": "data",
        "match": "ppr",
        "file": "common/internet.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/internet/message_id.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/internet/message_id.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/internet/message_id.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/message_id",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/message_id.json"
  }
}