@pubid/pubid 0.1.33 → 0.1.34
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.
- package/dist/flavors/bsi/model.js +13 -9
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/model/identifier.d.ts +3 -0
- package/dist/model/identifier.js +6 -0
- package/dist/pubid-urn/decoder.d.ts +27 -0
- package/dist/pubid-urn/decoder.js +165 -0
- package/dist/pubid-urn/encoder.d.ts +30 -0
- package/dist/pubid-urn/encoder.js +197 -0
- package/dist/pubid-urn/errors.d.ts +15 -0
- package/dist/pubid-urn/errors.js +21 -0
- package/dist/pubid-urn/escape.d.ts +19 -0
- package/dist/pubid-urn/escape.js +65 -0
- package/dist/pubid-urn/index.d.ts +65 -0
- package/dist/pubid-urn/index.js +216 -0
- package/dist/pubid-urn/paths.d.ts +26 -0
- package/dist/pubid-urn/paths.js +129 -0
- package/dist/pubid-urn/schema.d.ts +88 -0
- package/dist/pubid-urn/schema.js +186 -0
- package/dist/pubid-urn/schemas/adobe.d.ts +8 -0
- package/dist/pubid-urn/schemas/adobe.js +15 -0
- package/dist/pubid-urn/schemas/amca.d.ts +8 -0
- package/dist/pubid-urn/schemas/amca.js +19 -0
- package/dist/pubid-urn/schemas/ansi.d.ts +8 -0
- package/dist/pubid-urn/schemas/ansi.js +30 -0
- package/dist/pubid-urn/schemas/api.d.ts +8 -0
- package/dist/pubid-urn/schemas/api.js +25 -0
- package/dist/pubid-urn/schemas/ashrae.d.ts +8 -0
- package/dist/pubid-urn/schemas/ashrae.js +28 -0
- package/dist/pubid-urn/schemas/asme.d.ts +8 -0
- package/dist/pubid-urn/schemas/asme.js +26 -0
- package/dist/pubid-urn/schemas/astm.d.ts +8 -0
- package/dist/pubid-urn/schemas/astm.js +38 -0
- package/dist/pubid-urn/schemas/bipm.d.ts +8 -0
- package/dist/pubid-urn/schemas/bipm.js +34 -0
- package/dist/pubid-urn/schemas/bsi.d.ts +8 -0
- package/dist/pubid-urn/schemas/bsi.js +98 -0
- package/dist/pubid-urn/schemas/calconnect.d.ts +8 -0
- package/dist/pubid-urn/schemas/calconnect.js +16 -0
- package/dist/pubid-urn/schemas/ccsds.d.ts +8 -0
- package/dist/pubid-urn/schemas/ccsds.js +18 -0
- package/dist/pubid-urn/schemas/cencenelec.d.ts +8 -0
- package/dist/pubid-urn/schemas/cencenelec.js +39 -0
- package/dist/pubid-urn/schemas/cie.d.ts +8 -0
- package/dist/pubid-urn/schemas/cie.js +41 -0
- package/dist/pubid-urn/schemas/csa.d.ts +8 -0
- package/dist/pubid-urn/schemas/csa.js +45 -0
- package/dist/pubid-urn/schemas/doi.d.ts +8 -0
- package/dist/pubid-urn/schemas/doi.js +14 -0
- package/dist/pubid-urn/schemas/easc.d.ts +8 -0
- package/dist/pubid-urn/schemas/easc.js +16 -0
- package/dist/pubid-urn/schemas/ecma.d.ts +8 -0
- package/dist/pubid-urn/schemas/ecma.js +17 -0
- package/dist/pubid-urn/schemas/etsi.d.ts +8 -0
- package/dist/pubid-urn/schemas/etsi.js +23 -0
- package/dist/pubid-urn/schemas/evs.d.ts +8 -0
- package/dist/pubid-urn/schemas/evs.js +30 -0
- package/dist/pubid-urn/schemas/gb.d.ts +8 -0
- package/dist/pubid-urn/schemas/gb.js +18 -0
- package/dist/pubid-urn/schemas/gost.d.ts +8 -0
- package/dist/pubid-urn/schemas/gost.js +23 -0
- package/dist/pubid-urn/schemas/iala.d.ts +8 -0
- package/dist/pubid-urn/schemas/iala.js +26 -0
- package/dist/pubid-urn/schemas/iana.d.ts +8 -0
- package/dist/pubid-urn/schemas/iana.js +13 -0
- package/dist/pubid-urn/schemas/idf.d.ts +8 -0
- package/dist/pubid-urn/schemas/idf.js +34 -0
- package/dist/pubid-urn/schemas/iec.d.ts +8 -0
- package/dist/pubid-urn/schemas/iec.js +55 -0
- package/dist/pubid-urn/schemas/ieee.d.ts +8 -0
- package/dist/pubid-urn/schemas/ieee.js +116 -0
- package/dist/pubid-urn/schemas/ietf.d.ts +8 -0
- package/dist/pubid-urn/schemas/ietf.js +17 -0
- package/dist/pubid-urn/schemas/iho.d.ts +8 -0
- package/dist/pubid-urn/schemas/iho.js +35 -0
- package/dist/pubid-urn/schemas/index.d.ts +9 -0
- package/dist/pubid-urn/schemas/index.js +97 -0
- package/dist/pubid-urn/schemas/isbn.d.ts +8 -0
- package/dist/pubid-urn/schemas/isbn.js +14 -0
- package/dist/pubid-urn/schemas/iso.d.ts +8 -0
- package/dist/pubid-urn/schemas/iso.js +46 -0
- package/dist/pubid-urn/schemas/itu.d.ts +8 -0
- package/dist/pubid-urn/schemas/itu.js +61 -0
- package/dist/pubid-urn/schemas/jcgm.d.ts +8 -0
- package/dist/pubid-urn/schemas/jcgm.js +21 -0
- package/dist/pubid-urn/schemas/jis.d.ts +8 -0
- package/dist/pubid-urn/schemas/jis.js +24 -0
- package/dist/pubid-urn/schemas/nist.d.ts +8 -0
- package/dist/pubid-urn/schemas/nist.js +90 -0
- package/dist/pubid-urn/schemas/oasis.d.ts +8 -0
- package/dist/pubid-urn/schemas/oasis.js +17 -0
- package/dist/pubid-urn/schemas/ogc.d.ts +8 -0
- package/dist/pubid-urn/schemas/ogc.js +14 -0
- package/dist/pubid-urn/schemas/oiml.d.ts +8 -0
- package/dist/pubid-urn/schemas/oiml.js +39 -0
- package/dist/pubid-urn/schemas/omg.d.ts +8 -0
- package/dist/pubid-urn/schemas/omg.js +15 -0
- package/dist/pubid-urn/schemas/plateau.d.ts +8 -0
- package/dist/pubid-urn/schemas/plateau.js +20 -0
- package/dist/pubid-urn/schemas/sae.d.ts +8 -0
- package/dist/pubid-urn/schemas/sae.js +18 -0
- package/dist/pubid-urn/schemas/tgpp.d.ts +8 -0
- package/dist/pubid-urn/schemas/tgpp.js +17 -0
- package/dist/pubid-urn/schemas/un.d.ts +8 -0
- package/dist/pubid-urn/schemas/un.js +13 -0
- package/dist/pubid-urn/schemas/w3c.d.ts +8 -0
- package/dist/pubid-urn/schemas/w3c.js +23 -0
- package/dist/pubid-urn/schemas/xsf.d.ts +8 -0
- package/dist/pubid-urn/schemas/xsf.js +12 -0
- package/dist/pubid-urn/slug.d.ts +20 -0
- package/dist/pubid-urn/slug.js +47 -0
- package/package.json +2 -1
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The schema definition DSL of the pubid-scheme URN — the TS mirror of
|
|
3
|
+
* Pubid::PubidUrn::Atom/Facet/TypeSchema/FlavorSchema
|
|
4
|
+
* (lib/pubid/pubid_urn/schema.rb).
|
|
5
|
+
*
|
|
6
|
+
* One prefixed atom: an optional value, found by its prefix and not by
|
|
7
|
+
* its position ("part-1", "co-IEC,IEEE", "ids-(iso:is:9001)"). A facet
|
|
8
|
+
* is a spelling-only value, written in the trailing "f" group.
|
|
9
|
+
*
|
|
10
|
+
* The URN shape of one concrete identifier type is a TypeSchema: the
|
|
11
|
+
* positional core, the atoms in their canonical order, the facets. A
|
|
12
|
+
* flavor's FlavorSchema declares flavor-level atoms/facets that apply
|
|
13
|
+
* to every type, plus one TypeSchema per concrete type.
|
|
14
|
+
*/
|
|
15
|
+
/** A list kind => the kind of its elements. */
|
|
16
|
+
const LIST_KINDS = {
|
|
17
|
+
list: "string",
|
|
18
|
+
bools: "bool",
|
|
19
|
+
};
|
|
20
|
+
export class Atom {
|
|
21
|
+
path;
|
|
22
|
+
prefix;
|
|
23
|
+
kind;
|
|
24
|
+
parts;
|
|
25
|
+
constructor(path, prefix, kind) {
|
|
26
|
+
this.path = path;
|
|
27
|
+
this.prefix = prefix;
|
|
28
|
+
this.kind = kind;
|
|
29
|
+
this.parts = path.split(".");
|
|
30
|
+
}
|
|
31
|
+
get list() {
|
|
32
|
+
return LIST_KINDS[this.kind] !== undefined;
|
|
33
|
+
}
|
|
34
|
+
/** The kind of one value (of one element of a list). */
|
|
35
|
+
get element() {
|
|
36
|
+
return LIST_KINDS[this.kind] ?? this.kind;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
export class Facet {
|
|
40
|
+
path;
|
|
41
|
+
name;
|
|
42
|
+
kind;
|
|
43
|
+
parts;
|
|
44
|
+
constructor(path, name, kind) {
|
|
45
|
+
this.path = path;
|
|
46
|
+
this.name = name;
|
|
47
|
+
this.kind = kind;
|
|
48
|
+
this.parts = path.split(".");
|
|
49
|
+
}
|
|
50
|
+
get list() {
|
|
51
|
+
return LIST_KINDS[this.kind] !== undefined;
|
|
52
|
+
}
|
|
53
|
+
get element() {
|
|
54
|
+
return LIST_KINDS[this.kind] ?? this.kind;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
/** The URN shape of one concrete identifier type. */
|
|
58
|
+
export class TypeSchema {
|
|
59
|
+
flavor;
|
|
60
|
+
type;
|
|
61
|
+
token;
|
|
62
|
+
core;
|
|
63
|
+
coreKinds;
|
|
64
|
+
atoms;
|
|
65
|
+
facets;
|
|
66
|
+
atomIndex;
|
|
67
|
+
facetNames;
|
|
68
|
+
constructor(flavor, type, token, core, atoms, facets) {
|
|
69
|
+
this.flavor = flavor;
|
|
70
|
+
this.type = type;
|
|
71
|
+
this.token = token;
|
|
72
|
+
this.core = core.map((spec) => (typeof spec === "string" ? spec : spec[0]).split("."));
|
|
73
|
+
this.coreKinds = core.map((spec) => (typeof spec === "string" ? "string" : spec[1]));
|
|
74
|
+
this.atoms = atoms;
|
|
75
|
+
this.facets = facets;
|
|
76
|
+
this.atomIndex = new Map(atoms.map((atom, i) => [atom.prefix, i]));
|
|
77
|
+
this.facetNames = new Map(facets.map((facet) => [facet.name, facet]));
|
|
78
|
+
}
|
|
79
|
+
/** The canonical position of the atom whose prefix starts `token`,
|
|
80
|
+
* or undefined when `token` is no atom of this type. */
|
|
81
|
+
atomPosition(token) {
|
|
82
|
+
const m = /^([a-z0-9]+)-/.exec(token);
|
|
83
|
+
if (m === null)
|
|
84
|
+
return undefined;
|
|
85
|
+
return this.atomIndex.get(m[1]);
|
|
86
|
+
}
|
|
87
|
+
facet(name) {
|
|
88
|
+
return this.facetNames.get(name);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
const NAME = /^[a-z][a-z0-9]*$/;
|
|
92
|
+
const RESERVED_TOKENS = new Set(["f", "type"]);
|
|
93
|
+
/**
|
|
94
|
+
* The pubid-scheme schema of one flavor: the canonical atom order, the
|
|
95
|
+
* facets, and one TypeSchema for each concrete type.
|
|
96
|
+
*
|
|
97
|
+
* Atoms and facets declared at flavor level apply to every type, in the
|
|
98
|
+
* order of declaration; a type adds its own after them. A type token, an
|
|
99
|
+
* atom prefix and a facet name are a lower-case letter followed by
|
|
100
|
+
* lower-case letters and digits, so none can contain the "-" that ends a
|
|
101
|
+
* prefix or the "." that qualifies a token of another flavor.
|
|
102
|
+
*/
|
|
103
|
+
export class FlavorSchema {
|
|
104
|
+
flavor;
|
|
105
|
+
types = new Map();
|
|
106
|
+
tokens = new Map();
|
|
107
|
+
atoms = [];
|
|
108
|
+
facets = [];
|
|
109
|
+
constructor(flavor) {
|
|
110
|
+
this.flavor = flavor;
|
|
111
|
+
}
|
|
112
|
+
atom(path, prefix, kind) {
|
|
113
|
+
this.atoms.push(buildAtom(path, prefix, kind));
|
|
114
|
+
}
|
|
115
|
+
facet(path, name, kind) {
|
|
116
|
+
this.facets.push(buildFacet(path, name, kind));
|
|
117
|
+
}
|
|
118
|
+
type(type, token, declaration = {}) {
|
|
119
|
+
checkName(token, "type token");
|
|
120
|
+
if (RESERVED_TOKENS.has(token) || this.tokens.has(token)) {
|
|
121
|
+
throw new Error(`type token ${JSON.stringify(token)} is reserved or taken`);
|
|
122
|
+
}
|
|
123
|
+
const core = (declaration.core ?? ["number"]).map(buildCore);
|
|
124
|
+
const allAtoms = [...this.atoms, ...(declaration.atoms ?? []).map((spec) => buildAtom(...spec))];
|
|
125
|
+
checkUnique(allAtoms.map((atom) => atom.prefix), "atom prefix", type);
|
|
126
|
+
const allFacets = [
|
|
127
|
+
...this.facets,
|
|
128
|
+
...(declaration.facets ?? []).map((spec) => buildFacet(...spec)),
|
|
129
|
+
];
|
|
130
|
+
checkUnique(allFacets.map((facet) => facet.name), "facet name", type);
|
|
131
|
+
const schema = new TypeSchema(this.flavor, type, token, core, allAtoms, allFacets);
|
|
132
|
+
this.types.set(type, schema);
|
|
133
|
+
this.tokens.set(token, schema);
|
|
134
|
+
}
|
|
135
|
+
forToken(token) {
|
|
136
|
+
return this.tokens.get(token);
|
|
137
|
+
}
|
|
138
|
+
forType(type) {
|
|
139
|
+
return this.types.get(type);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
function buildCore(spec) {
|
|
143
|
+
const kind = typeof spec === "string" ? "string" : spec[1];
|
|
144
|
+
if (kind !== "string" && kind !== "int") {
|
|
145
|
+
throw new Error(`unknown core kind ${JSON.stringify(kind)}`);
|
|
146
|
+
}
|
|
147
|
+
return spec;
|
|
148
|
+
}
|
|
149
|
+
function buildAtom(path, prefix, kind) {
|
|
150
|
+
checkName(prefix, "atom prefix");
|
|
151
|
+
return new Atom(path, prefix, checkKind(path, kind, ATOM_KINDS, "atom"));
|
|
152
|
+
}
|
|
153
|
+
function buildFacet(path, name, kind) {
|
|
154
|
+
checkName(name, "facet name");
|
|
155
|
+
return new Facet(path, name, checkKind(path, kind, FACET_KINDS, "facet"));
|
|
156
|
+
}
|
|
157
|
+
const ATOM_KINDS = ["string", "list", "bool", "bools", "int", "id", "ids"];
|
|
158
|
+
const FACET_KINDS = ["string", "list", "bool", "bools"];
|
|
159
|
+
/** A path with "*" reads a list, so its kind must be a list kind. */
|
|
160
|
+
function checkKind(path, kind, kinds, what) {
|
|
161
|
+
const listed = path.split(".").includes("*");
|
|
162
|
+
const resolved = kind ?? (listed ? "list" : "string");
|
|
163
|
+
if (!kinds.includes(resolved)) {
|
|
164
|
+
throw new Error(`unknown ${what} kind ${JSON.stringify(resolved)}`);
|
|
165
|
+
}
|
|
166
|
+
if (listed && LIST_KINDS[resolved] === undefined) {
|
|
167
|
+
throw new Error(`${what} ${JSON.stringify(path)} reads a list, so its kind must be one of list, bools`);
|
|
168
|
+
}
|
|
169
|
+
return resolved;
|
|
170
|
+
}
|
|
171
|
+
function checkName(name, what) {
|
|
172
|
+
const m = NAME.exec(name);
|
|
173
|
+
if (m === null || m[0].length !== name.length) {
|
|
174
|
+
throw new Error(`${what} ${JSON.stringify(name)} must match ${NAME.source}`);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
function checkUnique(names, what, type) {
|
|
178
|
+
const counts = new Map();
|
|
179
|
+
for (const name of names)
|
|
180
|
+
counts.set(name, (counts.get(name) ?? 0) + 1);
|
|
181
|
+
for (const [name, count] of counts) {
|
|
182
|
+
if (count > 1) {
|
|
183
|
+
throw new Error(`${what} ${JSON.stringify(name)} repeats in ${type}`);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pubid-scheme URN schema of ADOBE — 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 adobeSchema: import("../schema.js").FlavorSchema;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pubid-scheme URN schema of ADOBE — 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 adobeSchema = define("adobe", (s) => {
|
|
10
|
+
s.atom("slug", "slug");
|
|
11
|
+
s.atom("version", "v");
|
|
12
|
+
s.type("pubid:adobe:identifier", "id", { core: [] });
|
|
13
|
+
s.type("pubid:adobe:publication", "pub", { core: [] });
|
|
14
|
+
s.type("pubid:adobe:tech-note", "technote");
|
|
15
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pubid-scheme URN schema of AMCA — 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 amcaSchema: import("../schema.js").FlavorSchema;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pubid-scheme URN schema of AMCA — 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 amcaSchema = define("amca", (s) => {
|
|
10
|
+
s.atom("copublisher", "co");
|
|
11
|
+
s.atom("year", "year");
|
|
12
|
+
s.atom("revision", "rev");
|
|
13
|
+
s.atom("reaffirmed", "reaffirmed");
|
|
14
|
+
s.atom("interpretation_code", "interpcode");
|
|
15
|
+
s.type("pubid:amca:identifier", "id");
|
|
16
|
+
s.type("pubid:amca:interpretation", "interp");
|
|
17
|
+
s.type("pubid:amca:publication", "pub");
|
|
18
|
+
s.type("pubid:amca:standard", "std");
|
|
19
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pubid-scheme URN schema of ANSI — 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 ansiSchema: import("../schema.js").FlavorSchema;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pubid-scheme URN schema of ANSI — 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 ansiSchema = define("ansi", (s) => {
|
|
10
|
+
s.atom("publisher.body", "pub");
|
|
11
|
+
s.atom("copublishers.*.body", "co");
|
|
12
|
+
s.atom("type.abbr", "type");
|
|
13
|
+
s.atom("part", "part");
|
|
14
|
+
s.atom("subpart", "subpart");
|
|
15
|
+
s.atom("year", "year");
|
|
16
|
+
s.atom("date.year", "dateyear");
|
|
17
|
+
s.atom("date.month", "datemonth");
|
|
18
|
+
s.atom("date.day", "dateday");
|
|
19
|
+
s.atom("date.undated", "undated", "bool");
|
|
20
|
+
s.atom("edition.number", "ed");
|
|
21
|
+
s.atom("stage.abbr", "stage");
|
|
22
|
+
s.atom("stage_iteration.number", "iter");
|
|
23
|
+
s.atom("languages.*.code", "lang");
|
|
24
|
+
s.atom("locality.value", "loc");
|
|
25
|
+
s.facet("languages.*.original_code", "langsrc");
|
|
26
|
+
s.facet("edition.original_text", "edsrc");
|
|
27
|
+
s.type("pubid:ansi:standard", "std");
|
|
28
|
+
s.type("pubid:ansi:american-national-standard", "ans");
|
|
29
|
+
s.type("pubid:ansi:identifier", "id");
|
|
30
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pubid-scheme URN schema of API — 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 apiSchema: import("../schema.js").FlavorSchema;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pubid-scheme URN schema of API — 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 apiSchema = define("api", (s) => {
|
|
10
|
+
s.atom("part", "part");
|
|
11
|
+
s.atom("section", "section");
|
|
12
|
+
s.atom("subsection", "subsection");
|
|
13
|
+
s.atom("year", "year");
|
|
14
|
+
s.type("pubid:api:base", "base");
|
|
15
|
+
s.type("pubid:api:bulletin", "bulletin");
|
|
16
|
+
s.type("pubid:api:continuous-operations-standard", "cos");
|
|
17
|
+
s.type("pubid:api:identifier", "id");
|
|
18
|
+
s.type("pubid:api:mpms", "mpms");
|
|
19
|
+
s.type("pubid:api:publication", "pub");
|
|
20
|
+
s.type("pubid:api:recommended-practice", "rp");
|
|
21
|
+
s.type("pubid:api:specification", "spec");
|
|
22
|
+
s.type("pubid:api:standard", "std");
|
|
23
|
+
s.type("pubid:api:technical-report", "tr");
|
|
24
|
+
s.type("pubid:api:typeless-standard", "ts");
|
|
25
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pubid-scheme URN schema of ASHRAE — 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 ashraeSchema: import("../schema.js").FlavorSchema;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pubid-scheme URN schema of ASHRAE — 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 ashraeSchema = define("ashrae", (s) => {
|
|
10
|
+
s.atom("copublisher", "co");
|
|
11
|
+
s.atom("year", "year");
|
|
12
|
+
s.atom("date.day", "dateday");
|
|
13
|
+
s.atom("date.month", "datemonth");
|
|
14
|
+
s.atom("date.year", "dateyear");
|
|
15
|
+
s.atom("addendum_code", "addendumcode");
|
|
16
|
+
s.atom("addendum_codes", "addendumcodes");
|
|
17
|
+
s.atom("package_description", "packagedescription");
|
|
18
|
+
s.atom("reaffirmed", "reaffirmed");
|
|
19
|
+
s.atom("suffix", "suffix");
|
|
20
|
+
s.type("pubid:ashrae:addenda-package", "ap");
|
|
21
|
+
s.type("pubid:ashrae:addendum", "add");
|
|
22
|
+
s.type("pubid:ashrae:combined-addenda", "ca");
|
|
23
|
+
s.type("pubid:ashrae:errata", "err");
|
|
24
|
+
s.type("pubid:ashrae:guideline", "g");
|
|
25
|
+
s.type("pubid:ashrae:identifier", "id");
|
|
26
|
+
s.type("pubid:ashrae:interpretation", "interp");
|
|
27
|
+
s.type("pubid:ashrae:standard", "std");
|
|
28
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pubid-scheme URN schema of ASME — 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 asmeSchema: import("../schema.js").FlavorSchema;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pubid-scheme URN schema of ASME — 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 asmeSchema = define("asme", (s) => {
|
|
10
|
+
s.atom("publisher", "pub");
|
|
11
|
+
s.atom("year", "year");
|
|
12
|
+
s.atom("language", "lang");
|
|
13
|
+
s.atom("csa_number", "csanumber");
|
|
14
|
+
s.atom("draft_year", "draftyear");
|
|
15
|
+
s.atom("first_code", "firstcode");
|
|
16
|
+
s.atom("first_publisher", "firstpublisher");
|
|
17
|
+
s.atom("handbook", "handbook", "bool");
|
|
18
|
+
s.atom("joint_publisher", "jointpublisher");
|
|
19
|
+
s.atom("parenthetical_revision", "parentheticalrevision");
|
|
20
|
+
s.atom("ptc_suffix", "ptcsuffix");
|
|
21
|
+
s.atom("revision_note", "revisionnote");
|
|
22
|
+
s.atom("second_publisher", "secondpublisher");
|
|
23
|
+
s.type("pubid:asme:base", "base");
|
|
24
|
+
s.type("pubid:asme:identifier", "id");
|
|
25
|
+
s.type("pubid:asme:standard", "std");
|
|
26
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pubid-scheme URN schema of ASTM — 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 astmSchema: import("../schema.js").FlavorSchema;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pubid-scheme URN schema of ASTM — 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 astmSchema = define("astm", (s) => {
|
|
10
|
+
s.atom("publisher", "pub");
|
|
11
|
+
s.atom("committee", "committee");
|
|
12
|
+
s.atom("letter", "letter");
|
|
13
|
+
s.atom("subseries", "subseries");
|
|
14
|
+
s.atom("suffix", "suffix");
|
|
15
|
+
s.atom("dual_m", "metric", "bool");
|
|
16
|
+
s.atom("year", "year");
|
|
17
|
+
s.atom("sub_year", "subyear");
|
|
18
|
+
s.atom("reapproval", "reapproval");
|
|
19
|
+
s.atom("edition", "ed");
|
|
20
|
+
s.atom("supplement", "sup", "bool");
|
|
21
|
+
s.atom("tp_designation", "tp");
|
|
22
|
+
s.atom("format_suffix", "format");
|
|
23
|
+
s.atom("ea_suffix", "ea", "bool");
|
|
24
|
+
s.atom("dvd_suffix", "dvd", "bool");
|
|
25
|
+
s.atom("hol_suffix", "hol", "bool");
|
|
26
|
+
s.type("pubid:astm:identifier", "id");
|
|
27
|
+
s.type("pubid:astm:single-identifier", "single");
|
|
28
|
+
s.type("pubid:astm:base", "base");
|
|
29
|
+
s.type("pubid:astm:standard", "std");
|
|
30
|
+
s.type("pubid:astm:iso-dual-published", "isodual");
|
|
31
|
+
s.type("pubid:astm:adjunct", "adj");
|
|
32
|
+
s.type("pubid:astm:data-series", "ds");
|
|
33
|
+
s.type("pubid:astm:manual", "mnl");
|
|
34
|
+
s.type("pubid:astm:monograph", "mono");
|
|
35
|
+
s.type("pubid:astm:research-report", "rr");
|
|
36
|
+
s.type("pubid:astm:technical-report", "tr");
|
|
37
|
+
s.type("pubid:astm:work-in-progress", "wk");
|
|
38
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pubid-scheme URN schema of BIPM — 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 bipmSchema: import("../schema.js").FlavorSchema;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pubid-scheme URN schema of BIPM — 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 bipmSchema = define("bipm", (s) => {
|
|
10
|
+
s.atom("part", "part");
|
|
11
|
+
s.atom("issue", "issue");
|
|
12
|
+
s.atom("year", "year", "int");
|
|
13
|
+
s.atom("edition", "ed");
|
|
14
|
+
s.atom("version", "v");
|
|
15
|
+
s.atom("appendix", "appendix");
|
|
16
|
+
s.atom("annex", "annex");
|
|
17
|
+
s.atom("language", "lang");
|
|
18
|
+
s.atom("article", "article");
|
|
19
|
+
s.atom("form", "form");
|
|
20
|
+
s.atom("group", "group");
|
|
21
|
+
s.atom("guide_kind", "guidekind");
|
|
22
|
+
s.atom("mep_code", "mepcode");
|
|
23
|
+
s.atom("report_code", "reportcode");
|
|
24
|
+
s.atom("type_code", "typecode");
|
|
25
|
+
s.atom("variant", "variant");
|
|
26
|
+
s.atom("years", "years");
|
|
27
|
+
s.type("pubid:bipm:committee-document", "cd");
|
|
28
|
+
s.type("pubid:bipm:guide", "guide");
|
|
29
|
+
s.type("pubid:bipm:identifier", "id");
|
|
30
|
+
s.type("pubid:bipm:meeting", "meeting");
|
|
31
|
+
s.type("pubid:bipm:mep", "mep");
|
|
32
|
+
s.type("pubid:bipm:metrologia-article", "ma");
|
|
33
|
+
s.type("pubid:bipm:si-brochure", "sb");
|
|
34
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pubid-scheme URN schema of BSI — 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 bsiSchema: import("../schema.js").FlavorSchema;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pubid-scheme URN schema of BSI — 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 bsiSchema = define("bsi", (s) => {
|
|
10
|
+
s.atom("publisher.body", "pubbody");
|
|
11
|
+
s.atom("copublishers", "co", "list");
|
|
12
|
+
s.atom("prefix", "prefix");
|
|
13
|
+
s.atom("flex_prefix", "flexprefix");
|
|
14
|
+
s.atom("part", "part");
|
|
15
|
+
s.atom("subpart", "subpart");
|
|
16
|
+
s.atom("year", "year");
|
|
17
|
+
s.atom("month", "month", "int");
|
|
18
|
+
s.atom("edition", "ed");
|
|
19
|
+
s.atom("type.abbr", "typeabbr");
|
|
20
|
+
s.atom("type.name", "typename");
|
|
21
|
+
s.atom("type.type_code", "typetypecode");
|
|
22
|
+
s.atom("stage.abbr", "stageabbr");
|
|
23
|
+
s.atom("stage.name", "stagename");
|
|
24
|
+
s.atom("stage.stage_code", "stagecode");
|
|
25
|
+
s.atom("stage.harmonized_stages", "stagehs", "list");
|
|
26
|
+
s.atom("typed_stage.abbr", "tsabbr", "list");
|
|
27
|
+
s.atom("typed_stage.name", "tsname");
|
|
28
|
+
s.atom("typed_stage.code", "tscode");
|
|
29
|
+
s.atom("typed_stage.stage_code", "tsstagecode");
|
|
30
|
+
s.atom("typed_stage.type_code", "tstypecode");
|
|
31
|
+
s.atom("typed_stage.harmonized_stages", "tshs", "list");
|
|
32
|
+
s.atom("format", "format");
|
|
33
|
+
s.atom("topic", "topic");
|
|
34
|
+
s.atom("separators", "seps", "list");
|
|
35
|
+
s.atom("separator", "sep");
|
|
36
|
+
s.atom("reverse_format", "revfmt", "bool");
|
|
37
|
+
s.atom("common_year.year", "cyear");
|
|
38
|
+
s.atom("supplement_number", "sup");
|
|
39
|
+
s.atom("supplement_year", "supyear", "int");
|
|
40
|
+
s.atom("addendum_number", "addn");
|
|
41
|
+
s.atom("addendum_year", "addy", "int");
|
|
42
|
+
s.atom("method_code", "mcode");
|
|
43
|
+
s.atom("method_to", "mto");
|
|
44
|
+
s.atom("method_and", "mand");
|
|
45
|
+
s.atom("is_plural", "isplural", "bool");
|
|
46
|
+
s.atom("section_id", "secid");
|
|
47
|
+
s.atom("section_format", "secfmt");
|
|
48
|
+
s.atom("second_number.value", "snd");
|
|
49
|
+
s.atom("spec_code.value", "spc");
|
|
50
|
+
s.atom("index_format", "idxfmt");
|
|
51
|
+
s.atom("issue_number", "issue");
|
|
52
|
+
s.atom("translation_lang", "translang");
|
|
53
|
+
s.atom("test_id", "testid");
|
|
54
|
+
s.atom("test_series", "testseries");
|
|
55
|
+
s.atom("iteration", "iter");
|
|
56
|
+
s.atom("fragment_number", "frag");
|
|
57
|
+
s.atom("explicit_prefix", "expprefix", "bool");
|
|
58
|
+
s.atom("explicit_publisher", "exppub", "bool");
|
|
59
|
+
s.atom("space_separated_part", "sspart", "bool");
|
|
60
|
+
s.atom("amd_suffix_form", "amdsuffix", "bool");
|
|
61
|
+
s.atom("bundle_type", "btype");
|
|
62
|
+
s.atom("identifiers", "ids", "ids");
|
|
63
|
+
s.atom("na_supplements", "nasup", "ids");
|
|
64
|
+
s.type("pubid:bsi:addendum-document", "ad");
|
|
65
|
+
s.type("pubid:bsi:adopted-european-norm", "aen", { core: [] });
|
|
66
|
+
s.type("pubid:bsi:adopted-international-standard", "ais", { core: [] });
|
|
67
|
+
s.type("pubid:bsi:aerospace-standard", "as");
|
|
68
|
+
s.type("pubid:bsi:amendment", "amd");
|
|
69
|
+
s.type("pubid:bsi:british-industrial-practice", "bip");
|
|
70
|
+
s.type("pubid:bsi:british-standard", "bs");
|
|
71
|
+
s.type("pubid:bsi:bundled-identifier", "bundle", { core: [] });
|
|
72
|
+
s.type("pubid:bsi:committee-document", "cd");
|
|
73
|
+
s.type("pubid:bsi:consolidated-identifier", "consol", { core: [] });
|
|
74
|
+
s.type("pubid:bsi:corrigendum", "cor");
|
|
75
|
+
s.type("pubid:bsi:detailed-specification", "ds");
|
|
76
|
+
s.type("pubid:bsi:disc", "disc");
|
|
77
|
+
s.type("pubid:bsi:draft-document", "dd");
|
|
78
|
+
s.type("pubid:bsi:electronic-book", "eb");
|
|
79
|
+
s.type("pubid:bsi:expert-commentary", "ec", { core: [] });
|
|
80
|
+
s.type("pubid:bsi:explanatory-supplement", "es");
|
|
81
|
+
s.type("pubid:bsi:flex", "flex");
|
|
82
|
+
s.type("pubid:bsi:handbook", "hb");
|
|
83
|
+
s.type("pubid:bsi:identifier", "id");
|
|
84
|
+
s.type("pubid:bsi:index", "index");
|
|
85
|
+
s.type("pubid:bsi:method", "method");
|
|
86
|
+
s.type("pubid:bsi:national-annex", "na");
|
|
87
|
+
s.type("pubid:bsi:practice-guide", "pg");
|
|
88
|
+
s.type("pubid:bsi:publicly-available-specification", "pas");
|
|
89
|
+
s.type("pubid:bsi:published-document", "pd");
|
|
90
|
+
s.type("pubid:bsi:section", "section");
|
|
91
|
+
s.type("pubid:bsi:set", "set", { core: [] });
|
|
92
|
+
s.type("pubid:bsi:standalone-amendment", "sa");
|
|
93
|
+
s.type("pubid:bsi:supplement-document", "sd");
|
|
94
|
+
s.type("pubid:bsi:supplementary-index", "si");
|
|
95
|
+
s.type("pubid:bsi:technical-specification", "ts");
|
|
96
|
+
s.type("pubid:bsi:test-method", "tm");
|
|
97
|
+
s.type("pubid:bsi:value-added-publication", "vap");
|
|
98
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pubid-scheme URN schema of CALCONNECT — 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 calconnectSchema: import("../schema.js").FlavorSchema;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pubid-scheme URN schema of CALCONNECT — 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 calconnectSchema = define("calconnect", (s) => {
|
|
10
|
+
s.atom("series", "series");
|
|
11
|
+
s.atom("year", "year");
|
|
12
|
+
s.atom("month", "month");
|
|
13
|
+
s.atom("day", "day");
|
|
14
|
+
s.type("pubid:calconnect:identifier", "id");
|
|
15
|
+
s.type("pubid:calconnect:standard", "std");
|
|
16
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pubid-scheme URN schema of CCSDS — 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 ccsdsSchema: import("../schema.js").FlavorSchema;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pubid-scheme URN schema of CCSDS — 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 ccsdsSchema = define("ccsds", (s) => {
|
|
10
|
+
s.atom("type", "type");
|
|
11
|
+
s.atom("part", "part");
|
|
12
|
+
s.atom("edition", "ed");
|
|
13
|
+
s.atom("language", "lang");
|
|
14
|
+
s.atom("suffix", "suffix");
|
|
15
|
+
s.type("pubid:ccsds:base", "base");
|
|
16
|
+
s.type("pubid:ccsds:corrigendum", "cor");
|
|
17
|
+
s.type("pubid:ccsds:identifier", "id");
|
|
18
|
+
});
|