@twin.org/standards-dublin-core 0.0.3-next.4 → 0.0.3-next.41
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/es/dataTypes/dublinCoreDataTypes.js +2 -2
- package/dist/es/dataTypes/dublinCoreDataTypes.js.map +1 -1
- package/dist/es/index.js +1 -1
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/IDublinCorePeriodOfTime.js +2 -0
- package/dist/es/models/IDublinCorePeriodOfTime.js.map +1 -0
- package/dist/es/models/dublinCoreContexts.js +19 -9
- package/dist/es/models/dublinCoreContexts.js.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/models/{IPeriodOfTime.d.ts → IDublinCorePeriodOfTime.d.ts} +1 -1
- package/dist/types/models/dublinCoreContexts.d.ts +19 -9
- package/docs/changelog.md +278 -0
- package/docs/reference/index.md +1 -1
- package/docs/reference/interfaces/{IPeriodOfTime.md → IDublinCorePeriodOfTime.md} +1 -1
- package/docs/reference/variables/DublinCoreContexts.md +23 -15
- package/package.json +1 -1
- package/dist/es/models/IPeriodOfTime.js +0 -2
- package/dist/es/models/IPeriodOfTime.js.map +0 -1
|
@@ -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.
|
|
14
|
-
JsonLdProcessor.addRedirect(/https?:\/\/purl.org\/dc\/dcmitype\/?/, DublinCoreContexts.
|
|
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,
|
|
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/
|
|
6
|
+
export * from "./models/IDublinCorePeriodOfTime.js";
|
|
7
7
|
export * from "./dataTypes/dublinCoreDataTypes.js";
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
package/dist/es/index.js.map
CHANGED
|
@@ -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,
|
|
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 @@
|
|
|
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 { 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 IDublinCorePeriodOfTime 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"]}
|
|
@@ -6,22 +6,32 @@
|
|
|
6
6
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
7
|
export const DublinCoreContexts = {
|
|
8
8
|
/**
|
|
9
|
-
* The
|
|
10
|
-
|
|
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
|
-
*
|
|
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
|
-
|
|
21
|
+
JsonLdContextTerms: "https://schema.twindev.org/dublin-core/terms.jsonld",
|
|
18
22
|
/**
|
|
19
|
-
*
|
|
23
|
+
* The canonical RDF namespace URI for Dublin Core DCMI Types.
|
|
20
24
|
*/
|
|
21
|
-
|
|
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
|
*/
|
|
25
|
-
|
|
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
|
|
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"]}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -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/
|
|
4
|
+
export * from "./models/IDublinCorePeriodOfTime.js";
|
|
5
5
|
export * from "./dataTypes/dublinCoreDataTypes.js";
|
|
@@ -5,7 +5,7 @@ import type { DublinCoreClasses } from "./dublinCoreClasses.js";
|
|
|
5
5
|
* An interval of time that is named or defined by its start and end dates.
|
|
6
6
|
* @see https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/PeriodOfTime
|
|
7
7
|
*/
|
|
8
|
-
export interface
|
|
8
|
+
export interface IDublinCorePeriodOfTime extends IJsonLdNodeObject {
|
|
9
9
|
/**
|
|
10
10
|
* The type identifier for PeriodOfTime.
|
|
11
11
|
*/
|
|
@@ -3,23 +3,33 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export declare const DublinCoreContexts: {
|
|
5
5
|
/**
|
|
6
|
-
* The
|
|
7
|
-
|
|
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
|
-
*
|
|
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
|
|
18
|
+
readonly JsonLdContextTerms: "https://schema.twindev.org/dublin-core/terms.jsonld";
|
|
15
19
|
/**
|
|
16
|
-
*
|
|
20
|
+
* The canonical RDF namespace URI for Dublin Core DCMI Types.
|
|
17
21
|
*/
|
|
18
|
-
readonly
|
|
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
|
*/
|
|
22
|
-
readonly
|
|
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,5 +1,283 @@
|
|
|
1
1
|
# @twin.org/standards-dublin-core - Changelog
|
|
2
2
|
|
|
3
|
+
## [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)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
9
|
+
|
|
10
|
+
## [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)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Miscellaneous Chores
|
|
14
|
+
|
|
15
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
16
|
+
|
|
17
|
+
## [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)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Miscellaneous Chores
|
|
21
|
+
|
|
22
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
23
|
+
|
|
24
|
+
## [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)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Miscellaneous Chores
|
|
28
|
+
|
|
29
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
30
|
+
|
|
31
|
+
## [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)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Miscellaneous Chores
|
|
35
|
+
|
|
36
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
37
|
+
|
|
38
|
+
## [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)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Miscellaneous Chores
|
|
42
|
+
|
|
43
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
44
|
+
|
|
45
|
+
## [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)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### Miscellaneous Chores
|
|
49
|
+
|
|
50
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
51
|
+
|
|
52
|
+
## [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)
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### Miscellaneous Chores
|
|
56
|
+
|
|
57
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
58
|
+
|
|
59
|
+
## [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)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
### Features
|
|
63
|
+
|
|
64
|
+
* add Collection and hasPart to Dublin Core ([#13](https://github.com/twinfoundation/standards/issues/13)) ([867ddbc](https://github.com/twinfoundation/standards/commit/867ddbcad0c4afec3c112b113eb97ab431cf84b1))
|
|
65
|
+
* add context id features ([#64](https://github.com/twinfoundation/standards/issues/64)) ([e68bb87](https://github.com/twinfoundation/standards/commit/e68bb87a215f3c3956cfd6400a5e1e2a16256085))
|
|
66
|
+
* add validate-locales ([838389c](https://github.com/twinfoundation/standards/commit/838389c1daf62ed42397d5758d267c3d1a37fa4d))
|
|
67
|
+
* add w3c dcat standards package ([#68](https://github.com/twinfoundation/standards/issues/68)) ([85746c6](https://github.com/twinfoundation/standards/commit/85746c673464498a52e9c30ce498fd88b81a7434))
|
|
68
|
+
* dublin core refactor ([548db75](https://github.com/twinfoundation/standards/commit/548db75600d44a0ab8f7bff2f07261552dc2b0b1))
|
|
69
|
+
* eslint migration to flat config ([648c1a1](https://github.com/twinfoundation/standards/commit/648c1a1e69d99b6b0cf69358ec6bdeecdbe3a5ea))
|
|
70
|
+
* export unece schemas ([ef9af8d](https://github.com/twinfoundation/standards/commit/ef9af8db9931d1b7ca3a77c15b17bba6a3e7badc))
|
|
71
|
+
* improved namespaces and contexts ([#102](https://github.com/twinfoundation/standards/issues/102)) ([c74c370](https://github.com/twinfoundation/standards/commit/c74c370cd8145d6166ca4454353f3774c302ac3b))
|
|
72
|
+
* update framework core ([58c0c3d](https://github.com/twinfoundation/standards/commit/58c0c3dd6cea0e4c2393dc0e3e1eb33a6d06f617))
|
|
73
|
+
* update to latest JSON schema spec ([7a23930](https://github.com/twinfoundation/standards/commit/7a2393032d7f48bfb20d3a484f981fb6dd83a92c))
|
|
74
|
+
* update ts-to-schema generation ([ba4e76d](https://github.com/twinfoundation/standards/commit/ba4e76d677556a1817092f8079d4cce67dee94bc))
|
|
75
|
+
* update ts-to-schema generation ([0905daa](https://github.com/twinfoundation/standards/commit/0905daa4a344ed35fc37b7f12fcf9ce9d34e4bd6))
|
|
76
|
+
* update type names ([#89](https://github.com/twinfoundation/standards/issues/89)) ([6fdef47](https://github.com/twinfoundation/standards/commit/6fdef4792151f89d1a95a07da8309d05a7b6de3d))
|
|
77
|
+
* use shared store mechanism ([#11](https://github.com/twinfoundation/standards/issues/11)) ([96fa237](https://github.com/twinfoundation/standards/commit/96fa23735f69c1fc7e3d0019b527634fa0a042d9))
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
### Bug Fixes
|
|
81
|
+
|
|
82
|
+
* updating the missing packages ([#114](https://github.com/twinfoundation/standards/issues/114)) ([90b03f8](https://github.com/twinfoundation/standards/commit/90b03f8bdcd81506284d74a445840386c2da2d35))
|
|
83
|
+
* 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))
|
|
84
|
+
|
|
85
|
+
## [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)
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
### Miscellaneous Chores
|
|
89
|
+
|
|
90
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
91
|
+
|
|
92
|
+
## [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)
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
### Miscellaneous Chores
|
|
96
|
+
|
|
97
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
98
|
+
|
|
99
|
+
## [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)
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
### Miscellaneous Chores
|
|
103
|
+
|
|
104
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
105
|
+
|
|
106
|
+
## [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)
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
### Miscellaneous Chores
|
|
110
|
+
|
|
111
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
112
|
+
|
|
113
|
+
## [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)
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
### Miscellaneous Chores
|
|
117
|
+
|
|
118
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
119
|
+
|
|
120
|
+
## [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)
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
### Miscellaneous Chores
|
|
124
|
+
|
|
125
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
126
|
+
|
|
127
|
+
## [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)
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
### Miscellaneous Chores
|
|
131
|
+
|
|
132
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
133
|
+
|
|
134
|
+
## [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)
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
### Miscellaneous Chores
|
|
138
|
+
|
|
139
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
140
|
+
|
|
141
|
+
## [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)
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
### Miscellaneous Chores
|
|
145
|
+
|
|
146
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
147
|
+
|
|
148
|
+
## [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)
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
### Miscellaneous Chores
|
|
152
|
+
|
|
153
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
154
|
+
|
|
155
|
+
## [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)
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
### Miscellaneous Chores
|
|
159
|
+
|
|
160
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
161
|
+
|
|
162
|
+
## [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)
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
### Miscellaneous Chores
|
|
166
|
+
|
|
167
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
168
|
+
|
|
169
|
+
## [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)
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
### Bug Fixes
|
|
173
|
+
|
|
174
|
+
* 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))
|
|
175
|
+
|
|
176
|
+
## [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)
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
### Miscellaneous Chores
|
|
180
|
+
|
|
181
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
182
|
+
|
|
183
|
+
## [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)
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
### Miscellaneous Chores
|
|
187
|
+
|
|
188
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
189
|
+
|
|
190
|
+
## [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)
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
### Bug Fixes
|
|
194
|
+
|
|
195
|
+
* updating the missing packages ([#114](https://github.com/twinfoundation/standards/issues/114)) ([90b03f8](https://github.com/twinfoundation/standards/commit/90b03f8bdcd81506284d74a445840386c2da2d35))
|
|
196
|
+
|
|
197
|
+
## [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)
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
### Miscellaneous Chores
|
|
201
|
+
|
|
202
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
203
|
+
|
|
204
|
+
## [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)
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
### Miscellaneous Chores
|
|
208
|
+
|
|
209
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
210
|
+
|
|
211
|
+
## [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)
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
### Miscellaneous Chores
|
|
215
|
+
|
|
216
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
217
|
+
|
|
218
|
+
## [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)
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
### Miscellaneous Chores
|
|
222
|
+
|
|
223
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
224
|
+
|
|
225
|
+
## [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)
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
### Miscellaneous Chores
|
|
229
|
+
|
|
230
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
231
|
+
|
|
232
|
+
## [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)
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
### Features
|
|
236
|
+
|
|
237
|
+
* improved namespaces and contexts ([#102](https://github.com/twinfoundation/standards/issues/102)) ([c74c370](https://github.com/twinfoundation/standards/commit/c74c370cd8145d6166ca4454353f3774c302ac3b))
|
|
238
|
+
|
|
239
|
+
## [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)
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
### Miscellaneous Chores
|
|
243
|
+
|
|
244
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
245
|
+
|
|
246
|
+
## [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)
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
### Miscellaneous Chores
|
|
250
|
+
|
|
251
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
252
|
+
|
|
253
|
+
## [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)
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
### Miscellaneous Chores
|
|
257
|
+
|
|
258
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
259
|
+
|
|
260
|
+
## [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)
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
### Features
|
|
264
|
+
|
|
265
|
+
* update type names ([#89](https://github.com/twinfoundation/standards/issues/89)) ([6fdef47](https://github.com/twinfoundation/standards/commit/6fdef4792151f89d1a95a07da8309d05a7b6de3d))
|
|
266
|
+
|
|
267
|
+
## [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)
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
### Miscellaneous Chores
|
|
271
|
+
|
|
272
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
273
|
+
|
|
274
|
+
## [0.0.3-next.5](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.4...standards-dublin-core-v0.0.3-next.5) (2025-11-28)
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
### Miscellaneous Chores
|
|
278
|
+
|
|
279
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
280
|
+
|
|
3
281
|
## [0.0.3-next.4](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.3...standards-dublin-core-v0.0.3-next.4) (2025-11-18)
|
|
4
282
|
|
|
5
283
|
|
package/docs/reference/index.md
CHANGED
|
@@ -6,34 +6,42 @@ The contexts for Dublin Core.
|
|
|
6
6
|
|
|
7
7
|
## Type Declaration
|
|
8
8
|
|
|
9
|
+
### NamespaceTerms
|
|
10
|
+
|
|
11
|
+
> `readonly` **NamespaceTerms**: `"http://purl.org/dc/terms/"` = `"http://purl.org/dc/terms/"`
|
|
12
|
+
|
|
13
|
+
The canonical RDF namespace URI for Dublin Core Terms.
|
|
14
|
+
|
|
9
15
|
### ContextTerms
|
|
10
16
|
|
|
11
17
|
> `readonly` **ContextTerms**: `"http://purl.org/dc/terms/"` = `"http://purl.org/dc/terms/"`
|
|
12
18
|
|
|
13
|
-
The LD context for Dublin Core Terms
|
|
14
|
-
|
|
15
|
-
|
|
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.
|
|
16
22
|
|
|
17
|
-
|
|
23
|
+
### JsonLdContextTerms
|
|
18
24
|
|
|
19
|
-
|
|
25
|
+
> `readonly` **JsonLdContextTerms**: `"https://schema.twindev.org/dublin-core/terms.jsonld"` = `"https://schema.twindev.org/dublin-core/terms.jsonld"`
|
|
20
26
|
|
|
21
|
-
|
|
27
|
+
JSON-LD Context URL for Dublin Core Terms.
|
|
22
28
|
|
|
23
|
-
|
|
29
|
+
### NamespaceDcmiType
|
|
24
30
|
|
|
25
|
-
|
|
31
|
+
> `readonly` **NamespaceDcmiType**: `"http://purl.org/dc/dcmitype/"` = `"http://purl.org/dc/dcmitype/"`
|
|
26
32
|
|
|
27
|
-
|
|
33
|
+
The canonical RDF namespace URI for Dublin Core DCMI Types.
|
|
28
34
|
|
|
29
|
-
###
|
|
35
|
+
### ContextDcmiType
|
|
30
36
|
|
|
31
|
-
> `readonly` **
|
|
37
|
+
> `readonly` **ContextDcmiType**: `"http://purl.org/dc/dcmitype/"` = `"http://purl.org/dc/dcmitype/"`
|
|
32
38
|
|
|
33
|
-
|
|
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
|
|
|
37
|
-
> `readonly` **
|
|
45
|
+
> `readonly` **JsonLdContextDcmiType**: `"https://schema.twindev.org/dublin-core/dcmitype.jsonld"` = `"https://schema.twindev.org/dublin-core/dcmitype.jsonld"`
|
|
38
46
|
|
|
39
|
-
|
|
47
|
+
JSON-LD Context URL for DCMI Types
|
package/package.json
CHANGED
|
@@ -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"]}
|