{
  "id": "ftp_reply_code",
  "kind": "datatype",
  "status": "draft",
  "name": "FTP reply code",
  "doc": "Three-digit code with which an FTP server answers a command (RFC 959). The first digit, 1 to 5, says whether the reply is preliminary, a completion, intermediate, a transient failure or a permanent failure. The second digit, 0 to 5, gives the group, such as syntax, connections or the file system. HTTP and SMTP codes have the same form, so use the field name or context.",
  "is_pii": false,
  "categories": [
    "internet"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^[1-5][0-5]\\d$",
  "examples": [
    {
      "value": "220",
      "description": "Service ready for new user",
      "valid": true
    },
    {
      "value": "226",
      "description": "Closing data connection",
      "valid": true
    },
    {
      "value": "331",
      "description": "User name okay, need password",
      "valid": true
    },
    {
      "value": "550",
      "description": "Requested action not taken, file unavailable",
      "valid": true
    },
    {
      "value": "650",
      "description": "The first digit is at most 5",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.rfc-editor.org/rfc/rfc959"
    }
  ],
  "translations": {
    "ru": {
      "name": "Код ответа сервера FTP"
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/internet/ftp_reply_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/internet/ftp_reply_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/internet/ftp_reply_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/ftp_reply_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/ftp_reply_code.json"
  }
}