{
  "id": "fqdn",
  "kind": "datatype",
  "status": "stable",
  "name": "Fully qualified domain name (FQDN)",
  "doc": "Complete domain name of a host or zone, written as labels separated by dots from the host up to the top-level domain, such as www.example.com. A trailing dot stands for the DNS root and is left out in most data. Each label has 1 to 63 letters, digits or hyphens and does not start or end with a hyphen, and the whole name has at most 253 characters (RFC 1035, RFC 1123). Internationalized names are stored as Punycode labels that start with xn--. The regexp requires at least two labels and rejects an all-numeric last label, so IPv4 addresses do not match.",
  "is_pii": false,
  "categories": [
    "internet"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^(?=.{1,253}\\.?$)(?:[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?\\.)+(?![0-9]+\\.?$)[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?\\.?$",
  "examples": [
    {
      "value": "ec2-35-160-210-253.us-west-2.compute.amazonaws.com",
      "description": "Amazon web services ec2 server",
      "valid": true
    },
    {
      "value": "xn--kxae4bafwg.xn--pxaix.gr",
      "description": "Greek language national domain name",
      "valid": true
    },
    {
      "value": "did:web:w3c-ccg.github.io",
      "description": "Decentralized identifier (DID); a colon is not allowed in a label",
      "valid": false
    },
    {
      "value": "https://www.example.com/path",
      "description": "URL; a domain name has no scheme or path",
      "valid": false
    },
    {
      "value": "my host.example.com",
      "description": "A label with a space",
      "valid": false
    },
    {
      "value": "ec2-35-160-210-253.us-west-2-.compute.amazonaws.com",
      "description": "A label that ends with a hyphen",
      "valid": false
    },
    {
      "value": "192.0.2.1",
      "description": "IPv4 address; the top-level label must not be all-numeric",
      "valid": false
    }
  ],
  "mappings": {
    "google_dlp": "DOMAIN_NAME",
    "wikidata": "P13337"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Fully_qualified_domain_name"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P13337"
    },
    {
      "type": "doc",
      "url": "https://www.rfc-editor.org/rfc/rfc1035"
    },
    {
      "type": "doc",
      "url": "https://www.rfc-editor.org/rfc/rfc1123"
    }
  ],
  "translations": {
    "ru": {
      "name": "Полное доменное имя (FQDN)",
      "doc": "Полное доменное имя узла: метки через точку до домена верхнего уровня, например www.example.com."
    }
  },
  "detected_by": {
    "tools": [
      "collibra",
      "googledlp",
      "metacrafter",
      "talend"
    ],
    "metacrafter_rules": [
      {
        "rule": "fqdnbyvalidators",
        "type": "data",
        "match": "func",
        "file": "common/commonurl.yaml"
      },
      {
        "rule": "fqdnbyknown",
        "type": "field",
        "match": "text",
        "file": "common/internet.yaml"
      }
    ]
  },
  "quality": {
    "score": 100,
    "missing": []
  },
  "source": {
    "path": "data/datatypes/any/internet/fqdn.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/internet/fqdn.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/internet/fqdn.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/fqdn",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/fqdn.json"
  }
}