@twin.org/standards-dataspace-protocol 0.0.3-next.65 → 0.0.3-next.67
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/models/dcat3/IDataspaceProtocolCatalogBase.js.map +1 -1
- package/dist/es/schemas/DataspaceProtocolCatalogBase.json +16 -44
- package/dist/types/models/dcat3/IDataspaceProtocolCatalogBase.d.ts +4 -5
- package/docs/changelog.md +34 -0
- package/docs/reference/interfaces/IDataspaceProtocolCatalog.md +4 -4
- package/docs/reference/interfaces/IDataspaceProtocolCatalogBase.md +4 -4
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IDataspaceProtocolCatalogBase.js","sourceRoot":"","sources":["../../../../src/models/dcat3/IDataspaceProtocolCatalogBase.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type {
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolCatalogBase.js","sourceRoot":"","sources":["../../../../src/models/dcat3/IDataspaceProtocolCatalogBase.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDcatCatalogBase } from \"@twin.org/standards-w3c-dcat\";\nimport type { IDataspaceProtocolDataServiceBase } from \"./IDataspaceProtocolDataServiceBase.js\";\nimport type { IDataspaceProtocolDatasetBase } from \"./IDataspaceProtocolDatasetBase.js\";\nimport type { IDataspaceProtocolDistributionBase } from \"./IDataspaceProtocolDistributionBase.js\";\nimport type { DataspaceProtocolCatalogTypes } from \"../catalog/dataspaceProtocolCatalogTypes.js\";\n\n/**\n * Catalog interface compliant with Eclipse Data Space Protocol.\n *\n * This interface extends ICatalog and enforces DS Protocol-specific requirements\n * by overriding properties with more specific types and constraints.\n *\n * **Requirements per DS Protocol:**\n * - `@id` MUST be present for dataset identification (REQUIRED)\n * - participantId MUST be present (REQUIRED)\n *\n * **Type System Design:**\n * - Interface extension allows TypeScript to override inherited property types\n * - Standards packages (@twin.org/standards-w3c-*) follow W3C specs exactly\n * - DS Protocol-specific constraints are defined here\n *\n *\n * @see https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#lower-level-types\n * @see https://www.w3.org/TR/vocab-dcat-3/ - W3C DCAT v3 spec\n *\n */\nexport interface IDataspaceProtocolCatalogBase extends Omit<\n\tIDcatCatalogBase,\n\t\"@type\" | \"dcat:catalog\" | \"dcat:dataset\" | \"dcat:distribution\" | \"dcat:service\"\n> {\n\t/**\n\t * The type identifier for the Catalog.\n\t * REQUIRED per Eclipse Data Space Protocol.\n\t */\n\t\"@type\": typeof DataspaceProtocolCatalogTypes.Catalog;\n\n\t/**\n\t * Unique identifier for the dataset.\n\t * REQUIRED per Eclipse Data Space Protocol.\n\t */\n\t\"@id\": string;\n\n\t/**\n\t * Participant Id\n\t */\n\tparticipantId: string;\n\n\t/**\n\t * Other concerned catalogs\n\t */\n\tcatalog?: IDataspaceProtocolCatalogBase[];\n\n\t/**\n\t * Datasets registered\n\t */\n\tdataset?: IDataspaceProtocolDatasetBase[];\n\n\t/**\n\t * Catalog's distributions\n\t */\n\tdistribution?: IDataspaceProtocolDistributionBase[];\n\n\t/**\n\t * Data services registered-\n\t */\n\tservice?: IDataspaceProtocolDataServiceBase[];\n}\n"]}
|
|
@@ -18,59 +18,31 @@
|
|
|
18
18
|
"description": "Participant Id"
|
|
19
19
|
},
|
|
20
20
|
"catalog": {
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
{
|
|
26
|
-
"type": "array",
|
|
27
|
-
"items": {
|
|
28
|
-
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolCatalogBase"
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
],
|
|
21
|
+
"type": "array",
|
|
22
|
+
"items": {
|
|
23
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolCatalogBase"
|
|
24
|
+
},
|
|
32
25
|
"description": "Other concerned catalogs"
|
|
33
26
|
},
|
|
34
27
|
"dataset": {
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
{
|
|
40
|
-
"type": "array",
|
|
41
|
-
"items": {
|
|
42
|
-
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolDatasetBase"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
],
|
|
28
|
+
"type": "array",
|
|
29
|
+
"items": {
|
|
30
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolDatasetBase"
|
|
31
|
+
},
|
|
46
32
|
"description": "Datasets registered"
|
|
47
33
|
},
|
|
48
34
|
"distribution": {
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
{
|
|
54
|
-
"type": "array",
|
|
55
|
-
"items": {
|
|
56
|
-
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolDistributionBase"
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
],
|
|
35
|
+
"type": "array",
|
|
36
|
+
"items": {
|
|
37
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolDistributionBase"
|
|
38
|
+
},
|
|
60
39
|
"description": "Catalog's distributions"
|
|
61
40
|
},
|
|
62
41
|
"service": {
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
{
|
|
68
|
-
"type": "array",
|
|
69
|
-
"items": {
|
|
70
|
-
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolDataServiceBase"
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
],
|
|
42
|
+
"type": "array",
|
|
43
|
+
"items": {
|
|
44
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolDataServiceBase"
|
|
45
|
+
},
|
|
74
46
|
"description": "Data services registered-"
|
|
75
47
|
}
|
|
76
48
|
},
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { ObjectOrArray } from "@twin.org/core";
|
|
2
1
|
import type { IDcatCatalogBase } from "@twin.org/standards-w3c-dcat";
|
|
3
2
|
import type { IDataspaceProtocolDataServiceBase } from "./IDataspaceProtocolDataServiceBase.js";
|
|
4
3
|
import type { IDataspaceProtocolDatasetBase } from "./IDataspaceProtocolDatasetBase.js";
|
|
@@ -42,17 +41,17 @@ export interface IDataspaceProtocolCatalogBase extends Omit<IDcatCatalogBase, "@
|
|
|
42
41
|
/**
|
|
43
42
|
* Other concerned catalogs
|
|
44
43
|
*/
|
|
45
|
-
catalog?:
|
|
44
|
+
catalog?: IDataspaceProtocolCatalogBase[];
|
|
46
45
|
/**
|
|
47
46
|
* Datasets registered
|
|
48
47
|
*/
|
|
49
|
-
dataset?:
|
|
48
|
+
dataset?: IDataspaceProtocolDatasetBase[];
|
|
50
49
|
/**
|
|
51
50
|
* Catalog's distributions
|
|
52
51
|
*/
|
|
53
|
-
distribution?:
|
|
52
|
+
distribution?: IDataspaceProtocolDistributionBase[];
|
|
54
53
|
/**
|
|
55
54
|
* Data services registered-
|
|
56
55
|
*/
|
|
57
|
-
service?:
|
|
56
|
+
service?: IDataspaceProtocolDataServiceBase[];
|
|
58
57
|
}
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.3-next.67](https://github.com/iotaledger/twin-standards/compare/standards-dataspace-protocol-v0.0.3-next.66...standards-dataspace-protocol-v0.0.3-next.67) (2026-06-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* update ds and dcat generated schemas ([efc333e](https://github.com/iotaledger/twin-standards/commit/efc333e00bb7af828fd005484d0e28204776d948))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/standards-w3c-dcat bumped from 0.0.3-next.66 to 0.0.3-next.67
|
|
16
|
+
* @twin.org/standards-w3c-odrl bumped from 0.0.3-next.66 to 0.0.3-next.67
|
|
17
|
+
* devDependencies
|
|
18
|
+
* @twin.org/standards-ld-contexts bumped from 0.0.3-next.66 to 0.0.3-next.67
|
|
19
|
+
|
|
20
|
+
## [0.0.3-next.66](https://github.com/iotaledger/twin-standards/compare/standards-dataspace-protocol-v0.0.3-next.65...standards-dataspace-protocol-v0.0.3-next.66) (2026-06-09)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* dataspace array not singular as per spec ([#235](https://github.com/iotaledger/twin-standards/issues/235)) ([ff0fadf](https://github.com/iotaledger/twin-standards/commit/ff0fadf4087edd6837283b4837f1559bb51f7c45))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Dependencies
|
|
29
|
+
|
|
30
|
+
* The following workspace dependencies were updated
|
|
31
|
+
* dependencies
|
|
32
|
+
* @twin.org/standards-w3c-dcat bumped from 0.0.3-next.65 to 0.0.3-next.66
|
|
33
|
+
* @twin.org/standards-w3c-odrl bumped from 0.0.3-next.65 to 0.0.3-next.66
|
|
34
|
+
* devDependencies
|
|
35
|
+
* @twin.org/standards-ld-contexts bumped from 0.0.3-next.65 to 0.0.3-next.66
|
|
36
|
+
|
|
3
37
|
## [0.0.3-next.65](https://github.com/iotaledger/twin-standards/compare/standards-dataspace-protocol-v0.0.3-next.64...standards-dataspace-protocol-v0.0.3-next.65) (2026-06-02)
|
|
4
38
|
|
|
5
39
|
|
|
@@ -73,7 +73,7 @@ Participant Id
|
|
|
73
73
|
|
|
74
74
|
### catalog? {#catalog}
|
|
75
75
|
|
|
76
|
-
> `optional` **catalog?**:
|
|
76
|
+
> `optional` **catalog?**: [`IDataspaceProtocolCatalogBase`](IDataspaceProtocolCatalogBase.md)[]
|
|
77
77
|
|
|
78
78
|
Other concerned catalogs
|
|
79
79
|
|
|
@@ -85,7 +85,7 @@ Other concerned catalogs
|
|
|
85
85
|
|
|
86
86
|
### dataset? {#dataset}
|
|
87
87
|
|
|
88
|
-
> `optional` **dataset?**:
|
|
88
|
+
> `optional` **dataset?**: [`IDataspaceProtocolDatasetBase`](IDataspaceProtocolDatasetBase.md)[]
|
|
89
89
|
|
|
90
90
|
Datasets registered
|
|
91
91
|
|
|
@@ -97,7 +97,7 @@ Datasets registered
|
|
|
97
97
|
|
|
98
98
|
### distribution? {#distribution}
|
|
99
99
|
|
|
100
|
-
> `optional` **distribution?**:
|
|
100
|
+
> `optional` **distribution?**: [`IDataspaceProtocolDistributionBase`](IDataspaceProtocolDistributionBase.md)[]
|
|
101
101
|
|
|
102
102
|
Catalog's distributions
|
|
103
103
|
|
|
@@ -109,7 +109,7 @@ Catalog's distributions
|
|
|
109
109
|
|
|
110
110
|
### service? {#service}
|
|
111
111
|
|
|
112
|
-
> `optional` **service?**:
|
|
112
|
+
> `optional` **service?**: [`IDataspaceProtocolDataServiceBase`](IDataspaceProtocolDataServiceBase.md)[]
|
|
113
113
|
|
|
114
114
|
Data services registered-
|
|
115
115
|
|
|
@@ -61,7 +61,7 @@ Participant Id
|
|
|
61
61
|
|
|
62
62
|
### catalog? {#catalog}
|
|
63
63
|
|
|
64
|
-
> `optional` **catalog?**: `
|
|
64
|
+
> `optional` **catalog?**: `IDataspaceProtocolCatalogBase`[]
|
|
65
65
|
|
|
66
66
|
Other concerned catalogs
|
|
67
67
|
|
|
@@ -69,7 +69,7 @@ Other concerned catalogs
|
|
|
69
69
|
|
|
70
70
|
### dataset? {#dataset}
|
|
71
71
|
|
|
72
|
-
> `optional` **dataset?**:
|
|
72
|
+
> `optional` **dataset?**: [`IDataspaceProtocolDatasetBase`](IDataspaceProtocolDatasetBase.md)[]
|
|
73
73
|
|
|
74
74
|
Datasets registered
|
|
75
75
|
|
|
@@ -77,7 +77,7 @@ Datasets registered
|
|
|
77
77
|
|
|
78
78
|
### distribution? {#distribution}
|
|
79
79
|
|
|
80
|
-
> `optional` **distribution?**:
|
|
80
|
+
> `optional` **distribution?**: [`IDataspaceProtocolDistributionBase`](IDataspaceProtocolDistributionBase.md)[]
|
|
81
81
|
|
|
82
82
|
Catalog's distributions
|
|
83
83
|
|
|
@@ -85,7 +85,7 @@ Catalog's distributions
|
|
|
85
85
|
|
|
86
86
|
### service? {#service}
|
|
87
87
|
|
|
88
|
-
> `optional` **service?**:
|
|
88
|
+
> `optional` **service?**: [`IDataspaceProtocolDataServiceBase`](IDataspaceProtocolDataServiceBase.md)[]
|
|
89
89
|
|
|
90
90
|
Data services registered-
|
|
91
91
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/standards-dataspace-protocol",
|
|
3
|
-
"version": "0.0.3-next.
|
|
3
|
+
"version": "0.0.3-next.67",
|
|
4
4
|
"description": "Data models for the Dataspace Protocol specification.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"@twin.org/core": "next",
|
|
18
18
|
"@twin.org/data-core": "next",
|
|
19
19
|
"@twin.org/data-json-ld": "next",
|
|
20
|
-
"@twin.org/standards-w3c-dcat": "0.0.3-next.
|
|
21
|
-
"@twin.org/standards-w3c-odrl": "0.0.3-next.
|
|
20
|
+
"@twin.org/standards-w3c-dcat": "0.0.3-next.67",
|
|
21
|
+
"@twin.org/standards-w3c-odrl": "0.0.3-next.67",
|
|
22
22
|
"@twin.org/web": "next"
|
|
23
23
|
},
|
|
24
24
|
"main": "./dist/es/index.js",
|