{
  "id": "smtp_enhanced_status_code",
  "kind": "datatype",
  "status": "draft",
  "name": "Enhanced mail system status code",
  "doc": "Three-part code of the result of a mail delivery from RFC 3463, as in 5.1.1. The class is 2 for success, 4 for a temporary failure and 5 for a permanent failure. The subject and the detail have one to three digits each without leading zeros. SMTP replies and delivery status notifications carry it next to the three-digit reply code (smtp_reply_code).",
  "is_pii": false,
  "categories": [
    "internet"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^[245]\\.(?:0|[1-9]\\d{0,2})\\.(?:0|[1-9]\\d{0,2})$",
  "examples": [
    {
      "value": "5.1.1",
      "description": "The destination mailbox does not exist",
      "valid": true
    },
    {
      "value": "4.2.2",
      "description": "The mailbox is full",
      "valid": true
    },
    {
      "value": "2.1.5",
      "description": "The destination address is valid",
      "valid": true
    },
    {
      "value": "3.1.1",
      "description": "Class 3 does not exist",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.rfc-editor.org/rfc/rfc3463"
    }
  ],
  "translations": {
    "ru": {
      "name": "Расширенный код статуса почтовой системы"
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/internet/smtp_enhanced_status_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/internet/smtp_enhanced_status_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/internet/smtp_enhanced_status_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/smtp_enhanced_status_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/smtp_enhanced_status_code.json"
  }
}