URN
RFC 8141 Uniform Resource Names (URNs)
RFC 2276 Architectural Principles of Uniform Resource Name Resolution
URIの内、IPアドレス、サーバ名など物理アドレスに紐づかないもの。資料番号など、urn: ではじまるもの
登録ネームスペースの一覧
RFC 9517 A URN Namespace for the Data Documentation Initiative (DDI)
旧
RFC 2141
RFC 3406 URNネームスペースの登録
既存の名前空間を束ねるためのもので登録制ではない新しいもの(acctなど)はURIベースになるのか、という感じ?
表記 urn:<NID>:<NSS>
urn: を省略している場合はURNではなくURLとして扱う
NSSは各NIDでも個別に定義される
code:URI Syntax
namestring = assigned-name
assigned-name = "urn" ":" NID ":" NSS
NID = (aplhanum) 0*30(ldh) (alphanum)
ldh = alphanum / "-"
NSS = pchar *(pchar / "/")
r-components = pchar *( pchar / "/" / "?" )
q-components = pchar *( pchar / "/" / "?" )
f-components = fragment
; alphanum, fragment, pchar は RFC 3986
r-components URN解決サービス(DNS的なもの)に渡す何か (未定義)
q-components パラメータ的なものを渡したいときの何か
f-components 書籍の章など指定したいときの何か
例
urn: RFC 3986
urn:dev: RFC 9039 Uniform Resource Names for Device Identifiers, RFC 5612 Enterprise Number for Documentation Use
mac:
ow:
org:
os:
ops:
urn:ieee: RFC 8069
std:
urn:ietf: RFC 2648 RFC 6924
fyi:
std:
bcp:
id:
mtg:
xml: RFC 3688
urn:iso: RFC 5141 A Uniform Resource Name (URN) Namespace for the International Organization for Standardization (ISO) std:
iso:
iso-iec:
iso-cie:
iso-astm:
iso-ieee:
iec:
urn:service: RFC 5031 7163
counseling
counseling.chilren 児童
counseling.mental-health 精神衛生
counseling.suicide 自殺予防
sos
sos.ambulance 救急
sos.animal-control 動物管理
sos.fire 消防
sos.gas ガス
sos.marine 沿岸、海上
sos.mountain 山岳
sos.physician 医師紹介
sos.poison 中毒
sos.police 警察
code:oid NSS ABNF
oid = number *( DOT number )
number = DIGIT / ( LEADDIGIT 1*DIGIT )
LEADDIGIT = %x31-39 ; 1-9
DIGIT = %x30 / LEADDIGIT ; 0-9
DOT = %x2e ; period
urn:xmlorg: RFC 3120
urn:xmpp: RFC 4854 (RFC 5122 xmpp: とは別)
RFC 5031 A Uniform Resource Name (URN) for Emergency and Other Well-Known Services 緊急およびよく知られたサービスのURN
RFc 7163 URN for Country-Specific Emergency Services 国固有の緊急サーピスのURN