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
| Value | Description |
|---|---|
| urn:isbn:0451450523 | Book identified by its ISBN |
| urn:ietf:rfc:2648 | IETF RFC 2648 |
| urn:uuid:6e8bc430-9c3a-11d9-9669-0800200c9a66 | UUID namespace |
| urn:nbn:de:bvb:19-146642 | National Bibliography Number (Germany) |
| urn:a:123 invalid | The namespace identifier must be at least two characters long |
| https://example.org/a invalid | A URL, not a URN |
Child datatypes
| ID | Name | Categories | Countries | Description |
|---|---|---|---|---|
| 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
| Language | Name | Description |
|---|---|---|
| Russian | Унифицированное имя ресурса (URN) | Постоянное имя ресурса в схеме urn (RFC 8141) вида urn:<пространство имён>:<строка>. |
Sources
- wikipedia: https://en.wikipedia.org/wiki/Uniform_Resource_Name
- doc: https://www.rfc-editor.org/rfc/rfc8141
- doc: https://www.iana.org/assignments/urn-namespaces/urn-namespaces.xhtml
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/urn - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/internet/urn.yamlon GitHub