@pubid/pubid 0.1.33 → 0.1.35

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 (118) hide show
  1. package/artifact/corpus.json.gz +0 -0
  2. package/dist/flavors/api/grammar.js +9 -2
  3. package/dist/flavors/api/index.js +31 -2
  4. package/dist/flavors/bipm/index.js +89 -14
  5. package/dist/flavors/bsi/model.js +13 -9
  6. package/dist/flavors/iec/index.js +15 -4
  7. package/dist/flavors/iec/model.js +26 -10
  8. package/dist/index.d.ts +1 -0
  9. package/dist/index.js +2 -0
  10. package/dist/model/identifier.d.ts +3 -0
  11. package/dist/model/identifier.js +6 -0
  12. package/dist/pubid-urn/decoder.d.ts +27 -0
  13. package/dist/pubid-urn/decoder.js +165 -0
  14. package/dist/pubid-urn/encoder.d.ts +30 -0
  15. package/dist/pubid-urn/encoder.js +197 -0
  16. package/dist/pubid-urn/errors.d.ts +15 -0
  17. package/dist/pubid-urn/errors.js +21 -0
  18. package/dist/pubid-urn/escape.d.ts +19 -0
  19. package/dist/pubid-urn/escape.js +65 -0
  20. package/dist/pubid-urn/index.d.ts +65 -0
  21. package/dist/pubid-urn/index.js +216 -0
  22. package/dist/pubid-urn/paths.d.ts +26 -0
  23. package/dist/pubid-urn/paths.js +129 -0
  24. package/dist/pubid-urn/schema.d.ts +88 -0
  25. package/dist/pubid-urn/schema.js +186 -0
  26. package/dist/pubid-urn/schemas/adobe.d.ts +8 -0
  27. package/dist/pubid-urn/schemas/adobe.js +15 -0
  28. package/dist/pubid-urn/schemas/amca.d.ts +8 -0
  29. package/dist/pubid-urn/schemas/amca.js +19 -0
  30. package/dist/pubid-urn/schemas/ansi.d.ts +8 -0
  31. package/dist/pubid-urn/schemas/ansi.js +30 -0
  32. package/dist/pubid-urn/schemas/api.d.ts +8 -0
  33. package/dist/pubid-urn/schemas/api.js +25 -0
  34. package/dist/pubid-urn/schemas/ashrae.d.ts +8 -0
  35. package/dist/pubid-urn/schemas/ashrae.js +28 -0
  36. package/dist/pubid-urn/schemas/asme.d.ts +8 -0
  37. package/dist/pubid-urn/schemas/asme.js +26 -0
  38. package/dist/pubid-urn/schemas/astm.d.ts +8 -0
  39. package/dist/pubid-urn/schemas/astm.js +38 -0
  40. package/dist/pubid-urn/schemas/bipm.d.ts +8 -0
  41. package/dist/pubid-urn/schemas/bipm.js +34 -0
  42. package/dist/pubid-urn/schemas/bsi.d.ts +8 -0
  43. package/dist/pubid-urn/schemas/bsi.js +98 -0
  44. package/dist/pubid-urn/schemas/calconnect.d.ts +8 -0
  45. package/dist/pubid-urn/schemas/calconnect.js +16 -0
  46. package/dist/pubid-urn/schemas/ccsds.d.ts +8 -0
  47. package/dist/pubid-urn/schemas/ccsds.js +18 -0
  48. package/dist/pubid-urn/schemas/cencenelec.d.ts +8 -0
  49. package/dist/pubid-urn/schemas/cencenelec.js +39 -0
  50. package/dist/pubid-urn/schemas/cie.d.ts +8 -0
  51. package/dist/pubid-urn/schemas/cie.js +41 -0
  52. package/dist/pubid-urn/schemas/csa.d.ts +8 -0
  53. package/dist/pubid-urn/schemas/csa.js +45 -0
  54. package/dist/pubid-urn/schemas/doi.d.ts +8 -0
  55. package/dist/pubid-urn/schemas/doi.js +14 -0
  56. package/dist/pubid-urn/schemas/easc.d.ts +8 -0
  57. package/dist/pubid-urn/schemas/easc.js +16 -0
  58. package/dist/pubid-urn/schemas/ecma.d.ts +8 -0
  59. package/dist/pubid-urn/schemas/ecma.js +17 -0
  60. package/dist/pubid-urn/schemas/etsi.d.ts +8 -0
  61. package/dist/pubid-urn/schemas/etsi.js +23 -0
  62. package/dist/pubid-urn/schemas/evs.d.ts +8 -0
  63. package/dist/pubid-urn/schemas/evs.js +30 -0
  64. package/dist/pubid-urn/schemas/gb.d.ts +8 -0
  65. package/dist/pubid-urn/schemas/gb.js +18 -0
  66. package/dist/pubid-urn/schemas/gost.d.ts +8 -0
  67. package/dist/pubid-urn/schemas/gost.js +23 -0
  68. package/dist/pubid-urn/schemas/iala.d.ts +8 -0
  69. package/dist/pubid-urn/schemas/iala.js +26 -0
  70. package/dist/pubid-urn/schemas/iana.d.ts +8 -0
  71. package/dist/pubid-urn/schemas/iana.js +13 -0
  72. package/dist/pubid-urn/schemas/idf.d.ts +8 -0
  73. package/dist/pubid-urn/schemas/idf.js +34 -0
  74. package/dist/pubid-urn/schemas/iec.d.ts +8 -0
  75. package/dist/pubid-urn/schemas/iec.js +61 -0
  76. package/dist/pubid-urn/schemas/ieee.d.ts +8 -0
  77. package/dist/pubid-urn/schemas/ieee.js +116 -0
  78. package/dist/pubid-urn/schemas/ietf.d.ts +8 -0
  79. package/dist/pubid-urn/schemas/ietf.js +17 -0
  80. package/dist/pubid-urn/schemas/iho.d.ts +8 -0
  81. package/dist/pubid-urn/schemas/iho.js +35 -0
  82. package/dist/pubid-urn/schemas/index.d.ts +9 -0
  83. package/dist/pubid-urn/schemas/index.js +97 -0
  84. package/dist/pubid-urn/schemas/isbn.d.ts +8 -0
  85. package/dist/pubid-urn/schemas/isbn.js +14 -0
  86. package/dist/pubid-urn/schemas/iso.d.ts +8 -0
  87. package/dist/pubid-urn/schemas/iso.js +46 -0
  88. package/dist/pubid-urn/schemas/itu.d.ts +8 -0
  89. package/dist/pubid-urn/schemas/itu.js +61 -0
  90. package/dist/pubid-urn/schemas/jcgm.d.ts +8 -0
  91. package/dist/pubid-urn/schemas/jcgm.js +21 -0
  92. package/dist/pubid-urn/schemas/jis.d.ts +8 -0
  93. package/dist/pubid-urn/schemas/jis.js +24 -0
  94. package/dist/pubid-urn/schemas/nist.d.ts +8 -0
  95. package/dist/pubid-urn/schemas/nist.js +90 -0
  96. package/dist/pubid-urn/schemas/oasis.d.ts +8 -0
  97. package/dist/pubid-urn/schemas/oasis.js +17 -0
  98. package/dist/pubid-urn/schemas/ogc.d.ts +8 -0
  99. package/dist/pubid-urn/schemas/ogc.js +14 -0
  100. package/dist/pubid-urn/schemas/oiml.d.ts +8 -0
  101. package/dist/pubid-urn/schemas/oiml.js +39 -0
  102. package/dist/pubid-urn/schemas/omg.d.ts +8 -0
  103. package/dist/pubid-urn/schemas/omg.js +15 -0
  104. package/dist/pubid-urn/schemas/plateau.d.ts +8 -0
  105. package/dist/pubid-urn/schemas/plateau.js +20 -0
  106. package/dist/pubid-urn/schemas/sae.d.ts +8 -0
  107. package/dist/pubid-urn/schemas/sae.js +18 -0
  108. package/dist/pubid-urn/schemas/tgpp.d.ts +8 -0
  109. package/dist/pubid-urn/schemas/tgpp.js +17 -0
  110. package/dist/pubid-urn/schemas/un.d.ts +8 -0
  111. package/dist/pubid-urn/schemas/un.js +13 -0
  112. package/dist/pubid-urn/schemas/w3c.d.ts +8 -0
  113. package/dist/pubid-urn/schemas/w3c.js +23 -0
  114. package/dist/pubid-urn/schemas/xsf.d.ts +8 -0
  115. package/dist/pubid-urn/schemas/xsf.js +12 -0
  116. package/dist/pubid-urn/slug.d.ts +20 -0
  117. package/dist/pubid-urn/slug.js +47 -0
  118. package/package.json +2 -1
