@twin.org/standards-dublin-core 0.0.3-next.1 → 0.0.3-next.11
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 -0
- 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/dublinCoreClasses.js +6 -1
- package/dist/es/models/dublinCoreClasses.js.map +1 -1
- package/dist/es/models/dublinCoreContexts.js +6 -6
- package/dist/es/models/dublinCoreContexts.js.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/models/IDublinCorePeriodOfTime.d.ts +33 -0
- package/dist/types/models/dublinCoreClasses.d.ts +5 -0
- package/dist/types/models/dublinCoreContexts.d.ts +6 -6
- package/docs/changelog.md +70 -0
- package/docs/reference/index.md +4 -0
- package/docs/reference/interfaces/IDublinCorePeriodOfTime.md +76 -0
- package/docs/reference/variables/DublinCoreClasses.md +7 -0
- package/docs/reference/variables/DublinCoreContexts.md +10 -10
- package/package.json +1 -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,5 +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/IDublinCorePeriodOfTime.js";
|
|
6
7
|
export * from "./dataTypes/dublinCoreDataTypes.js";
|
|
7
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;
|
|
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"]}
|
|
@@ -10,6 +10,11 @@ export const DublinCoreClasses = {
|
|
|
10
10
|
* See Description at
|
|
11
11
|
* https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/dcmitype/Collection
|
|
12
12
|
*/
|
|
13
|
-
Collection: "Collection"
|
|
13
|
+
Collection: "Collection",
|
|
14
|
+
/**
|
|
15
|
+
* See Description at
|
|
16
|
+
* https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/PeriodOfTime
|
|
17
|
+
*/
|
|
18
|
+
PeriodOfTime: "PeriodOfTime"
|
|
14
19
|
};
|
|
15
20
|
//# sourceMappingURL=dublinCoreClasses.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dublinCoreClasses.js","sourceRoot":"","sources":["../../../src/models/dublinCoreClasses.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAChC;;;OAGG;IACH,UAAU,EAAE,YAAY;
|
|
1
|
+
{"version":3,"file":"dublinCoreClasses.js","sourceRoot":"","sources":["../../../src/models/dublinCoreClasses.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAChC;;;OAGG;IACH,UAAU,EAAE,YAAY;IAExB;;;OAGG;IACH,YAAY,EAAE,cAAc;CACnB,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Dublin Core classes.\n * Based on http://purl.org/dc/dcmitype\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const DublinCoreClasses = {\n\t/**\n\t * See Description at\n\t * https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/dcmitype/Collection\n\t */\n\tCollection: \"Collection\",\n\n\t/**\n\t * See Description at\n\t * https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/PeriodOfTime\n\t */\n\tPeriodOfTime: \"PeriodOfTime\"\n} as const;\n\n/**\n * Dublin Core classes\n */\nexport type DublinCoreClasses = (typeof DublinCoreClasses)[keyof typeof DublinCoreClasses];\n"]}
|
|
@@ -9,19 +9,19 @@ export const DublinCoreContexts = {
|
|
|
9
9
|
* The LD context for Dublin Core Terms vocabulary.
|
|
10
10
|
* @see https://www.dublincore.org/specifications/dublin-core/dcmi-terms/
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
NamespaceTerms: "http://purl.org/dc/terms/",
|
|
13
13
|
/**
|
|
14
14
|
* The LD context for Dublin Core DCMI Types vocabulary.
|
|
15
15
|
* @see https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#section-7
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
NamespaceDcmiType: "http://purl.org/dc/dcmitype/",
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* JSON-LD Context URL for terms
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
JsonLdContextTerms: "https://schema.twindev.org/dublin-core/terms.jsonld",
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* JSON-LD Context URL for DCMI Types
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
JsonLdContextDcmiType: "https://schema.twindev.org/dublin-core/dcmitype.jsonld"
|
|
26
26
|
};
|
|
27
27
|
//# 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,
|
|
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"]}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { IJsonLdNodeObject } from "@twin.org/data-json-ld";
|
|
2
|
+
import type { DublinCoreClasses } from "./dublinCoreClasses.js";
|
|
3
|
+
/**
|
|
4
|
+
* Interface for Dublin Core Terms Period of Time.
|
|
5
|
+
* An interval of time that is named or defined by its start and end dates.
|
|
6
|
+
* @see https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/PeriodOfTime
|
|
7
|
+
*/
|
|
8
|
+
export interface IDublinCorePeriodOfTime extends IJsonLdNodeObject {
|
|
9
|
+
/**
|
|
10
|
+
* The type identifier for PeriodOfTime.
|
|
11
|
+
*/
|
|
12
|
+
"@type"?: typeof DublinCoreClasses.PeriodOfTime;
|
|
13
|
+
/**
|
|
14
|
+
* The start date of the period.
|
|
15
|
+
* @see https://www.w3.org/TR/vocab-dcat-3/#Property:period_start_date
|
|
16
|
+
*/
|
|
17
|
+
"dcat:startDate"?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The end date of the period.
|
|
20
|
+
* @see https://www.w3.org/TR/vocab-dcat-3/#Property:period_end_date
|
|
21
|
+
*/
|
|
22
|
+
"dcat:endDate"?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The beginning of a period or interval.
|
|
25
|
+
* @see https://www.w3.org/TR/owl-time/#time:hasBeginning
|
|
26
|
+
*/
|
|
27
|
+
"time:hasBeginning"?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The end of a period or interval.
|
|
30
|
+
* @see https://www.w3.org/TR/owl-time/#time:hasEnd
|
|
31
|
+
*/
|
|
32
|
+
"time:hasEnd"?: string;
|
|
33
|
+
}
|
|
@@ -8,6 +8,11 @@ export declare const DublinCoreClasses: {
|
|
|
8
8
|
* https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/dcmitype/Collection
|
|
9
9
|
*/
|
|
10
10
|
readonly Collection: "Collection";
|
|
11
|
+
/**
|
|
12
|
+
* See Description at
|
|
13
|
+
* https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/PeriodOfTime
|
|
14
|
+
*/
|
|
15
|
+
readonly PeriodOfTime: "PeriodOfTime";
|
|
11
16
|
};
|
|
12
17
|
/**
|
|
13
18
|
* Dublin Core classes
|
|
@@ -6,20 +6,20 @@ export declare const DublinCoreContexts: {
|
|
|
6
6
|
* The LD context for Dublin Core Terms vocabulary.
|
|
7
7
|
* @see https://www.dublincore.org/specifications/dublin-core/dcmi-terms/
|
|
8
8
|
*/
|
|
9
|
-
readonly
|
|
9
|
+
readonly NamespaceTerms: "http://purl.org/dc/terms/";
|
|
10
10
|
/**
|
|
11
11
|
* The LD context for Dublin Core DCMI Types vocabulary.
|
|
12
12
|
* @see https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#section-7
|
|
13
13
|
*/
|
|
14
|
-
readonly
|
|
14
|
+
readonly NamespaceDcmiType: "http://purl.org/dc/dcmitype/";
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* JSON-LD Context URL for terms
|
|
17
17
|
*/
|
|
18
|
-
readonly
|
|
18
|
+
readonly JsonLdContextTerms: "https://schema.twindev.org/dublin-core/terms.jsonld";
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* JSON-LD Context URL for DCMI Types
|
|
21
21
|
*/
|
|
22
|
-
readonly
|
|
22
|
+
readonly JsonLdContextDcmiType: "https://schema.twindev.org/dublin-core/dcmitype.jsonld";
|
|
23
23
|
};
|
|
24
24
|
/**
|
|
25
25
|
* The contexts for Dublin Core.
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,75 @@
|
|
|
1
1
|
# @twin.org/standards-dublin-core - Changelog
|
|
2
2
|
|
|
3
|
+
## [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)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* improved namespaces and contexts ([#102](https://github.com/twinfoundation/standards/issues/102)) ([c74c370](https://github.com/twinfoundation/standards/commit/c74c370cd8145d6166ca4454353f3774c302ac3b))
|
|
9
|
+
|
|
10
|
+
## [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)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Miscellaneous Chores
|
|
14
|
+
|
|
15
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
16
|
+
|
|
17
|
+
## [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)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Miscellaneous Chores
|
|
21
|
+
|
|
22
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
23
|
+
|
|
24
|
+
## [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)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Miscellaneous Chores
|
|
28
|
+
|
|
29
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
30
|
+
|
|
31
|
+
## [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)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Features
|
|
35
|
+
|
|
36
|
+
* update type names ([#89](https://github.com/twinfoundation/standards/issues/89)) ([6fdef47](https://github.com/twinfoundation/standards/commit/6fdef4792151f89d1a95a07da8309d05a7b6de3d))
|
|
37
|
+
|
|
38
|
+
## [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)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Miscellaneous Chores
|
|
42
|
+
|
|
43
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
44
|
+
|
|
45
|
+
## [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)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### Miscellaneous Chores
|
|
49
|
+
|
|
50
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
51
|
+
|
|
52
|
+
## [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)
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### Miscellaneous Chores
|
|
56
|
+
|
|
57
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
58
|
+
|
|
59
|
+
## [0.0.3-next.3](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.2...standards-dublin-core-v0.0.3-next.3) (2025-11-18)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
### Features
|
|
63
|
+
|
|
64
|
+
* add w3c dcat standards package ([#68](https://github.com/twinfoundation/standards/issues/68)) ([85746c6](https://github.com/twinfoundation/standards/commit/85746c673464498a52e9c30ce498fd88b81a7434))
|
|
65
|
+
|
|
66
|
+
## [0.0.3-next.2](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.1...standards-dublin-core-v0.0.3-next.2) (2025-11-11)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
### Miscellaneous Chores
|
|
70
|
+
|
|
71
|
+
* **standards-dublin-core:** Synchronize repo versions
|
|
72
|
+
|
|
3
73
|
## [0.0.3-next.1](https://github.com/twinfoundation/standards/compare/standards-dublin-core-v0.0.3-next.0...standards-dublin-core-v0.0.3-next.1) (2025-11-10)
|
|
4
74
|
|
|
5
75
|
|
package/docs/reference/index.md
CHANGED
|
@@ -0,0 +1,76 @@
|
|
|
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
|
+
## 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
|
|
@@ -13,3 +13,10 @@ Based on http://purl.org/dc/dcmitype
|
|
|
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
|
+
|
|
17
|
+
### PeriodOfTime
|
|
18
|
+
|
|
19
|
+
> `readonly` **PeriodOfTime**: `"PeriodOfTime"` = `"PeriodOfTime"`
|
|
20
|
+
|
|
21
|
+
See Description at
|
|
22
|
+
https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/PeriodOfTime
|
|
@@ -6,9 +6,9 @@ The contexts for Dublin Core.
|
|
|
6
6
|
|
|
7
7
|
## Type Declaration
|
|
8
8
|
|
|
9
|
-
###
|
|
9
|
+
### NamespaceTerms
|
|
10
10
|
|
|
11
|
-
> `readonly` **
|
|
11
|
+
> `readonly` **NamespaceTerms**: `"http://purl.org/dc/terms/"` = `"http://purl.org/dc/terms/"`
|
|
12
12
|
|
|
13
13
|
The LD context for Dublin Core Terms vocabulary.
|
|
14
14
|
|
|
@@ -16,9 +16,9 @@ The LD context for Dublin Core Terms vocabulary.
|
|
|
16
16
|
|
|
17
17
|
https://www.dublincore.org/specifications/dublin-core/dcmi-terms/
|
|
18
18
|
|
|
19
|
-
###
|
|
19
|
+
### NamespaceDcmiType
|
|
20
20
|
|
|
21
|
-
> `readonly` **
|
|
21
|
+
> `readonly` **NamespaceDcmiType**: `"http://purl.org/dc/dcmitype/"` = `"http://purl.org/dc/dcmitype/"`
|
|
22
22
|
|
|
23
23
|
The LD context for Dublin Core DCMI Types vocabulary.
|
|
24
24
|
|
|
@@ -26,14 +26,14 @@ The LD context for Dublin Core DCMI Types vocabulary.
|
|
|
26
26
|
|
|
27
27
|
https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#section-7
|
|
28
28
|
|
|
29
|
-
###
|
|
29
|
+
### JsonLdContextTerms
|
|
30
30
|
|
|
31
|
-
> `readonly` **
|
|
31
|
+
> `readonly` **JsonLdContextTerms**: `"https://schema.twindev.org/dublin-core/terms.jsonld"` = `"https://schema.twindev.org/dublin-core/terms.jsonld"`
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
JSON-LD Context URL for terms
|
|
34
34
|
|
|
35
|
-
###
|
|
35
|
+
### JsonLdContextDcmiType
|
|
36
36
|
|
|
37
|
-
> `readonly` **
|
|
37
|
+
> `readonly` **JsonLdContextDcmiType**: `"https://schema.twindev.org/dublin-core/dcmitype.jsonld"` = `"https://schema.twindev.org/dublin-core/dcmitype.jsonld"`
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
JSON-LD Context URL for DCMI Types
|