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.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/data/parg/iho.json +1 -1
  3. data/data/parg/iho.parg +33 -26
  4. data/lib/pubid/adobe/urn.adoc +28 -0
  5. data/lib/pubid/amca/urn.adoc +29 -0
  6. data/lib/pubid/ansi/urn.adoc +45 -0
  7. data/lib/pubid/api/urn.adoc +34 -0
  8. data/lib/pubid/arxiv/urn.adoc +25 -0
  9. data/lib/pubid/ashrae/urn.adoc +33 -0
  10. data/lib/pubid/asme/urn.adoc +26 -0
  11. data/lib/pubid/astm/urn.adoc +52 -0
  12. data/lib/pubid/bipm/urn.adoc +72 -0
  13. data/lib/pubid/bsi/urn.adoc +79 -0
  14. data/lib/pubid/bsi_pfs/urn.adoc +20 -0
  15. data/lib/pubid/calconnect/urn.adoc +26 -0
  16. data/lib/pubid/calconnect_pfs/urn.adoc +15 -0
  17. data/lib/pubid/ccsds/urn.adoc +28 -0
  18. data/lib/pubid/cen_cenelec/urn.adoc +68 -0
  19. data/lib/pubid/cen_pfs/urn.adoc +18 -0
  20. data/lib/pubid/cie/urn.adoc +44 -0
  21. data/lib/pubid/csa/urn.adoc +53 -0
  22. data/lib/pubid/doi/urn.adoc +27 -0
  23. data/lib/pubid/doi_pfs/urn.adoc +26 -0
  24. data/lib/pubid/easc/urn.adoc +28 -0
  25. data/lib/pubid/ecma/urn.adoc +29 -0
  26. data/lib/pubid/etsi/urn.adoc +49 -0
  27. data/lib/pubid/etsi_pfs/urn.adoc +31 -0
  28. data/lib/pubid/eu/urn.adoc +28 -0
  29. data/lib/pubid/evs/urn.adoc +44 -0
  30. data/lib/pubid/gb/urn.adoc +30 -0
  31. data/lib/pubid/gost/urn.adoc +64 -0
  32. data/lib/pubid/iana/urn.adoc +27 -0
  33. data/lib/pubid/idf/urn.adoc +33 -0
  34. data/lib/pubid/iec/urn.adoc +78 -0
  35. data/lib/pubid/ieee/urn.adoc +128 -0
  36. data/lib/pubid/ietf/urn.adoc +31 -0
  37. data/lib/pubid/iho/CLAUDE.md +50 -26
  38. data/lib/pubid/iho/builder.rb +15 -15
  39. data/lib/pubid/iho/identifiers/base.rb +56 -9
  40. data/lib/pubid/iho/identifiers/bathymetric.rb +18 -0
  41. data/lib/pubid/iho/identifiers/capacity_building.rb +25 -0
  42. data/lib/pubid/iho/identifiers.rb +2 -2
  43. data/lib/pubid/iho/pubid_urn_schema.rb +7 -7
  44. data/lib/pubid/iho/renderer.rb +3 -3
  45. data/lib/pubid/iho/urn.adoc +35 -19
  46. data/lib/pubid/iho/urn_generator.rb +32 -85
  47. data/lib/pubid/iho/urn_parser.rb +23 -18
  48. data/lib/pubid/isbn/urn.adoc +26 -0
  49. data/lib/pubid/iso/urn.adoc +58 -0
  50. data/lib/pubid/itu/urn.adoc +90 -0
  51. data/lib/pubid/jcgm/urn.adoc +33 -0
  52. data/lib/pubid/jis/urn.adoc +35 -0
  53. data/lib/pubid/nist/urn.adoc +99 -0
  54. data/lib/pubid/oasis/urn.adoc +27 -0
  55. data/lib/pubid/ogc/urn.adoc +26 -0
  56. data/lib/pubid/oiml/urn.adoc +43 -0
  57. data/lib/pubid/omg/urn.adoc +27 -0
  58. data/lib/pubid/plateau/urn.adoc +43 -0
  59. data/lib/pubid/sae/urn.adoc +24 -0
  60. data/lib/pubid/tgpp/urn.adoc +28 -0
  61. data/lib/pubid/un/urn.adoc +27 -0
  62. data/lib/pubid/version.rb +1 -1
  63. data/lib/pubid/w3c/urn.adoc +37 -0
  64. data/lib/pubid/wmo/urn.adoc +28 -0
  65. data/lib/pubid/xsf/urn.adoc +25 -0
  66. metadata +59 -6
  67. data/lib/pubid/iho/identifiers/bibliographic.rb +0 -16
  68. data/lib/pubid/iho/identifiers/circular_letter.rb +0 -15