@@ -0,0 +1,16 @@
1
+ /**
2
+ * The pubid-scheme URN schema of EASC — the transcription
3
+ * of lib/pubid/<flavor>/pubid_urn_schema.rb (pubid#656, completed by
4
+ * #670; design in docs/URN-SCHEMES.adoc). GENERATED by
5
+ * scripts/port-urn-schemas.rb from the ruby declaration: edit the ruby
6
+ * schema and regenerate, never this table by hand.
7
+ */
8
+ import { define } from "../index.js";
9
+ export const eascSchema = define("easc", (s) => {
10
+ s.atom("series", "series");
11
+ s.atom("year", "year");
12
+ s.atom("variant", "variant");
13
+ s.type("pubid:easc:identifier", "id");
14
+ s.type("pubid:easc:pmg", "pmg");
15
+ s.type("pubid:easc:rmg", "rmg");
16
+ });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The pubid-scheme URN schema of ECMA — the transcription
3
+ * of lib/pubid/<flavor>/pubid_urn_schema.rb (pubid#656, completed by
4
+ * #670; design in docs/URN-SCHEMES.adoc). GENERATED by
5
+ * scripts/port-urn-schemas.rb from the ruby declaration: edit the ruby
6
+ * schema and regenerate, never this table by hand.
7
+ */
8
+ export declare const ecmaSchema: import("../schema.js").FlavorSchema;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * The pubid-scheme URN schema of ECMA — the transcription
3
+ * of lib/pubid/<flavor>/pubid_urn_schema.rb (pubid#656, completed by
4
+ * #670; design in docs/URN-SCHEMES.adoc). GENERATED by
5
+ * scripts/port-urn-schemas.rb from the ruby declaration: edit the ruby
6
+ * schema and regenerate, never this table by hand.
7
+ */
8
+ import { define } from "../index.js";
9
+ export const ecmaSchema = define("ecma", (s) => {
10
+ s.atom("part", "part");
11
+ s.atom("volume", "vol");
12
+ s.atom("edition", "ed");
13
+ s.type("pubid:ecma:identifier", "id");
14
+ s.type("pubid:ecma:memento", "memento");
15
+ s.type("pubid:ecma:standard", "std");
16
+ s.type("pubid:ecma:technical-report", "tr");
17
+ });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The pubid-scheme URN schema of ETSI — the transcription
3
+ * of lib/pubid/<flavor>/pubid_urn_schema.rb (pubid#656, completed by
4
+ * #670; design in docs/URN-SCHEMES.adoc). GENERATED by
5
+ * scripts/port-urn-schemas.rb from the ruby declaration: edit the ruby
6
+ * schema and regenerate, never this table by hand.
7
+ */
8
+ export declare const etsiSchema: import("../schema.js").FlavorSchema;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * The pubid-scheme URN schema of ETSI — the transcription
3
+ * of lib/pubid/<flavor>/pubid_urn_schema.rb (pubid#656, completed by
4
+ * #670; design in docs/URN-SCHEMES.adoc). GENERATED by
5
+ * scripts/port-urn-schemas.rb from the ruby declaration: edit the ruby
6
+ * schema and regenerate, never this table by hand.
7
+ */
8
+ import { define } from "../index.js";
9
+ export const etsiSchema = define("etsi", (s) => {
10
+ s.atom("type", "type");
11
+ s.atom("parts", "part", "list");
12
+ s.atom("minor", "minor");
13
+ s.atom("year", "year");
14
+ s.atom("month", "month");
15
+ s.atom("day", "day");
16
+ s.atom("version", "v");
17
+ s.atom("is_edition", "isedition", "bool");
18
+ s.type("pubid:etsi:amendment", "amd", { core: [["number", "int"]] });
19
+ s.type("pubid:etsi:corrigendum", "cor", { core: [["number", "int"]] });
20
+ s.type("pubid:etsi:etsi-standard", "es");
21
+ s.type("pubid:etsi:identifier", "id");
22
+ s.type("pubid:etsi:supplement-identifier", "si", { core: [["number", "int"]] });
23
+ });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The pubid-scheme URN schema of EVS — the transcription
3
+ * of lib/pubid/<flavor>/pubid_urn_schema.rb (pubid#656, completed by
4
+ * #670; design in docs/URN-SCHEMES.adoc). GENERATED by
5
+ * scripts/port-urn-schemas.rb from the ruby declaration: edit the ruby
6
+ * schema and regenerate, never this table by hand.
7
+ */
8
+ export declare const evsSchema: import("../schema.js").FlavorSchema;
@@ -0,0 +1,30 @@
1
+ /**
2
+ * The pubid-scheme URN schema of EVS — the transcription
3
+ * of lib/pubid/<flavor>/pubid_urn_schema.rb (pubid#656, completed by
4
+ * #670; design in docs/URN-SCHEMES.adoc). GENERATED by
5
+ * scripts/port-urn-schemas.rb from the ruby declaration: edit the ruby
6
+ * schema and regenerate, never this table by hand.
7
+ */
8
+ import { define } from "../index.js";
9
+ export const evsSchema = define("evs", (s) => {
10
+ s.atom("part", "part");
11
+ s.atom("year", "year");
12
+ s.atom("language", "lang");
13
+ s.atom("amd_kind", "amdkind");
14
+ s.atom("amd_number", "amdnumber");
15
+ s.atom("amd_year", "amdyear");
16
+ s.atom("cor_kind", "corkind");
17
+ s.atom("cor_year", "coryear");
18
+ s.atom("evs_type", "evstype");
19
+ s.atom("intl_org", "intlorg");
20
+ s.atom("na_year", "nayear");
21
+ s.atom("draft_prefix", "draftprefix", "bool");
22
+ s.facet("separator", "separator");
23
+ s.facet("amd_separator", "amdseparator");
24
+ s.facet("cor_separator", "corseparator");
25
+ s.facet("na_separator", "naseparator");
26
+ s.type("pubid:evs:estonian-standard", "es");
27
+ s.type("pubid:evs:identifier", "id");
28
+ s.type("pubid:evs:international-adoption", "ia");
29
+ s.type("pubid:evs:national-adoption", "na");
30
+ });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The pubid-scheme URN schema of GB — the transcription
3
+ * of lib/pubid/<flavor>/pubid_urn_schema.rb (pubid#656, completed by
4
+ * #670; design in docs/URN-SCHEMES.adoc). GENERATED by
5
+ * scripts/port-urn-schemas.rb from the ruby declaration: edit the ruby
6
+ * schema and regenerate, never this table by hand.
7
+ */
8
+ export declare const gbSchema: import("../schema.js").FlavorSchema;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * The pubid-scheme URN schema of GB — the transcription
3
+ * of lib/pubid/<flavor>/pubid_urn_schema.rb (pubid#656, completed by
4
+ * #670; design in docs/URN-SCHEMES.adoc). GENERATED by
5
+ * scripts/port-urn-schemas.rb from the ruby declaration: edit the ruby
6
+ * schema and regenerate, never this table by hand.
7
+ */
8
+ import { define } from "../index.js";
9
+ export const gbSchema = define("gb", (s) => {
10
+ s.atom("publisher", "pub");
11
+ s.atom("part", "part");
12
+ s.atom("year", "year");
13
+ s.atom("mandate", "mandate");
14
+ s.atom("identifiers", "ids", "ids");
15
+ s.type("pubid:gb:all-parts", "all");
16
+ s.type("pubid:gb:identifier", "id");
17
+ s.type("pubid:gb:standard", "std");
18
+ });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The pubid-scheme URN schema of GOST — the transcription
3
+ * of lib/pubid/<flavor>/pubid_urn_schema.rb (pubid#656, completed by
4
+ * #670; design in docs/URN-SCHEMES.adoc). GENERATED by
5
+ * scripts/port-urn-schemas.rb from the ruby declaration: edit the ruby
6
+ * schema and regenerate, never this table by hand.
7
+ */
8
+ export declare const gostSchema: import("../schema.js").FlavorSchema;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * The pubid-scheme URN schema of GOST — the transcription
3
+ * of lib/pubid/<flavor>/pubid_urn_schema.rb (pubid#656, completed by
4
+ * #670; design in docs/URN-SCHEMES.adoc). GENERATED by
5
+ * scripts/port-urn-schemas.rb from the ruby declaration: edit the ruby
6
+ * schema and regenerate, never this table by hand.
7
+ */
8
+ import { define } from "../index.js";
9
+ export const gostSchema = define("gost", (s) => {
10
+ s.atom("publisher", "pub");
11
+ s.atom("copublisher", "co");
12
+ s.atom("year", "year");
13
+ s.atom("subtype", "subtype");
14
+ s.atom("raw", "raw");
15
+ s.atom("adopted_identifiers", "adoptedidentifiers", "ids");
16
+ s.atom("adopted", "adopted", "id");
17
+ s.type("pubid:gost:foreign-reference", "fr");
18
+ s.type("pubid:gost:harmonized", "h");
19
+ s.type("pubid:gost:identical-adoption", "ia");
20
+ s.type("pubid:gost:identifier", "id");
21
+ s.type("pubid:gost:interstate-standard", "is");
22
+ s.type("pubid:gost:national-standard", "ns");
23
+ });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The pubid-scheme URN schema of IALA — the transcription
3
+ * of lib/pubid/<flavor>/pubid_urn_schema.rb (pubid#656, completed by
4
+ * #670; design in docs/URN-SCHEMES.adoc). GENERATED by
5
+ * scripts/port-urn-schemas.rb from the ruby declaration: edit the ruby
6
+ * schema and regenerate, never this table by hand.
7
+ */
8
+ export declare const ialaSchema: import("../schema.js").FlavorSchema;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * The pubid-scheme URN schema of IALA — the transcription
3
+ * of lib/pubid/<flavor>/pubid_urn_schema.rb (pubid#656, completed by
4
+ * #670; design in docs/URN-SCHEMES.adoc). GENERATED by
5
+ * scripts/port-urn-schemas.rb from the ruby declaration: edit the ruby
6
+ * schema and regenerate, never this table by hand.
7
+ */
8
+ import { define } from "../index.js";
9
+ export const ialaSchema = define("iala", (s) => {
10
+ s.atom("edition", "ed");
11
+ s.atom("language", "lang");
12
+ s.atom("annex_form", "annexform");
13
+ s.atom("letter", "letter");
14
+ s.type("pubid:iala:advice", "advice");
15
+ s.type("pubid:iala:annex", "annex");
16
+ s.type("pubid:iala:general-assembly", "ga");
17
+ s.type("pubid:iala:guideline", "g");
18
+ s.type("pubid:iala:identifier", "id");
19
+ s.type("pubid:iala:letter", "letter");
20
+ s.type("pubid:iala:manual", "manual");
21
+ s.type("pubid:iala:model-course", "mc");
22
+ s.type("pubid:iala:recommendation", "rec");
23
+ s.type("pubid:iala:report", "rpt");
24
+ s.type("pubid:iala:resolution", "r");
25
+ s.type("pubid:iala:standard", "std");
26
+ });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The pubid-scheme URN schema of IANA — the transcription
3
+ * of lib/pubid/<flavor>/pubid_urn_schema.rb (pubid#656, completed by
4
+ * #670; design in docs/URN-SCHEMES.adoc). GENERATED by
5
+ * scripts/port-urn-schemas.rb from the ruby declaration: edit the ruby
6
+ * schema and regenerate, never this table by hand.
7
+ */
8
+ export declare const ianaSchema: import("../schema.js").FlavorSchema;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * The pubid-scheme URN schema of IANA — the transcription
3
+ * of lib/pubid/<flavor>/pubid_urn_schema.rb (pubid#656, completed by
4
+ * #670; design in docs/URN-SCHEMES.adoc). GENERATED by
5
+ * scripts/port-urn-schemas.rb from the ruby declaration: edit the ruby
6
+ * schema and regenerate, never this table by hand.
7
+ */
8
+ import { define } from "../index.js";
9
+ export const ianaSchema = define("iana", (s) => {
10
+ s.atom("sub_registry", "subregistry");
11
+ s.type("pubid:iana:identifier", "id", { core: [] });
12
+ s.type("pubid:iana:registry", "registry");
13
+ });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The pubid-scheme URN schema of IDF — the transcription
3
+ * of lib/pubid/<flavor>/pubid_urn_schema.rb (pubid#656, completed by
4
+ * #670; design in docs/URN-SCHEMES.adoc). GENERATED by
5
+ * scripts/port-urn-schemas.rb from the ruby declaration: edit the ruby
6
+ * schema and regenerate, never this table by hand.
7
+ */
8
+ export declare const idfSchema: import("../schema.js").FlavorSchema;
@@ -0,0 +1,34 @@
1
+ /**
2
+ * The pubid-scheme URN schema of IDF — the transcription
3
+ * of lib/pubid/<flavor>/pubid_urn_schema.rb (pubid#656, completed by
4
+ * #670; design in docs/URN-SCHEMES.adoc). GENERATED by
5
+ * scripts/port-urn-schemas.rb from the ruby declaration: edit the ruby
6
+ * schema and regenerate, never this table by hand.
7
+ */
8
+ import { define } from "../index.js";
9
+ export const idfSchema = define("idf", (s) => {
10
+ s.atom("publisher.body", "pubbody");
11
+ s.atom("type.abbr", "typeabbr");
12
+ s.atom("type.name", "typename");
13
+ s.atom("type.type_code", "typetypecode");
14
+ s.atom("part", "part");
15
+ s.atom("year", "year");
16
+ s.atom("stage.abbr", "stageabbr");
17
+ s.atom("stage.name", "stagename");
18
+ s.atom("stage.stage_code", "stagestagecode");
19
+ s.atom("stage.harmonized_stages", "stageharmonizedstages", "list");
20
+ s.atom("typed_stage.abbr", "typedstageabbr", "list");
21
+ s.atom("typed_stage.name", "typedstagename");
22
+ s.atom("typed_stage.code", "typedstage");
23
+ s.atom("typed_stage.long_abbr", "typedstagelongabbr");
24
+ s.atom("typed_stage.short_abbr", "typedstageshortabbr");
25
+ s.atom("typed_stage.stage_code", "typedstagestagecode");
26
+ s.atom("typed_stage.type_code", "typedstagetypecode");
27
+ s.atom("typed_stage.harmonized_stages", "typedstageharmonizedstages", "list");
28
+ s.type("pubid:idf:all-parts", "all");
29
+ s.type("pubid:idf:amendment", "amd");
30
+ s.type("pubid:idf:corrigendum", "cor");
31
+ s.type("pubid:idf:identifier", "id");
32
+ s.type("pubid:idf:international-standard", "is");
33
+ s.type("pubid:idf:reviewed-method", "rm");
34
+ });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The pubid-scheme URN schema of IEC — the transcription
3
+ * of lib/pubid/<flavor>/pubid_urn_schema.rb (pubid#656, completed by
4
+ * #670; design in docs/URN-SCHEMES.adoc). GENERATED by
5
+ * scripts/port-urn-schemas.rb from the ruby declaration: edit the ruby
6
+ * schema and regenerate, never this table by hand.
7
+ */
8
+ export declare const iecSchema: import("../schema.js").FlavorSchema;
@@ -0,0 +1,61 @@
1
+ /**
2
+ * The pubid-scheme URN schema of IEC — the transcription
3
+ * of lib/pubid/<flavor>/pubid_urn_schema.rb (pubid#656, completed by
4
+ * #670; design in docs/URN-SCHEMES.adoc). GENERATED by
5
+ * scripts/port-urn-schemas.rb from the ruby declaration: edit the ruby
6
+ * schema and regenerate, never this table by hand.
7
+ */
8
+ import { define } from "../index.js";
9
+ export const iecSchema = define("iec", (s) => {
10
+ s.atom("publisher", "pub");
11
+ s.atom("copublishers", "co", "list");
12
+ s.atom("part", "part");
13
+ s.atom("subpart", "subpart");
14
+ s.atom("year", "year");
15
+ s.atom("month", "month");
16
+ s.atom("day", "day");
17
+ s.atom("undated", "undated", "bool");
18
+ s.atom("edition", "ed");
19
+ s.atom("stage", "stage");
20
+ s.atom("stage_iteration", "iter");
21
+ s.atom("database", "database", "bool");
22
+ s.atom("fragment_number", "frag");
23
+ s.atom("sheet_number", "sheet");
24
+ s.atom("sheet_year", "sheetyear");
25
+ s.atom("vap", "vap", "list");
26
+ s.atom("technical_committee", "tc");
27
+ s.atom("wd_language", "wdlang");
28
+ s.atom("wd_stage", "wdstage");
29
+ s.atom("wp_stage", "wpstage");
30
+ s.atom("wp_type", "wptype");
31
+ s.atom("cispr_identifier", "cispr", "id");
32
+ s.atom("languages.*.code", "lang");
33
+ s.atom("identifiers", "ids", "ids");
34
+ s.facet("languages.*.original_code", "langsrc");
35
+ s.type("pubid:iec:all-parts", "all");
36
+ s.type("pubid:iec:amendment", "amd");
37
+ s.type("pubid:iec:base", "base");
38
+ s.type("pubid:iec:component-specification", "cs");
39
+ s.type("pubid:iec:conformity-assessment", "ca");
40
+ s.type("pubid:iec:consolidated-identifier", "consol", { core: [] });
41
+ s.type("pubid:iec:corrigendum", "cor");
42
+ s.type("pubid:iec:fragment-identifier", "fi", { core: [] });
43
+ s.type("pubid:iec:guide", "guide");
44
+ s.type("pubid:iec:identifier", "id");
45
+ s.type("pubid:iec:international-standard", "is");
46
+ s.type("pubid:iec:interpretation-sheet", "is2");
47
+ s.type("pubid:iec:operational-document", "od");
48
+ s.type("pubid:iec:publicly-available-specification", "pas");
49
+ s.type("pubid:iec:sheet-identifier", "si", { core: [] });
50
+ s.type("pubid:iec:single-identifier", "si2");
51
+ s.type("pubid:iec:societal-technology-trend-report", "sttr");
52
+ s.type("pubid:iec:systems-reference-document", "srd");
53
+ s.type("pubid:iec:technical-group", "tg");
54
+ s.type("pubid:iec:technical-report", "tr");
55
+ s.type("pubid:iec:technical-specification", "ts");
56
+ s.type("pubid:iec:technology-report", "tr2");
57
+ s.type("pubid:iec:test-report-form", "trf");
58
+ s.type("pubid:iec:vap-identifier", "vi");
59
+ s.type("pubid:iec:white-paper", "wp");
60
+ s.type("pubid:iec:working-document", "wd");
61
+ });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The pubid-scheme URN schema of IEEE — the transcription
3
+ * of lib/pubid/<flavor>/pubid_urn_schema.rb (pubid#656, completed by
4
+ * #670; design in docs/URN-SCHEMES.adoc). GENERATED by
5
+ * scripts/port-urn-schemas.rb from the ruby declaration: edit the ruby
6
+ * schema and regenerate, never this table by hand.
7
+ */
8
+ export declare const ieeeSchema: import("../schema.js").FlavorSchema;
@@ -0,0 +1,116 @@
1
+ /**
2
+ * The pubid-scheme URN schema of IEEE — the transcription
3
+ * of lib/pubid/<flavor>/pubid_urn_schema.rb (pubid#656, completed by
4
+ * #670; design in docs/URN-SCHEMES.adoc). GENERATED by
5
+ * scripts/port-urn-schemas.rb from the ruby declaration: edit the ruby
6
+ * schema and regenerate, never this table by hand.
7
+ */
8
+ import { define } from "../index.js";
9
+ export const ieeeSchema = define("ieee", (s) => {
10
+ s.atom("publisher", "pub");
11
+ s.atom("publishers", "pubs", "list");
12
+ s.atom("lead_party", "lead");
13
+ s.atom("copublisher", "co", "list");
14
+ s.atom("copublishers.*.body", "copubs");
15
+ s.atom("prefix", "prefix");
16
+ s.atom("type", "type");
17
+ s.atom("variant", "variant");
18
+ s.atom("parts", "part", "list");
19
+ s.atom("part", "pt");
20
+ s.atom("subpart", "subpart");
21
+ s.atom("year", "year");
22
+ s.atom("month", "month");
23
+ s.atom("day", "day");
24
+ s.atom("date.year", "dateyear");
25
+ s.atom("date.month", "datemonth");
26
+ s.atom("date.day", "dateday");
27
+ s.atom("date.undated", "undated", "bool");
28
+ s.atom("date_info", "dateinfo");
29
+ s.atom("iec_year", "iecyear");
30
+ s.atom("edition", "ed");
31
+ s.atom("edition_month", "edmonth");
32
+ s.atom("revision", "rev");
33
+ s.atom("reaffirmed", "reaff");
34
+ s.atom("stage", "stage");
35
+ s.atom("stage_iteration", "iter");
36
+ s.atom("iso_stage", "isostage");
37
+ s.atom("ieee_draft", "ieeedraft");
38
+ s.atom("draft", "draft");
39
+ s.atom("draft_info", "draftinfo");
40
+ s.atom("draft_status", "draftstatus");
41
+ s.atom("typed_stage.abbr", "tsabbr", "list");
42
+ s.atom("typed_stage.stage_code", "tsstage");
43
+ s.atom("typed_stage.type_code", "tstype");
44
+ s.atom("typed_stage.iso_stage_equivalent", "tsiso");
45
+ s.atom("typed_stage.ieee_draft_equivalent", "tsieee");
46
+ s.atom("typed_stage.approval_status", "tsapproval");
47
+ s.atom("typed_stage.project_status", "tsproject", "bool");
48
+ s.atom("languages.*.code", "lang");
49
+ s.atom("locality.value", "loc");
50
+ s.atom("project_marker", "project", "bool");
51
+ s.atom("redline", "redline", "bool");
52
+ s.atom("interpretation", "interp", "bool");
53
+ s.atom("registered", "registered", "bool");
54
+ s.atom("abbr_suffix", "abbrsuffix", "bool");
55
+ s.atom("abbr_suffix_registered", "abbrsuffixreg", "bool");
56
+ s.atom("rev_bare", "revbare", "bool");
57
+ s.atom("space_before_draft", "spacedraft", "bool");
58
+ s.atom("month_glued", "monthglued", "bool");
59
+ s.atom("ashrae_number", "ashrae");
60
+ s.atom("ashrae_year", "ashraeyear");
61
+ s.atom("iso_identifier", "isoid");
62
+ s.atom("adoption", "adoption");
63
+ s.atom("amendment_to", "amendmentto");
64
+ s.atom("crossref", "crossref");
65
+ s.atom("nickname", "nick");
66
+ s.atom("note", "note");
67
+ s.atom("parenthetical_content", "paren");
68
+ s.atom("relationships.*.relationship_type", "rel");
69
+ s.atom("ieee_identifier", "ieeeid", "id");
70
+ s.atom("iec_identifier", "iecid", "id");
71
+ s.atom("first_identifier", "first", "id");
72
+ s.atom("second_identifier", "second", "id");
73
+ s.atom("primary_identifier", "primary", "id");
74
+ s.atom("secondary_identifier", "secondary", "id");
75
+ s.atom("parenthetical_identifier", "parenid", "id");
76
+ s.atom("adopted_identifiers", "adopted", "ids");
77
+ s.atom("revision_of", "revof", "id");
78
+ s.atom("supplement_to", "supto", "id");
79
+ s.atom("amendments", "amds", "ids");
80
+ s.atom("corrigenda", "cors", "ids");
81
+ s.atom("incorporates", "incl", "ids");
82
+ s.atom("supersedes", "supersedes", "ids");
83
+ s.facet("separator", "sep");
84
+ s.facet("separators.*", "seps");
85
+ s.facet("rev_sep", "revsep");
86
+ s.facet("year_sep", "yearsep");
87
+ s.facet("date_separator", "datesep");
88
+ s.facet("original_format", "format");
89
+ s.facet("languages.*.original_code", "langsrc");
90
+ s.type("pubid:ieee:standard", "std");
91
+ s.type("pubid:ieee:project-draft-identifier", "proj");
92
+ s.type("pubid:ieee:si-standard", "si");
93
+ s.type("pubid:ieee:redlined-standard", "redlined");
94
+ s.type("pubid:ieee:joint-development", "joint");
95
+ s.type("pubid:ieee:iec-ieee-copublished", "iecieee");
96
+ s.type("pubid:ieee:dual-identifier", "dual");
97
+ s.type("pubid:ieee:dual-published", "dualpub");
98
+ s.type("pubid:ieee:csa-dual-published", "csadual");
99
+ s.type("pubid:ieee:multi-numbered-identifier", "multi");
100
+ s.type("pubid:ieee:adopted-standard", "adopted");
101
+ s.type("pubid:ieee:parenthetical-identifier", "paren");
102
+ s.type("pubid:ieee:amendment", "amd");
103
+ s.type("pubid:ieee:corrigendum", "cor");
104
+ s.type("pubid:ieee:interpretation-identifier", "int");
105
+ s.type("pubid:ieee:conformance-identifier", "conf");
106
+ s.type("pubid:ieee:supplement-identifier", "sup");
107
+ s.type("pubid:ieee:aiee", "aiee");
108
+ s.type("pubid:ieee:ire", "ire");
109
+ s.type("pubid:ieee:nesc-standard", "nesc");
110
+ s.type("pubid:ieee:nesc-edition", "nescedition");
111
+ s.type("pubid:ieee:nesc-handbook", "nescbook");
112
+ s.type("pubid:ieee:nesc-draft", "nescdraft");
113
+ s.type("pubid:ieee:nesc-preprint", "nescpre");
114
+ s.type("pubid:ieee:nesc-redline", "nescredline");
115
+ s.type("pubid:ieee:identifier", "id");
116
+ });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The pubid-scheme URN schema of IETF — the transcription
3
+ * of lib/pubid/<flavor>/pubid_urn_schema.rb (pubid#656, completed by
4
+ * #670; design in docs/URN-SCHEMES.adoc). GENERATED by
5
+ * scripts/port-urn-schemas.rb from the ruby declaration: edit the ruby
6
+ * schema and regenerate, never this table by hand.
7
+ */
8
+ export declare const ietfSchema: import("../schema.js").FlavorSchema;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * The pubid-scheme URN schema of IETF — the transcription
3
+ * of lib/pubid/<flavor>/pubid_urn_schema.rb (pubid#656, completed by
4
+ * #670; design in docs/URN-SCHEMES.adoc). GENERATED by
5
+ * scripts/port-urn-schemas.rb from the ruby declaration: edit the ruby
6
+ * schema and regenerate, never this table by hand.
7
+ */
8
+ import { define } from "../index.js";
9
+ export const ietfSchema = define("ietf", (s) => {
10
+ s.atom("version", "v");
11
+ s.type("pubid:ietf:bcp", "bcp");
12
+ s.type("pubid:ietf:fyi", "fyi");
13
+ s.type("pubid:ietf:identifier", "id");
14
+ s.type("pubid:ietf:internet-draft", "id2");
15
+ s.type("pubid:ietf:rfc", "rfc");
16
+ s.type("pubid:ietf:std", "std");
17
+ });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The pubid-scheme URN schema of IHO — the transcription
3
+ * of lib/pubid/<flavor>/pubid_urn_schema.rb (pubid#656, completed by
4
+ * #670; design in docs/URN-SCHEMES.adoc). GENERATED by
5
+ * scripts/port-urn-schemas.rb from the ruby declaration: edit the ruby
6
+ * schema and regenerate, never this table by hand.
7
+ */
8
+ export declare const ihoSchema: import("../schema.js").FlavorSchema;
@@ -0,0 +1,35 @@
1
+ /**
2
+ * The pubid-scheme URN schema of IHO — the transcription
3
+ * of lib/pubid/<flavor>/pubid_urn_schema.rb (pubid#656, completed by
4
+ * #670; design in docs/URN-SCHEMES.adoc). GENERATED by
5
+ * scripts/port-urn-schemas.rb from the ruby declaration: edit the ruby
6
+ * schema and regenerate, never this table by hand.
7
+ */
8
+ import { define } from "../index.js";
9
+ export const ihoSchema = define("iho", (s) => {
10
+ s.atom("edition", "ed");
11
+ s.atom("year", "year");
12
+ s.atom("supplement", "sup");
13
+ s.atom("supplement_edition", "suped");
14
+ s.atom("supplement_year", "supyear");
15
+ s.atom("part", "part");
16
+ s.atom("part_edition", "parted");
17
+ s.atom("part_year", "party");
18
+ s.atom("annex", "annex");
19
+ s.atom("annex_edition", "anned");
20
+ s.atom("annex_year", "annyear");
21
+ s.atom("appendix", "appendix");
22
+ s.atom("appendix_subnumber", "appsub");
23
+ s.atom("appendix_edition", "apped");
24
+ s.atom("appendix_year", "appyear");
25
+ s.atom("volume", "vol");
26
+ s.atom("issue", "issue");
27
+ s.atom("volume_edition", "voled");
28
+ s.atom("volume_year", "voly");
29
+ s.type("pubid:iho:bibliographic", "b");
30
+ s.type("pubid:iho:circular-letter", "cl");
31
+ s.type("pubid:iho:identifier", "id");
32
+ s.type("pubid:iho:miscellaneous", "m");
33
+ s.type("pubid:iho:publication", "pub");
34
+ s.type("pubid:iho:standard", "std");
35
+ });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * The registry of all 44 flavor pubid-urn schema tables — the TS mirror
3
+ * of lib/pubid.rb's autoloaded Pubid::<Flavor>::PubidUrnSchema chain.
4
+ * Declared tables only: importing this module has no side effects; the
5
+ * pubid-urn module builds its flavor lookup lazily from this array.
6
+ */
7
+ import type { FlavorSchema } from "../schema.js";
8
+ /** All flavor schemas, in the ruby registry order (alphabetical by module). */
9
+ export declare const PUBID_URN_SCHEMAS: FlavorSchema[];