Datatypes › uuid

UUID as a URN (urn:uuid)

ID uuid_urn

Pattern of uuidNot PIIidentifierDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

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.

Pattern of
Universally unique identifier (UUID) uuid
Categories
Universal unique identifiers
Countries
Global (not tied to a country)
Languages
Common to most languages
Quality
80/100 · missing: mapping (Wikidata, Schema.org, ...), detector coverage
Metacrafter rules
no detection rule yet
Supported by tools
no tool record lists this type yet

Regular expression

^[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}$

Python re syntax.

Examples

ValueDescription
urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6Example URN of RFC 9562 (Figure 4)
urn:uuid:6e8bc430-9c3a-11d9-9669-0800200c9a66Example of the uuid namespace in the Wikipedia article on URNs
urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6aEntry id in the example feed of RFC 4287 (Atom)
f81d4fae-7dec-11d0-a765-00a0c91e6bf6 invalidBare UUID without the URN prefix, see uuid
urn:uuid:{f81d4fae-7dec-11d0-a765-00a0c91e6bf6} invalidBraces are not part of the URN form

Translations

LanguageNameDescription
RussianUUID в виде URN (urn:uuid)

Sources

Use this record