{
  "id": "ipv4",
  "kind": "datatype",
  "status": "stable",
  "name": "IPv4 address",
  "doc": "32-bit address of Internet Protocol version 4 (RFC 791), written in dotted-decimal notation as four numbers from 0 to 255, such as 192.0.2.1. The regexp rejects parts with leading zeros (192.0.2.01), because some software reads them as octal numbers. Private networks use 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 (RFC 1918), and 192.0.2.0/24, 198.51.100.0/24 and 203.0.113.0/24 are reserved for documentation (RFC 5737).",
  "parent": "ipaddr",
  "is_pii": true,
  "categories": [
    "internet",
    "pii"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3}$",
  "examples": [
    {
      "value": "192.0.2.1",
      "description": "Documentation range TEST-NET-1 (RFC 5737)",
      "valid": true
    },
    {
      "value": "198.51.100.42",
      "description": "Documentation range TEST-NET-2 (RFC 5737)",
      "valid": true
    },
    {
      "value": "203.0.113.255",
      "description": "Documentation range TEST-NET-3 (RFC 5737)",
      "valid": true
    },
    {
      "value": "256.1.1.1",
      "description": "The first part is larger than 255",
      "valid": false
    },
    {
      "value": "192.0.2",
      "description": "Three parts instead of four",
      "valid": false
    },
    {
      "value": "192.0.2.01",
      "description": "A part with a leading zero",
      "valid": false
    }
  ],
  "mappings": {
    "autotype": "ipv4",
    "cdm": "means.identity.IP4Address",
    "dpv": "pd:IPAddress",
    "fta": "IPADDRESS.IPV4",
    "purview": "IP Address v4"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/IPv4"
    },
    {
      "type": "doc",
      "url": "https://www.rfc-editor.org/rfc/rfc791"
    },
    {
      "type": "doc",
      "url": "https://www.rfc-editor.org/rfc/rfc5737"
    }
  ],
  "translations": {
    "ru": {
      "name": "IPv4-адрес",
      "doc": "32-битный адрес протокола IPv4: четыре числа от 0 до 255 через точку, например 192.0.2.1."
    }
  },
  "detected_by": {
    "tools": [
      "alteryxdesignercloud",
      "autotype",
      "awscomprehend",
      "datahub",
      "dataiku",
      "dataprep",
      "dataprofiler",
      "detectsecrets",
      "fta",
      "greatexpectations",
      "ibmknowledgecatalog",
      "metacrafter",
      "metacrafterpro",
      "metadata-guardian",
      "microsoftpurview",
      "soda",
      "sqldatacatalog",
      "talend"
    ],
    "metacrafter_rules": [
      {
        "rule": "ipv4",
        "type": "data",
        "match": "ppr",
        "file": "ext/ext_internet.yaml"
      }
    ]
  },
  "quality": {
    "score": 100,
    "missing": []
  },
  "source": {
    "path": "data/datatypes/any/internet/ipv4.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/internet/ipv4.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/internet/ipv4.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/ipv4",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/ipv4.json"
  }
}