pubid 2.0.54 → 2.0.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/data/parg/iho.json +1 -1
- data/data/parg/iho.parg +33 -26
- data/lib/pubid/adobe/urn.adoc +28 -0
- data/lib/pubid/amca/urn.adoc +29 -0
- data/lib/pubid/ansi/urn.adoc +45 -0
- data/lib/pubid/api/urn.adoc +34 -0
- data/lib/pubid/arxiv/urn.adoc +25 -0
- data/lib/pubid/ashrae/urn.adoc +33 -0
- data/lib/pubid/asme/urn.adoc +26 -0
- data/lib/pubid/astm/urn.adoc +52 -0
- data/lib/pubid/bipm/urn.adoc +72 -0
- data/lib/pubid/bsi/urn.adoc +79 -0
- data/lib/pubid/bsi_pfs/urn.adoc +20 -0
- data/lib/pubid/calconnect/urn.adoc +26 -0
- data/lib/pubid/calconnect_pfs/urn.adoc +15 -0
- data/lib/pubid/ccsds/urn.adoc +28 -0
- data/lib/pubid/cen_cenelec/urn.adoc +68 -0
- data/lib/pubid/cen_pfs/urn.adoc +18 -0
- data/lib/pubid/cie/urn.adoc +44 -0
- data/lib/pubid/csa/urn.adoc +53 -0
- data/lib/pubid/doi/urn.adoc +27 -0
- data/lib/pubid/doi_pfs/urn.adoc +26 -0
- data/lib/pubid/easc/urn.adoc +28 -0
- data/lib/pubid/ecma/urn.adoc +29 -0
- data/lib/pubid/etsi/urn.adoc +49 -0
- data/lib/pubid/etsi_pfs/urn.adoc +31 -0
- data/lib/pubid/eu/urn.adoc +28 -0
- data/lib/pubid/evs/urn.adoc +44 -0
- data/lib/pubid/gb/urn.adoc +30 -0
- data/lib/pubid/gost/urn.adoc +64 -0
- data/lib/pubid/iana/urn.adoc +27 -0
- data/lib/pubid/idf/urn.adoc +33 -0
- data/lib/pubid/iec/urn.adoc +78 -0
- data/lib/pubid/ieee/urn.adoc +128 -0
- data/lib/pubid/ietf/urn.adoc +31 -0
- data/lib/pubid/iho/CLAUDE.md +50 -26
- data/lib/pubid/iho/builder.rb +15 -15
- data/lib/pubid/iho/identifiers/base.rb +56 -9
- data/lib/pubid/iho/identifiers/bathymetric.rb +18 -0
- data/lib/pubid/iho/identifiers/capacity_building.rb +25 -0
- data/lib/pubid/iho/identifiers.rb +2 -2
- data/lib/pubid/iho/pubid_urn_schema.rb +7 -7
- data/lib/pubid/iho/renderer.rb +3 -3
- data/lib/pubid/iho/urn.adoc +35 -19
- data/lib/pubid/iho/urn_generator.rb +32 -85
- data/lib/pubid/iho/urn_parser.rb +23 -18
- data/lib/pubid/isbn/urn.adoc +26 -0
- data/lib/pubid/iso/urn.adoc +58 -0
- data/lib/pubid/itu/urn.adoc +90 -0
- data/lib/pubid/jcgm/urn.adoc +33 -0
- data/lib/pubid/jis/urn.adoc +35 -0
- data/lib/pubid/nist/urn.adoc +99 -0
- data/lib/pubid/oasis/urn.adoc +27 -0
- data/lib/pubid/ogc/urn.adoc +26 -0
- data/lib/pubid/oiml/urn.adoc +43 -0
- data/lib/pubid/omg/urn.adoc +27 -0
- data/lib/pubid/plateau/urn.adoc +43 -0
- data/lib/pubid/sae/urn.adoc +24 -0
- data/lib/pubid/tgpp/urn.adoc +28 -0
- data/lib/pubid/un/urn.adoc +27 -0
- data/lib/pubid/version.rb +1 -1
- data/lib/pubid/w3c/urn.adoc +37 -0
- data/lib/pubid/wmo/urn.adoc +28 -0
- data/lib/pubid/xsf/urn.adoc +25 -0
- metadata +59 -6
- data/lib/pubid/iho/identifiers/bibliographic.rb +0 -16
- data/lib/pubid/iho/identifiers/circular_letter.rb +0 -15
data/lib/pubid/iho/urn.adoc
CHANGED
|
@@ -5,10 +5,10 @@ per-flavor split of the former `docs/URN-SCHEMES.adoc`, owner ruling
|
|
|
5
5
|
2026-11-25: "for URN schemes how can we mix up different flavors in 1
|
|
6
6
|
file? SPLIT THE FILE!"). It covers the three schemes the flavor carries:
|
|
7
7
|
|
|
8
|
-
1. the official URN (`#to_urn`) — the adopted IHO MRN guidance form
|
|
9
|
-
the
|
|
8
|
+
1. the official URN (`#to_urn`) — the adopted IHO MRN guidance form,
|
|
9
|
+
the emission of every series;
|
|
10
10
|
2. the legacy positional `urn:iho:` grammar — decodable for every
|
|
11
|
-
series, emitted
|
|
11
|
+
series, emitted by none;
|
|
12
12
|
3. the pubid-scheme URN (`#to_pubid_urn`) — pubid's own
|
|
13
13
|
`urn:pubid:iho:` codec, not governed by the IHO guidance.
|
|
14
14
|
|
|
@@ -23,14 +23,25 @@ publications, pages 8-9). The guidance proposes the Publications MRN
|
|
|
23
23
|
|
|
24
24
|
urn:mrn:iho:pub:<publication type>:<publication name or number>:<edition number>[:<correction number>[:<clarification number>[:<optional and additional version information>]]]
|
|
25
25
|
|
|
26
|
-
with the publication types `bathy` | `cb` | `reg` | `per` | `spec
|
|
26
|
+
with the publication types `bathy` | `cb` | `reg` | `per` | `spec` (the
|
|
27
|
+
guidance: "Bathymetric Publications - bathy; Capacity Building
|
|
28
|
+
Publications - cb; Miscellaneous (Base Regulatory Publications) - reg;
|
|
29
|
+
Periodic Publications - per; Standards and Specifications - spec"), and
|
|
27
30
|
the example `urn:mrn:iho:pub:spec:s57:3:1:supplement3` (S-57 Ed 3,
|
|
28
31
|
Corr. 1, Supplement 3). IHO's own printed S-98 metadata carries
|
|
29
32
|
`urn:mrn:iho:pub:spec:s98:1.0.0` — the DOTTED edition in the canonical
|
|
30
33
|
4th position, which this flavor adopts verbatim.
|
|
31
34
|
|
|
32
|
-
|
|
33
|
-
|
|
35
|
+
The series-to-code binding is 1:1 onto the five groups IHO arranges its
|
|
36
|
+
publications under (S-11 Part C Ed 1.0.0, section 1.2: "the IHO has
|
|
37
|
+
arranged their publications under the following groups: B - Bathymetric
|
|
38
|
+
Publications (Mainly related to GEBCO), C - Capacity Building
|
|
39
|
+
Publications, M - Miscellaneous Publications (including Basic
|
|
40
|
+
Documents), P - Periodic Publications, S - Standards and
|
|
41
|
+
Specifications").
|
|
42
|
+
|
|
43
|
+
pubid adopts the guidance as the flavor's official-URN emission for
|
|
44
|
+
every series:
|
|
34
45
|
|
|
35
46
|
[cols="3,1,4,4",options="header"]
|
|
36
47
|
|===
|
|
@@ -38,8 +49,8 @@ series the guidance types:
|
|
|
38
49
|
| S (Standards and Specifications) | `spec` | the guidance's own code | `IHO S-44 5.0.0` → `urn:mrn:iho:pub:spec:s44:5.0.0`
|
|
39
50
|
| P (Publication, the periodic series) | `per` | the guidance's Periodic Publications code | `IHO P-5 Vol. 2024` → `urn:mrn:iho:pub:per:p5:vol-2024`
|
|
40
51
|
| M (Miscellaneous Base Regulatory Publications) | `reg` | the guidance's own code | `IHO M-2 Sup 1` → `urn:mrn:iho:pub:reg:m2:sup-1`
|
|
41
|
-
| B (
|
|
42
|
-
| C (
|
|
52
|
+
| B (Bathymetric Publications; S-11 Part C section 1.2, "Mainly related to GEBCO") | `bathy` | the guidance's Bathymetric Publications code | `IHO B-12 3.0.0` → `urn:mrn:iho:pub:bathy:b12:3.0.0`
|
|
53
|
+
| C (Capacity Building Publications; S-11 Part C section 1.2) | `cb` | the guidance's Capacity Building Publications code | `IHO C-51 6.0.0` → `urn:mrn:iho:pub:cb:c51:6.0.0`
|
|
43
54
|
|===
|
|
44
55
|
|
|
45
56
|
=== The name form
|
|
@@ -53,7 +64,7 @@ series the guidance types:
|
|
|
53
64
|
|
|
54
65
|
S-158 is a framework publication defining a series of separate check
|
|
55
66
|
specifications (`S-158:100` generic, `S-158:1xx` product-specific,
|
|
56
|
-
`S-158:98` interoperability, `S-158:128` catalogue; the `
|
|
67
|
+
`S-158:98` interoperability, `S-158:128` catalogue; the `product`
|
|
57
68
|
component carries the member number). The member joins the name segment
|
|
58
69
|
hyphenated — the documented fleet extension of the guidance for
|
|
59
70
|
compound publication numbers — so the edition stays in its canonical
|
|
@@ -106,12 +117,13 @@ The guidance's bare correction/clarification slots (the `s57:3:1`
|
|
|
106
117
|
form) are NOT modeled faces — the flavor has no correction component —
|
|
107
118
|
and a bare digit tail segment rejects on decode.
|
|
108
119
|
|
|
109
|
-
== The legacy positional grammar (decode-only for
|
|
120
|
+
== The legacy positional grammar (decode-only for every series; emitted by none)
|
|
110
121
|
|
|
111
122
|
The pre-guidance emission — `urn:iho:<type>:<number>[:ed-<x.y.z>]
|
|
112
123
|
[:sup-…][:part-…][:annex-…][:appendix-…][:<sub>][:vol-…][:issue-…]
|
|
113
|
-
[:year-…]` — stays fully decodable for every series and
|
|
114
|
-
|
|
124
|
+
[:year-…]` — stays fully decodable for every series and is emitted by
|
|
125
|
+
none: all five series carry a guidance type code, so the guidance form
|
|
126
|
+
above is the flavor's only emission. Its laws:
|
|
115
127
|
|
|
116
128
|
- the docnumber occupies the first bare number segment; a further bare
|
|
117
129
|
digit segment binds the S-158 member (`urn:iho:s:158:100`), never
|
|
@@ -132,7 +144,7 @@ emission of the B/C series (no guidance type code). Its laws:
|
|
|
132
144
|
|
|
133
145
|
Both decode paths build through `Builder.build` — the S-158 alias
|
|
134
146
|
unification (a draft-era `part-S-102` URN resolves to the
|
|
135
|
-
`
|
|
147
|
+
`product` identity) and every other semantic validation is shared
|
|
136
148
|
with the text parse.
|
|
137
149
|
|
|
138
150
|
== The pubid-scheme URN (`urn:pubid:iho:`)
|
|
@@ -143,27 +155,31 @@ pubid's own lossless codec (issue #670;
|
|
|
143
155
|
(`Pubid.parse_urn(id.to_pubid_urn).to_hash == id.to_hash`).
|
|
144
156
|
|
|
145
157
|
urn:pubid:iho:std:100:ed-5.0.0:year-2024:part-2 IHO S-100 5.0.0 Part 2 (2024)
|
|
146
|
-
urn:pubid:iho:std:158:
|
|
158
|
+
urn:pubid:iho:std:158:product-102:ed-1.0.0 IHO S-158:102 1.0.0
|
|
147
159
|
urn:pubid:iho:std:122:ed-1.0.0:appendix-D:appsub-2 IHO S-122 1.0.0 Appendix D-2
|
|
148
160
|
urn:pubid:iho:pub:5:vol-2024 IHO P-5 Vol. 2024
|
|
149
161
|
|
|
150
162
|
Types: `std` (S), `pub` (P), `m` (M), `b` (B), `cl` (C), `id`.
|
|
151
|
-
Atoms, canonical order: `
|
|
163
|
+
Atoms, canonical order: `product-` (the S-158 member, riding the
|
|
152
164
|
document code before the edition — issue #774), `ed-`, `year-`,
|
|
153
165
|
`sup-`/`suped-`/`supyear-`, `part-`/`parted-`/`party-`, `spec-`/
|
|
154
166
|
`specsub-`/`specvar-`, `annex-`/`anned-`/`annyear-`, `appendix-`/
|
|
155
167
|
`appsub-`/`apped-`/`appyear-`, `vol-`/`issue-`/`voled-`/`voly-`. Case
|
|
156
168
|
is preserved (`part-A`); the yearbook year is a volume (`vol-2024`, no
|
|
157
|
-
`year-` value). The S-158 member emits the typed `
|
|
169
|
+
`year-` value). The S-158 member emits the typed `product-<NNN>` atom —
|
|
158
170
|
the draft-era part-faceted emission (`part-S-102`, `parted-`) is dead:
|
|
159
171
|
the `from_hash` unification redirects the legacy form onto the
|
|
160
|
-
`
|
|
172
|
+
`product` identity, so the legacy URN fails the canonical gate.
|
|
161
173
|
|
|
162
174
|
== relaton-side follow-ups (not this repo)
|
|
163
175
|
|
|
164
|
-
The official-URN namespace moved (`urn:mrn:iho:pub
|
|
176
|
+
The official-URN namespace moved (`urn:mrn:iho:pub:...`, now for every
|
|
177
|
+
series — the B/C rows moved from the legacy `urn:iho:b:/c:` form onto
|
|
178
|
+
their guidance codes `bathy`/`cb`) and
|
|
165
179
|
the S-158 member shape changed (`s158-102`, not `s:158:100` or the
|
|
166
180
|
part form): relaton-data-iho needs a re-crawl when this gem ships, and
|
|
167
181
|
the frozen testsuite corpus rows are re-frozen in the coupled corpus
|
|
168
182
|
round. The pubid-scheme slugs changed for S-158 identities
|
|
169
|
-
(`iho/std/158/
|
|
183
|
+
(`iho/std/158/product-102/...`); the B/C pubid-scheme slugs (`b`, `cl`)
|
|
184
|
+
are unchanged — only their `_type` names are
|
|
185
|
+
(`pubid:iho:bathymetric`, `pubid:iho:capacity_building`).
|
|
@@ -6,18 +6,22 @@ module Pubid
|
|
|
6
6
|
#
|
|
7
7
|
# == The adopted IHO MRN guidance (owner ruling, 2026-11-25)
|
|
8
8
|
#
|
|
9
|
-
#
|
|
10
|
-
#
|
|
11
|
-
#
|
|
12
|
-
#
|
|
9
|
+
# Every series emits the guidance form (S-100WG4, "MRN Guidelines for
|
|
10
|
+
# IHO"; the guidance's own examples are s57 /
|
|
11
|
+
# urn:mrn:iho:pub:spec:s57:3:1:supplement3 and — IHO's printed S-98
|
|
12
|
+
# metadata — urn:mrn:iho:pub:spec:s98:1.0.0):
|
|
13
13
|
#
|
|
14
14
|
# urn:mrn:iho:pub:<type>:<name>[:<edition>][:<trailing atoms>...]
|
|
15
15
|
#
|
|
16
|
-
# - <type>:
|
|
17
|
-
# (
|
|
18
|
-
#
|
|
19
|
-
#
|
|
20
|
-
#
|
|
16
|
+
# - <type>: the guidance's five publication type codes, one per
|
|
17
|
+
# series letter — bathy (B), cb (C), reg (M), per (P), spec (S).
|
|
18
|
+
# The B/C bindings follow IHO S-11 Part C Ed 1.0.0 section 1.2,
|
|
19
|
+
# which arranges the IHO publications under five groups ("B -
|
|
20
|
+
# Bathymetric Publications (Mainly related to GEBCO)", "C -
|
|
21
|
+
# Capacity Building Publications", M - Miscellaneous Publications
|
|
22
|
+
# (including Basic Documents), P - Periodic Publications, S -
|
|
23
|
+
# Standards and Specifications): the five groups map 1:1 onto the
|
|
24
|
+
# guidance's five codes.
|
|
21
25
|
# - <name>: sNNN — the lowercase series letter + number. The S-158
|
|
22
26
|
# member joins the name segment hyphenated (the fleet extension of
|
|
23
27
|
# the guidance for compound publication numbers, keeping the
|
|
@@ -45,33 +49,16 @@ module Pubid
|
|
|
45
49
|
# - urn:mrn:iho:pub:spec:s158-102:1.0.0 IHO S-158:102 1.0.0
|
|
46
50
|
# - urn:mrn:iho:pub:reg:m2:sup-1 IHO M-2 Sup 1
|
|
47
51
|
# - urn:mrn:iho:pub:per:p5:vol-2024 IHO P-5 Vol. 2024
|
|
52
|
+
# - urn:mrn:iho:pub:bathy:b12:3.0.0 IHO B-12 3.0.0 (CSB)
|
|
53
|
+
# - urn:mrn:iho:pub:cb:c51:6.0.0 IHO C-51 6.0.0
|
|
48
54
|
#
|
|
49
|
-
# == The legacy positional scheme (
|
|
50
|
-
# every series, never emitted for S/P/M)
|
|
55
|
+
# == The legacy positional scheme (decode-only for every series)
|
|
51
56
|
#
|
|
52
|
-
# The pre-guidance positional grammar
|
|
53
|
-
#
|
|
54
|
-
#
|
|
55
|
-
#
|
|
56
|
-
#
|
|
57
|
-
# [:sup-<n>[:ed-<x.y.z>][:year-<yyyy>]]
|
|
58
|
-
# [:part-<X>[:ed-<x.y.z>][:year-<yyyy>]]
|
|
59
|
-
# [:spec-<n>[:specsub-<n>][:specvar-<X>]]
|
|
60
|
-
# [:annex-<A>[...]]
|
|
61
|
-
# [:appendix-<B>[:<sub>][...]]
|
|
62
|
-
# [:vol-<n>[:issue-<n>][...]]
|
|
63
|
-
# [:year-<yyyy>]
|
|
64
|
-
#
|
|
65
|
-
# Containment: part contains annexes, annex contains appendices, the
|
|
66
|
-
# subnumber is a child atom of its appendix, the issue a child of its
|
|
67
|
-
# volume. Letters are case-preserved. The volume carries every serial
|
|
68
|
-
# locator — the yearbook year IS a volume (P-5 Vol. 2024 gives
|
|
69
|
-
# vol-2024), so a periodical identifier has no year segment; the
|
|
70
|
-
# year- segment exists only for the standards with-year qualifier.
|
|
71
|
-
#
|
|
72
|
-
# Examples (the legacy form):
|
|
73
|
-
# - urn:iho:b:4:ed-2.19.0 IHO B-4 2.19.0
|
|
74
|
-
# - urn:iho:c:13:ed-1.0.0 IHO C-13 1.0.0
|
|
57
|
+
# The pre-guidance positional grammar — one semantic atom per
|
|
58
|
+
# segment, marker = the lowercased human-face token, ed- following
|
|
59
|
+
# ISO's RFC 5141 precedent — is decoded by the UrnParser for every
|
|
60
|
+
# series and emitted by none: all five series carry a guidance type
|
|
61
|
+
# code, so the guidance form above is the only emission.
|
|
75
62
|
class UrnGenerator
|
|
76
63
|
attr_reader :identifier
|
|
77
64
|
|
|
@@ -79,17 +66,19 @@ module Pubid
|
|
|
79
66
|
@identifier = identifier
|
|
80
67
|
end
|
|
81
68
|
|
|
82
|
-
# The guidance publication type per series letter
|
|
83
|
-
#
|
|
84
|
-
#
|
|
85
|
-
#
|
|
86
|
-
#
|
|
87
|
-
|
|
69
|
+
# The guidance publication type per series letter — the five
|
|
70
|
+
# S-11 Part C groups onto the guidance's five codes: S =
|
|
71
|
+
# Standards and Specifications -> spec, P = the periodic
|
|
72
|
+
# publications -> per, M = Miscellaneous (Base Regulatory
|
|
73
|
+
# Publications) -> reg, B = Bathymetric Publications -> bathy,
|
|
74
|
+
# C = Capacity Building Publications -> cb.
|
|
75
|
+
MRN_TYPES = { "S" => "spec", "P" => "per", "M" => "reg",
|
|
76
|
+
"B" => "bathy", "C" => "cb" }.freeze
|
|
88
77
|
|
|
89
78
|
# The guidance-form trailing atoms in containment order — the same
|
|
90
79
|
# order the legacy scheme prints them. The Appendix subnumber is
|
|
91
80
|
# handled inline (it hyphen-joins its appendix, one compound
|
|
92
|
-
# segment); the
|
|
81
|
+
# segment); the product member rides the name segment.
|
|
93
82
|
MRN_SEGMENTS = [
|
|
94
83
|
[:year, "year"],
|
|
95
84
|
[:supplement, "sup"], [:supplement_edition, "ed"],
|
|
@@ -106,31 +95,8 @@ module Pubid
|
|
|
106
95
|
[:volume_year, "year"]
|
|
107
96
|
].freeze
|
|
108
97
|
|
|
109
|
-
# [component, marker] pairs of the legacy positional scheme, in the
|
|
110
|
-
# containment/canonical-face order. A component edition/year emits
|
|
111
|
-
# right after its component (the ed- segment attaches to the node
|
|
112
|
-
# it follows, recording the separately-published mode). nil markers
|
|
113
|
-
# emit their component as a BARE atom (the appendix subnumber
|
|
114
|
-
# directly after its appendix).
|
|
115
|
-
SEGMENTS = [
|
|
116
|
-
[:edition, "ed"], [:year, "year"],
|
|
117
|
-
[:supplement, "sup"], [:supplement_edition, "ed"],
|
|
118
|
-
[:supplement_year, "year"],
|
|
119
|
-
[:part, "part"], [:part_edition, "ed"], [:part_year, "year"],
|
|
120
|
-
# the S-4 spec citation: a child of its part (the citation
|
|
121
|
-
# letter rides the part- atom), the dotted sub and the
|
|
122
|
-
# parenthesized variant its own children.
|
|
123
|
-
[:spec, "spec"], [:spec_sub, "specsub"], [:spec_variant, "specvar"],
|
|
124
|
-
[:annex, "annex"], [:annex_edition, "ed"], [:annex_year, "year"],
|
|
125
|
-
[:appendix, "appendix"], [:appendix_subnumber, nil],
|
|
126
|
-
[:appendix_edition, "ed"], [:appendix_year, "year"],
|
|
127
|
-
[:volume, "vol"], [:issue, "issue"], [:volume_edition, "ed"],
|
|
128
|
-
[:volume_year, "year"]
|
|
129
|
-
].freeze
|
|
130
|
-
|
|
131
98
|
def generate
|
|
132
|
-
|
|
133
|
-
MRN_TYPES[letter] ? generate_mrn(MRN_TYPES[letter]) : generate_legacy
|
|
99
|
+
generate_mrn(MRN_TYPES.fetch(identifier.class.type[:short].to_s))
|
|
134
100
|
end
|
|
135
101
|
|
|
136
102
|
private
|
|
@@ -149,7 +115,7 @@ module Pubid
|
|
|
149
115
|
# canonical 4th position: s158-102.
|
|
150
116
|
def mrn_name
|
|
151
117
|
name = +"#{identifier.class.type[:short].downcase}#{identifier.number}"
|
|
152
|
-
name << "-#{identifier.
|
|
118
|
+
name << "-#{identifier.product}" if identifier.product
|
|
153
119
|
name
|
|
154
120
|
end
|
|
155
121
|
|
|
@@ -176,25 +142,6 @@ module Pubid
|
|
|
176
142
|
end
|
|
177
143
|
end
|
|
178
144
|
end
|
|
179
|
-
|
|
180
|
-
# The legacy positional form (B/C today; the shape every legacy
|
|
181
|
-
# urn:iho: URN decodes from).
|
|
182
|
-
def generate_legacy
|
|
183
|
-
parts = ["urn", "iho"]
|
|
184
|
-
parts << identifier.class.type[:short].to_s.downcase
|
|
185
|
-
parts << identifier.number.to_s
|
|
186
|
-
parts.concat(component_segments)
|
|
187
|
-
parts.join(":")
|
|
188
|
-
end
|
|
189
|
-
|
|
190
|
-
def component_segments
|
|
191
|
-
SEGMENTS.filter_map do |component, marker|
|
|
192
|
-
value = identifier.public_send(component)
|
|
193
|
-
next unless value
|
|
194
|
-
|
|
195
|
-
marker ? "#{marker}-#{value}" : value.to_s
|
|
196
|
-
end
|
|
197
|
-
end
|
|
198
145
|
end
|
|
199
146
|
end
|
|
200
147
|
end
|
data/lib/pubid/iho/urn_parser.rb
CHANGED
|
@@ -4,14 +4,15 @@ module Pubid
|
|
|
4
4
|
module Iho
|
|
5
5
|
# Parses IHO URNs back into identifiers, both emitted schemes:
|
|
6
6
|
#
|
|
7
|
-
# == The adopted IHO MRN guidance form (
|
|
7
|
+
# == The adopted IHO MRN guidance form (the emission of every series)
|
|
8
8
|
#
|
|
9
9
|
# urn:mrn:iho:pub:<type>:<name>[:<edition>][:<trailing atoms>...]
|
|
10
10
|
#
|
|
11
|
-
# - <type>:
|
|
12
|
-
# (
|
|
13
|
-
#
|
|
14
|
-
#
|
|
11
|
+
# - <type>: bathy / cb / reg / per / spec — the guidance publication
|
|
12
|
+
# types (the five S-11 Part C Ed 1.0.0 section 1.2 groups:
|
|
13
|
+
# Bathymetric Publications, Capacity Building Publications,
|
|
14
|
+
# Miscellaneous Publications, Periodic Publications, Standards and
|
|
15
|
+
# Specifications); each maps back to its series letter.
|
|
15
16
|
# - <name>: sNNN — the lowercase series letter + number; the S-158
|
|
16
17
|
# member joins hyphenated (s158-102), the fleet extension of the
|
|
17
18
|
# guidance for compound publication numbers.
|
|
@@ -24,8 +25,8 @@ module Pubid
|
|
|
24
25
|
# correction/clarification slots (the s57:3:1 form) are not modeled
|
|
25
26
|
# faces — a bare digit tail segment rejects as unexpected.
|
|
26
27
|
#
|
|
27
|
-
# == The legacy positional form (
|
|
28
|
-
#
|
|
28
|
+
# == The legacy positional form (decode-only for every series,
|
|
29
|
+
# emitted by none)
|
|
29
30
|
#
|
|
30
31
|
# urn:iho:<type>:<number>[:ed-<x.y.z>][:sup-<n>][:part-<X>]
|
|
31
32
|
# [:spec-<n>[:specsub-<n>][:specvar-<X>]][:annex-<A>]
|
|
@@ -33,7 +34,7 @@ module Pubid
|
|
|
33
34
|
#
|
|
34
35
|
# Segment discipline (mirrors the ISO URN parser's strictness):
|
|
35
36
|
# - the docnumber occupies the first bare number segment; a further
|
|
36
|
-
# bare digit segment binds
|
|
37
|
+
# bare digit segment binds product — the S-158 member number as
|
|
37
38
|
# its own segment ("urn:iho:s:158:100"), never glued into the
|
|
38
39
|
# number (issue #774);
|
|
39
40
|
# - every other component is a marker-prefixed segment validated
|
|
@@ -58,7 +59,7 @@ module Pubid
|
|
|
58
59
|
# which decodes into the two components).
|
|
59
60
|
#
|
|
60
61
|
# Both paths build through Builder.build — the S-158 alias
|
|
61
|
-
# unification (a draft-era part-S-102 URN decodes to the
|
|
62
|
+
# unification (a draft-era part-S-102 URN decodes to the product
|
|
62
63
|
# identity) and every other semantic validation is shared with the
|
|
63
64
|
# text parse.
|
|
64
65
|
#
|
|
@@ -67,6 +68,8 @@ module Pubid
|
|
|
67
68
|
# - urn:mrn:iho:pub:spec:s158-102:1.0.0 → IHO S-158:102 1.0.0
|
|
68
69
|
# - urn:mrn:iho:pub:reg:m2:sup-1 → IHO M-2 Sup 1
|
|
69
70
|
# - urn:mrn:iho:pub:per:p1:vol-30:issue-2 → IHO P-1 Vol. 30 (2)
|
|
71
|
+
# - urn:mrn:iho:pub:bathy:b12:3.0.0 → IHO B-12 3.0.0
|
|
72
|
+
# - urn:mrn:iho:pub:cb:c51:6.0.0 → IHO C-51 6.0.0
|
|
70
73
|
# - urn:iho:s:44:ed-5.0.0 → IHO S-44 5.0.0
|
|
71
74
|
# - urn:iho:s:158:100:ed-1.0.0 → IHO S-158:100 1.0.0
|
|
72
75
|
# - urn:iho:s:4:ed-4.10.0:part-B:spec-401 → IHO S-4 4.10.0 B-401
|
|
@@ -74,9 +77,10 @@ module Pubid
|
|
|
74
77
|
TYPE_LETTERS = %w[s p m b c].freeze
|
|
75
78
|
|
|
76
79
|
# The guidance publication type -> series letter (the emission's
|
|
77
|
-
# MRN_TYPES inverted)
|
|
78
|
-
# unknown type rejects.
|
|
79
|
-
MRN_TYPE_LETTERS = { "spec" => "S", "per" => "P", "reg" => "M"
|
|
80
|
+
# MRN_TYPES inverted): the five S-11 Part C groups onto their
|
|
81
|
+
# series letters. An unknown type rejects.
|
|
82
|
+
MRN_TYPE_LETTERS = { "spec" => "S", "per" => "P", "reg" => "M",
|
|
83
|
+
"bathy" => "B", "cb" => "C" }.freeze
|
|
80
84
|
|
|
81
85
|
MRN_PREFIX = "urn:mrn:iho:pub:"
|
|
82
86
|
# The publication name: the lowercase series letter + number, the
|
|
@@ -187,12 +191,13 @@ module Pubid
|
|
|
187
191
|
attrs = { number: match[2] }
|
|
188
192
|
# the member designator rides the S-158 anchor; another series
|
|
189
193
|
# rejects through the builder's anchor assert
|
|
190
|
-
attrs[:
|
|
194
|
+
attrs[:product] = match[3] if match[3]
|
|
191
195
|
attrs
|
|
192
196
|
end
|
|
193
197
|
|
|
194
198
|
# The legacy positional decode (the pre-guidance emission shape and
|
|
195
|
-
# every legacy spelling it decodes
|
|
199
|
+
# every legacy spelling it decodes; never emitted — all five series
|
|
200
|
+
# carry a guidance type code).
|
|
196
201
|
def parse_legacy_urn(urn)
|
|
197
202
|
segments = split_parts(strip_namespace(urn))
|
|
198
203
|
type_token = read_type!(segments, urn)
|
|
@@ -215,7 +220,7 @@ module Pubid
|
|
|
215
220
|
# part-S-102 decode renders the canonical colon designator.
|
|
216
221
|
def build_identifier(hash, urn)
|
|
217
222
|
identifier = Builder.build(hash)
|
|
218
|
-
identifier.
|
|
223
|
+
identifier.product_face = nil
|
|
219
224
|
identifier
|
|
220
225
|
rescue ArgumentError => e
|
|
221
226
|
raise Pubid::Errors::UrnParseError,
|
|
@@ -237,7 +242,7 @@ module Pubid
|
|
|
237
242
|
end
|
|
238
243
|
|
|
239
244
|
# The first bare number segment is the docnumber; the next bare
|
|
240
|
-
# digit segment binds the S-158 member number (
|
|
245
|
+
# digit segment binds the S-158 member number (product — the
|
|
241
246
|
# member as its own segment, never glued into the number), and
|
|
242
247
|
# anything else ends the number run (the segment loop below
|
|
243
248
|
# decides whether it is a legal marker).
|
|
@@ -250,7 +255,7 @@ module Pubid
|
|
|
250
255
|
|
|
251
256
|
attrs = { number: number }
|
|
252
257
|
if segments.first&.match?(CHECKS_SEGMENT_RE)
|
|
253
|
-
attrs[:
|
|
258
|
+
attrs[:product] = segments.shift
|
|
254
259
|
end
|
|
255
260
|
attrs
|
|
256
261
|
end
|
|
@@ -303,7 +308,7 @@ module Pubid
|
|
|
303
308
|
end
|
|
304
309
|
|
|
305
310
|
# specsub-/specvar- are children of the spec atom — allowed only
|
|
306
|
-
# in their parent's slot (the
|
|
311
|
+
# in their parent's slot (the MRN_SEGMENTS table in the generator).
|
|
307
312
|
def assert_spec_parent!(key, ctx, urn)
|
|
308
313
|
return unless %i[spec_sub spec_variant].include?(key)
|
|
309
314
|
return if SPEC_PARENTS.include?(ctx[:component])
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
[[urn-isbn]]
|
|
2
|
+
= ISBN URN schemes
|
|
3
|
+
|
|
4
|
+
This file is the single home of the ISBN (`isbn`) flavor's URN
|
|
5
|
+
documentation — the per-flavor split of the former `docs/URN-SCHEMES.adoc`
|
|
6
|
+
(owner ruling 2026-11-25: "for URN schemes how can we mix up different
|
|
7
|
+
flavors in 1 file? SPLIT THE FILE!"). The index that links every flavor's
|
|
8
|
+
file is `docs/URN-SCHEMES.adoc`.
|
|
9
|
+
|
|
10
|
+
Namespace: `urn:pubid:isbn:` (the `_type` flavor segment).
|
|
11
|
+
|
|
12
|
+
Official URN: `urn:isbn:…`, IANA-registered (formal template `isbn`).
|
|
13
|
+
|
|
14
|
+
Current `to_urn` (≤400 sampled pass ids): 4 ids, 0 round-trip, 0 reshape, 4 do not re-parse, 0 raise, 0 empty, 1 colliding URNs.
|
|
15
|
+
Corpus: 4 of 4 pass ids parse.
|
|
16
|
+
|
|
17
|
+
[cols="3,1,1,1,4",options="header"]
|
|
18
|
+
|===
|
|
19
|
+
| `_type` | token | core | ids | example
|
|
20
|
+
| `pubid:isbn:book` | `book` | — | 4 | `ISBN 0-306-40615-2`
|
|
21
|
+
| `pubid:isbn:identifier` | `id` | — | 0 | —
|
|
22
|
+
|===
|
|
23
|
+
|
|
24
|
+
Atoms, canonical order: `hyphenated-` (`hyphenated`), `raw-` (`raw`).
|
|
25
|
+
|
|
26
|
+
Landed (issue #670) as drafted, with no core: both spellings are optional atoms. All 4 corpus rows emit.
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
[[urn-iso]]
|
|
2
|
+
= ISO URN schemes
|
|
3
|
+
|
|
4
|
+
This file is the single home of the ISO (`iso`) flavor's URN
|
|
5
|
+
documentation — the per-flavor split of the former `docs/URN-SCHEMES.adoc`
|
|
6
|
+
(owner ruling 2026-11-25: "for URN schemes how can we mix up different
|
|
7
|
+
flavors in 1 file? SPLIT THE FILE!"). The index that links every flavor's
|
|
8
|
+
file is `docs/URN-SCHEMES.adoc`.
|
|
9
|
+
|
|
10
|
+
Namespace: `urn:pubid:iso:`. Schema: `lib/pubid/iso/pubid_urn_schema.rb`.
|
|
11
|
+
|
|
12
|
+
Official URN: `urn:iso:std:…`, IANA-registered, RFC 5141. Current `to_urn`:
|
|
13
|
+
400 ids, 72 round-trip, 326 reshape, 2 do not re-parse, 8 colliding URNs.
|
|
14
|
+
|
|
15
|
+
pubid scheme: all 7,647 pass ids emit, round-trip by `to_hash`, are
|
|
16
|
+
path-safe, and give no collision.
|
|
17
|
+
|
|
18
|
+
[cols="3,1",options="header"]
|
|
19
|
+
|===
|
|
20
|
+
| `_type` | token
|
|
21
|
+
| `pubid:iso:international-standard` | `is`
|
|
22
|
+
| `pubid:iso:technical-report` | `tr`
|
|
23
|
+
| `pubid:iso:technical-specification` | `ts`
|
|
24
|
+
| `pubid:iso:guide` | `guide`
|
|
25
|
+
| `pubid:iso:pas` | `pas`
|
|
26
|
+
| `pubid:iso:recommendation` | `r`
|
|
27
|
+
| `pubid:iso:international-standardized-profile` | `isp`
|
|
28
|
+
| `pubid:iso:international-workshop-agreement` | `iwa`
|
|
29
|
+
| `pubid:iso:technology-trends-assessments` | `tta`
|
|
30
|
+
| `pubid:iso:data` | `data`
|
|
31
|
+
| `pubid:iso:tc-document` | `tcdoc`
|
|
32
|
+
| `pubid:iso:directives` | `dir`
|
|
33
|
+
| `pubid:iso:directives-supplement` | `dirsup`
|
|
34
|
+
| `pubid:iso:amendment` | `amd`
|
|
35
|
+
| `pubid:iso:corrigendum` | `cor`
|
|
36
|
+
| `pubid:iso:addendum` | `add`
|
|
37
|
+
| `pubid:iso:extract` | `ext`
|
|
38
|
+
| `pubid:iso:supplement` | `sup`
|
|
39
|
+
| `pubid:iso:all-parts` | `all`
|
|
40
|
+
| `pubid:iso:bundled-identifier` | `bundle`
|
|
41
|
+
|===
|
|
42
|
+
|
|
43
|
+
Core: `number`. Atoms, canonical order: `pub-`, `co-` (list), `part-`,
|
|
44
|
+
`subpart-`, `year-`, `month-`, `day-`, `undated-` (bool), `ed-`
|
|
45
|
+
(`edition.number`), `stage-`, `iter-` (`stage_iteration`), `v-`
|
|
46
|
+
(`supplement_version`), `lang-` (`languages.*.code`, list), `loc-`;
|
|
47
|
+
`tcdoc` adds `tctype-`, `tc-`, `sctype-`, `sc-`, `wgtype-`, `wg-`; `dir`
|
|
48
|
+
adds `subgroup-`; `all` adds `ids-(…)`; `bundle` adds `sups-(…)`. Facets:
|
|
49
|
+
`langsrc` (`languages.*.original_code`), `edsrc` (`edition.original_text`).
|
|
50
|
+
|
|
51
|
+
----
|
|
52
|
+
ISO 9001 urn:pubid:iso:is:9001
|
|
53
|
+
ISO/IEC/IEEE 8802-3:2021 urn:pubid:iso:is:8802:co-IEC,IEEE:part-3:year-2021
|
|
54
|
+
ISO/DIS 9001 urn:pubid:iso:is:9001:stage-dis
|
|
55
|
+
ISO 9001:2015(E) urn:pubid:iso:is:9001:year-2015:lang-en:f:0.langsrc-E
|
|
56
|
+
ISO 9001:2015/Amd 1:2016/Cor 1:2017 urn:pubid:iso:is:9001:year-2015:amd:1:year-2016:cor:1:year-2017
|
|
57
|
+
ISO 9001 (all parts) urn:pubid:iso:all:ids-(iso:is:9001)
|
|
58
|
+
----
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
[[urn-itu]]
|
|
2
|
+
= ITU URN schemes
|
|
3
|
+
|
|
4
|
+
This file is the single home of the ITU (`itu`) flavor's URN
|
|
5
|
+
documentation — the per-flavor split of the former `docs/URN-SCHEMES.adoc`
|
|
6
|
+
(owner ruling 2026-11-25: "for URN schemes how can we mix up different
|
|
7
|
+
flavors in 1 file? SPLIT THE FILE!"). The index that links every flavor's
|
|
8
|
+
file is `docs/URN-SCHEMES.adoc`.
|
|
9
|
+
|
|
10
|
+
Namespace: `urn:pubid:itu:`. Schema: `lib/pubid/itu/pubid_urn_schema.rb`.
|
|
11
|
+
|
|
12
|
+
Official URN: `urn:itu:…`, IANA-registered (formal template `itu`). Current
|
|
13
|
+
`to_urn`: 400 ids, 299 round-trip, 84 reshape, 17 do not re-parse, 0
|
|
14
|
+
colliding URNs.
|
|
15
|
+
|
|
16
|
+
pubid scheme: all 2,758 pass ids emit, round-trip by `to_hash`, are
|
|
17
|
+
path-safe, and give 2,756 distinct URNs. The two shared URNs are not
|
|
18
|
+
collisions: `ITU-T OB.1096` and `ITU OB No. 1096` (with and without a date)
|
|
19
|
+
are one document each since #696. The longest URN is 160 characters.
|
|
20
|
+
|
|
21
|
+
[cols="3,1",options="header"]
|
|
22
|
+
|===
|
|
23
|
+
| `_type` | token
|
|
24
|
+
| `pubid:itu:recommendation` | `rec`
|
|
25
|
+
| `pubid:itu:report` | `rpt`
|
|
26
|
+
| `pubid:itu:resolution` | `res`
|
|
27
|
+
| `pubid:itu:combined-identifier` | `comb`
|
|
28
|
+
| `pubid:itu:question` | `q`
|
|
29
|
+
| `pubid:itu:handbook` | `hb`
|
|
30
|
+
| `pubid:itu:radio-regulations` | `rr`
|
|
31
|
+
| `pubid:itu:special-publication` | `sp`
|
|
32
|
+
| `pubid:itu:contribution` | `c`
|
|
33
|
+
| `pubid:itu:identifier` | `id`
|
|
34
|
+
| `pubid:itu:annex` | `annex`
|
|
35
|
+
| `pubid:itu:annex-of-recommendation` | `anx`
|
|
36
|
+
| `pubid:itu:appendix-of-recommendation` | `app`
|
|
37
|
+
| `pubid:itu:supplement` | `sup`
|
|
38
|
+
| `pubid:itu:amendment` | `amd`
|
|
39
|
+
| `pubid:itu:corrigendum` | `cor`
|
|
40
|
+
| `pubid:itu:addendum` | `add`
|
|
41
|
+
| `pubid:itu:errata` | `err`
|
|
42
|
+
|===
|
|
43
|
+
|
|
44
|
+
Core: `number` (of a supplement, its ordinal). Atoms, in the schema order:
|
|
45
|
+
`sector-`, `series-`, `seriesword-` and `seriesdash-` (bool), `imp-`
|
|
46
|
+
(`imp_marker`, the `Imp` of an implementer's guide), `subseries-`,
|
|
47
|
+
`part-` (`parts`, list), `suffix-` (`series_suffix`), `qualifier-`,
|
|
48
|
+
`rangeend-`, `attachment-` (bool), the second designations of a joint
|
|
49
|
+
Recommendation (`combseries-`, `combnumber-`, `combsubseries-`,
|
|
50
|
+
`combsuffix-`, `combqualifier-`, lists over `combined.*`), the Question
|
|
51
|
+
values `sg-` (`study_group`), `bl-`, `bracketed-` and `colon-` (bool),
|
|
52
|
+
`technical-` (bool), `material-`, `v-` (`version`), `year-`, `month-`,
|
|
53
|
+
`day-`, `lang-` (`language`), `twin-(…)` (`common_text_twin`, the nested
|
|
54
|
+
ISO/IEC id of `ITU-T H.222.0 (2021) | ISO/IEC 13818-1:2022`, with the ISO
|
|
55
|
+
schema). Facets (bool): `suffixspaced`,
|
|
56
|
+
`qualifierglued`, `combsuffixspaced` and `combqualifierglued` (lists),
|
|
57
|
+
`numberglued`, `slashjoined`.
|
|
58
|
+
|
|
59
|
+
----
|
|
60
|
+
ITU-T G.729 Annex B (1996) Cor. 3 (03/2001) urn:pubid:itu:rec:729:sector-T:series-G:anx:B:year-1996:cor:3:year-2001:month-03
|
|
61
|
+
ITU-T H.264 (V14) (08/2021) urn:pubid:itu:rec:264:sector-T:series-H:v-14:year-2021:month-08
|
|
62
|
+
Report ITU-R BT.2020-1 urn:pubid:itu:rpt:2020:sector-R:series-BT:part-1
|
|
63
|
+
ITU-T D.81/F.80 bis (11/1980) urn:pubid:itu:comb:81:sector-T:series-D:combseries-F:combnumber-80:combsuffix-bis:year-1980:month-11:f:0.combsuffixspaced-true
|
|
64
|
+
ITU-R 37-7/5: urn:pubid:itu:q:37:sector-R:part-7:sg-5:colon-true
|
|
65
|
+
ITU-T E Suppl.1 urn:pubid:itu:sup:1:sector-T:series-E:f:0.numberglued-true
|
|
66
|
+
----
|
|
67
|
+
|
|
68
|
+
Rulings of this wave:
|
|
69
|
+
|
|
70
|
+
* *Facets are the flags that the ITU classes call rendering-only*: the same
|
|
71
|
+
document printed two ways (`Suppl.1`/`Suppl. 1`, `V.25 ter`/`V.25ter`,
|
|
72
|
+
`D.502R`/`D.502 R`, `Amd. 1/Cor. 1`/`Amd. 1 Cor. 1`). Each is a boolean,
|
|
73
|
+
so the codec has boolean facets now (`kind: :bool`, and `:bools` for a
|
|
74
|
+
list, see <<../../../docs/URN-SCHEMES.adoc#rules-kinds,kinds>>). Every other flag is an atom, because it names a
|
|
75
|
+
different document: `Technical Cor.`, `attachment`, the word `series`, a
|
|
76
|
+
series code joined by a dash. The Question flags `/BL`, the brackets and
|
|
77
|
+
the trailing `:` are atoms too: the design proposal had them as facets,
|
|
78
|
+
but nothing in the ITU code says that they are spelling only.
|
|
79
|
+
* *The supplement chain is the `base` chain.* Supplements, annexes and
|
|
80
|
+
appendixes all name their parent `base`, so they share the slug prefix of
|
|
81
|
+
the Recommendation.
|
|
82
|
+
* *Not placed:* the `parts` of a second designation (`G.780/Y.1351-2`) is
|
|
83
|
+
a list inside a list, which the codec cannot write, so `#to_pubid_urn`
|
|
84
|
+
raises for it (pinned). No pass fixture has one. Neither are the shared
|
|
85
|
+
attributes of `Pubid::Identifier` that no ITU builder sets (`date`,
|
|
86
|
+
`languages`, `stage` …).
|
|
87
|
+
* *Coverage beyond the pass fixtures.* Every `full/` input and every
|
|
88
|
+
`parse("…")` literal of the ITU specs that parses also round-trips.
|
|
89
|
+
* *Cutting the facets merges nothing:* 2,752 slugs without the `f` group, 0
|
|
90
|
+
shared.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
[[urn-jcgm]]
|
|
2
|
+
= JCGM URN schemes
|
|
3
|
+
|
|
4
|
+
This file is the single home of the JCGM (`jcgm`) flavor's URN
|
|
5
|
+
documentation — the per-flavor split of the former `docs/URN-SCHEMES.adoc`
|
|
6
|
+
(owner ruling 2026-11-25: "for URN schemes how can we mix up different
|
|
7
|
+
flavors in 1 file? SPLIT THE FILE!"). The index that links every flavor's
|
|
8
|
+
file is `docs/URN-SCHEMES.adoc`.
|
|
9
|
+
|
|
10
|
+
Namespace: `urn:pubid:jcgm:` (the `_type` flavor segment).
|
|
11
|
+
|
|
12
|
+
Official URN: none. The organization has no namespace in the IANA registry, and the current `urn:jcgm:…` form of `to_urn` is pubid-invented (legacy, no round-trip promise).
|
|
13
|
+
|
|
14
|
+
Current `to_urn` (≤400 sampled pass ids): 31 ids, 29 round-trip, 2 reshape, 0 do not re-parse, 0 raise, 0 empty, 0 colliding URNs.
|
|
15
|
+
|
|
16
|
+
Corpus: 31 of 31 pass ids parse.
|
|
17
|
+
|
|
18
|
+
[cols="3,1,1,1,4",options="header"]
|
|
19
|
+
|===
|
|
20
|
+
| `_type` | token | core | ids | example
|
|
21
|
+
| `pubid:jcgm:amendment` | `amd` | number | 3 | `JCGM 100:2008/Amd 1`
|
|
22
|
+
| `pubid:jcgm:corrigendum` | `cor` | number | 2 | `JCGM 200:2008 Corrigendum`
|
|
23
|
+
| `pubid:jcgm:guide` | `guide` | number | 13 | `JCGM 100`
|
|
24
|
+
| `pubid:jcgm:gum-guide` | `gumguide` | number | 2 | `JCGM GUM-1:2022-11-28`
|
|
25
|
+
| `pubid:jcgm:identifier` | `id` | number | 0 | —
|
|
26
|
+
| `pubid:jcgm:meeting` | `meeting` | number | 16 | `JCGM 11st Meeting (2006)`
|
|
27
|
+
|===
|
|
28
|
+
|
|
29
|
+
Atoms, canonical order: `year-` (`year`), `month-` (`month`), `day-` (`day`), `lang-` (`languages.*.code`, list).
|
|
30
|
+
|
|
31
|
+
Landed (issue #670) as drafted. All 31 corpus rows emit.
|
|
32
|
+
|
|
33
|
+
Facet candidates (spelling-only): `languages.*.original_code`.
|