{
  "id": "references",
  "kind": "datatype",
  "status": "stable",
  "name": "References (Email Header)",
  "doc": "Value of the References header of an email message (RFC 5322, section 3.6.4): the Message-IDs of the earlier messages of the thread, separated by whitespace. A reply copies the References of the message it answers and appends that message's Message-ID, so mail clients can rebuild a thread even when some of its messages are missing.",
  "is_pii": false,
  "categories": [
    "internet"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^<[^<>@\\s]+@[^<>@\\s]+>(?:\\s+<[^<>@\\s]+@[^<>@\\s]+>)*$",
  "examples": [
    {
      "value": "<1234@local.machine.example> <3456@example.net>",
      "description": "Second reply of the thread in RFC 5322, appendix A.2",
      "valid": true
    },
    {
      "value": "<1234@local.machine.example>",
      "description": "First reply of the thread in RFC 5322, appendix A.2",
      "valid": true
    },
    {
      "value": "1234@local.machine.example, 3456@example.net",
      "description": "No angle brackets",
      "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": "Заголовок письма References",
      "doc": "Значение заголовка References: Message-ID предыдущих писем цепочки через пробел (RFC 5322)."
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "referencesfield",
        "type": "field",
        "match": "text",
        "file": "common/internet.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/internet/references.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/internet/references.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/internet/references.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/references",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/references.json"
  }
}