{
  "id": "user_agent",
  "kind": "datatype",
  "status": "draft",
  "name": "HTTP User-Agent string",
  "doc": "Value of the User-Agent header that a browser, crawler, library or other HTTP client sends to describe itself. RFC 9110 defines it as one or more product identifiers, each a name with an optional /version, followed by comments in parentheses, such as the operating system. Most browsers start it with Mozilla/5.0 for historical compatibility. Web server logs and analytics data store it to tell browsers, devices and bots apart. The record has no regexp: the grammar is too loose to tell a user agent from other text.",
  "is_pii": false,
  "categories": [
    "internet"
  ],
  "langs": [
    "common"
  ],
  "examples": [
    {
      "value": "curl/8.4.0",
      "description": "Command-line client",
      "valid": true
    },
    {
      "value": "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0",
      "description": "Firefox on Linux",
      "valid": true
    },
    {
      "value": "Googlebot/2.1 (+http://www.google.com/bot.html)",
      "description": "Search engine crawler",
      "valid": true
    }
  ],
  "mappings": {
    "autotype": "useragentstring",
    "dpv": "pd:UserAgent",
    "google_dlp": "HTTP_USER_AGENT"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/User-Agent_header"
    },
    {
      "type": "doc",
      "url": "https://www.rfc-editor.org/rfc/rfc9110.html#name-user-agent"
    },
    {
      "type": "other",
      "url": "https://github.com/congy/AutoType/blob/master/data_release/useragentstring.txt"
    }
  ],
  "translations": {
    "ru": {
      "name": "Строка User-Agent",
      "doc": "Значение HTTP-заголовка User-Agent, которым браузер, робот или другой клиент описывает себя."
    }
  },
  "detected_by": {
    "tools": [
      "autotype",
      "dataiku",
      "googledlp"
    ]
  },
  "quality": {
    "score": 75,
    "missing": [
      "regexp",
      "negative example"
    ]
  },
  "source": {
    "path": "data/datatypes/any/internet/user_agent.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/internet/user_agent.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/internet/user_agent.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/user_agent",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/user_agent.json"
  }
}