@twin.org/standards-dublin-core 0.0.3-next.6 → 0.0.3-next.60

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # TWIN Standards Dublin Core
2
2
 
3
- Models which define the structure of [Dublin Core](https://www.dublincore.org/).
3
+ This package provides data models aligned with the [Dublin Core metadata terms](https://www.dublincore.org/specifications/dublin-core/dcmi-terms/), making metadata descriptions easier to share and validate across systems.
4
4
 
5
5
  ## Installation
6
6
 
@@ -10,8 +10,8 @@ export class DublinCoreDataTypes {
10
10
  * Register the JSON-LD Redirects.
11
11
  */
12
12
  static registerRedirects() {
13
- JsonLdProcessor.addRedirect(/https?:\/\/purl.org\/dc\/terms\/?/, DublinCoreContexts.ContextTermsRedirect);
14
- JsonLdProcessor.addRedirect(/https?:\/\/purl.org\/dc\/dcmitype\/?/, DublinCoreContexts.ContextDcmiTypeRedirect);
13
+ JsonLdProcessor.addRedirect(/https?:\/\/purl.org\/dc\/terms\/?/, DublinCoreContexts.JsonLdContextTerms);
14
+ JsonLdProcessor.addRedirect(/https?:\/\/purl.org\/dc\/dcmitype\/?/, DublinCoreContexts.JsonLdContextDcmiType);
15
15
  }
16
16
  }
17
17
  //# sourceMappingURL=dublinCoreDataTypes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dublinCoreDataTypes.js","sourceRoot":"","sources":["../../../src/dataTypes/dublinCoreDataTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,OAAO,mBAAmB;IAC/B;;OAEG;IACI,MAAM,CAAC,iBAAiB;QAC9B,eAAe,CAAC,WAAW,CAC1B,mCAAmC,EACnC,kBAAkB,CAAC,oBAAoB,CACvC,CAAC;QACF,eAAe,CAAC,WAAW,CAC1B,sCAAsC,EACtC,kBAAkB,CAAC,uBAAuB,CAC1C,CAAC;IACH,CAAC;CACD","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { JsonLdProcessor } from \"@twin.org/data-json-ld\";\nimport { DublinCoreContexts } from \"../models/dublinCoreContexts.js\";\n\n/**\n * Handle all the data types for Dublin Core.\n */\nexport class DublinCoreDataTypes {\n\t/**\n\t * Register the JSON-LD Redirects.\n\t */\n\tpublic static registerRedirects(): void {\n\t\tJsonLdProcessor.addRedirect(\n\t\t\t/https?:\\/\\/purl.org\\/dc\\/terms\\/?/,\n\t\t\tDublinCoreContexts.ContextTermsRedirect\n\t\t);\n\t\tJsonLdProcessor.addRedirect(\n\t\t\t/https?:\\/\\/purl.org\\/dc\\/dcmitype\\/?/,\n\t\t\tDublinCoreContexts.ContextDcmiTypeRedirect\n\t\t);\n\t}\n}\n"]}
1
+ {"version":3,"file":"dublinCoreDataTypes.js","sourceRoot":"","sources":["../../../src/dataTypes/dublinCoreDataTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,OAAO,mBAAmB;IAC/B;;OAEG;IACI,MAAM,CAAC,iBAAiB;QAC9B,eAAe,CAAC,WAAW,CAC1B,mCAAmC,EACnC,kBAAkB,CAAC,kBAAkB,CACrC,CAAC;QACF,eAAe,CAAC,WAAW,CAC1B,sCAAsC,EACtC,kBAAkB,CAAC,qBAAqB,CACxC,CAAC;IACH,CAAC;CACD","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { JsonLdProcessor } from \"@twin.org/data-json-ld\";\nimport { DublinCoreContexts } from \"../models/dublinCoreContexts.js\";\n\n/**\n * Handle all the data types for Dublin Core.\n */\nexport class DublinCoreDataTypes {\n\t/**\n\t * Register the JSON-LD Redirects.\n\t */\n\tpublic static registerRedirects(): void {\n\t\tJsonLdProcessor.addRedirect(\n\t\t\t/https?:\\/\\/purl.org\\/dc\\/terms\\/?/,\n\t\t\tDublinCoreContexts.JsonLdContextTerms\n\t\t);\n\t\tJsonLdProcessor.addRedirect(\n\t\t\t/https?:\\/\\/purl.org\\/dc\\/dcmitype\\/?/,\n\t\t\tDublinCoreContexts.JsonLdContextDcmiType\n\t\t);\n\t}\n}\n"]}
package/dist/es/index.js CHANGED
@@ -3,6 +3,6 @@
3
3
  export * from "./models/dublinCoreContexts.js";
4
4
  export * from "./models/dublinCorePropertyType.js";
5
5
  export * from "./models/dublinCoreClasses.js";
6
- export * from "./models/IPeriodOfTime.js";
6
+ export * from "./models/IDublinCorePeriodOfTime.js";
7
7
  export * from "./dataTypes/dublinCoreDataTypes.js";
8
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oCAAoC,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nexport * from \"./models/dublinCoreContexts.js\";\nexport * from \"./models/dublinCorePropertyType.js\";\nexport * from \"./models/dublinCoreClasses.js\";\nexport * from \"./models/IPeriodOfTime.js\";\nexport * from \"./dataTypes/dublinCoreDataTypes.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,cAAc,oCAAoC,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nexport * from \"./models/dublinCoreContexts.js\";\nexport * from \"./models/dublinCorePropertyType.js\";\nexport * from \"./models/dublinCoreClasses.js\";\nexport * from \"./models/IDublinCorePeriodOfTime.js\";\nexport * from \"./dataTypes/dublinCoreDataTypes.js\";\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IDublinCorePeriodOfTime.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IDublinCorePeriodOfTime.js","sourceRoot":"","sources":["../../../src/models/IDublinCorePeriodOfTime.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DublinCoreClasses } from \"./dublinCoreClasses.js\";\n\n/**\n * Interface for Dublin Core Terms Period of Time.\n * An interval of time that is named or defined by its start and end dates.\n * @see https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/PeriodOfTime\n */\nexport interface IDublinCorePeriodOfTime {\n\t/**\n\t * The type identifier for PeriodOfTime.\n\t */\n\t\"@type\"?: typeof DublinCoreClasses.PeriodOfTime;\n\n\t/**\n\t * The start date of the period.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:period_start_date\n\t */\n\t\"dcat:startDate\"?: string;\n\n\t/**\n\t * The end date of the period.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:period_end_date\n\t */\n\t\"dcat:endDate\"?: string;\n\n\t/**\n\t * The beginning of a period or interval.\n\t * @see https://www.w3.org/TR/owl-time/#time:hasBeginning\n\t */\n\t\"time:hasBeginning\"?: string;\n\n\t/**\n\t * The end of a period or interval.\n\t * @see https://www.w3.org/TR/owl-time/#time:hasEnd\n\t */\n\t\"time:hasEnd\"?: string;\n}\n"]}
@@ -6,22 +6,32 @@
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.
10
+ */
11
+ NamespaceTerms: "http://purl.org/dc/terms/",
12
+ /**
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.
11
16
  */
12
17
  ContextTerms: "http://purl.org/dc/terms/",
13
18
  /**
14
- * The LD context for Dublin Core DCMI Types vocabulary.
15
- * @see https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#section-7
19
+ * JSON-LD Context URL for Dublin Core Terms.
16
20
  */
17
- ContextDcmiType: "http://purl.org/dc/dcmitype/",
21
+ JsonLdContextTerms: "https://schema.twindev.org/dublin-core/terms.jsonld",
18
22
  /**
19
- * Redirection URL for terms
23
+ * The canonical RDF namespace URI for Dublin Core DCMI Types.
20
24
  */
21
- ContextTermsRedirect: "https://schema.twindev.org/dublin-core/terms.jsonld",
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
- * Redirection URLs
33
+ * JSON-LD Context URL for DCMI Types
24
34
  */
25
- ContextDcmiTypeRedirect: "https://schema.twindev.org/dublin-core/dcmitype.jsonld"
35
+ JsonLdContextDcmiType: "https://schema.twindev.org/dublin-core/dcmitype.jsonld"
26
36
  };
