Datatypes

Uniform Resource Name (URN)

ID urn

DatatypeNot 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).

Persistent, location-independent name in the urn URI scheme, defined by RFC 8141. It has the form urn:<NID>:<NSS>. The namespace identifier (NID) is a name registered with IANA, 2 to 32 letters, digits and hyphens long, such as isbn, uuid or ietf. The namespace-specific string (NSS) follows the rules of that namespace. The urn prefix is case-insensitive. A URN names a resource; it does not say where to retrieve it.

Parent datatype
Uniform Resource Identifier (URI) uri
Categories
Internet
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]:[A-Za-z0-9][A-Za-z0-9-]{0,30}[A-Za-z0-9]:(?:[A-Za-z0-9._~!$&'()*+,;=:@-]|%[0-9A-Fa-f]{2})(?:[A-Za-z0-9._~!$&'()*+,;=:@/-]|%[0-9A-Fa-f]{2})*$

Python re syntax.

Examples

ValueDescription
urn:isbn:0451450523Book identified by its ISBN
urn:ietf:rfc:2648IETF RFC 2648
urn:uuid:6e8bc430-9c3a-11d9-9669-0800200c9a66UUID namespace
urn:nbn:de:bvb:19-146642National Bibliography Number (Germany)
urn:a:123 invalidThe namespace identifier must be at least two characters long
https://example.org/a invalidA URL, not a URN

Child datatypes

IDNameCategoriesCountriesDescription
epc_uri Electronic Product Code (EPC) pure identity URI draft gs1 global Identifier of one individual physical object in the GS1 EPC Tag Data Standard, written as a URN: urn:epc:id:<scheme>:<fields>. The...
lsid Life Science Identifier (LSID) draft science global Identifier for a piece of life-science data, written in URN form as urn:lsid:<authority>:<namespace>:<object id>, optionally followed by...

Translations

LanguageNameDescription
RussianУнифицированное имя ресурса (URN)Постоянное имя ресурса в схеме urn (RFC 8141) вида urn:<пространство имён>:<строка>.

Sources

Use this record