@twin.org/standards-dublin-core 0.0.3-next.15 → 0.0.3-next.17

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.
@@ -6,19 +6,29 @@
6
6
  // eslint-disable-next-line @typescript-eslint/naming-convention
7
7
  export const DublinCoreContexts = {
8
8
  /**
9
- * The LD context for Dublin Core Terms vocabulary.
10
- * @see https://www.dublincore.org/specifications/dublin-core/dcmi-terms/
9
+ * The canonical RDF namespace URI for Dublin Core Terms.
11
10
  */
12
11
  NamespaceTerms: "http://purl.org/dc/terms/",
13
12
  /**
14
- * The LD context for Dublin Core DCMI Types vocabulary.
15
- * @see https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#section-7
13
+ * The value to use in JSON-LD context for Dublin Core Terms.
14
+ * Note: ContextTerms matches NamespaceTerms (both include trailing slash) as per Dublin Core specification.
15
+ * The Dublin Core Terms JSON-LD context URL format includes a trailing slash.
16
16
  */
17
- NamespaceDcmiType: "http://purl.org/dc/dcmitype/",
17
+ ContextTerms: "http://purl.org/dc/terms/",
18
18
  /**
19
19
  * JSON-LD Context URL for terms
20
20
  */
21
21
  JsonLdContextTerms: "https://schema.twindev.org/dublin-core/terms.jsonld",
22
+ /**
23
+ * The canonical RDF namespace URI for Dublin Core DCMI Types.
24
+ */
25
+ NamespaceDcmiType: "http://purl.org/dc/dcmitype/",
26
+ /**
27
+ * The value to use in JSON-LD context for Dublin Core DCMI Types.
28
+ * Note: ContextDcmiType matches NamespaceDcmiType (both include trailing slash) as per Dublin Core specification.
29
+ * The Dublin Core DCMI Types JSON-LD context URL format includes a trailing slash.
30
+ */
31
+ ContextDcmiType: "http://purl.org/dc/dcmitype/",
22
32
  /**
23
33
  * JSON-LD Context URL for DCMI Types
24
34
  */
@@ -1 +1 @@
1
- {"version":3,"file":"dublinCoreContexts.js","sourceRoot":"","sources":["../../../src/models/dublinCoreContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,kBAAkB,GAAG;IACjC;;;OAGG;IACH,cAAc,EAAE,2BAA2B;IAE3C;;;OAGG;IACH,iBAAiB,EAAE,8BAA8B;IAEjD;;OAEG;IACH,kBAAkB,EAAE,qDAAqD;IAEzE;;OAEG;IACH,qBAAqB,EAAE,wDAAwD;CACtE,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The contexts for Dublin Core.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const DublinCoreContexts = {\n\t/**\n\t * The LD context for Dublin Core Terms vocabulary.\n\t * @see https://www.dublincore.org/specifications/dublin-core/dcmi-terms/\n\t */\n\tNamespaceTerms: \"http://purl.org/dc/terms/\",\n\n\t/**\n\t * The LD context for Dublin Core DCMI Types vocabulary.\n\t * @see https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#section-7\n\t */\n\tNamespaceDcmiType: \"http://purl.org/dc/dcmitype/\",\n\n\t/**\n\t * JSON-LD Context URL for terms\n\t */\n\tJsonLdContextTerms: \"https://schema.twindev.org/dublin-core/terms.jsonld\",\n\n\t/**\n\t * JSON-LD Context URL for DCMI Types\n\t */\n\tJsonLdContextDcmiType: \"https://schema.twindev.org/dublin-core/dcmitype.jsonld\"\n} as const;\n\n/**\n * The contexts for Dublin Core.\n */\nexport type DublinCoreContexts = (typeof DublinCoreContexts)[keyof typeof DublinCoreContexts];\n"]}
1
+ {"version":3,"file":"dublinCoreContexts.js","sourceRoot":"","sources":["../../../src/models/dublinCoreContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,kBAAkB,GAAG;IACjC;;OAEG;IACH,cAAc,EAAE,2BAA2B;IAE3C;;;;OAIG;IACH,YAAY,EAAE,2BAA2B;IAEzC;;OAEG;IACH,kBAAkB,EAAE,qDAAqD;IAEzE;;OAEG;IACH,iBAAiB,EAAE,8BAA8B;IAEjD;;;;OAIG;IACH,eAAe,EAAE,8BAA8B;IAE/C;;OAEG;IACH,qBAAqB,EAAE,wDAAwD;CACtE,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The contexts for Dublin Core.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const DublinCoreContexts = {\n\t/**\n\t * The canonical RDF namespace URI for Dublin Core Terms.\n\t */\n\tNamespaceTerms: \"http://purl.org/dc/terms/\",\n\n\t/**\n\t * The value to use in JSON-LD context for Dublin Core Terms.\n\t * Note: ContextTerms matches NamespaceTerms (both include trailing slash) as per Dublin Core specification.\n\t * The Dublin Core Terms JSON-LD context URL format includes a trailing slash.\n\t */\n\tContextTerms: \"http://purl.org/dc/terms/\",\n\n\t/**\n\t * JSON-LD Context URL for terms\n\t */\n\tJsonLdContextTerms: \"https://schema.twindev.org/dublin-core/terms.jsonld\",\n\n\t/**\n\t * The canonical RDF namespace URI for Dublin Core DCMI Types.\n\t */\n\tNamespaceDcmiType: \"http://purl.org/dc/dcmitype/\",\n\n\t/**\n\t * The value to use in JSON-LD context for Dublin Core DCMI Types.\n\t * Note: ContextDcmiType matches NamespaceDcmiType (both include trailing slash) as per Dublin Core specification.\n\t * The Dublin Core DCMI Types JSON-LD context URL format includes a trailing slash.\n\t */\n\tContextDcmiType: \"http://purl.org/dc/dcmitype/\",\n\n\t/**\n\t * JSON-LD Context URL for DCMI Types\n\t */\n\tJsonLdContextDcmiType: \"https://schema.twindev.org/dublin-core/dcmitype.jsonld\"\n} as const;\n\n/**\n * The contexts for Dublin Core.\n */\nexport type DublinCoreContexts = (typeof DublinCoreContexts)[keyof typeof DublinCoreContexts];\n"]}
@@ -3,19 +3,29 @@
3
3
  */
4
4
  export declare const DublinCoreContexts: {
5
5
  /**
6
- * The LD context for Dublin Core Terms vocabulary.
7
- * @see https://www.dublincore.org/specifications/dublin-core/dcmi-terms/
6
+ * The canonical RDF namespace URI for Dublin Core Terms.
8
7
  */
9
8
  readonly NamespaceTerms: "http://purl.org/dc/terms/";
10
9
  /**
11
- * The LD context for Dublin Core DCMI Types vocabulary.
12
- * @see https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#section-7
10
+ * The value to use in JSON-LD context for Dublin Core Terms.
11
+ * Note: ContextTerms matches NamespaceTerms (both include trailing slash) as per Dublin Core specification.
12
+ * The Dublin Core Terms JSON-LD context URL format includes a trailing slash.
13
13
  */
14
- readonly NamespaceDcmiType: "http://purl.org/dc/dcmitype/";
14
+ readonly ContextTerms: "http://purl.org/dc/terms/";
15
15
  /**
16
16
  * JSON-LD Context URL for terms
17
17
  */
18
18
  readonly JsonLdContextTerms: "https://schema.twindev.org/dublin-core/terms.jsonld";
19
+ /**
20
+ * The canonical RDF namespace URI for Dublin Core DCMI Types.
21
+ */
22
+ readonly NamespaceDcmiType: "http://purl.org/dc/dcmitype/";
23
+ /**
24
+ * The value to use in JSON-LD context for Dublin Core DCMI Types.
25
+ * Note: ContextDcmiType matches NamespaceDcmiType (both include trailing slash) as per Dublin Core specification.
26
+ * The Dublin Core DCMI Types JSON-LD context URL format includes a trailing slash.
27
+ */
28
+ readonly ContextDcmiType: "http://purl.org/dc/dcmitype/";
19
29
  /**
20
30
  * JSON-LD Context URL for DCMI Types
21
31
  */
package/docs/changelog.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @twin.org/standards-dublin-core - Changelog
2
2
 
3
+ ## [0.0.3-next.17](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.16...standards-dublin-core-v0.0.3-next.17) (2026-01-21)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * updating the missing packages ([#114](https://github.com/twinfoundation/standards/issues/114)) ([90b03f8](https://github.com/twinfoundation/standards/commit/90b03f8bdcd81506284d74a445840386c2da2d35))
9
+
10
+ ## [0.0.3-next.16](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.15...standards-dublin-core-v0.0.3-next.16) (2026-01-19)
11
+
12
+
13
+ ### Miscellaneous Chores
14
+
15
+ * **standards-dublin-core:** Synchronize repo versions
16
+
3
17
  ## [0.0.3-next.15](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.14...standards-dublin-core-v0.0.3-next.15) (2026-01-16)
4
18
 
5
19
 
@@ -10,27 +10,35 @@ The contexts for Dublin Core.
10
10
 
11
11
  > `readonly` **NamespaceTerms**: `"http://purl.org/dc/terms/"` = `"http://purl.org/dc/terms/"`
12
12
 
13
- The LD context for Dublin Core Terms vocabulary.
13
+ The canonical RDF namespace URI for Dublin Core Terms.
14
14
 
15
- #### See
15
+ ### ContextTerms
16
16
 
17
- https://www.dublincore.org/specifications/dublin-core/dcmi-terms/
17
+ > `readonly` **ContextTerms**: `"http://purl.org/dc/terms/"` = `"http://purl.org/dc/terms/"`
18
18
 
19
- ### NamespaceDcmiType
19
+ The value to use in JSON-LD context for Dublin Core Terms.
20
+ Note: ContextTerms matches NamespaceTerms (both include trailing slash) as per Dublin Core specification.
21
+ The Dublin Core Terms JSON-LD context URL format includes a trailing slash.
20
22
 
21
- > `readonly` **NamespaceDcmiType**: `"http://purl.org/dc/dcmitype/"` = `"http://purl.org/dc/dcmitype/"`
23
+ ### JsonLdContextTerms
24
+
25
+ > `readonly` **JsonLdContextTerms**: `"https://schema.twindev.org/dublin-core/terms.jsonld"` = `"https://schema.twindev.org/dublin-core/terms.jsonld"`
26
+
27
+ JSON-LD Context URL for terms
22
28
 
23
- The LD context for Dublin Core DCMI Types vocabulary.
29
+ ### NamespaceDcmiType
24
30
 
25
- #### See
31
+ > `readonly` **NamespaceDcmiType**: `"http://purl.org/dc/dcmitype/"` = `"http://purl.org/dc/dcmitype/"`
26
32
 
27
- https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#section-7
33
+ The canonical RDF namespace URI for Dublin Core DCMI Types.
28
34
 
29
- ### JsonLdContextTerms
35
+ ### ContextDcmiType
30
36
 
31
- > `readonly` **JsonLdContextTerms**: `"https://schema.twindev.org/dublin-core/terms.jsonld"` = `"https://schema.twindev.org/dublin-core/terms.jsonld"`
37
+ > `readonly` **ContextDcmiType**: `"http://purl.org/dc/dcmitype/"` = `"http://purl.org/dc/dcmitype/"`
32
38
 
33
- JSON-LD Context URL for terms
39
+ The value to use in JSON-LD context for Dublin Core DCMI Types.
40
+ Note: ContextDcmiType matches NamespaceDcmiType (both include trailing slash) as per Dublin Core specification.
41
+ The Dublin Core DCMI Types JSON-LD context URL format includes a trailing slash.
34
42
 
35
43
  ### JsonLdContextDcmiType
36
44
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/standards-dublin-core",
3
- "version": "0.0.3-next.15",
3
+ "version": "0.0.3-next.17",
4
4
  "description": "Models which define the structure of Dublin Core Standard",
5
5
  "repository": {
6
6
  "type": "git",