{
  "id": "http_status_code",
  "kind": "datatype",
  "status": "draft",
  "name": "HTTP status code",
  "doc": "Three-digit code with which an HTTP server reports the result of a request. The first digit gives the class: 1xx informational, 2xx successful, 3xx redirection, 4xx client error and 5xx server error, and all valid codes are between 100 and 599. Examples are 200 (OK), 301 (Moved Permanently), 404 (Not Found) and 500 (Internal Server Error). RFC 9110 defines the codes, and IANA keeps their registry. Web server logs and API monitoring data store them.",
  "is_pii": false,
  "categories": [
    "internet"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^[1-5]\\d{2}$",
  "examples": [
    {
      "value": "200",
      "description": "OK",
      "valid": true
    },
    {
      "value": "404",
      "description": "Not Found",
      "valid": true
    },
    {
      "value": "503",
      "description": "Service Unavailable",
      "valid": true
    },
    {
      "value": "101",
      "description": "Switching Protocols",
      "valid": true
    },
    {
      "value": "600",
      "description": "Outside the range 100 to 599",
      "valid": false
    },
    {
      "value": "99",
      "description": "Two digits",
      "valid": false
    }
  ],
  "mappings": {
    "autotype": "httpstatus"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/List_of_HTTP_status_codes"
    },
    {
      "type": "doc",
      "url": "https://www.rfc-editor.org/rfc/rfc9110.html#name-status-codes"
    },
    {
      "type": "doc",
      "url": "https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml"
    },
    {
      "type": "other",
      "url": "https://github.com/congy/AutoType/blob/master/data_release/httpstatus.txt"
    }
  ],
  "translations": {
    "ru": {
      "name": "Код состояния HTTP",
      "doc": "Трёхзначный код результата обработки HTTP-запроса от 100 до 599; первая цифра задаёт класс ответа."
    }
  },
  "detected_by": {
    "tools": [
      "alteryxdesignercloud",
      "autotype",
      "greatexpectations"
    ]
  },
  "quality": {
    "score": 100,
    "missing": []
  },
  "source": {
    "path": "data/datatypes/any/internet/http_status_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/internet/http_status_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/internet/http_status_code.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/http_status_code",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/http_status_code.json"
  }
}