@@ -0,0 +1,35 @@
1
+ [[urn-jis]]
2
+ = JIS URN schemes
3
+
4
+ This file is the single home of the JIS (`jis`) 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:jis:` (the `_type` flavor segment).
11
+
12
+ Official URN: none. The organization has no namespace in the IANA registry, and the current `urn:jis:…` form of `to_urn` is pubid-invented (legacy, no round-trip promise).
13
+
14
+ Current `to_urn` (≤400 sampled pass ids): 400 ids, 400 round-trip, 0 reshape, 0 do not re-parse, 0 raise, 0 empty, 0 colliding URNs.
15
+
16
+ Corpus: 10561 of 10561 pass ids parse.
17
+
18
+ [cols="3,1,1,1,4",options="header"]
19
+ |===
20
+ | `_type` | token | core | ids | example
21
+ | `pubid:jis:all-parts` | `all` | number | 0 | —
22
+ | `pubid:jis:amendment` | `amd` | number | 0 | —
23
+ | `pubid:jis:corrigendum` | `cor` | number | 0 | —
24
+ | `pubid:jis:explanation` | `e` | number | 0 | —
25
+ | `pubid:jis:identifier` | `id` | number | 0 | —
26
+ | `pubid:jis:japanese-industrial-standard` | `jis` | number | 10556 | `JIS A 0001:1999`
27
+ | `pubid:jis:standard` | `std` | number | 0 | —
28
+ | `pubid:jis:technical-report` | `tr` | number | 0 | —
29
+ | `pubid:jis:technical-specification` | `ts` | number | 0 | —
30
+ | `pubid:jis:welding-engineering-standard` | `wes` | number | 5 | `WES 7700-1:2019`
31
+ |===
32
+
33
+ Atoms, canonical order: `series-` (`series`), `part-` (`parts`, list), `year-` (`year`, int), `reaffirmed-` (`reaffirmed`, bool).
34
+
35
+ Landed (issue #670) as drafted; the year is an int atom (`year-1999`) and the zero-padded printed number stays the core (`jis:0001`). All 10,561 corpus rows emit.
@@ -0,0 +1,99 @@
1
+ [[urn-nist]]
2
+ = NIST URN schemes
3
+
4
+ This file is the single home of the NIST (`nist`) 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:nist:`. Schema: `lib/pubid/nist/pubid_urn_schema.rb`.
11
+
12
+ Official URN: none. NIST has no namespace in the IANA registry, and the
13
+ current `urn:nist:…` form of `to_urn` is pubid-invented (legacy, no
14
+ round-trip promise). Current `to_urn`: 400 ids, 130 round-trip, 247 reshape,
15
+ 23 do not re-parse, 0 colliding URNs.
16
+
17
+ pubid scheme: all 21,362 pass ids emit, round-trip by `to_hash`, are
18
+ path-safe, and give no collision. They give 19,803 distinct URNs, because
19
+ the corpus has spellings with one hash (`NBS CIRC 1` and `NBS.CIRC.1` differ
20
+ only in `parsed_format`, which is a facet). The longest URN is 154
21
+ characters, the median 42.
22
+
23
+ [cols="3,1",options="header"]
24
+ |===
25
+ | `_type` | token
26
+ | `pubid:nist:identifier` | `id`
27
+ | `pubid:nist:circular` | `circ`
28
+ | `pubid:nist:circular-supplement` | `circsup`
29
+ | `pubid:nist:commercial-standard` | `cs`
30
+ | `pubid:nist:commercial-standard-emergency` | `cse`
31
+ | `pubid:nist:commercial-standards-monthly` | `csm`
32
+ | `pubid:nist:crpl-report` | `crpl`
33
+ | `pubid:nist:dated-document` | `dd`
34
+ | `pubid:nist:federal-information-processing-standards` | `fips`
35
+ | `pubid:nist:grant-contractor-report` | `gcr`
36
+ | `pubid:nist:handbook` | `hb`
37
+ | `pubid:nist:interagency-report` | `ir`
38
+ | `pubid:nist:letter-circular` | `lc`
39
+ | `pubid:nist:miscellaneous-publication` | `mp`
40
+ | `pubid:nist:monograph` | `mono`
41
+ | `pubid:nist:ncstar` | `ncstar`
42
+ | `pubid:nist:nsrds` | `nsrds`
43
+ | `pubid:nist:owmwp` | `owmwp`
44
+ | `pubid:nist:report` | `rpt`
45
+ | `pubid:nist:special-publication` | `sp`
46
+ | `pubid:nist:technical-note` | `tn`
47
+ | `pubid:nist:supplement-identifier` | `sup`
48
+ |===
49
+
50
+ Core: `number`. `publisher` and `series` are atoms (`pub-`, `series-`),
51
+ because the series spelling varies inside one type (`CIRC`, `NBS.CIRC`,
52
+ `LCIRC`). Atoms, in the schema order: `pub-`, `series-`, `subseries-`,
53
+ `parttype-`/`part-` (`part.type`/`part.value`), `section-`, `vol-`,
54
+ `edtype-`/`ed-`/`edtext-` (`edition.type`/`id`/`additional_text`),
55
+ `edyear-`, `sup-`/`supsuffix-`/`supyear-`/`supmonth-`/`supyearend-`/`suprev-`
56
+ (`supplement.*`), `suprangestart-`/`suprangeend-`, `implicitsup-`,
57
+ `updprefix-`/`upd-`/`updyear-`/`updmonth-` (`update.*`),
58
+ `ucprefix-`/`uc-`/`ucyear-`/`ucmonth-` (`update_component.*`), `revyear-`,
59
+ `revmonth-`, `reviseddate-`, `updnumber-`, `updnumberyear-`,
60
+ `stagetype-`/`stage-`, `draftnumber-`, `v-` (`version_component.value`),
61
+ `version-`, `year-` and `month-` (Integer, `NIST Research Library (2022)`),
62
+ `dateyear-`/`datemonth-`/`dateday-`/`datedseq-` (`dated-document`),
63
+ `prefix-` and `range-` (`crpl-report`), `lang-`
64
+ (`translation_component.code`), `draft-`, `index-`, `insert-`, `errata-`,
65
+ `appendix-`, `addendum-`, `addendumnumber-`. Facets: `pubparsed`
66
+ (`publisher_was_parsed`, bool: `false` for a bare `FIPS 140-3`), `format`
67
+ (`parsed_format`), `edprefix` (`edition.original_prefix`), `translationsrc`
68
+ (`translation`, the bracketed `(spa)` of the `lang-` code).
69
+
70
+ ----
71
+ NIST SP 800-53r5 urn:pubid:nist:sp:800-53:pub-NIST:series-SP:subseries-800:edtype-r:ed-5
72
+ NIST SP 800-53 Rev. 5 urn:pubid:nist:sp:800-53:pub-NIST:series-SP:subseries-800:edtype-r:ed-5:f:0.edprefix-~20Rev.~20
73
+ NIST.SP.800-53r5 urn:pubid:nist:sp:800-53:pub-NIST:series-SP:subseries-800:edtype-r:ed-5:f:0.format-mr
74
+ NBS CIRC 11e2-1915 urn:pubid:nist:circ:11:pub-NBS:series-CIRC:edtype-e:ed-2:edtext-1915
75
+ NBS LC 800 rJun1992 urn:pubid:nist:lc:800:pub-NBS:series-LCIRC:updprefix-slash:upd-1:updyear-1992:updmonth-06:ucprefix-slash:uc-1:ucyear-1992:ucmonth-06
76
+ ----
77
+
78
+ Rulings of this wave:
79
+
80
+ * *No `to_hash` change.* `update` and `update_component` serialize every
81
+ field of their component (the "Finding" of the proposal), so each field
82
+ is its own atom. Reducing them to one identifying value changes `to_hash`
83
+ and needs a `relaton-data-nist` re-crawl; that is a separate decision.
84
+ The two components often hold the same values (`NBS LC 800 rJun1992`),
85
+ so such a URN carries them twice.
86
+ * *Cutting the facets merges only spellings of one document:* 19,699 slugs
87
+ without the `f` group, of which 104 are shared by two URNs. In each pair
88
+ only the facets differ: the MR string against the printed form, `Rev. 5`
89
+ against `r5`, `(spa)` against `es`.
90
+ * *Not placed:* the component-typed `issue_number`, `first_number`,
91
+ `second_number` and `parts`, and the shared `Pubid::Identifier`
92
+ attributes that no NIST builder sets. No input sets them, so their
93
+ serialized shape is unknown; `#to_pubid_urn` raises if one appears.
94
+ Every `full/` input and every `parse("…")` literal of the NIST specs that
95
+ parses round-trips.
96
+
97
+ Finding (not the URN's, recorded for NIST): `NIST.IR.8259Apt` parses as
98
+ `NIST IR 8259(por)` and loses the `A`, so its URN is that of document 8259,
99
+ not 8259A.
@@ -0,0 +1,27 @@
1
+ [[urn-oasis]]
2
+ = OASIS URN schemes
3
+
4
+ This file is the single home of the OASIS (`oasis`) 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:oasis:` (the `_type` flavor segment).
11
+
12
+ Official URN: `urn:oasis:…`, IANA-registered, RFC 3121.
13
+
14
+ Current `to_urn` (≤400 sampled pass ids): 45 ids, 45 round-trip, 0 reshape, 0 do not re-parse, 0 raise, 0 empty, 0 colliding URNs.
15
+
16
+ Corpus: 45 of 45 pass ids parse.
17
+
18
+ [cols="3,1,1,1,4",options="header"]
19
+ |===
20
+ | `_type` | token | core | ids | example
21
+ | `pubid:oasis:identifier` | `id` | number | 0 | —
22
+ | `pubid:oasis:standard` | `std` | number | 45 | `OASIS EDXL`
23
+ |===
24
+
25
+ Atoms, canonical order: `part-` (`part`), `v-` (`version`), `stage-` (`stage`), `label-` (`label`), `original-` (`original`).
26
+
27
+ Landed (issue #670) as drafted. All 45 corpus rows emit.
@@ -0,0 +1,26 @@
1
+ [[urn-ogc]]
2
+ = OGC URN schemes
3
+
4
+ This file is the single home of the OGC (`ogc`) 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:ogc:` (the `_type` flavor segment).
11
+ Official URN: `urn:ogc:…`, IANA-registered, RFC 5165.
12
+
13
+ Current `to_urn` (≤400 sampled pass ids): 88 ids, 88 round-trip, 0 reshape, 0 do not re-parse, 0 raise, 0 empty, 0 colliding URNs.
14
+
15
+ Corpus: 88 of 88 pass ids parse.
16
+
17
+ [cols="3,1,1,1,4",options="header"]
18
+ |===
19
+ | `_type` | token | core | ids | example
20
+ | `pubid:ogc:document` | `document` | number | 88 | `01-009a`
21
+ | `pubid:ogc:identifier` | `id` | number | 0 | —
22
+ |===
23
+
24
+ Atoms, canonical order: `year-` (`year`), `rev-` (`revision`).
25
+
26
+ Landed (issue #670) as drafted; the year atom keeps the printed two-digit form (`year-06`) — it is identity here, not a date. All 88 corpus rows emit.
@@ -0,0 +1,43 @@
1
+ [[urn-oiml]]
2
+ = OIML URN schemes
3
+
4
+ This file is the single home of the OIML (`oiml`) 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:oiml:` (the `_type` flavor segment).
11
+
12
+ Official URN: none. The organization has no namespace in the IANA registry, and the current `urn:oiml:…` form of `to_urn` is pubid-invented (legacy, no round-trip promise).
13
+
14
+ Current `to_urn` (≤400 sampled pass ids): 105 ids, 3 round-trip, 96 reshape, 6 do not re-parse, 0 raise, 0 empty, 6 colliding URNs.
15
+
16
+ Corpus: 105 of 105 pass ids parse.
17
+
18
+ [cols="3,1,1,1,4",options="header"]
19
+ |===
20
+ | `_type` | token | core | ids | example
21
+ | `pubid:oiml:amendment` | `amd` | number | 5 | `Amendment (2009) to OIML R 138 Edition 2007 (E)`
22
+ | `pubid:oiml:annex` | `annex` | number | 3 | `OIML R 60 Annexes Edition 2021 (E)`
23
+ | `pubid:oiml:basic-publication` | `bp` | number | 6 | `OIML B 18:2018`
24
+ | `pubid:oiml:bulletin` | `bulletin` | number | 0 | —
25
+ | `pubid:oiml:certification-system` | `cs` | number | 6 | `OIML-CS PD-05 Edition 6 (Amendment 1)`
26
+ | `pubid:oiml:document` | `document` | number | 16 | `OIML D 11:2008`
27
+ | `pubid:oiml:dual-published` | `dp` | — | 2 | `ISO 4064-1:2024\|OIML R 49-1:2024`
28
+ | `pubid:oiml:errata` | `err` | number | 0 | —
29
+ | `pubid:oiml:expert-report` | `er` | number | 3 | `OIML E 5:2015(en)`
30
+ | `pubid:oiml:guide` | `guide` | number | 4 | `OIML G 1-100:2008`
31
+ | `pubid:oiml:identifier` | `id` | — | 0 | —
32
+ | `pubid:oiml:recommendation` | `rec` | number | 61 | `OIML R 106`
33
+ | `pubid:oiml:seminar-report` | `sr` | number | 2 | `OIML S 6:2011(en)`
34
+ | `pubid:oiml:vocabulary` | `v` | number | 7 | `OIML V 1:2012`
35
+ |===
36
+
37
+ Atoms, canonical order: `pub-` (`publisher`), `part-` (`part`), `year-` (`year`), `ed-` (`edition`), `stage-` (`stage`), `lang-` (`language`), `amendment-` (`amendment`), `family-` (`family`), `iteration-` (`iteration`), `letter-` (`letter`), `trailing-` (`trailing`, bool).
38
+
39
+ Nested identifiers: `first-(…)` (`first`, id), `second-(…)` (`second`, id).
40
+
41
+ Facet candidates (spelling-only): `parsed_format`, `space_separator`.
42
+
43
+ Nested identifiers of other flavors (written with their own schema, qualified token `<flavor>.<token>`): `iso`.
@@ -0,0 +1,27 @@
1
+ [[urn-omg]]
2
+ = OMG URN schemes
3
+
4
+ This file is the single home of the OMG (`omg`) 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:omg:` (the `_type` flavor segment).
11
+
12
+ Official URN: none. The organization has no namespace in the IANA registry, and the current `urn:omg:…` form of `to_urn` is pubid-invented (legacy, no round-trip promise).
13
+
14
+ Current `to_urn` (≤400 sampled pass ids): 21 ids, 0 round-trip, 0 reshape, 21 do not re-parse, 0 raise, 0 empty, 2 colliding URNs.
15
+
16
+ Corpus: 21 of 21 pass ids parse.
17
+
18
+ [cols="3,1,1,1,4",options="header"]
19
+ |===
20
+ | `_type` | token | core | ids | example
21
+ | `pubid:omg:identifier` | `id` | — | 0 | —
22
+ | `pubid:omg:specification` | `spec` | — | 21 | `OMG AMI4CCM 1.0`
23
+ |===
24
+
25
+ Atoms, canonical order: `part-` (`part`), `v-` (`version`), `acronym-` (`acronym`).
26
+
27
+ Landed (issue #670) as drafted, with no core: the acronym names the document. All 21 corpus rows emit.
@@ -0,0 +1,43 @@
1
+ [[urn-plateau]]
2
+ = PLATEAU URN schemes
3
+
4
+ This file is the single home of the PLATEAU (`plateau`) 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:plateau:`. Schema:
11
+ `lib/pubid/plateau/pubid_urn_schema.rb`.
12
+
13
+ Official URN: none. PLATEAU has no namespace in the IANA registry, and the
14
+ current `urn:plateau:…` form of `to_urn` is pubid-invented (legacy, no
15
+ round-trip promise). Current `to_urn`: 115 ids, 83 round-trip, 32 reshape,
16
+ 10 colliding URNs.
17
+
18
+ pubid scheme: all 115 pass ids emit, round-trip by `to_hash`, are path-safe,
19
+ and give no collision. The longest URN is 37 characters.
20
+
21
+ [cols="3,1,1",options="header"]
22
+ |===
23
+ | `_type` | token | core
24
+ | `pubid:plateau:handbook` | `hb` | `number` (`:int`)
25
+ | `pubid:plateau:technical-report` | `tr` | `number` (`:int`)
26
+ | `pubid:plateau:annex` | `annex` | none
27
+ | `pubid:plateau:identifier` | `id` | `number` (`:int`)
28
+ |===
29
+
30
+ Atoms, in the schema order: `pub-`, `ed-` (`edition`), `annex-` (int),
31
+ `vol-` (`volume`, the Handbook label `本編` or `本編+付録`, written in
32
+ `~XX` escapes); the Annex adds `letter-`. No facets.
33
+
34
+ PLATEAU keeps `number` an Integer (the one flavor outside the `:string`
35
+ retype), so its core is `:int`: `#00` is the core `0`. No input makes an
36
+ Annex; one built by hand writes its document first and its letter as an atom
37
+ (`urn:pubid:plateau:tr:46:annex:letter-A`).
38
+
39
+ ----
40
+ PLATEAU Handbook #00 第1.0版 urn:pubid:plateau:hb:0:ed-1.0
41
+ PLATEAU Handbook #03-1 第2.0版 urn:pubid:plateau:hb:3:ed-2.0:annex-1
42
+ PLATEAU Technical Report #46-1 urn:pubid:plateau:tr:46:annex-1
43
+ ----
@@ -0,0 +1,24 @@
1
+ [[urn-sae]]
2
+ = SAE URN schemes
3
+
4
+ This file is the single home of the SAE (`sae`) 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:sae:` (the `_type` flavor segment).
11
+
12
+ Official URN: none. The organization has no namespace in the IANA registry, and the current `urn:sae:…` form of `to_urn` is pubid-invented (legacy, no round-trip promise).
13
+
14
+ Current `to_urn`: not audited (no fixture directory under the registry name).
15
+
16
+ Corpus: 0 of 0 pass ids parse.
17
+
18
+ [cols="3,1,1,1,4",options="header"]
19
+ |===
20
+ | `_type` | token | core | ids | example
21
+ | `pubid:sae:identifier` | `id` | number | 0 | —
22
+ |===
23
+
24
+ *Landed (issue #670)* as drafted (`typeabbr-`, `rev-`, `amd-`, the Integer date atoms), then *completed by the corpus round (issue #669)*: the gem fixture corpus landed (`spec/fixtures/sae/`), which exposed two hash shapes the literals never exercised. A part is top-level (`part-`). The date keeps the canonical flattening's dual shape (pubid#360; per-instance, not per-flavor), so a year has one prefix per shape — the ashrae ruling: the nested year+month form keeps the released `year-`/`month-` Integer atoms, and the flat year-alone form is `yearflat-` (string). No URN emitted before the round changes form. `spec/pubid/pubid_urn_leaf_spec.rb` pins the URNs of both shapes.
@@ -0,0 +1,28 @@
1
+ [[urn-3gpp]]
2
+ = 3GPP URN schemes
3
+
4
+ This file is the single home of the 3GPP (`3gpp`) 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:3gpp:` (the `_type` flavor segment).
11
+
12
+ Official URN: `urn:3gpp:…`, IANA-registered, RFC 5279.
13
+
14
+ Current `to_urn`: not audited (no fixture directory under the registry name).
15
+
16
+ Corpus: 32 of 32 pass ids parse.
17
+
18
+ [cols="3,1,1,1,4",options="header"]
19
+ |===
20
+ | `_type` | token | core | ids | example
21
+ | `pubid:3gpp:identifier` | `id` | number | 0 | —
22
+ | `pubid:3gpp:technical-report` | `tr` | number | 12 | `TR 01.00:REL-96/5.0.0`
23
+ | `pubid:3gpp:technical-specification` | `ts` | number | 20 | `TS 01.01:REL-96/5.0.0`
24
+ |===
25
+
26
+ Atoms, canonical order: `part-` (`parts`, list), `v-` (`version`), `release-` (`release`), `suffix-` (`suffix`).
27
+
28
+ Landed (issue #670) as drafted. All 32 corpus rows emit.
@@ -0,0 +1,27 @@
1
+ [[urn-un]]
2
+ = UN URN schemes
3
+
4
+ This file is the single home of the UN (`un`) 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:un:` (the `_type` flavor segment).
11
+
12
+ Official URN: none. The organization has no namespace in the IANA registry, and the current `urn:un:…` form of `to_urn` is pubid-invented (legacy, no round-trip promise).
13
+
14
+ Current `to_urn` (≤400 sampled pass ids): 5 ids, 0 round-trip, 0 reshape, 5 do not re-parse, 0 raise, 0 empty, 0 colliding URNs.
15
+
16
+ Corpus: 5 of 5 pass ids parse.
17
+
18
+ [cols="3,1,1,1,4",options="header"]
19
+ |===
20
+ | `_type` | token | core | ids | example
21
+ | `pubid:un:document` | `document` | number | 5 | `A/RES/78/1`
22
+ | `pubid:un:identifier` | `id` | number | 0 | —
23
+ |===
24
+
25
+ Atoms, canonical order: `path-` (`path`, list).
26
+
27
+ Landed (issue #670) as drafted (`path-A,RES,78`). All 5 corpus rows emit.
data/lib/pubid/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Pubid
4
- VERSION = "2.0.54"
4
+ VERSION = "2.0.56"
5
5
  end
@@ -0,0 +1,37 @@
1
+ [[urn-w3c]]
2
+ = W3C URN schemes
3
+
4
+ This file is the single home of the W3C (`w3c`) 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:w3c:` (the `_type` flavor segment).
11
+
12
+ Official URN: none. The organization has no namespace in the IANA registry, and the current `urn:w3c:…` form of `to_urn` is pubid-invented (legacy, no round-trip promise).
13
+
14
+ Current `to_urn` (≤400 sampled pass ids): 29 ids, 29 round-trip, 0 reshape, 0 do not re-parse, 0 raise, 0 empty, 0 colliding URNs.
15
+
16
+ Corpus: 29 of 29 pass ids parse.
17
+
18
+ [cols="3,1,1,1,4",options="header"]
19
+ |===
20
+ | `_type` | token | core | ids | example
21
+ | `pubid:w3c:candidate-recommendation` | `cr` | number | 1 | `W3C CR-exi-20091208`
22
+ | `pubid:w3c:candidate-recommendation-draft` | `crd` | number | 2 | `W3C CRD-accelerometer-20250212`
23
+ | `pubid:w3c:draft-note` | `dn` | number | 2 | `W3C DNOTE-webcodecs-flac-codec-registration-20240419`
24
+ | `pubid:w3c:identifier` | `id` | number | 0 | —
25
+ | `pubid:w3c:note` | `note` | number | 6 | `W3C NOTE-did-spec-registries-20230124`
26
+ | `pubid:w3c:obsolete-recommendation` | `or` | number | 1 | `W3C OBSL-widgets-apis-20181011`
27
+ | `pubid:w3c:proposed-edited-recommendation` | `per` | number | 1 | `W3C PER-rif-dtb-20121211`
28
+ | `pubid:w3c:proposed-recommendation` | `pr` | number | 2 | `W3C PR-InkML-20110510`
29
+ | `pubid:w3c:recommendation` | `rec` | number | 3 | `W3C REC-CSS1-19990111`
30
+ | `pubid:w3c:standard` | `std` | number | 5 | `W3C becss`
31
+ | `pubid:w3c:superseded-recommendation` | `sr` | number | 1 | `W3C SPSD-2dcontext-20210128`
32
+ | `pubid:w3c:working-draft` | `wd` | number | 5 | `W3C WD-charmod-19991129`
33
+ |===
34
+
35
+ Atoms, canonical order: `date-` (`date`).
36
+
37
+ Landed (issue #670) as drafted; `becss` reads as a type token by shape, so its first byte escapes (`std:~62ecss`). All 29 corpus rows emit.
@@ -0,0 +1,28 @@
1
+ [[urn-wmo]]
2
+ = WMO URN schemes
3
+
4
+ This file is the single home of the WMO (`wmo`) 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:wmo:` (the `_type` flavor segment).
11
+
12
+ Official URN: `urn:mrn:wmo:pub:…`, WMO's assigning authority of the IANA-registered `mrn` namespace, following the IALA pattern (pubid#763 proposed form; no authoritative WMO `urn:mrn:wmo:` rule is published — the S-411 repository carries none — so this shape is the namespace's extension until one exists).
13
+
14
+ Current `to_urn` (≤400 sampled pass ids): 58 ids, 58 round-trip, 0 reshape, 0 do not re-parse, 0 raise, 0 empty, 15 colliding URNs (the corpus' alternate spellings of the same documents — each distinct document has one URN).
15
+
16
+ Corpus: 58 of 58 pass ids parse.
17
+
18
+ [cols="3,1,1,1,4",options="header"]
19
+ |===
20
+ | `_type` | token | core | ids | example
21
+ | `pubid:wmo:annex` | `annex` | number | 2 | `S-411 Annex A`
22
+ | `pubid:wmo:publication` | `pub` | number | 45 | `WMO-No. 1364, 2025 edition`
23
+ | `pubid:wmo:standard` | `std` | number | 11 | `S-411 1.2.1`
24
+ |===
25
+
26
+ Atoms, canonical order: `series-` (`series`), `vol-` (`volume`), `ed-` (`edition`), `status-` (`edition_status`), `updated-` (`updated_in`), `annexform-` (`annex_form`), `letter-` (`letter`).
27
+
28
+ Landed (pubid#763) as drafted; widened with the volume, series, status and updated-in atoms. The edition is one atom: the calendar-year face on a publication (`ed-2025`; the year pair escapes its slash as `ed-2021~2F2018`), the dotted face on a standard or annex (`ed-1.2.1`). `series` is nil on the WMO-No. default, so every pre-widening URN is unchanged. All 58 corpus rows emit.
@@ -0,0 +1,25 @@
1
+ [[urn-xsf]]
2
+ = XSF URN schemes
3
+
4
+ This file is the single home of the XSF (`xsf`) 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:xsf:` (the `_type` flavor segment).
11
+
12
+ Official URN: `urn:xmpp:…`, IANA-registered, RFC 4854 (XSF protocol namespaces).
13
+
14
+ Current `to_urn` (≤400 sampled pass ids): 51 ids, 51 round-trip, 0 reshape, 0 do not re-parse, 0 raise, 0 empty, 0 colliding URNs.
15
+
16
+ Corpus: 51 of 51 pass ids parse.
17
+
18
+ [cols="3,1,1,1,4",options="header"]
19
+ |===
20
+ | `_type` | token | core | ids | example
21
+ | `pubid:xsf:identifier` | `id` | number | 0 | —
22
+ | `pubid:xsf:xep` | `xep` | number | 51 | `XEP 0001`
23
+ |===
24
+
25
+ Landed (issue #670) as drafted; the printed zero-padding stays the core (`xep:0001`). All 51 corpus rows emit.