27
37
  //# sourceMappingURL=dublinCoreContexts.js.map
@@ -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,YAAY,EAAE,2BAA2B;IAEzC;;;OAGG;IACH,eAAe,EAAE,8BAA8B;IAE/C;;OAEG;IACH,oBAAoB,EAAE,qDAAqD;IAE3E;;OAEG;IACH,uBAAuB,EAAE,wDAAwD;CACxE,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\tContextTerms: \"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\tContextDcmiType: \"http://purl.org/dc/dcmitype/\",\n\n\t/**\n\t * Redirection URL for terms\n\t */\n\tContextTermsRedirect: \"https://schema.twindev.org/dublin-core/terms.jsonld\",\n\n\t/**\n\t * Redirection URLs\n\t */\n\tContextDcmiTypeRedirect: \"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 Dublin Core 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"]}
@@ -1,5 +1,5 @@
1
1
  export * from "./models/dublinCoreContexts.js";
2
2
  export * from "./models/dublinCorePropertyType.js";
3
3
  export * from "./models/dublinCoreClasses.js";
4
- export * from "./models/IPeriodOfTime.js";
4
+ export * from "./models/IDublinCorePeriodOfTime.js";
5
5
  export * from "./dataTypes/dublinCoreDataTypes.js";
@@ -1,11 +1,10 @@
1
- import type { IJsonLdNodeObject } from "@twin.org/data-json-ld";
2
1
  import type { DublinCoreClasses } from "./dublinCoreClasses.js";
3
2
  /**
4
3
  * Interface for Dublin Core Terms Period of Time.
5
4
  * An interval of time that is named or defined by its start and end dates.
6
5
  * @see https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/PeriodOfTime
7
6
  */
