@twin.org/federated-catalogue-service 0.0.1 → 0.0.2-next.1
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/cjs/index.cjs +6 -6
- package/dist/esm/index.mjs +6 -6
- package/docs/changelog.md +32 -0
- package/docs/open-api/spec.json +594 -27
- package/package.json +17 -17
package/dist/cjs/index.cjs
CHANGED
|
@@ -156,7 +156,7 @@ function generateRestRoutesFederatedCatalogue(baseRouteName, factoryServiceName)
|
|
|
156
156
|
const participantEntryExample = {
|
|
157
157
|
"@context": federatedCatalogueModels.FederatedCatalogueContextInstances.DEFAULT_LD_CONTEXT_ENTRY,
|
|
158
158
|
id: "did:iota:xxx",
|
|
159
|
-
type: standardsGaiaX.GaiaXTypes.
|
|
159
|
+
type: standardsGaiaX.GaiaXTypes.LegalPerson,
|
|
160
160
|
registrationNumber: {
|
|
161
161
|
type: standardsGaiaX.GaiaXTypes.LocalRegistrationNumber,
|
|
162
162
|
local: "P1234567"
|
|
@@ -248,7 +248,7 @@ function generateRestRoutesFederatedCatalogue(baseRouteName, factoryServiceName)
|
|
|
248
248
|
"@context": [
|
|
249
249
|
"https://www.w3.org/ns/odrl/2/",
|
|
250
250
|
{
|
|
251
|
-
twin: "https://schema.twindev.org/odrl/",
|
|
251
|
+
twin: "https://schema.twindev.org/w3c-odrl/",
|
|
252
252
|
jsonPathSelector: "twin:jsonPathSelector"
|
|
253
253
|
}
|
|
254
254
|
],
|
|
@@ -628,7 +628,7 @@ async function participantGet(httpRequestContext, factoryServiceName, request) {
|
|
|
628
628
|
const id = request?.pathParams.id;
|
|
629
629
|
core.Guards.stringValue(ROUTES_SOURCE, "id", id);
|
|
630
630
|
return {
|
|
631
|
-
body: (await service.getEntry(standardsGaiaX.GaiaXTypes.
|
|
631
|
+
body: (await service.getEntry(standardsGaiaX.GaiaXTypes.LegalPerson, id))
|
|
632
632
|
};
|
|
633
633
|
}
|
|
634
634
|
/**
|
|
@@ -1117,7 +1117,7 @@ class FederatedCatalogueService {
|
|
|
1117
1117
|
reason: result.verificationFailureReason
|
|
1118
1118
|
});
|
|
1119
1119
|
}
|
|
1120
|
-
const targetCredential = result.credentials.find(credential => credential.credentialSubject.type === standardsGaiaX.GaiaXTypes.
|
|
1120
|
+
const targetCredential = result.credentials.find(credential => credential.credentialSubject.type === standardsGaiaX.GaiaXTypes.LegalPerson);
|
|
1121
1121
|
if (core.Is.undefined(targetCredential)) {
|
|
1122
1122
|
throw new core.UnprocessableError(this.CLASS_NAME, "noEvidence");
|
|
1123
1123
|
}
|
|
@@ -1175,7 +1175,7 @@ class FederatedCatalogueService {
|
|
|
1175
1175
|
}
|
|
1176
1176
|
const entries = await this._entityStorageParticipants.query({ conditions }, undefined, undefined, cursor, pageSize);
|
|
1177
1177
|
const itemList = entries.entities.map(entry => {
|
|
1178
|
-
entry.type = standardsGaiaX.GaiaXTypes.
|
|
1178
|
+
entry.type = standardsGaiaX.GaiaXTypes.LegalPerson;
|
|
1179
1179
|
return entry;
|
|
1180
1180
|
});
|
|
1181
1181
|
const result = {
|
|
@@ -1197,7 +1197,7 @@ class FederatedCatalogueService {
|
|
|
1197
1197
|
core.Guards.stringValue(this.CLASS_NAME, "entryId", entryId);
|
|
1198
1198
|
let itemsAndCursor;
|
|
1199
1199
|
switch (entryType) {
|
|
1200
|
-
case standardsGaiaX.GaiaXTypes.
|
|
1200
|
+
case standardsGaiaX.GaiaXTypes.LegalPerson:
|
|
1201
1201
|
itemsAndCursor = await this.queryParticipants(entryId);
|
|
1202
1202
|
break;
|
|
1203
1203
|
case standardsGaiaX.GaiaXTypes.DataExchangeComponent:
|
package/dist/esm/index.mjs
CHANGED
|
@@ -154,7 +154,7 @@ function generateRestRoutesFederatedCatalogue(baseRouteName, factoryServiceName)
|
|
|
154
154
|
const participantEntryExample = {
|
|
155
155
|
"@context": FederatedCatalogueContextInstances.DEFAULT_LD_CONTEXT_ENTRY,
|
|
156
156
|
id: "did:iota:xxx",
|
|
157
|
-
type: GaiaXTypes.
|
|
157
|
+
type: GaiaXTypes.LegalPerson,
|
|
158
158
|
registrationNumber: {
|
|
159
159
|
type: GaiaXTypes.LocalRegistrationNumber,
|
|
160
160
|
local: "P1234567"
|
|
@@ -246,7 +246,7 @@ function generateRestRoutesFederatedCatalogue(baseRouteName, factoryServiceName)
|
|
|
246
246
|
"@context": [
|
|
247
247
|
"https://www.w3.org/ns/odrl/2/",
|
|
248
248
|
{
|
|
249
|
-
twin: "https://schema.twindev.org/odrl/",
|
|
249
|
+
twin: "https://schema.twindev.org/w3c-odrl/",
|
|
250
250
|
jsonPathSelector: "twin:jsonPathSelector"
|
|
251
251
|
}
|
|
252
252
|
],
|
|
@@ -626,7 +626,7 @@ async function participantGet(httpRequestContext, factoryServiceName, request) {
|
|
|
626
626
|
const id = request?.pathParams.id;
|
|
627
627
|
Guards.stringValue(ROUTES_SOURCE, "id", id);
|
|
628
628
|
return {
|
|
629
|
-
body: (await service.getEntry(GaiaXTypes.
|
|
629
|
+
body: (await service.getEntry(GaiaXTypes.LegalPerson, id))
|
|
630
630
|
};
|
|
631
631
|
}
|
|
632
632
|
/**
|
|
@@ -1115,7 +1115,7 @@ class FederatedCatalogueService {
|
|
|
1115
1115
|
reason: result.verificationFailureReason
|
|
1116
1116
|
});
|
|
1117
1117
|
}
|
|
1118
|
-
const targetCredential = result.credentials.find(credential => credential.credentialSubject.type === GaiaXTypes.
|
|
1118
|
+
const targetCredential = result.credentials.find(credential => credential.credentialSubject.type === GaiaXTypes.LegalPerson);
|
|
1119
1119
|
if (Is.undefined(targetCredential)) {
|
|
1120
1120
|
throw new UnprocessableError(this.CLASS_NAME, "noEvidence");
|
|
1121
1121
|
}
|
|
@@ -1173,7 +1173,7 @@ class FederatedCatalogueService {
|
|
|
1173
1173
|
}
|
|
1174
1174
|
const entries = await this._entityStorageParticipants.query({ conditions }, undefined, undefined, cursor, pageSize);
|
|
1175
1175
|
const itemList = entries.entities.map(entry => {
|
|
1176
|
-
entry.type = GaiaXTypes.
|
|
1176
|
+
entry.type = GaiaXTypes.LegalPerson;
|
|
1177
1177
|
return entry;
|
|
1178
1178
|
});
|
|
1179
1179
|
const result = {
|
|
@@ -1195,7 +1195,7 @@ class FederatedCatalogueService {
|
|
|
1195
1195
|
Guards.stringValue(this.CLASS_NAME, "entryId", entryId);
|
|
1196
1196
|
let itemsAndCursor;
|
|
1197
1197
|
switch (entryType) {
|
|
1198
|
-
case GaiaXTypes.
|
|
1198
|
+
case GaiaXTypes.LegalPerson:
|
|
1199
1199
|
itemsAndCursor = await this.queryParticipants(entryId);
|
|
1200
1200
|
break;
|
|
1201
1201
|
case GaiaXTypes.DataExchangeComponent:
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# @twin.org/federated-catalogue-service - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.2-next.1](https://github.com/twinfoundation/federated-catalogue/compare/federated-catalogue-service-v0.0.2-next.0...federated-catalogue-service-v0.0.2-next.1) (2025-07-15)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add data types with fully qualified names ([993eb09](https://github.com/twinfoundation/federated-catalogue/commit/993eb09e25f6caad5d82a3908a2ba648900f5ca7))
|
|
9
|
+
* add namespace prop to service ([cbfea3b](https://github.com/twinfoundation/federated-catalogue/commit/cbfea3b115838744fc8a238b36f1660b0f2939d9))
|
|
10
|
+
* consistent component naming with other repos ([83fc03d](https://github.com/twinfoundation/federated-catalogue/commit/83fc03dee3846600ae6a45d710248a0ae60af570))
|
|
11
|
+
* simplify not found error handling in rest routes ([b4f2679](https://github.com/twinfoundation/federated-catalogue/commit/b4f26794942305ad6e8d555d1cbab6df0615214f))
|
|
12
|
+
* synchronise with gaia-x types ([3e0d7f2](https://github.com/twinfoundation/federated-catalogue/commit/3e0d7f2f277ec0adef79d71165b6db778e15e315))
|
|
13
|
+
* update config naming to match component ([a1a6348](https://github.com/twinfoundation/federated-catalogue/commit/a1a6348a6009939e1c784c35fd261ef306bbc59a))
|
|
14
|
+
* update dependencies ([24ff3d7](https://github.com/twinfoundation/federated-catalogue/commit/24ff3d772cf7bd7f60547c5b314355e75ba55424))
|
|
15
|
+
* update schemas ([58d8581](https://github.com/twinfoundation/federated-catalogue/commit/58d85813231f6576490937d4394e7be0f6d8c58d))
|
|
16
|
+
* update ts-to-schema generation ([41bdde7](https://github.com/twinfoundation/federated-catalogue/commit/41bdde7ff9f0cfa1ea4376b7a952bbaed9988d0a))
|
|
17
|
+
* update twindev schemas ([88d2144](https://github.com/twinfoundation/federated-catalogue/commit/88d214432e9060e58f54d009bb3bbfb30da615e7))
|
|
18
|
+
* version 0 federated catalogue ([#2](https://github.com/twinfoundation/federated-catalogue/issues/2)) ([93fb8bd](https://github.com/twinfoundation/federated-catalogue/commit/93fb8bdbb03aa781ef9e8dc4053beea1b397cc36))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* broken docs ([4588d86](https://github.com/twinfoundation/federated-catalogue/commit/4588d861575522da5374291167d57bacd1b21867))
|
|
24
|
+
* documentation ([2a4b24f](https://github.com/twinfoundation/federated-catalogue/commit/2a4b24f4d2c0da0087081bc459c5890ee4ddd5fa))
|
|
25
|
+
* query params force coercion ([a532329](https://github.com/twinfoundation/federated-catalogue/commit/a532329089b2b95c7f18cd8bd56ee47482755dc0))
|
|
26
|
+
* service missing dependency ([48ff9f2](https://github.com/twinfoundation/federated-catalogue/commit/48ff9f26c54a10c6f9c83a11e07a12c1d4c11dd7))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Dependencies
|
|
30
|
+
|
|
31
|
+
* The following workspace dependencies were updated
|
|
32
|
+
* dependencies
|
|
33
|
+
* @twin.org/federated-catalogue-models bumped from 0.0.2-next.0 to 0.0.2-next.1
|
|
34
|
+
|
|
3
35
|
## 0.0.1 (2025-07-10)
|
|
4
36
|
|
|
5
37
|
|
package/docs/open-api/spec.json
CHANGED
|
@@ -872,7 +872,7 @@
|
|
|
872
872
|
"@context": [
|
|
873
873
|
"https://www.w3.org/ns/odrl/2/",
|
|
874
874
|
{
|
|
875
|
-
"twin": "https://schema.twindev.org/odrl/",
|
|
875
|
+
"twin": "https://schema.twindev.org/w3c-odrl/",
|
|
876
876
|
"jsonPathSelector": "twin:jsonPathSelector"
|
|
877
877
|
}
|
|
878
878
|
],
|
|
@@ -1027,7 +1027,7 @@
|
|
|
1027
1027
|
"@context": [
|
|
1028
1028
|
"https://www.w3.org/ns/odrl/2/",
|
|
1029
1029
|
{
|
|
1030
|
-
"twin": "https://schema.twindev.org/odrl/",
|
|
1030
|
+
"twin": "https://schema.twindev.org/w3c-odrl/",
|
|
1031
1031
|
"jsonPathSelector": "twin:jsonPathSelector"
|
|
1032
1032
|
}
|
|
1033
1033
|
],
|
|
@@ -1805,10 +1805,11 @@
|
|
|
1805
1805
|
},
|
|
1806
1806
|
"resourcePolicy": {
|
|
1807
1807
|
"type": "array",
|
|
1808
|
+
"items": false,
|
|
1808
1809
|
"description": "Overwriting to ensure always an array is stored",
|
|
1809
1810
|
"prefixItems": [
|
|
1810
1811
|
{
|
|
1811
|
-
"$ref": "https://schema.twindev.org/odrl/OdrlPolicy"
|
|
1812
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPolicy"
|
|
1812
1813
|
}
|
|
1813
1814
|
]
|
|
1814
1815
|
},
|
|
@@ -1830,6 +1831,7 @@
|
|
|
1830
1831
|
},
|
|
1831
1832
|
"evidence": {
|
|
1832
1833
|
"type": "array",
|
|
1834
|
+
"items": false,
|
|
1833
1835
|
"description": "The evidences concerning the data resource.",
|
|
1834
1836
|
"prefixItems": [
|
|
1835
1837
|
{
|
|
@@ -1846,10 +1848,6 @@
|
|
|
1846
1848
|
"const": "DataResource",
|
|
1847
1849
|
"description": "Subject type"
|
|
1848
1850
|
},
|
|
1849
|
-
"description": {
|
|
1850
|
-
"type": "string",
|
|
1851
|
-
"description": "Description"
|
|
1852
|
-
},
|
|
1853
1851
|
"name": {
|
|
1854
1852
|
"type": "string",
|
|
1855
1853
|
"description": "The Resource Name"
|
|
@@ -1858,6 +1856,10 @@
|
|
|
1858
1856
|
"type": "string",
|
|
1859
1857
|
"description": "Pointer (URL) to the license"
|
|
1860
1858
|
},
|
|
1859
|
+
"description": {
|
|
1860
|
+
"type": "string",
|
|
1861
|
+
"description": "Description of the Gaia-X entity."
|
|
1862
|
+
},
|
|
1861
1863
|
"@id": {
|
|
1862
1864
|
"anyOf": [
|
|
1863
1865
|
{
|
|
@@ -1865,6 +1867,7 @@
|
|
|
1865
1867
|
},
|
|
1866
1868
|
{
|
|
1867
1869
|
"type": "array",
|
|
1870
|
+
"items": false,
|
|
1868
1871
|
"prefixItems": [
|
|
1869
1872
|
{
|
|
1870
1873
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -1895,6 +1898,7 @@
|
|
|
1895
1898
|
},
|
|
1896
1899
|
{
|
|
1897
1900
|
"type": "array",
|
|
1901
|
+
"items": false,
|
|
1898
1902
|
"prefixItems": [
|
|
1899
1903
|
{
|
|
1900
1904
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -1925,6 +1929,7 @@
|
|
|
1925
1929
|
},
|
|
1926
1930
|
{
|
|
1927
1931
|
"type": "array",
|
|
1932
|
+
"items": false,
|
|
1928
1933
|
"prefixItems": [
|
|
1929
1934
|
{
|
|
1930
1935
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -1955,6 +1960,7 @@
|
|
|
1955
1960
|
},
|
|
1956
1961
|
{
|
|
1957
1962
|
"type": "array",
|
|
1963
|
+
"items": false,
|
|
1958
1964
|
"prefixItems": [
|
|
1959
1965
|
{
|
|
1960
1966
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -1985,6 +1991,7 @@
|
|
|
1985
1991
|
},
|
|
1986
1992
|
{
|
|
1987
1993
|
"type": "array",
|
|
1994
|
+
"items": false,
|
|
1988
1995
|
"prefixItems": [
|
|
1989
1996
|
{
|
|
1990
1997
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -2015,6 +2022,7 @@
|
|
|
2015
2022
|
},
|
|
2016
2023
|
{
|
|
2017
2024
|
"type": "array",
|
|
2025
|
+
"items": false,
|
|
2018
2026
|
"prefixItems": [
|
|
2019
2027
|
{
|
|
2020
2028
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -2045,6 +2053,7 @@
|
|
|
2045
2053
|
},
|
|
2046
2054
|
{
|
|
2047
2055
|
"type": "array",
|
|
2056
|
+
"items": false,
|
|
2048
2057
|
"prefixItems": [
|
|
2049
2058
|
{
|
|
2050
2059
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -2106,6 +2115,7 @@
|
|
|
2106
2115
|
},
|
|
2107
2116
|
"itemListElement": {
|
|
2108
2117
|
"type": "array",
|
|
2118
|
+
"items": false,
|
|
2109
2119
|
"description": "The components of the Collection",
|
|
2110
2120
|
"prefixItems": [
|
|
2111
2121
|
{
|
|
@@ -2131,6 +2141,7 @@
|
|
|
2131
2141
|
"properties": {
|
|
2132
2142
|
"offeredResource": {
|
|
2133
2143
|
"type": "array",
|
|
2144
|
+
"items": false,
|
|
2134
2145
|
"description": "Offered resources. Probably in the future this wll be separated in a different entry so that a Data Space Connector entry does not need to be modified when a new Data Resource is offered.",
|
|
2135
2146
|
"prefixItems": [
|
|
2136
2147
|
{
|
|
@@ -2145,6 +2156,9 @@
|
|
|
2145
2156
|
"type": {
|
|
2146
2157
|
"type": "array",
|
|
2147
2158
|
"minItems": 2,
|
|
2159
|
+
"items": {
|
|
2160
|
+
"type": "string"
|
|
2161
|
+
},
|
|
2148
2162
|
"description": "A Connector is a Data Exchange Component",
|
|
2149
2163
|
"prefixItems": [
|
|
2150
2164
|
{
|
|
@@ -2155,10 +2169,7 @@
|
|
|
2155
2169
|
"type": "string",
|
|
2156
2170
|
"const": "DataSpaceConnector"
|
|
2157
2171
|
}
|
|
2158
|
-
]
|
|
2159
|
-
"items": {
|
|
2160
|
-
"type": "string"
|
|
2161
|
-
}
|
|
2172
|
+
]
|
|
2162
2173
|
},
|
|
2163
2174
|
"identity": {
|
|
2164
2175
|
"type": "string",
|
|
@@ -2195,6 +2206,7 @@
|
|
|
2195
2206
|
},
|
|
2196
2207
|
{
|
|
2197
2208
|
"type": "array",
|
|
2209
|
+
"items": false,
|
|
2198
2210
|
"prefixItems": [
|
|
2199
2211
|
{
|
|
2200
2212
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -2225,6 +2237,7 @@
|
|
|
2225
2237
|
},
|
|
2226
2238
|
{
|
|
2227
2239
|
"type": "array",
|
|
2240
|
+
"items": false,
|
|
2228
2241
|
"prefixItems": [
|
|
2229
2242
|
{
|
|
2230
2243
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -2255,6 +2268,7 @@
|
|
|
2255
2268
|
},
|
|
2256
2269
|
{
|
|
2257
2270
|
"type": "array",
|
|
2271
|
+
"items": false,
|
|
2258
2272
|
"prefixItems": [
|
|
2259
2273
|
{
|
|
2260
2274
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -2285,6 +2299,7 @@
|
|
|
2285
2299
|
},
|
|
2286
2300
|
{
|
|
2287
2301
|
"type": "array",
|
|
2302
|
+
"items": false,
|
|
2288
2303
|
"prefixItems": [
|
|
2289
2304
|
{
|
|
2290
2305
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -2315,6 +2330,7 @@
|
|
|
2315
2330
|
},
|
|
2316
2331
|
{
|
|
2317
2332
|
"type": "array",
|
|
2333
|
+
"items": false,
|
|
2318
2334
|
"prefixItems": [
|
|
2319
2335
|
{
|
|
2320
2336
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -2345,6 +2361,7 @@
|
|
|
2345
2361
|
},
|
|
2346
2362
|
{
|
|
2347
2363
|
"type": "array",
|
|
2364
|
+
"items": false,
|
|
2348
2365
|
"prefixItems": [
|
|
2349
2366
|
{
|
|
2350
2367
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -2375,6 +2392,7 @@
|
|
|
2375
2392
|
},
|
|
2376
2393
|
{
|
|
2377
2394
|
"type": "array",
|
|
2395
|
+
"items": false,
|
|
2378
2396
|
"prefixItems": [
|
|
2379
2397
|
{
|
|
2380
2398
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -2405,6 +2423,7 @@
|
|
|
2405
2423
|
},
|
|
2406
2424
|
{
|
|
2407
2425
|
"type": "array",
|
|
2426
|
+
"items": false,
|
|
2408
2427
|
"prefixItems": [
|
|
2409
2428
|
{
|
|
2410
2429
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -2435,6 +2454,7 @@
|
|
|
2435
2454
|
},
|
|
2436
2455
|
{
|
|
2437
2456
|
"type": "array",
|
|
2457
|
+
"items": false,
|
|
2438
2458
|
"prefixItems": [
|
|
2439
2459
|
{
|
|
2440
2460
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -2465,6 +2485,7 @@
|
|
|
2465
2485
|
},
|
|
2466
2486
|
{
|
|
2467
2487
|
"type": "array",
|
|
2488
|
+
"items": false,
|
|
2468
2489
|
"prefixItems": [
|
|
2469
2490
|
{
|
|
2470
2491
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -2495,6 +2516,7 @@
|
|
|
2495
2516
|
},
|
|
2496
2517
|
{
|
|
2497
2518
|
"type": "array",
|
|
2519
|
+
"items": false,
|
|
2498
2520
|
"prefixItems": [
|
|
2499
2521
|
{
|
|
2500
2522
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -2525,6 +2547,7 @@
|
|
|
2525
2547
|
},
|
|
2526
2548
|
{
|
|
2527
2549
|
"type": "array",
|
|
2550
|
+
"items": false,
|
|
2528
2551
|
"prefixItems": [
|
|
2529
2552
|
{
|
|
2530
2553
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -2586,6 +2609,7 @@
|
|
|
2586
2609
|
},
|
|
2587
2610
|
"itemListElement": {
|
|
2588
2611
|
"type": "array",
|
|
2612
|
+
"items": false,
|
|
2589
2613
|
"description": "The components of the Collection",
|
|
2590
2614
|
"prefixItems": [
|
|
2591
2615
|
{
|
|
@@ -2644,6 +2668,7 @@
|
|
|
2644
2668
|
"FederatedCatalogueContextType": {
|
|
2645
2669
|
"type": "array",
|
|
2646
2670
|
"minItems": 3,
|
|
2671
|
+
"items": false,
|
|
2647
2672
|
"maxItems": 3,
|
|
2648
2673
|
"description": "Type that defines the LD Context for the Federated Catalogue entities and entries.",
|
|
2649
2674
|
"prefixItems": [
|
|
@@ -2664,10 +2689,6 @@
|
|
|
2664
2689
|
"ParticipantEntry": {
|
|
2665
2690
|
"type": "object",
|
|
2666
2691
|
"properties": {
|
|
2667
|
-
"id": {
|
|
2668
|
-
"type": "string",
|
|
2669
|
-
"description": "The participant Id."
|
|
2670
|
-
},
|
|
2671
2692
|
"type": {
|
|
2672
2693
|
"type": "string",
|
|
2673
2694
|
"const": "LegalPerson",
|
|
@@ -2683,6 +2704,251 @@
|
|
|
2683
2704
|
"legalAddress": {
|
|
2684
2705
|
"$ref": "https://schema.twindev.org/gaia-x/Address"
|
|
2685
2706
|
},
|
|
2707
|
+
"headquartersAddress": {
|
|
2708
|
+
"$ref": "https://schema.twindev.org/gaia-x/Address"
|
|
2709
|
+
},
|
|
2710
|
+
"parentOrganizationOf": {
|
|
2711
|
+
"type": "array",
|
|
2712
|
+
"items": false,
|
|
2713
|
+
"description": "Parent organization.",
|
|
2714
|
+
"prefixItems": [
|
|
2715
|
+
{
|
|
2716
|
+
"type": "object",
|
|
2717
|
+
"additionalProperties": {
|
|
2718
|
+
"anyOf": [
|
|
2719
|
+
{
|
|
2720
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
2721
|
+
},
|
|
2722
|
+
{
|
|
2723
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
|
|
2724
|
+
},
|
|
2725
|
+
{
|
|
2726
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIndexMap"
|
|
2727
|
+
},
|
|
2728
|
+
{
|
|
2729
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
2730
|
+
},
|
|
2731
|
+
{
|
|
2732
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIdMap"
|
|
2733
|
+
},
|
|
2734
|
+
{
|
|
2735
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdTypeMap"
|
|
2736
|
+
},
|
|
2737
|
+
{
|
|
2738
|
+
"type": "array"
|
|
2739
|
+
}
|
|
2740
|
+
]
|
|
2741
|
+
},
|
|
2742
|
+
"properties": {
|
|
2743
|
+
"id": {
|
|
2744
|
+
"type": "string"
|
|
2745
|
+
},
|
|
2746
|
+
"type": {
|
|
2747
|
+
"type": "string",
|
|
2748
|
+
"const": "LegalPerson"
|
|
2749
|
+
},
|
|
2750
|
+
"@context": {
|
|
2751
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
|
|
2752
|
+
},
|
|
2753
|
+
"@id": {
|
|
2754
|
+
"anyOf": [
|
|
2755
|
+
{
|
|
2756
|
+
"type": "string"
|
|
2757
|
+
},
|
|
2758
|
+
{
|
|
2759
|
+
"type": "array",
|
|
2760
|
+
"items": {
|
|
2761
|
+
"type": "string"
|
|
2762
|
+
}
|
|
2763
|
+
}
|
|
2764
|
+
]
|
|
2765
|
+
},
|
|
2766
|
+
"@included": {
|
|
2767
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
2768
|
+
},
|
|
2769
|
+
"@graph": {
|
|
2770
|
+
"anyOf": [
|
|
2771
|
+
{
|
|
2772
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
2773
|
+
},
|
|
2774
|
+
{
|
|
2775
|
+
"type": "array",
|
|
2776
|
+
"items": {
|
|
2777
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
2778
|
+
}
|
|
2779
|
+
}
|
|
2780
|
+
]
|
|
2781
|
+
},
|
|
2782
|
+
"@nest": {
|
|
2783
|
+
"anyOf": [
|
|
2784
|
+
{
|
|
2785
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
2786
|
+
},
|
|
2787
|
+
{
|
|
2788
|
+
"type": "array",
|
|
2789
|
+
"items": {
|
|
2790
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
2791
|
+
}
|
|
2792
|
+
}
|
|
2793
|
+
]
|
|
2794
|
+
},
|
|
2795
|
+
"@type": {
|
|
2796
|
+
"anyOf": [
|
|
2797
|
+
{
|
|
2798
|
+
"type": "string"
|
|
2799
|
+
},
|
|
2800
|
+
{
|
|
2801
|
+
"type": "array",
|
|
2802
|
+
"items": {
|
|
2803
|
+
"type": "string"
|
|
2804
|
+
}
|
|
2805
|
+
}
|
|
2806
|
+
]
|
|
2807
|
+
},
|
|
2808
|
+
"@reverse": {
|
|
2809
|
+
"type": "object",
|
|
2810
|
+
"additionalProperties": {
|
|
2811
|
+
"type": "string"
|
|
2812
|
+
}
|
|
2813
|
+
},
|
|
2814
|
+
"@index": {
|
|
2815
|
+
"type": "string"
|
|
2816
|
+
}
|
|
2817
|
+
},
|
|
2818
|
+
"required": [
|
|
2819
|
+
"id",
|
|
2820
|
+
"type"
|
|
2821
|
+
]
|
|
2822
|
+
}
|
|
2823
|
+
]
|
|
2824
|
+
},
|
|
2825
|
+
"subOrganizationOf": {
|
|
2826
|
+
"type": "array",
|
|
2827
|
+
"items": false,
|
|
2828
|
+
"description": "Sub organization of.",
|
|
2829
|
+
"prefixItems": [
|
|
2830
|
+
{
|
|
2831
|
+
"type": "object",
|
|
2832
|
+
"additionalProperties": {
|
|
2833
|
+
"anyOf": [
|
|
2834
|
+
{
|
|
2835
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
2836
|
+
},
|
|
2837
|
+
{
|
|
2838
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
|
|
2839
|
+
},
|
|
2840
|
+
{
|
|
2841
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIndexMap"
|
|
2842
|
+
},
|
|
2843
|
+
{
|
|
2844
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
2845
|
+
},
|
|
2846
|
+
{
|
|
2847
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIdMap"
|
|
2848
|
+
},
|
|
2849
|
+
{
|
|
2850
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdTypeMap"
|
|
2851
|
+
},
|
|
2852
|
+
{
|
|
2853
|
+
"type": "array"
|
|
2854
|
+
}
|
|
2855
|
+
]
|
|
2856
|
+
},
|
|
2857
|
+
"properties": {
|
|
2858
|
+
"id": {
|
|
2859
|
+
"type": "string"
|
|
2860
|
+
},
|
|
2861
|
+
"type": {
|
|
2862
|
+
"type": "string",
|
|
2863
|
+
"const": "LegalPerson"
|
|
2864
|
+
},
|
|
2865
|
+
"@context": {
|
|
2866
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
|
|
2867
|
+
},
|
|
2868
|
+
"@id": {
|
|
2869
|
+
"anyOf": [
|
|
2870
|
+
{
|
|
2871
|
+
"type": "string"
|
|
2872
|
+
},
|
|
2873
|
+
{
|
|
2874
|
+
"type": "array",
|
|
2875
|
+
"items": {
|
|
2876
|
+
"type": "string"
|
|
2877
|
+
}
|
|
2878
|
+
}
|
|
2879
|
+
]
|
|
2880
|
+
},
|
|
2881
|
+
"@included": {
|
|
2882
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
2883
|
+
},
|
|
2884
|
+
"@graph": {
|
|
2885
|
+
"anyOf": [
|
|
2886
|
+
{
|
|
2887
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
2888
|
+
},
|
|
2889
|
+
{
|
|
2890
|
+
"type": "array",
|
|
2891
|
+
"items": {
|
|
2892
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
2893
|
+
}
|
|
2894
|
+
}
|
|
2895
|
+
]
|
|
2896
|
+
},
|
|
2897
|
+
"@nest": {
|
|
2898
|
+
"anyOf": [
|
|
2899
|
+
{
|
|
2900
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
2901
|
+
},
|
|
2902
|
+
{
|
|
2903
|
+
"type": "array",
|
|
2904
|
+
"items": {
|
|
2905
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
2906
|
+
}
|
|
2907
|
+
}
|
|
2908
|
+
]
|
|
2909
|
+
},
|
|
2910
|
+
"@type": {
|
|
2911
|
+
"anyOf": [
|
|
2912
|
+
{
|
|
2913
|
+
"type": "string"
|
|
2914
|
+
},
|
|
2915
|
+
{
|
|
2916
|
+
"type": "array",
|
|
2917
|
+
"items": {
|
|
2918
|
+
"type": "string"
|
|
2919
|
+
}
|
|
2920
|
+
}
|
|
2921
|
+
]
|
|
2922
|
+
},
|
|
2923
|
+
"@reverse": {
|
|
2924
|
+
"type": "object",
|
|
2925
|
+
"additionalProperties": {
|
|
2926
|
+
"type": "string"
|
|
2927
|
+
}
|
|
2928
|
+
},
|
|
2929
|
+
"@index": {
|
|
2930
|
+
"type": "string"
|
|
2931
|
+
}
|
|
2932
|
+
},
|
|
2933
|
+
"required": [
|
|
2934
|
+
"id",
|
|
2935
|
+
"type"
|
|
2936
|
+
]
|
|
2937
|
+
}
|
|
2938
|
+
]
|
|
2939
|
+
},
|
|
2940
|
+
"id": {
|
|
2941
|
+
"type": "string",
|
|
2942
|
+
"description": "The Id."
|
|
2943
|
+
},
|
|
2944
|
+
"name": {
|
|
2945
|
+
"type": "string",
|
|
2946
|
+
"description": "Human readable Name."
|
|
2947
|
+
},
|
|
2948
|
+
"description": {
|
|
2949
|
+
"type": "string",
|
|
2950
|
+
"description": "Description of the Gaia-X entity."
|
|
2951
|
+
},
|
|
2686
2952
|
"@id": {
|
|
2687
2953
|
"anyOf": [
|
|
2688
2954
|
{
|
|
@@ -2690,6 +2956,7 @@
|
|
|
2690
2956
|
},
|
|
2691
2957
|
{
|
|
2692
2958
|
"type": "array",
|
|
2959
|
+
"items": false,
|
|
2693
2960
|
"prefixItems": [
|
|
2694
2961
|
{
|
|
2695
2962
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -2720,6 +2987,7 @@
|
|
|
2720
2987
|
},
|
|
2721
2988
|
{
|
|
2722
2989
|
"type": "array",
|
|
2990
|
+
"items": false,
|
|
2723
2991
|
"prefixItems": [
|
|
2724
2992
|
{
|
|
2725
2993
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -2750,6 +3018,7 @@
|
|
|
2750
3018
|
},
|
|
2751
3019
|
{
|
|
2752
3020
|
"type": "array",
|
|
3021
|
+
"items": false,
|
|
2753
3022
|
"prefixItems": [
|
|
2754
3023
|
{
|
|
2755
3024
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -2780,6 +3049,7 @@
|
|
|
2780
3049
|
},
|
|
2781
3050
|
{
|
|
2782
3051
|
"type": "array",
|
|
3052
|
+
"items": false,
|
|
2783
3053
|
"prefixItems": [
|
|
2784
3054
|
{
|
|
2785
3055
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -2810,6 +3080,7 @@
|
|
|
2810
3080
|
},
|
|
2811
3081
|
{
|
|
2812
3082
|
"type": "array",
|
|
3083
|
+
"items": false,
|
|
2813
3084
|
"prefixItems": [
|
|
2814
3085
|
{
|
|
2815
3086
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -2840,6 +3111,7 @@
|
|
|
2840
3111
|
},
|
|
2841
3112
|
{
|
|
2842
3113
|
"type": "array",
|
|
3114
|
+
"items": false,
|
|
2843
3115
|
"prefixItems": [
|
|
2844
3116
|
{
|
|
2845
3117
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -2870,6 +3142,7 @@
|
|
|
2870
3142
|
},
|
|
2871
3143
|
{
|
|
2872
3144
|
"type": "array",
|
|
3145
|
+
"items": false,
|
|
2873
3146
|
"prefixItems": [
|
|
2874
3147
|
{
|
|
2875
3148
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -2900,6 +3173,7 @@
|
|
|
2900
3173
|
},
|
|
2901
3174
|
{
|
|
2902
3175
|
"type": "array",
|
|
3176
|
+
"items": false,
|
|
2903
3177
|
"prefixItems": [
|
|
2904
3178
|
{
|
|
2905
3179
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -2930,6 +3204,7 @@
|
|
|
2930
3204
|
},
|
|
2931
3205
|
{
|
|
2932
3206
|
"type": "array",
|
|
3207
|
+
"items": false,
|
|
2933
3208
|
"prefixItems": [
|
|
2934
3209
|
{
|
|
2935
3210
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -2960,6 +3235,7 @@
|
|
|
2960
3235
|
},
|
|
2961
3236
|
{
|
|
2962
3237
|
"type": "array",
|
|
3238
|
+
"items": false,
|
|
2963
3239
|
"prefixItems": [
|
|
2964
3240
|
{
|
|
2965
3241
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -2990,6 +3266,7 @@
|
|
|
2990
3266
|
},
|
|
2991
3267
|
{
|
|
2992
3268
|
"type": "array",
|
|
3269
|
+
"items": false,
|
|
2993
3270
|
"prefixItems": [
|
|
2994
3271
|
{
|
|
2995
3272
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -3020,6 +3297,7 @@
|
|
|
3020
3297
|
},
|
|
3021
3298
|
{
|
|
3022
3299
|
"type": "array",
|
|
3300
|
+
"items": false,
|
|
3023
3301
|
"prefixItems": [
|
|
3024
3302
|
{
|
|
3025
3303
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -3045,11 +3323,11 @@
|
|
|
3045
3323
|
}
|
|
3046
3324
|
},
|
|
3047
3325
|
"required": [
|
|
3048
|
-
"id",
|
|
3049
3326
|
"type",
|
|
3050
3327
|
"registrationNumber",
|
|
3051
3328
|
"legalName",
|
|
3052
3329
|
"legalAddress",
|
|
3330
|
+
"id",
|
|
3053
3331
|
"@id",
|
|
3054
3332
|
"@included",
|
|
3055
3333
|
"@graph",
|
|
@@ -3078,6 +3356,7 @@
|
|
|
3078
3356
|
},
|
|
3079
3357
|
"itemListElement": {
|
|
3080
3358
|
"type": "array",
|
|
3359
|
+
"items": false,
|
|
3081
3360
|
"description": "The components of the Collection",
|
|
3082
3361
|
"prefixItems": [
|
|
3083
3362
|
{
|
|
@@ -3107,6 +3386,7 @@
|
|
|
3107
3386
|
},
|
|
3108
3387
|
"aggregationOfResources": {
|
|
3109
3388
|
"type": "array",
|
|
3389
|
+
"items": false,
|
|
3110
3390
|
"description": "Overwrites aggregationOfResources as we only store identifier as string",
|
|
3111
3391
|
"prefixItems": [
|
|
3112
3392
|
{
|
|
@@ -3116,10 +3396,11 @@
|
|
|
3116
3396
|
},
|
|
3117
3397
|
"servicePolicy": {
|
|
3118
3398
|
"type": "array",
|
|
3399
|
+
"items": false,
|
|
3119
3400
|
"description": "The service policy is always stored as an array",
|
|
3120
3401
|
"prefixItems": [
|
|
3121
3402
|
{
|
|
3122
|
-
"$ref": "https://schema.twindev.org/odrl/OdrlPolicy"
|
|
3403
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPolicy"
|
|
3123
3404
|
}
|
|
3124
3405
|
]
|
|
3125
3406
|
},
|
|
@@ -3141,6 +3422,7 @@
|
|
|
3141
3422
|
},
|
|
3142
3423
|
"evidence": {
|
|
3143
3424
|
"type": "array",
|
|
3425
|
+
"items": false,
|
|
3144
3426
|
"description": "The evidences concerning the data resource.",
|
|
3145
3427
|
"prefixItems": [
|
|
3146
3428
|
{
|
|
@@ -3148,26 +3430,26 @@
|
|
|
3148
3430
|
}
|
|
3149
3431
|
]
|
|
3150
3432
|
},
|
|
3151
|
-
"id": {
|
|
3152
|
-
"type": "string",
|
|
3153
|
-
"description": "Id"
|
|
3154
|
-
},
|
|
3155
3433
|
"type": {
|
|
3156
3434
|
"type": "string",
|
|
3157
3435
|
"const": "ServiceOffering",
|
|
3158
3436
|
"description": "Type"
|
|
3159
3437
|
},
|
|
3160
|
-
"description": {
|
|
3161
|
-
"type": "string",
|
|
3162
|
-
"description": "Description"
|
|
3163
|
-
},
|
|
3164
3438
|
"name": {
|
|
3165
3439
|
"type": "string",
|
|
3166
|
-
"description": "Name"
|
|
3440
|
+
"description": "Name of the Service Offering."
|
|
3167
3441
|
},
|
|
3168
3442
|
"endpoint": {
|
|
3169
3443
|
"$ref": "https://schema.twindev.org/gaia-x/Endpoint"
|
|
3170
3444
|
},
|
|
3445
|
+
"id": {
|
|
3446
|
+
"type": "string",
|
|
3447
|
+
"description": "The Id."
|
|
3448
|
+
},
|
|
3449
|
+
"description": {
|
|
3450
|
+
"type": "string",
|
|
3451
|
+
"description": "Description of the Gaia-X entity."
|
|
3452
|
+
},
|
|
3171
3453
|
"@id": {
|
|
3172
3454
|
"anyOf": [
|
|
3173
3455
|
{
|
|
@@ -3175,6 +3457,7 @@
|
|
|
3175
3457
|
},
|
|
3176
3458
|
{
|
|
3177
3459
|
"type": "array",
|
|
3460
|
+
"items": false,
|
|
3178
3461
|
"prefixItems": [
|
|
3179
3462
|
{
|
|
3180
3463
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -3205,6 +3488,7 @@
|
|
|
3205
3488
|
},
|
|
3206
3489
|
{
|
|
3207
3490
|
"type": "array",
|
|
3491
|
+
"items": false,
|
|
3208
3492
|
"prefixItems": [
|
|
3209
3493
|
{
|
|
3210
3494
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -3235,6 +3519,7 @@
|
|
|
3235
3519
|
},
|
|
3236
3520
|
{
|
|
3237
3521
|
"type": "array",
|
|
3522
|
+
"items": false,
|
|
3238
3523
|
"prefixItems": [
|
|
3239
3524
|
{
|
|
3240
3525
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -3265,6 +3550,7 @@
|
|
|
3265
3550
|
},
|
|
3266
3551
|
{
|
|
3267
3552
|
"type": "array",
|
|
3553
|
+
"items": false,
|
|
3268
3554
|
"prefixItems": [
|
|
3269
3555
|
{
|
|
3270
3556
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -3295,6 +3581,7 @@
|
|
|
3295
3581
|
},
|
|
3296
3582
|
{
|
|
3297
3583
|
"type": "array",
|
|
3584
|
+
"items": false,
|
|
3298
3585
|
"prefixItems": [
|
|
3299
3586
|
{
|
|
3300
3587
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -3325,6 +3612,7 @@
|
|
|
3325
3612
|
},
|
|
3326
3613
|
{
|
|
3327
3614
|
"type": "array",
|
|
3615
|
+
"items": false,
|
|
3328
3616
|
"prefixItems": [
|
|
3329
3617
|
{
|
|
3330
3618
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -3355,6 +3643,7 @@
|
|
|
3355
3643
|
},
|
|
3356
3644
|
{
|
|
3357
3645
|
"type": "array",
|
|
3646
|
+
"items": false,
|
|
3358
3647
|
"prefixItems": [
|
|
3359
3648
|
{
|
|
3360
3649
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
@@ -3387,10 +3676,10 @@
|
|
|
3387
3676
|
"validUntil",
|
|
3388
3677
|
"dateCreated",
|
|
3389
3678
|
"evidence",
|
|
3390
|
-
"id",
|
|
3391
3679
|
"type",
|
|
3392
3680
|
"name",
|
|
3393
3681
|
"endpoint",
|
|
3682
|
+
"id",
|
|
3394
3683
|
"@id",
|
|
3395
3684
|
"@included",
|
|
3396
3685
|
"@graph",
|
|
@@ -3414,6 +3703,7 @@
|
|
|
3414
3703
|
},
|
|
3415
3704
|
"itemListElement": {
|
|
3416
3705
|
"type": "array",
|
|
3706
|
+
"items": false,
|
|
3417
3707
|
"description": "The components of the Collection",
|
|
3418
3708
|
"prefixItems": [
|
|
3419
3709
|
{
|
|
@@ -3433,6 +3723,283 @@
|
|
|
3433
3723
|
],
|
|
3434
3724
|
"additionalProperties": false,
|
|
3435
3725
|
"description": "Interface describing a list of Service Offering Entries."
|
|
3726
|
+
},
|
|
3727
|
+
"UriActionType": {
|
|
3728
|
+
"anyOf": [
|
|
3729
|
+
{
|
|
3730
|
+
"type": "string",
|
|
3731
|
+
"const": "odrl:use",
|
|
3732
|
+
"description": "To use the Asset - actions that involve general usage by parties."
|
|
3733
|
+
},
|
|
3734
|
+
{
|
|
3735
|
+
"type": "string",
|
|
3736
|
+
"const": "odrl:transfer",
|
|
3737
|
+
"description": "To transfer the ownership to third parties."
|
|
3738
|
+
},
|
|
3739
|
+
{
|
|
3740
|
+
"type": "string",
|
|
3741
|
+
"const": "odrl:acceptTracking",
|
|
3742
|
+
"description": "To accept that the use of the Asset may be tracked."
|
|
3743
|
+
},
|
|
3744
|
+
{
|
|
3745
|
+
"type": "string",
|
|
3746
|
+
"const": "odrl:aggregate",
|
|
3747
|
+
"description": "To use the Asset or parts of it as part of a composite collection."
|
|
3748
|
+
},
|
|
3749
|
+
{
|
|
3750
|
+
"type": "string",
|
|
3751
|
+
"const": "odrl:annotate",
|
|
3752
|
+
"description": "To add explanatory notations/commentaries to the Asset without modifying the Asset in any other way."
|
|
3753
|
+
},
|
|
3754
|
+
{
|
|
3755
|
+
"type": "string",
|
|
3756
|
+
"const": "odrl:anonymize",
|
|
3757
|
+
"description": "To anonymize all or parts of the Asset."
|
|
3758
|
+
},
|
|
3759
|
+
{
|
|
3760
|
+
"type": "string",
|
|
3761
|
+
"const": "odrl:archive",
|
|
3762
|
+
"description": "To store the Asset (in a non-transient form)."
|
|
3763
|
+
},
|
|
3764
|
+
{
|
|
3765
|
+
"type": "string",
|
|
3766
|
+
"const": "odrl:attribute",
|
|
3767
|
+
"description": "To attribute the use of the Asset."
|
|
3768
|
+
},
|
|
3769
|
+
{
|
|
3770
|
+
"type": "string",
|
|
3771
|
+
"const": "odrl:attribution",
|
|
3772
|
+
"description": "Credit be given to copyright holder and/or author."
|
|
3773
|
+
},
|
|
3774
|
+
{
|
|
3775
|
+
"type": "string",
|
|
3776
|
+
"const": "odrl:commercialUse",
|
|
3777
|
+
"description": "Exercising rights for commercial purposes."
|
|
3778
|
+
},
|
|
3779
|
+
{
|
|
3780
|
+
"type": "string",
|
|
3781
|
+
"const": "odrl:compensate",
|
|
3782
|
+
"description": "To compensate by transfer of some amount of value for using or selling the Asset."
|
|
3783
|
+
},
|
|
3784
|
+
{
|
|
3785
|
+
"type": "string",
|
|
3786
|
+
"const": "odrl:concurrentUse",
|
|
3787
|
+
"description": "To create multiple copies of the Asset that are being concurrently used."
|
|
3788
|
+
},
|
|
3789
|
+
{
|
|
3790
|
+
"type": "string",
|
|
3791
|
+
"const": "odrl:delete",
|
|
3792
|
+
"description": "To permanently remove all copies of the Asset after it has been used."
|
|
3793
|
+
},
|
|
3794
|
+
{
|
|
3795
|
+
"type": "string",
|
|
3796
|
+
"const": "odrl:derive",
|
|
3797
|
+
"description": "To create a new derivative Asset from this Asset and to edit or modify the derivative."
|
|
3798
|
+
},
|
|
3799
|
+
{
|
|
3800
|
+
"type": "string",
|
|
3801
|
+
"const": "odrl:derivativeWorks",
|
|
3802
|
+
"description": "Distribution of derivative works."
|
|
3803
|
+
},
|
|
3804
|
+
{
|
|
3805
|
+
"type": "string",
|
|
3806
|
+
"const": "odrl:digitize",
|
|
3807
|
+
"description": "To produce a digital copy of (or otherwise digitize) the Asset from its analogue form."
|
|
3808
|
+
},
|
|
3809
|
+
{
|
|
3810
|
+
"type": "string",
|
|
3811
|
+
"const": "odrl:display",
|
|
3812
|
+
"description": "To create a static and transient rendition of an Asset."
|
|
3813
|
+
},
|
|
3814
|
+
{
|
|
3815
|
+
"type": "string",
|
|
3816
|
+
"const": "odrl:distribute",
|
|
3817
|
+
"description": "To supply the Asset to third-parties."
|
|
3818
|
+
},
|
|
3819
|
+
{
|
|
3820
|
+
"type": "string",
|
|
3821
|
+
"const": "odrl:distribution",
|
|
3822
|
+
"description": "Distribution, public display, and publicly performance."
|
|
3823
|
+
},
|
|
3824
|
+
{
|
|
3825
|
+
"type": "string",
|
|
3826
|
+
"const": "odrl:ensureExclusivity",
|
|
3827
|
+
"description": "To ensure that the Rule on the Asset is exclusive."
|
|
3828
|
+
},
|
|
3829
|
+
{
|
|
3830
|
+
"type": "string",
|
|
3831
|
+
"const": "odrl:execute",
|
|
3832
|
+
"description": "To run the computer program Asset."
|
|
3833
|
+
},
|
|
3834
|
+
{
|
|
3835
|
+
"type": "string",
|
|
3836
|
+
"const": "odrl:extract",
|
|
3837
|
+
"description": "To extract parts of the Asset and to use it as a new Asset."
|
|
3838
|
+
},
|
|
3839
|
+
{
|
|
3840
|
+
"type": "string",
|
|
3841
|
+
"const": "odrl:give",
|
|
3842
|
+
"description": "To transfer the ownership without compensation and while deleting the original asset."
|
|
3843
|
+
},
|
|
3844
|
+
{
|
|
3845
|
+
"type": "string",
|
|
3846
|
+
"const": "odrl:grantUse",
|
|
3847
|
+
"description": "To grant the use of the Asset to third parties."
|
|
3848
|
+
},
|
|
3849
|
+
{
|
|
3850
|
+
"type": "string",
|
|
3851
|
+
"const": "odrl:include",
|
|
3852
|
+
"description": "To include other related assets in the Asset."
|
|
3853
|
+
},
|
|
3854
|
+
{
|
|
3855
|
+
"type": "string",
|
|
3856
|
+
"const": "odrl:index",
|
|
3857
|
+
"description": "To record the Asset in an index."
|
|
3858
|
+
},
|
|
3859
|
+
{
|
|
3860
|
+
"type": "string",
|
|
3861
|
+
"const": "odrl:inform",
|
|
3862
|
+
"description": "To inform that an action has been performed on or in relation to the Asset."
|
|
3863
|
+
},
|
|
3864
|
+
{
|
|
3865
|
+
"type": "string",
|
|
3866
|
+
"const": "odrl:install",
|
|
3867
|
+
"description": "To load the computer program Asset onto a storage device."
|
|
3868
|
+
},
|
|
3869
|
+
{
|
|
3870
|
+
"type": "string",
|
|
3871
|
+
"const": "odrl:modify",
|
|
3872
|
+
"description": "To change existing content of the Asset without creating a new asset."
|
|
3873
|
+
},
|
|
3874
|
+
{
|
|
3875
|
+
"type": "string",
|
|
3876
|
+
"const": "odrl:move",
|
|
3877
|
+
"description": "To move the Asset from one digital location to another including deleting the original copy."
|
|
3878
|
+
},
|
|
3879
|
+
{
|
|
3880
|
+
"type": "string",
|
|
3881
|
+
"const": "odrl:nextPolicy",
|
|
3882
|
+
"description": "To grant the specified Policy to a third party for their use of the Asset."
|
|
3883
|
+
},
|
|
3884
|
+
{
|
|
3885
|
+
"type": "string",
|
|
3886
|
+
"const": "odrl:notice",
|
|
3887
|
+
"description": "Copyright and license notices be kept intact."
|
|
3888
|
+
},
|
|
3889
|
+
{
|
|
3890
|
+
"type": "string",
|
|
3891
|
+
"const": "odrl:obtainConsent",
|
|
3892
|
+
"description": "To obtain verifiable consent to perform the requested action."
|
|
3893
|
+
},
|
|
3894
|
+
{
|
|
3895
|
+
"type": "string",
|
|
3896
|
+
"const": "odrl:play",
|
|
3897
|
+
"description": "To create a sequential and transient rendition of an Asset."
|
|
3898
|
+
},
|
|
3899
|
+
{
|
|
3900
|
+
"type": "string",
|
|
3901
|
+
"const": "odrl:present",
|
|
3902
|
+
"description": "To publicly perform the Asset."
|
|
3903
|
+
},
|
|
3904
|
+
{
|
|
3905
|
+
"type": "string",
|
|
3906
|
+
"const": "odrl:print",
|
|
3907
|
+
"description": "To create a tangible and permanent rendition of an Asset."
|
|
3908
|
+
},
|
|
3909
|
+
{
|
|
3910
|
+
"type": "string",
|
|
3911
|
+
"const": "odrl:read",
|
|
3912
|
+
"description": "To obtain data from the Asset."
|
|
3913
|
+
},
|
|
3914
|
+
{
|
|
3915
|
+
"type": "string",
|
|
3916
|
+
"const": "odrl:reproduce",
|
|
3917
|
+
"description": "To make duplicate copies of the Asset in any material form."
|
|
3918
|
+
},
|
|
3919
|
+
{
|
|
3920
|
+
"type": "string",
|
|
3921
|
+
"const": "odrl:reproduction",
|
|
3922
|
+
"description": "Making multiple copies."
|
|
3923
|
+
},
|
|
3924
|
+
{
|
|
3925
|
+
"type": "string",
|
|
3926
|
+
"const": "odrl:reviewPolicy",
|
|
3927
|
+
"description": "To review the Policy applicable to the Asset."
|
|
3928
|
+
},
|
|
3929
|
+
{
|
|
3930
|
+
"type": "string",
|
|
3931
|
+
"const": "odrl:sell",
|
|
3932
|
+
"description": "To transfer the ownership with compensation and while deleting the original asset."
|
|
3933
|
+
},
|
|
3934
|
+
{
|
|
3935
|
+
"type": "string",
|
|
3936
|
+
"const": "odrl:shareAlike",
|
|
3937
|
+
"description": "Derivative works be licensed under the same terms or compatible terms."
|
|
3938
|
+
},
|
|
3939
|
+
{
|
|
3940
|
+
"type": "string",
|
|
3941
|
+
"const": "odrl:sharing",
|
|
3942
|
+
"description": "Permits commercial derivatives, but only non-commercial distribution."
|
|
3943
|
+
},
|
|
3944
|
+
{
|
|
3945
|
+
"type": "string",
|
|
3946
|
+
"const": "odrl:sourceCode",
|
|
3947
|
+
"description": "Source code must be provided when exercising some rights."
|
|
3948
|
+
},
|
|
3949
|
+
{
|
|
3950
|
+
"type": "string",
|
|
3951
|
+
"const": "odrl:stream",
|
|
3952
|
+
"description": "To deliver the Asset in real-time."
|
|
3953
|
+
},
|
|
3954
|
+
{
|
|
3955
|
+
"type": "string",
|
|
3956
|
+
"const": "odrl:synchronize",
|
|
3957
|
+
"description": "To use the Asset in timed relations with media elements of another Asset."
|
|
3958
|
+
},
|
|
3959
|
+
{
|
|
3960
|
+
"type": "string",
|
|
3961
|
+
"const": "odrl:textToSpeech",
|
|
3962
|
+
"description": "To have a text Asset read out loud."
|
|
3963
|
+
},
|
|
3964
|
+
{
|
|
3965
|
+
"type": "string",
|
|
3966
|
+
"const": "odrl:transform",
|
|
3967
|
+
"description": "To convert the Asset into a different format."
|
|
3968
|
+
},
|
|
3969
|
+
{
|
|
3970
|
+
"type": "string",
|
|
3971
|
+
"const": "odrl:translate",
|
|
3972
|
+
"description": "To translate the Asset into another natural language."
|
|
3973
|
+
},
|
|
3974
|
+
{
|
|
3975
|
+
"type": "string",
|
|
3976
|
+
"const": "odrl:uninstall",
|
|
3977
|
+
"description": "To unload and delete the computer program Asset."
|
|
3978
|
+
},
|
|
3979
|
+
{
|
|
3980
|
+
"type": "string",
|
|
3981
|
+
"const": "odrl:watermark",
|
|
3982
|
+
"description": "To apply a watermark to the Asset."
|
|
3983
|
+
}
|
|
3984
|
+
],
|
|
3985
|
+
"description": "The types for ODRL Actions. URI action types (for use with rdf:value/@id) The types for ODRL Actions. Simple action types (for direct string usage)"
|
|
3986
|
+
},
|
|
3987
|
+
"bjectOrArray_IJsonLdNodeObject_": {
|
|
3988
|
+
"anyOf": [
|
|
3989
|
+
{
|
|
3990
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
3991
|
+
},
|
|
3992
|
+
{
|
|
3993
|
+
"type": "array",
|
|
3994
|
+
"items": false,
|
|
3995
|
+
"prefixItems": [
|
|
3996
|
+
{
|
|
3997
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
3998
|
+
}
|
|
3999
|
+
]
|
|
4000
|
+
}
|
|
4001
|
+
],
|
|
4002
|
+
"description": "Object or array data type"
|
|
3436
4003
|
}
|
|
3437
4004
|
},
|
|
3438
4005
|
"securitySchemes": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/federated-catalogue-service",
|
|
3
|
-
"version": "0.0.1",
|
|
3
|
+
"version": "0.0.2-next.1",
|
|
4
4
|
"description": "Federated Catalogue contract implementation and REST endpoint definitions",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,22 +14,22 @@
|
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@twin.org/api-models": "
|
|
18
|
-
"@twin.org/core": "
|
|
19
|
-
"@twin.org/crypto": "
|
|
20
|
-
"@twin.org/data-json-ld": "
|
|
21
|
-
"@twin.org/entity": "
|
|
22
|
-
"@twin.org/entity-storage-models": "
|
|
23
|
-
"@twin.org/federated-catalogue-models": "
|
|
24
|
-
"@twin.org/identity-models": "
|
|
25
|
-
"@twin.org/identity-service": "
|
|
26
|
-
"@twin.org/logging-models": "
|
|
27
|
-
"@twin.org/nameof": "
|
|
28
|
-
"@twin.org/standards-gaia-x": "
|
|
29
|
-
"@twin.org/standards-schema-org": "
|
|
30
|
-
"@twin.org/standards-w3c-did": "
|
|
31
|
-
"@twin.org/standards-w3c-odrl": "
|
|
32
|
-
"@twin.org/web": "
|
|
17
|
+
"@twin.org/api-models": "next",
|
|
18
|
+
"@twin.org/core": "next",
|
|
19
|
+
"@twin.org/crypto": "next",
|
|
20
|
+
"@twin.org/data-json-ld": "next",
|
|
21
|
+
"@twin.org/entity": "next",
|
|
22
|
+
"@twin.org/entity-storage-models": "next",
|
|
23
|
+
"@twin.org/federated-catalogue-models": "0.0.2-next.1",
|
|
24
|
+
"@twin.org/identity-models": "next",
|
|
25
|
+
"@twin.org/identity-service": "next",
|
|
26
|
+
"@twin.org/logging-models": "next",
|
|
27
|
+
"@twin.org/nameof": "next",
|
|
28
|
+
"@twin.org/standards-gaia-x": "next",
|
|
29
|
+
"@twin.org/standards-schema-org": "next",
|
|
30
|
+
"@twin.org/standards-w3c-did": "next",
|
|
31
|
+
"@twin.org/standards-w3c-odrl": "next",
|
|
32
|
+
"@twin.org/web": "next"
|
|
33
33
|
},
|
|
34
34
|
"main": "./dist/cjs/index.cjs",
|
|
35
35
|
"module": "./dist/esm/index.mjs",
|