@twin.org/standards-dublin-core 0.0.3-next.50 → 0.0.3-next.52

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
 
package/docs/changelog.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @twin.org/standards-dublin-core - Changelog
2
2
 
3
+ ## [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)
4
+
5
+
6
+ ### Miscellaneous Chores
7
+
8
+ * **standards-dublin-core:** Synchronize repo versions
9
+
10
+ ## [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)
11
+
12
+
13
+ ### Miscellaneous Chores
14
+
15
+ * **standards-dublin-core:** Synchronize repo versions
16
+
3
17
  ## [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)
4
18
 
5
19
 
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
+ ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@twin.org/standards-dublin-core",
3
- "version": "0.0.3-next.50",
4
- "description": "Models which define the structure of Dublin Core Standard",
3
+ "version": "0.0.3-next.52",
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",