{
  "id": "uuid_v4",
  "kind": "datatype",
  "status": "draft",
  "name": "Random UUID (version 4)",
  "doc": "UUID of version 4 under RFC 9562. Apart from the version and variant bits, its 122 bits are random, so it carries no time or host information. It is the most common kind of UUID, made by functions such as uuid.uuid4() in Python, crypto.randomUUID() in JavaScript and gen_random_uuid() in PostgreSQL. The version digit, the first digit of the third group, is 4, and the first digit of the fourth group is 8, 9, a or b.",
  "parent": "uuid",
  "is_pii": false,
  "categories": [
    "identifiers"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$",
  "examples": [
    {
      "value": "919108f7-52d1-4320-9bac-f847db4148a8",
      "description": "UUIDv4 test vector of RFC 9562 (Appendix A.3)",
      "valid": true
    },
    {
      "value": "16fd2706-8baf-433b-82eb-8c7fada847da",
      "description": "uuid4() output in the Python uuid module documentation",
      "valid": true
    },
    {
      "value": "C232AB00-9414-11EC-B3C8-9F6BDECED846",
      "description": "UUIDv1",
      "valid": false
    },
    {
      "value": "919108f7-52d1-4320-cbac-f847db4148a8",
      "description": "Version 4 digit, but the variant digit c is not the RFC 9562 variant",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.rfc-editor.org/rfc/rfc9562#name-uuid-version-4"
    }
  ],
  "translations": {
    "ru": {
      "name": "UUID версии 4 (случайный)"
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/identifiers/uuid_v4.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/identifiers/uuid_v4.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/identifiers/uuid_v4.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/uuid_v4",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/uuid_v4.json"
  }
}