8
- export interface IPeriodOfTime extends IJsonLdNodeObject {
7
+ export interface IDublinCorePeriodOfTime {
9
8
  /**
10
9
  * The type identifier for PeriodOfTime.
11
10
  */
@@ -3,23 +3,33 @@
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.
7
+ */
8
+ readonly NamespaceTerms: "http://purl.org/dc/terms/";
9
+ /**
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.
8
13
  */
9
14
  readonly ContextTerms: "http://purl.org/dc/terms/";
10
15
  /**
11
- * The LD context for Dublin Core DCMI Types vocabulary.
12
- * @see https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#section-7
16
+ * JSON-LD Context URL for Dublin Core Terms.
13
17
  */
14
- readonly ContextDcmiType: "http://purl.org/dc/dcmitype/";
18
+ readonly JsonLdContextTerms: "https://schema.twindev.org/dublin-core/terms.jsonld";
15
19
  /**
16
- * Redirection URL for terms
20
+ * The canonical RDF namespace URI for Dublin Core DCMI Types.
17
21
  */
18
- readonly ContextTermsRedirect: "https://schema.twindev.org/dublin-core/terms.jsonld";
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
- * Redirection URLs
30
+ * JSON-LD Context URL for DCMI Types
21
31
  */
22
- readonly ContextDcmiTypeRedirect: "https://schema.twindev.org/dublin-core/dcmitype.jsonld";
32
+ readonly JsonLdContextDcmiType: "https://schema.twindev.org/dublin-core/dcmitype.jsonld";
23
33
  };
24
34
  /**
25
35
  * The contexts for Dublin Core.
package/docs/changelog.md CHANGED
@@ -1,4 +1,401 @@
1
- # @twin.org/standards-dublin-core - Changelog
1
+ # Changelog
2
+
3
+ ## [0.0.3-next.60](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.59...standards-dublin-core-v0.0.3-next.60) (2026-04-21)
4
+
5
+
6
+ ### Miscellaneous Chores
7
+
8
+ * **standards-dublin-core:** Synchronize repo versions
9
+
10
+ ## [0.0.3-next.59](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.58...standards-dublin-core-v0.0.3-next.59) (2026-04-07)
11
+
12
+
13
+ ### Miscellaneous Chores
14
+
15
+ * **standards-dublin-core:** Synchronize repo versions
16
+
17
+ ## [0.0.3-next.58](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.57...standards-dublin-core-v0.0.3-next.58) (2026-03-25)
18
+
19
+
20
+ ### Miscellaneous Chores
21
+
22
+ * **standards-dublin-core:** Synchronize repo versions
23
+
24
+ ## [0.0.3-next.57](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.56...standards-dublin-core-v0.0.3-next.57) (2026-03-20)
25
+
26
+
27
+ ### Miscellaneous Chores
28
+
29
+ * **standards-dublin-core:** Synchronize repo versions
30
+
31
+ ## [0.0.3-next.56](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.55...standards-dublin-core-v0.0.3-next.56) (2026-03-20)
32
+
33
+
34
+ ### Miscellaneous Chores
35
+
36
+ * **standards-dublin-core:** Synchronize repo versions
37
+
38
+ ## [0.0.3-next.55](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.54...standards-dublin-core-v0.0.3-next.55) (2026-03-19)
39
+
40
+
41
+ ### Features
42
+
43
+ * update to new ts-ts-schema and generic constructs ([4dff991](https://github.com/twinfoundation/standards/commit/4dff991fb70de4320668641ed94abf8e9b06acad))
44
+
45
+ ## [0.0.3-next.54](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.53...standards-dublin-core-v0.0.3-next.54) (2026-03-12)
46
+
47
+
48
+ ### Miscellaneous Chores
49
+
50
+ * **standards-dublin-core:** Synchronize repo versions
51
+
52
+ ## [0.0.3-next.53](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.52...standards-dublin-core-v0.0.3-next.53) (2026-03-11)
53
+
54
+
55
+ ### Miscellaneous Chores
56
+
57
+ * **standards-dublin-core:** Synchronize repo versions
58
+
59
+ ## [0.0.3-next.52](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.51...standards-dublin-core-v0.0.3-next.52) (2026-03-10)
60
+
61
+
62
+ ### Miscellaneous Chores
63
+
64
+ * **standards-dublin-core:** Synchronize repo versions
65
+
66
+ ## [0.0.3-next.51](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.50...standards-dublin-core-v0.0.3-next.51) (2026-03-10)
67
+
68
+
69
+ ### Miscellaneous Chores
70
+
71
+ * **standards-dublin-core:** Synchronize repo versions
72
+
73
+ ## [0.0.3-next.50](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.49...standards-dublin-core-v0.0.3-next.50) (2026-03-09)
74
+
75
+
76
+ ### Miscellaneous Chores
77
+
78
+ * **standards-dublin-core:** Synchronize repo versions
79
+
80
+ ## [0.0.3-next.49](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.48...standards-dublin-core-v0.0.3-next.49) (2026-03-06)
81
+
82
+
83
+ ### Miscellaneous Chores
84
+
85
+ * **standards-dublin-core:** Synchronize repo versions
86
+
87
+ ## [0.0.3-next.48](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.47...standards-dublin-core-v0.0.3-next.48) (2026-03-06)
88
+
89
+
90
+ ### Miscellaneous Chores
91
+
92
+ * **standards-dublin-core:** Synchronize repo versions
93
+
94
+ ## [0.0.3-next.47](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.46...standards-dublin-core-v0.0.3-next.47) (2026-03-06)
95
+
96
+
97
+ ### Miscellaneous Chores
98
+
99
+ * **standards-dublin-core:** Synchronize repo versions
100
+
101
+ ## [0.0.3-next.46](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.45...standards-dublin-core-v0.0.3-next.46) (2026-03-05)
102
+
103
+
104
+ ### Miscellaneous Chores
105
+
106
+ * **standards-dublin-core:** Synchronize repo versions
107
+
108
+ ## [0.0.3-next.45](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.44...standards-dublin-core-v0.0.3-next.45) (2026-03-04)
109
+
110
+
111
+ ### Miscellaneous Chores
112
+
113
+ * **standards-dublin-core:** Synchronize repo versions
114
+
115
+ ## [0.0.3-next.44](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.43...standards-dublin-core-v0.0.3-next.44) (2026-03-04)
116
+
117
+
118
+ ### Miscellaneous Chores
119
+
120
+ * **standards-dublin-core:** Synchronize repo versions
121
+
122
+ ## [0.0.3-next.43](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.42...standards-dublin-core-v0.0.3-next.43) (2026-02-25)
123
+
124
+
125
+ ### Miscellaneous Chores
126
+
127
+ * **standards-dublin-core:** Synchronize repo versions
128
+
129
+ ## [0.0.3-next.42](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.41...standards-dublin-core-v0.0.3-next.42) (2026-02-25)
130
+
131
+
132
+ ### Features
133
+
134
+ * remove IJsonLdNodeObject base interfaces ([#172](https://github.com/twinfoundation/standards/issues/172)) ([8ff8d7a](https://github.com/twinfoundation/standards/commit/8ff8d7a2892d626879b76ba5da912469ff899954))
135
+
136
+ ## [0.0.3-next.41](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.40...standards-dublin-core-v0.0.3-next.41) (2026-02-23)
137
+
138
+
139
+ ### Miscellaneous Chores
140
+
141
+ * **standards-dublin-core:** Synchronize repo versions
142
+
143
+ ## [0.0.3-next.40](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.39...standards-dublin-core-v0.0.3-next.40) (2026-02-18)
144
+
145
+
146
+ ### Miscellaneous Chores
147
+
148
+ * **standards-dublin-core:** Synchronize repo versions
149
+
150
+ ## [0.0.3-next.39](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.38...standards-dublin-core-v0.0.3-next.39) (2026-02-13)
151
+
152
+
153
+ ### Miscellaneous Chores
154
+
155
+ * **standards-dublin-core:** Synchronize repo versions
156
+
157
+ ## [0.0.3-next.38](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.37...standards-dublin-core-v0.0.3-next.38) (2026-02-13)
158
+
159
+
160
+ ### Miscellaneous Chores
161
+
162
+ * **standards-dublin-core:** Synchronize repo versions
163
+
164
+ ## [0.0.3-next.37](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.36...standards-dublin-core-v0.0.3-next.37) (2026-02-12)
165
+
166
+
167
+ ### Miscellaneous Chores
168
+
169
+ * **standards-dublin-core:** Synchronize repo versions
170
+
171
+ ## [0.0.3-next.36](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.35...standards-dublin-core-v0.0.3-next.36) (2026-02-11)
172
+
173
+
174
+ ### Miscellaneous Chores
175
+
176
+ * **standards-dublin-core:** Synchronize repo versions
177
+
178
+ ## [0.0.3-next.35](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.34...standards-dublin-core-v0.0.3-next.35) (2026-02-10)
179
+
180
+
181
+ ### Miscellaneous Chores
182
+
183
+ * **standards-dublin-core:** Synchronize repo versions
184
+
185
+ ## [0.0.3-next.34](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.33...standards-dublin-core-v0.0.3-next.34) (2026-02-10)
186
+
187
+
188
+ ### Miscellaneous Chores
189
+
190
+ * **standards-dublin-core:** Synchronize repo versions
191
+
192
+ ## [0.0.3-next.33](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.32...standards-dublin-core-v0.0.3-next.33) (2026-02-06)
193
+
194
+
195
+ ### Features
196
+
197
+ * add Collection and hasPart to Dublin Core ([#13](https://github.com/twinfoundation/standards/issues/13)) ([867ddbc](https://github.com/twinfoundation/standards/commit/867ddbcad0c4afec3c112b113eb97ab431cf84b1))
198
+ * add context id features ([#64](https://github.com/twinfoundation/standards/issues/64)) ([e68bb87](https://github.com/twinfoundation/standards/commit/e68bb87a215f3c3956cfd6400a5e1e2a16256085))
199
+ * add validate-locales ([838389c](https://github.com/twinfoundation/standards/commit/838389c1daf62ed42397d5758d267c3d1a37fa4d))
200
+ * add w3c dcat standards package ([#68](https://github.com/twinfoundation/standards/issues/68)) ([85746c6](https://github.com/twinfoundation/standards/commit/85746c673464498a52e9c30ce498fd88b81a7434))
201
+ * dublin core refactor ([548db75](https://github.com/twinfoundation/standards/commit/548db75600d44a0ab8f7bff2f07261552dc2b0b1))
202
+ * eslint migration to flat config ([648c1a1](https://github.com/twinfoundation/standards/commit/648c1a1e69d99b6b0cf69358ec6bdeecdbe3a5ea))
203
+ * export unece schemas ([ef9af8d](https://github.com/twinfoundation/standards/commit/ef9af8db9931d1b7ca3a77c15b17bba6a3e7badc))
204
+ * improved namespaces and contexts ([#102](https://github.com/twinfoundation/standards/issues/102)) ([c74c370](https://github.com/twinfoundation/standards/commit/c74c370cd8145d6166ca4454353f3774c302ac3b))
205
+ * update framework core ([58c0c3d](https://github.com/twinfoundation/standards/commit/58c0c3dd6cea0e4c2393dc0e3e1eb33a6d06f617))
206
+ * update to latest JSON schema spec ([7a23930](https://github.com/twinfoundation/standards/commit/7a2393032d7f48bfb20d3a484f981fb6dd83a92c))
207
+ * update ts-to-schema generation ([ba4e76d](https://github.com/twinfoundation/standards/commit/ba4e76d677556a1817092f8079d4cce67dee94bc))
208
+ * update ts-to-schema generation ([0905daa](https://github.com/twinfoundation/standards/commit/0905daa4a344ed35fc37b7f12fcf9ce9d34e4bd6))
209
+ * update type names ([#89](https://github.com/twinfoundation/standards/issues/89)) ([6fdef47](https://github.com/twinfoundation/standards/commit/6fdef4792151f89d1a95a07da8309d05a7b6de3d))
210
+ * use shared store mechanism ([#11](https://github.com/twinfoundation/standards/issues/11)) ([96fa237](https://github.com/twinfoundation/standards/commit/96fa23735f69c1fc7e3d0019b527634fa0a042d9))
211
+
212
+
213
+ ### Bug Fixes
214
+
215
+ * updating the missing packages ([#114](https://github.com/twinfoundation/standards/issues/114)) ([90b03f8](https://github.com/twinfoundation/standards/commit/90b03f8bdcd81506284d74a445840386c2da2d35))
216
+ * when a prefix is declared in an [@context](https://github.com/context) it should be Namespace and not Context ([#119](https://github.com/twinfoundation/standards/issues/119)) ([110cc50](https://github.com/twinfoundation/standards/commit/110cc5039394c7fcfada0e3ca001013cb503f31a))
217
+
218
+ ## [0.0.3-next.32](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.31...standards-dublin-core-v0.0.3-next.32) (2026-02-06)
219
+
220
+
221
+ ### Miscellaneous Chores
222
+
223
+ * **standards-dublin-core:** Synchronize repo versions
224
+
225
+ ## [0.0.3-next.31](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.30...standards-dublin-core-v0.0.3-next.31) (2026-02-05)
226
+
227
+
228
+ ### Miscellaneous Chores
229
+
230
+ * **standards-dublin-core:** Synchronize repo versions
231
+
232
+ ## [0.0.3-next.30](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.29...standards-dublin-core-v0.0.3-next.30) (2026-02-04)
233
+
234
+
235
+ ### Miscellaneous Chores
236
+
237
+ * **standards-dublin-core:** Synchronize repo versions
238
+
239
+ ## [0.0.3-next.29](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.28...standards-dublin-core-v0.0.3-next.29) (2026-02-03)
240
+
241
+
242
+ ### Miscellaneous Chores
243
+
244
+ * **standards-dublin-core:** Synchronize repo versions
245
+
246
+ ## [0.0.3-next.28](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.27...standards-dublin-core-v0.0.3-next.28) (2026-02-03)
247
+
248
+
249
+ ### Miscellaneous Chores
250
+
251
+ * **standards-dublin-core:** Synchronize repo versions
252
+
253
+ ## [0.0.3-next.27](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.26...standards-dublin-core-v0.0.3-next.27) (2026-02-03)
254
+
255
+
256
+ ### Miscellaneous Chores
257
+
258
+ * **standards-dublin-core:** Synchronize repo versions
259
+
260
+ ## [0.0.3-next.26](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.25...standards-dublin-core-v0.0.3-next.26) (2026-02-02)
261
+
262
+
263
+ ### Miscellaneous Chores
264
+
265
+ * **standards-dublin-core:** Synchronize repo versions
266
+
267
+ ## [0.0.3-next.25](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.24...standards-dublin-core-v0.0.3-next.25) (2026-02-02)
268
+
269
+
270
+ ### Miscellaneous Chores
271
+
272
+ * **standards-dublin-core:** Synchronize repo versions
273
+
274
+ ## [0.0.3-next.24](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.23...standards-dublin-core-v0.0.3-next.24) (2026-01-30)
275
+
276
+
277
+ ### Miscellaneous Chores
278
+
279
+ * **standards-dublin-core:** Synchronize repo versions
280
+
281
+ ## [0.0.3-next.23](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.22...standards-dublin-core-v0.0.3-next.23) (2026-01-30)
282
+
283
+
284
+ ### Miscellaneous Chores
285
+
286
+ * **standards-dublin-core:** Synchronize repo versions
287
+
288
+ ## [0.0.3-next.22](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.21...standards-dublin-core-v0.0.3-next.22) (2026-01-29)
289
+
290
+
291
+ ### Miscellaneous Chores
292
+
293
+ * **standards-dublin-core:** Synchronize repo versions
294
+
295
+ ## [0.0.3-next.21](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.20...standards-dublin-core-v0.0.3-next.21) (2026-01-23)
296
+
297
+
298
+ ### Miscellaneous Chores
299
+
300
+ * **standards-dublin-core:** Synchronize repo versions
301
+
302
+ ## [0.0.3-next.20](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.19...standards-dublin-core-v0.0.3-next.20) (2026-01-21)
303
+
304
+
305
+ ### Bug Fixes
306
+
307
+ * when a prefix is declared in an [@context](https://github.com/context) it should be Namespace and not Context ([#119](https://github.com/twinfoundation/standards/issues/119)) ([110cc50](https://github.com/twinfoundation/standards/commit/110cc5039394c7fcfada0e3ca001013cb503f31a))
308
+
309
+ ## [0.0.3-next.19](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.18...standards-dublin-core-v0.0.3-next.19) (2026-01-21)
310
+
311
+
312
+ ### Miscellaneous Chores
313
+
314
+ * **standards-dublin-core:** Synchronize repo versions
315
+
316
+ ## [0.0.3-next.18](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.17...standards-dublin-core-v0.0.3-next.18) (2026-01-21)
317
+
318
+
319
+ ### Miscellaneous Chores
320
+
321
+ * **standards-dublin-core:** Synchronize repo versions
322
+
323
+ ## [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)
324
+
325
+
326
+ ### Bug Fixes
327
+
328
+ * updating the missing packages ([#114](https://github.com/twinfoundation/standards/issues/114)) ([90b03f8](https://github.com/twinfoundation/standards/commit/90b03f8bdcd81506284d74a445840386c2da2d35))
329
+
330
+ ## [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)
331
+
332
+
333
+ ### Miscellaneous Chores
334
+
335
+ * **standards-dublin-core:** Synchronize repo versions
336
+
337
+ ## [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)
338
+
339
+
340
+ ### Miscellaneous Chores
341
+
342
+ * **standards-dublin-core:** Synchronize repo versions
343
+
344
+ ## [0.0.3-next.14](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.13...standards-dublin-core-v0.0.3-next.14) (2026-01-15)
345
+
346
+
347
+ ### Miscellaneous Chores
348
+
349
+ * **standards-dublin-core:** Synchronize repo versions
350
+
351
+ ## [0.0.3-next.13](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.12...standards-dublin-core-v0.0.3-next.13) (2026-01-14)
352
+
353
+
354
+ ### Miscellaneous Chores
355
+
356
+ * **standards-dublin-core:** Synchronize repo versions
357
+
358
+ ## [0.0.3-next.12](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.11...standards-dublin-core-v0.0.3-next.12) (2026-01-14)
359
+
360
+
361
+ ### Miscellaneous Chores
362
+
363
+ * **standards-dublin-core:** Synchronize repo versions
364
+
365
+ ## [0.0.3-next.11](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.10...standards-dublin-core-v0.0.3-next.11) (2026-01-14)
366
+
367
+
368
+ ### Features
369
+
370
+ * improved namespaces and contexts ([#102](https://github.com/twinfoundation/standards/issues/102)) ([c74c370](https://github.com/twinfoundation/standards/commit/c74c370cd8145d6166ca4454353f3774c302ac3b))
371
+
372
+ ## [0.0.3-next.10](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.9...standards-dublin-core-v0.0.3-next.10) (2026-01-13)
373
+
374
+
375
+ ### Miscellaneous Chores
376
+
377
+ * **standards-dublin-core:** Synchronize repo versions
378
+
379
+ ## [0.0.3-next.9](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.8...standards-dublin-core-v0.0.3-next.9) (2026-01-09)
380
+
381
+
382
+ ### Miscellaneous Chores
383
+
384
+ * **standards-dublin-core:** Synchronize repo versions
385
+
386
+ ## [0.0.3-next.8](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.7...standards-dublin-core-v0.0.3-next.8) (2026-01-08)
387
+
388
+
389
+ ### Miscellaneous Chores
390
+
391
+ * **standards-dublin-core:** Synchronize repo versions
392
+
393
+ ## [0.0.3-next.7](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.6...standards-dublin-core-v0.0.3-next.7) (2026-01-06)
394
+
395
+
396
+ ### Features
397
+
398
+ * update type names ([#89](https://github.com/twinfoundation/standards/issues/89)) ([6fdef47](https://github.com/twinfoundation/standards/commit/6fdef4792151f89d1a95a07da8309d05a7b6de3d))
2
399
 
3
400
  ## [0.0.3-next.6](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.5...standards-dublin-core-v0.0.3-next.6) (2025-12-03)
4
401
 
package/docs/examples.md CHANGED
@@ -1 +1,31 @@
1
- # @twin.org/standards-dublin-core - Examples
1
+ # Standards Dublin Core Examples
2
+
3
+ These snippets show how to register redirects and build metadata with shared context and property constants.
4
+
5
+ ## DublinCoreDataTypes
6
+
7
+ ```typescript
8
+ import {
9
+ DublinCoreClasses,
10
+ DublinCoreContexts,
11
+ DublinCoreDataTypes,
12
+ DublinCorePropertyType,
13
+ type IDublinCorePeriodOfTime
14
+ } from '@twin.org/standards-dublin-core';
15
+
16
+ DublinCoreDataTypes.registerRedirects();
17
+
18
+ const period: IDublinCorePeriodOfTime = {
19
+ startDate: '2026-01-01',
20
+ endDate: '2026-12-31'
21
+ };
22
+
23
+ const record = {
24
+ '@context': DublinCoreContexts.Context,
25
+ type: DublinCoreClasses.Dataset,
26
+ [DublinCorePropertyType.Title]: 'Milestone Events',
27
+ [DublinCorePropertyType.Temporal]: period
28
+ };
29
+
30
+ console.log(record.type); // dcat:Dataset
31
+ ```
@@ -14,7 +14,7 @@ Handle all the data types for Dublin Core.
14
14
 
15
15
  ## Methods
16
16
 
17
- ### registerRedirects()
17
+ ### registerRedirects() {#registerredirects}
18
18
 
19
19
  > `static` **registerRedirects**(): `void`
20
20
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  ## Interfaces
8
8
 
9
- - [IPeriodOfTime](interfaces/IPeriodOfTime.md)
9
+ - [IDublinCorePeriodOfTime](interfaces/IDublinCorePeriodOfTime.md)
10
10
 
11
11
  ## Type Aliases
12
12
 
@@ -0,0 +1,64 @@
1
+ # Interface: IDublinCorePeriodOfTime
2
+
3
+ Interface for Dublin Core Terms Period of Time.
4
+ An interval of time that is named or defined by its start and end dates.
5
+
6
+ ## See
7
+
8
+ https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/PeriodOfTime
9
+
10
+ ## Properties
11
+
12
+ ### @type? {#type}
13
+
14
+ > `optional` **@type?**: `"PeriodOfTime"`
15
+
16
+ The type identifier for PeriodOfTime.
17
+
18
+ ***
19
+
20
+ ### dcat:startDate? {#dcatstartdate}
21
+
22
+ > `optional` **dcat:startDate?**: `string`
23
+
24
+ The start date of the period.
25
+
26
+ #### See
27
+
28
+ https://www.w3.org/TR/vocab-dcat-3/#Property:period_start_date
29
+
30
+ ***
31
+
32
+ ### dcat:endDate? {#dcatenddate}
33
+
34
+ > `optional` **dcat:endDate?**: `string`
35
+
36
+ The end date of the period.
37
+
38
+ #### See
39
+
40
+ https://www.w3.org/TR/vocab-dcat-3/#Property:period_end_date
41
+
42
+ ***
43
+
44
+ ### time:hasBeginning? {#timehasbeginning}
45
+
46
+ > `optional` **time:hasBeginning?**: `string`
47
+
48
+ The beginning of a period or interval.
49
+
50
+ #### See
51
+
52
+ https://www.w3.org/TR/owl-time/#time:hasBeginning
53
+
54
+ ***
55
+
56
+ ### time:hasEnd? {#timehasend}
57
+
58
+ > `optional` **time:hasEnd?**: `string`
59
+
60
+ The end of a period or interval.
61
+
62
+ #### See
63
+
64
+ https://www.w3.org/TR/owl-time/#time:hasEnd
@@ -7,14 +7,14 @@ Based on http://purl.org/dc/dcmitype
7
7
 
8
8
  ## Type Declaration
9
9
 
10
- ### Collection
10
+ ### Collection {#collection}
11
11
 
12
12
  > `readonly` **Collection**: `"Collection"` = `"Collection"`
13
13
 
14
14
  See Description at
15
15
  https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/dcmitype/Collection
16
16
 
17
- ### PeriodOfTime
17
+ ### PeriodOfTime {#periodoftime}
18
18
 
19
19
  > `readonly` **PeriodOfTime**: `"PeriodOfTime"` = `"PeriodOfTime"`
20
20
 
@@ -6,34 +6,42 @@ The contexts for Dublin Core.
6
6
 
7
7
  ## Type Declaration
8
8
 
9
- ### ContextTerms
9
+ ### NamespaceTerms {#namespaceterms}
10
10
 
11
- > `readonly` **ContextTerms**: `"http://purl.org/dc/terms/"` = `"http://purl.org/dc/terms/"`
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 {#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
- ### ContextDcmiType
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` **ContextDcmiType**: `"http://purl.org/dc/dcmitype/"` = `"http://purl.org/dc/dcmitype/"`
23
+ ### JsonLdContextTerms {#jsonldcontextterms}
22
24
 
23
- The LD context for Dublin Core DCMI Types vocabulary.
25
+ > `readonly` **JsonLdContextTerms**: `"https://schema.twindev.org/dublin-core/terms.jsonld"` = `"https://schema.twindev.org/dublin-core/terms.jsonld"`
24
26
 
25
- #### See
27
+ JSON-LD Context URL for Dublin Core Terms.
26
28
 
27
- https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#section-7
29
+ ### NamespaceDcmiType {#namespacedcmitype}
28
30
 
29
- ### ContextTermsRedirect
31
+ > `readonly` **NamespaceDcmiType**: `"http://purl.org/dc/dcmitype/"` = `"http://purl.org/dc/dcmitype/"`
30
32
 
31
- > `readonly` **ContextTermsRedirect**: `"https://schema.twindev.org/dublin-core/terms.jsonld"` = `"https://schema.twindev.org/dublin-core/terms.jsonld"`
33
+ The canonical RDF namespace URI for Dublin Core DCMI Types.
34
+
35
+ ### ContextDcmiType {#contextdcmitype}
36
+
37
+ > `readonly` **ContextDcmiType**: `"http://purl.org/dc/dcmitype/"` = `"http://purl.org/dc/dcmitype/"`
32
38
 
33
- Redirection 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
- ### ContextDcmiTypeRedirect
43
+ ### JsonLdContextDcmiType {#jsonldcontextdcmitype}
36
44
 
37
- > `readonly` **ContextDcmiTypeRedirect**: `"https://schema.twindev.org/dublin-core/dcmitype.jsonld"` = `"https://schema.twindev.org/dublin-core/dcmitype.jsonld"`
45
+ > `readonly` **JsonLdContextDcmiType**: `"https://schema.twindev.org/dublin-core/dcmitype.jsonld"` = `"https://schema.twindev.org/dublin-core/dcmitype.jsonld"`
38
46
 
39
- Redirection URLs
47
+ JSON-LD Context URL for DCMI Types
@@ -7,49 +7,49 @@ Based on http://purl.org/dc/terms/
7
7
 
8
8
  ## Type Declaration
9
9
 
10
- ### Creator
10
+ ### Creator {#creator}
11
11
 
12
12
  > `readonly` **Creator**: `"creator"` = `"creator"`
13
13
 
14
14
  The individual, agent, or organisation that authored the Policy.
15
15
  Note: String values may not be normalized and should not be used for direct comparison.
16
16
 
17
- ### Description
17
+ ### Description {#description}
18
18
 
19
19
  > `readonly` **Description**: `"description"` = `"description"`
20
20
 
21
21
  A human-readable representation or summary of the Policy.
22
22
  Note: String values may not be normalized and should not be used for direct comparison.
23
23
 
24
- ### Issued
24
+ ### Issued {#issued}
25
25
 
26
26
  > `readonly` **Issued**: `"issued"` = `"issued"`
27
27
 
28
28
  The date (and time) the Policy was first issued.
29
29
  Note: String values may not be normalized and should not be used for direct comparison.
30
30
 
31
- ### Modified
31
+ ### Modified {#modified}
32
32
 
33
33
  > `readonly` **Modified**: `"modified"` = `"modified"`
34
34
 
35
35
  The date (and time) the Policy was updated.
36
36
  Note: String values may not be normalized and should not be used for direct comparison.
37
37
 
38
- ### Publisher
38
+ ### Publisher {#publisher}
39
39
 
40
40
  > `readonly` **Publisher**: `"publisher"` = `"publisher"`
41
41
 
42
42
  The publisher of the Policy.
43
43
  Note: String values may not be normalized and should not be used for direct comparison.
44
44
 
45
- ### Subject
45
+ ### Subject {#subject}
46
46
 
47
47
  > `readonly` **Subject**: `"subject"` = `"subject"`
48
48
 
49
49
  The subject of the Policy.
50
50
  Note: String values may not be normalized and should not be used for direct comparison.
51
51
 
52
- ### Coverage
52
+ ### Coverage {#coverage}
53
53
 
54
54
  > `readonly` **Coverage**: `"coverage"` = `"coverage"`
55
55
 
@@ -57,21 +57,21 @@ The jurisdiction under which the Policy is relevant.
57
57
  Note: When using string values, they may not be normalized and should not be used for direct comparison.
58
58
  Using "@id" references is preferred for comparison purposes.
59
59
 
60
- ### Replaces
60
+ ### Replaces {#replaces}
61
61
 
62
62
  > `readonly` **Replaces**: `"replaces"` = `"replaces"`
63
63
 
64
64
  The identifier of a Policy that this Policy supersedes.
65
65
  Using "@id" references is preferred for comparison purposes.
66
66
 
67
- ### IsReplacedBy
67
+ ### IsReplacedBy {#isreplacedby}
68
68
 
69
69
  > `readonly` **IsReplacedBy**: `"isReplacedBy"` = `"isReplacedBy"`
70
70
 
71
71
  The identifier of a Policy that supersedes this Policy.
72
72
  Using "@id" references is preferred for comparison purposes.
73
73
 
74
- ### HasPart
74
+ ### HasPart {#haspart}
75
75
 
76
76
  > `readonly` **HasPart**: `"hasPart"` = `"hasPart"`
77
77
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@twin.org/standards-dublin-core",
3
- "version": "0.0.3-next.6",
4
- "description": "Models which define the structure of Dublin Core Standard",
3
+ "version": "0.0.3-next.60",
4
+ "description": "Data models for Dublin Core metadata terms.",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/twinfoundation/standards.git",
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IPeriodOfTime.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IPeriodOfTime.js","sourceRoot":"","sources":["../../../src/models/IPeriodOfTime.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { DublinCoreClasses } from \"./dublinCoreClasses.js\";\n\n/**\n * Interface for Dublin Core Terms Period of Time.\n * An interval of time that is named or defined by its start and end dates.\n * @see https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/PeriodOfTime\n */\nexport interface IPeriodOfTime extends IJsonLdNodeObject {\n\t/**\n\t * The type identifier for PeriodOfTime.\n\t */\n\t\"@type\"?: typeof DublinCoreClasses.PeriodOfTime;\n\n\t/**\n\t * The start date of the period.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:period_start_date\n\t */\n\t\"dcat:startDate\"?: string;\n\n\t/**\n\t * The end date of the period.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:period_end_date\n\t */\n\t\"dcat:endDate\"?: string;\n\n\t/**\n\t * The beginning of a period or interval.\n\t * @see https://www.w3.org/TR/owl-time/#time:hasBeginning\n\t */\n\t\"time:hasBeginning\"?: string;\n\n\t/**\n\t * The end of a period or interval.\n\t * @see https://www.w3.org/TR/owl-time/#time:hasEnd\n\t */\n\t\"time:hasEnd\"?: string;\n}\n"]}
@@ -1,76 +0,0 @@
1
- # Interface: IPeriodOfTime
2
-
3
- Interface for Dublin Core Terms Period of Time.
4
- An interval of time that is named or defined by its start and end dates.
5
-
6
- ## See
7
-
8
- https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/PeriodOfTime
9
-
10
- ## Extends
11
-
12
- - `IJsonLdNodeObject`
13
-
14
- ## Indexable
15
-
16
- \[`key`: `string`\]: `string` \| `number` \| `boolean` \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `string`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \} \| `null` \| `undefined`
17
-
18
- ## Properties
19
-
20
- ### @type?
21
-
22
- > `optional` **@type**: `"PeriodOfTime"`
23
-
24
- The type identifier for PeriodOfTime.
25
-
26
- #### Overrides
27
-
28
- `IJsonLdNodeObject.@type`
29
-
30
- ***
31
-
32
- ### dcat:startDate?
33
-
34
- > `optional` **dcat:startDate**: `string`
35
-
36
- The start date of the period.
37
-
38
- #### See
39
-
40
- https://www.w3.org/TR/vocab-dcat-3/#Property:period_start_date
41
-
42
- ***
43
-
44
- ### dcat:endDate?
45
-
46
- > `optional` **dcat:endDate**: `string`
47
-
48
- The end date of the period.
49
-
50
- #### See
51
-
52
- https://www.w3.org/TR/vocab-dcat-3/#Property:period_end_date
53
-
54
- ***
55
-
56
- ### time:hasBeginning?
57
-
58
- > `optional` **time:hasBeginning**: `string`
59
-
60
- The beginning of a period or interval.
61
-
62
- #### See
63
-
64
- https://www.w3.org/TR/owl-time/#time:hasBeginning
65
-
66
- ***
67
-
68
- ### time:hasEnd?
69
-
70
- > `optional` **time:hasEnd**: `string`
71
-
72
- The end of a period or interval.
73
-
74
- #### See
75
-
76
- https://www.w3.org/TR/owl-time/#time:hasEnd