{
  "id": "uuid_urn",
  "kind": "pattern",
  "status": "draft",
  "name": "UUID as a URN (urn:uuid)",
  "doc": "A UUID written as a URN in the uuid namespace, urn:uuid:<UUID>, as RFC 9562 defines. It is used where an identifier must be a URI, for example as the id of Atom feeds and entries (RFC 4287), in RDF data and as the identifier of EPUB packages. The urn and uuid parts are case-insensitive.",
  "semantic_type": "uuid",
  "is_pii": false,
  "categories": [
    "identifiers"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^[Uu][Rr][Nn]:[Uu][Uu][Ii][Dd]:[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$",
  "examples": [
    {
      "value": "urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6",
      "description": "Example URN of RFC 9562 (Figure 4)",
      "valid": true
    },
    {
      "value": "urn:uuid:6e8bc430-9c3a-11d9-9669-0800200c9a66",
      "description": "Example of the uuid namespace in the Wikipedia article on URNs",
      "valid": true
    },
    {
      "value": "urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a",
      "description": "Entry id in the example feed of RFC 4287 (Atom)",
      "valid": true
    },
    {
      "value": "f81d4fae-7dec-11d0-a765-00a0c91e6bf6",
      "description": "Bare UUID without the URN prefix, see uuid",
      "valid": false
    },
    {
      "value": "urn:uuid:{f81d4fae-7dec-11d0-a765-00a0c91e6bf6}",
      "description": "Braces are not part of the URN form",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.rfc-editor.org/rfc/rfc9562"
    },
    {
      "type": "doc",
      "url": "https://www.iana.org/assignments/urn-namespaces/urn-namespaces.xhtml"
    }
  ],
  "translations": {
    "ru": {
      "name": "UUID в виде URN (urn:uuid)"
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/identifiers/uuid_urn.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/identifiers/uuid_urn.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/identifiers/uuid_urn.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/uuid_urn",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/uuid_urn.json"
  }
}