@twin.org/federated-catalogue-models 0.0.1-next.2
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/LICENSE +201 -0
- package/README.md +21 -0
- package/dist/cjs/index.cjs +121 -0
- package/dist/esm/index.mjs +116 -0
- package/dist/types/index.d.ts +41 -0
- package/dist/types/models/ICatalogueBase.d.ts +25 -0
- package/dist/types/models/ICatalogueEntry.d.ts +8 -0
- package/dist/types/models/IComplianceCredential.d.ts +37 -0
- package/dist/types/models/IComplianceEvidence.d.ts +26 -0
- package/dist/types/models/IComplianceVerificationResult.d.ts +19 -0
- package/dist/types/models/ICredential.d.ts +21 -0
- package/dist/types/models/IFederatedCatalogue.d.ts +89 -0
- package/dist/types/models/IVerificationResult.d.ts +13 -0
- package/dist/types/models/api/ICatalogueEntryGetRequest.d.ts +15 -0
- package/dist/types/models/api/ICompliancePresentationRequest.d.ts +9 -0
- package/dist/types/models/api/IDataResourceGetResponse.d.ts +10 -0
- package/dist/types/models/api/IDataResourceListRequest.d.ts +27 -0
- package/dist/types/models/api/IDataResourceListResponse.d.ts +10 -0
- package/dist/types/models/api/IDataSpaceConnectorGetResponse.d.ts +10 -0
- package/dist/types/models/api/IDataSpaceConnectorListRequest.d.ts +27 -0
- package/dist/types/models/api/IDataSpaceConnectorListResponse.d.ts +10 -0
- package/dist/types/models/api/IFederatedCatalogueGetRequest.d.ts +12 -0
- package/dist/types/models/api/IParticipantGetResponse.d.ts +10 -0
- package/dist/types/models/api/IParticipantListRequest.d.ts +31 -0
- package/dist/types/models/api/IParticipantListResponse.d.ts +10 -0
- package/dist/types/models/api/IServiceOfferingGetResponse.d.ts +10 -0
- package/dist/types/models/api/IServiceOfferingListRequest.d.ts +27 -0
- package/dist/types/models/api/IServiceOfferingListResponse.d.ts +10 -0
- package/dist/types/models/data-resource/IDataResourceCredential.d.ts +11 -0
- package/dist/types/models/data-resource/IDataResourceEntry.d.ts +29 -0
- package/dist/types/models/data-resource/IDataResourceList.d.ts +25 -0
- package/dist/types/models/data-space-connector/IDataSpaceConnector.d.ts +77 -0
- package/dist/types/models/data-space-connector/IDataSpaceConnectorCredential.d.ts +11 -0
- package/dist/types/models/data-space-connector/IDataSpaceConnectorEntry.d.ts +18 -0
- package/dist/types/models/data-space-connector/IDataSpaceConnectorList.d.ts +25 -0
- package/dist/types/models/federatedCatalogueContextInstances.d.ts +14 -0
- package/dist/types/models/federatedCatalogueContextType.d.ts +11 -0
- package/dist/types/models/federatedCatalogueContexts.d.ts +13 -0
- package/dist/types/models/federatedCatalogueEntryType.d.ts +7 -0
- package/dist/types/models/federatedCatalogueTypes.d.ts +25 -0
- package/dist/types/models/participant/IParticipantCredential.d.ts +11 -0
- package/dist/types/models/participant/IParticipantEntry.d.ts +12 -0
- package/dist/types/models/participant/IParticipantList.d.ts +25 -0
- package/dist/types/models/service-offering/IServiceOfferingCredential.d.ts +11 -0
- package/dist/types/models/service-offering/IServiceOfferingEntry.d.ts +25 -0
- package/dist/types/models/service-offering/IServiceOfferingList.d.ts +25 -0
- package/dist/types/models/verificationFailureReasons.d.ts +53 -0
- package/docs/changelog.md +12 -0
- package/docs/examples.md +1 -0
- package/docs/overview.md +21 -0
- package/docs/reference/classes/FederatedCatalogueContextInstances.md +29 -0
- package/docs/reference/index.md +57 -0
- package/docs/reference/interfaces/ICatalogueEntryGetRequest.md +37 -0
- package/docs/reference/interfaces/IComplianceCredential.md +103 -0
- package/docs/reference/interfaces/IComplianceEvidence.md +45 -0
- package/docs/reference/interfaces/ICompliancePresentationRequest.md +11 -0
- package/docs/reference/interfaces/IComplianceVerificationResult.md +55 -0
- package/docs/reference/interfaces/ICredential.md +51 -0
- package/docs/reference/interfaces/IDataResourceCredential.md +43 -0
- package/docs/reference/interfaces/IDataResourceEntry.md +131 -0
- package/docs/reference/interfaces/IDataResourceGetResponse.md +11 -0
- package/docs/reference/interfaces/IDataResourceList.md +35 -0
- package/docs/reference/interfaces/IDataResourceListRequest.md +55 -0
- package/docs/reference/interfaces/IDataResourceListResponse.md +11 -0
- package/docs/reference/interfaces/IDataSpaceConnector.md +130 -0
- package/docs/reference/interfaces/IDataSpaceConnectorCredential.md +43 -0
- package/docs/reference/interfaces/IDataSpaceConnectorEntry.md +224 -0
- package/docs/reference/interfaces/IDataSpaceConnectorGetResponse.md +11 -0
- package/docs/reference/interfaces/IDataSpaceConnectorList.md +35 -0
- package/docs/reference/interfaces/IDataSpaceConnectorListRequest.md +55 -0
- package/docs/reference/interfaces/IDataSpaceConnectorListResponse.md +11 -0
- package/docs/reference/interfaces/IFederatedCatalogue.md +313 -0
- package/docs/reference/interfaces/IFederatedCatalogueGetRequest.md +23 -0
- package/docs/reference/interfaces/IParticipantCredential.md +43 -0
- package/docs/reference/interfaces/IParticipantEntry.md +83 -0
- package/docs/reference/interfaces/IParticipantGetResponse.md +11 -0
- package/docs/reference/interfaces/IParticipantList.md +35 -0
- package/docs/reference/interfaces/IParticipantListRequest.md +61 -0
- package/docs/reference/interfaces/IParticipantListResponse.md +11 -0
- package/docs/reference/interfaces/IServiceOfferingCredential.md +43 -0
- package/docs/reference/interfaces/IServiceOfferingEntry.md +119 -0
- package/docs/reference/interfaces/IServiceOfferingGetResponse.md +11 -0
- package/docs/reference/interfaces/IServiceOfferingList.md +35 -0
- package/docs/reference/interfaces/IServiceOfferingListRequest.md +55 -0
- package/docs/reference/interfaces/IServiceOfferingListResponse.md +11 -0
- package/docs/reference/interfaces/IVerificationResult.md +23 -0
- package/docs/reference/type-aliases/FederatedCatalogueContextType.md +5 -0
- package/docs/reference/type-aliases/FederatedCatalogueContexts.md +5 -0
- package/docs/reference/type-aliases/FederatedCatalogueEntryType.md +5 -0
- package/docs/reference/type-aliases/FederatedCatalogueTypes.md +5 -0
- package/docs/reference/type-aliases/ICatalogueEntry.md +5 -0
- package/docs/reference/type-aliases/VerificationFailureReasons.md +5 -0
- package/docs/reference/variables/FederatedCatalogueContexts.md +13 -0
- package/docs/reference/variables/FederatedCatalogueTypes.md +31 -0
- package/docs/reference/variables/VerificationFailureReasons.md +73 -0
- package/package.json +44 -0
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
# Interface: IDataResourceEntry
|
|
2
|
+
|
|
3
|
+
Interface describing a Data Resource entry.
|
|
4
|
+
|
|
5
|
+
## Extends
|
|
6
|
+
|
|
7
|
+
- `ICatalogueBase`.`IDataResource`
|
|
8
|
+
|
|
9
|
+
## Indexable
|
|
10
|
+
|
|
11
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdIdMap` \| `IJsonLdNodeObject` \| `IJsonLdListObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdSetObject` \| `IJsonLdJsonObject` \| `IJsonLdIndexMap` \| `IJsonLdLanguageMap` \| `IJsonLdGraphObject` \| `IJsonLdNodeObject`[] \| `IJsonLdJsonObject`[] \| \{[`key`: `string`]: `string`; \} \| `IJsonLdTypeMap` \| `IJsonLdNodePrimitive`[]
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
### issuer
|
|
16
|
+
|
|
17
|
+
> **issuer**: `string`
|
|
18
|
+
|
|
19
|
+
The trusted issuer of the compliance credential
|
|
20
|
+
|
|
21
|
+
#### Inherited from
|
|
22
|
+
|
|
23
|
+
`ICatalogueBase.issuer`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### validFrom
|
|
28
|
+
|
|
29
|
+
> **validFrom**: `string`
|
|
30
|
+
|
|
31
|
+
Valid from (as per W3C VC Data Model v2)
|
|
32
|
+
|
|
33
|
+
#### Inherited from
|
|
34
|
+
|
|
35
|
+
`ICatalogueBase.validFrom`
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### validUntil
|
|
40
|
+
|
|
41
|
+
> **validUntil**: `string`
|
|
42
|
+
|
|
43
|
+
Valid until (as per W3C VC Data Model v2)
|
|
44
|
+
|
|
45
|
+
#### Inherited from
|
|
46
|
+
|
|
47
|
+
`ICatalogueBase.validUntil`
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### dateCreated
|
|
52
|
+
|
|
53
|
+
> **dateCreated**: `string`
|
|
54
|
+
|
|
55
|
+
The creation date.
|
|
56
|
+
|
|
57
|
+
#### Inherited from
|
|
58
|
+
|
|
59
|
+
`ICatalogueBase.dateCreated`
|
|
60
|
+
|
|
61
|
+
***
|
|
62
|
+
|
|
63
|
+
### evidence
|
|
64
|
+
|
|
65
|
+
> **evidence**: `string`[]
|
|
66
|
+
|
|
67
|
+
The evidences concerning the data resource.
|
|
68
|
+
|
|
69
|
+
#### Inherited from
|
|
70
|
+
|
|
71
|
+
`ICatalogueBase.evidence`
|
|
72
|
+
|
|
73
|
+
***
|
|
74
|
+
|
|
75
|
+
### @context
|
|
76
|
+
|
|
77
|
+
> **@context**: [`FederatedCatalogueContextType`](../type-aliases/FederatedCatalogueContextType.md)
|
|
78
|
+
|
|
79
|
+
The LD Context
|
|
80
|
+
|
|
81
|
+
#### Overrides
|
|
82
|
+
|
|
83
|
+
`IDataResource.@context`
|
|
84
|
+
|
|
85
|
+
***
|
|
86
|
+
|
|
87
|
+
### producedBy
|
|
88
|
+
|
|
89
|
+
> **producedBy**: `string`
|
|
90
|
+
|
|
91
|
+
Overwriting producedBy as we only store the identifier
|
|
92
|
+
|
|
93
|
+
#### Overrides
|
|
94
|
+
|
|
95
|
+
`IDataResource.producedBy`
|
|
96
|
+
|
|
97
|
+
***
|
|
98
|
+
|
|
99
|
+
### copyrightOwnedBy
|
|
100
|
+
|
|
101
|
+
> **copyrightOwnedBy**: `string`
|
|
102
|
+
|
|
103
|
+
Overwriting copyrightOwnedBy as we only store the identifier
|
|
104
|
+
|
|
105
|
+
#### Overrides
|
|
106
|
+
|
|
107
|
+
`IDataResource.copyrightOwnedBy`
|
|
108
|
+
|
|
109
|
+
***
|
|
110
|
+
|
|
111
|
+
### exposedThrough
|
|
112
|
+
|
|
113
|
+
> **exposedThrough**: `string`
|
|
114
|
+
|
|
115
|
+
Overwriting exposedThrough as we only store the id of the Data Exchange Component
|
|
116
|
+
|
|
117
|
+
#### Overrides
|
|
118
|
+
|
|
119
|
+
`IDataResource.exposedThrough`
|
|
120
|
+
|
|
121
|
+
***
|
|
122
|
+
|
|
123
|
+
### resourcePolicy
|
|
124
|
+
|
|
125
|
+
> **resourcePolicy**: `IOdrlPolicy`[]
|
|
126
|
+
|
|
127
|
+
Overwriting to ensure always an array is stored
|
|
128
|
+
|
|
129
|
+
#### Overrides
|
|
130
|
+
|
|
131
|
+
`IDataResource.resourcePolicy`
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Interface: IDataResourceList
|
|
2
|
+
|
|
3
|
+
Interface describing a list of Data Resource entries.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### @context
|
|
8
|
+
|
|
9
|
+
> **@context**: [`FederatedCatalogueContextType`](../type-aliases/FederatedCatalogueContextType.md)
|
|
10
|
+
|
|
11
|
+
The LD Context.
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### type
|
|
16
|
+
|
|
17
|
+
> **type**: `"ItemList"`
|
|
18
|
+
|
|
19
|
+
The type
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### itemListElement
|
|
24
|
+
|
|
25
|
+
> **itemListElement**: `Omit`\<[`IDataResourceEntry`](IDataResourceEntry.md), `"@context"`\>[]
|
|
26
|
+
|
|
27
|
+
The components of the Collection
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### nextItem?
|
|
32
|
+
|
|
33
|
+
> `optional` **nextItem**: `string`
|
|
34
|
+
|
|
35
|
+
Next item cursor.
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Interface: IDataResourceListRequest
|
|
2
|
+
|
|
3
|
+
Get the a list of the data resource entries.
|
|
4
|
+
|
|
5
|
+
## Extends
|
|
6
|
+
|
|
7
|
+
- [`IFederatedCatalogueGetRequest`](IFederatedCatalogueGetRequest.md)
|
|
8
|
+
|
|
9
|
+
## Properties
|
|
10
|
+
|
|
11
|
+
### query
|
|
12
|
+
|
|
13
|
+
> **query**: `object`
|
|
14
|
+
|
|
15
|
+
The query parameters.
|
|
16
|
+
|
|
17
|
+
#### id?
|
|
18
|
+
|
|
19
|
+
> `optional` **id**: `string`
|
|
20
|
+
|
|
21
|
+
The Id of the Data Resource.
|
|
22
|
+
|
|
23
|
+
#### producedBy?
|
|
24
|
+
|
|
25
|
+
> `optional` **producedBy**: `string`
|
|
26
|
+
|
|
27
|
+
The service provider.
|
|
28
|
+
|
|
29
|
+
#### cursor?
|
|
30
|
+
|
|
31
|
+
> `optional` **cursor**: `string`
|
|
32
|
+
|
|
33
|
+
The optional cursor to get next chunk.
|
|
34
|
+
|
|
35
|
+
#### pageSize?
|
|
36
|
+
|
|
37
|
+
> `optional` **pageSize**: `number`
|
|
38
|
+
|
|
39
|
+
The maximum number of entities in a page.
|
|
40
|
+
|
|
41
|
+
***
|
|
42
|
+
|
|
43
|
+
### headers?
|
|
44
|
+
|
|
45
|
+
> `optional` **headers**: `object`
|
|
46
|
+
|
|
47
|
+
The headers which can be used to determine the response data type.
|
|
48
|
+
|
|
49
|
+
#### accept
|
|
50
|
+
|
|
51
|
+
> **accept**: `"application/json"` \| `"application/ld+json"`
|
|
52
|
+
|
|
53
|
+
#### Inherited from
|
|
54
|
+
|
|
55
|
+
[`IFederatedCatalogueGetRequest`](IFederatedCatalogueGetRequest.md).[`headers`](IFederatedCatalogueGetRequest.md#headers)
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
# Interface: IDataSpaceConnector
|
|
2
|
+
|
|
3
|
+
TWIN Data Space Connector.
|
|
4
|
+
|
|
5
|
+
## Extends
|
|
6
|
+
|
|
7
|
+
- `IDataExchangeComponent`
|
|
8
|
+
|
|
9
|
+
## Extended by
|
|
10
|
+
|
|
11
|
+
- [`IDataSpaceConnectorEntry`](IDataSpaceConnectorEntry.md)
|
|
12
|
+
|
|
13
|
+
## Indexable
|
|
14
|
+
|
|
15
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdIdMap` \| `IJsonLdNodeObject` \| `IJsonLdListObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdSetObject` \| `IJsonLdJsonObject` \| `IJsonLdIndexMap` \| `IJsonLdLanguageMap` \| `IJsonLdGraphObject` \| `IJsonLdNodeObject`[] \| `IJsonLdJsonObject`[] \| \{[`key`: `string`]: `string`; \} \| `IJsonLdTypeMap` \| `IJsonLdNodePrimitive`[]
|
|
16
|
+
|
|
17
|
+
## Properties
|
|
18
|
+
|
|
19
|
+
### @context
|
|
20
|
+
|
|
21
|
+
> **@context**: `GaiaXContextType`
|
|
22
|
+
|
|
23
|
+
The LD Context.
|
|
24
|
+
|
|
25
|
+
#### Overrides
|
|
26
|
+
|
|
27
|
+
`IDataExchangeComponent.@context`
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### id
|
|
32
|
+
|
|
33
|
+
> **id**: `string`
|
|
34
|
+
|
|
35
|
+
A unique identifier given to this Data Space Connector.
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### type
|
|
40
|
+
|
|
41
|
+
> **type**: \[`"DataExchangeComponent"`, `"DataSpaceConnector"`, `...string[]`\]
|
|
42
|
+
|
|
43
|
+
A Connector is a Data Exchange Component
|
|
44
|
+
|
|
45
|
+
#### Overrides
|
|
46
|
+
|
|
47
|
+
`IDataExchangeComponent.type`
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### identity
|
|
52
|
+
|
|
53
|
+
> **identity**: `string`
|
|
54
|
+
|
|
55
|
+
Connector's Identity that allows to know public key of this Connector.
|
|
56
|
+
|
|
57
|
+
***
|
|
58
|
+
|
|
59
|
+
### maintainer
|
|
60
|
+
|
|
61
|
+
> **maintainer**: `string`
|
|
62
|
+
|
|
63
|
+
Who maintains this Data Space Connector.
|
|
64
|
+
|
|
65
|
+
***
|
|
66
|
+
|
|
67
|
+
### name?
|
|
68
|
+
|
|
69
|
+
> `optional` **name**: `string`
|
|
70
|
+
|
|
71
|
+
The name of this Data Space Connector
|
|
72
|
+
|
|
73
|
+
***
|
|
74
|
+
|
|
75
|
+
### description?
|
|
76
|
+
|
|
77
|
+
> `optional` **description**: `string`
|
|
78
|
+
|
|
79
|
+
A description of this Data Space Connector
|
|
80
|
+
|
|
81
|
+
***
|
|
82
|
+
|
|
83
|
+
### defaultEndpoint
|
|
84
|
+
|
|
85
|
+
> **defaultEndpoint**: `IEndpoint`
|
|
86
|
+
|
|
87
|
+
The default endpoint of the Connector.
|
|
88
|
+
This endpoint can be used as a base to guess other endpoints in case they are not explicitly declared.
|
|
89
|
+
|
|
90
|
+
***
|
|
91
|
+
|
|
92
|
+
### subscriptionActivityEndpoint?
|
|
93
|
+
|
|
94
|
+
> `optional` **subscriptionActivityEndpoint**: `IEndpoint`
|
|
95
|
+
|
|
96
|
+
The endpoint used for data subscription by Consumers.
|
|
97
|
+
If the endpoint URL is a relative reference to a URL then it should be resolved using the
|
|
98
|
+
default endpoint URL as a base URL.
|
|
99
|
+
|
|
100
|
+
***
|
|
101
|
+
|
|
102
|
+
### pushActivityEndpoint
|
|
103
|
+
|
|
104
|
+
> **pushActivityEndpoint**: `IEndpoint`
|
|
105
|
+
|
|
106
|
+
The endpoint used by Providers to push data.
|
|
107
|
+
If the endpoint URL is a relative reference to a URL then it should be resolved using the
|
|
108
|
+
default endpoint URL as a base URL.
|
|
109
|
+
|
|
110
|
+
***
|
|
111
|
+
|
|
112
|
+
### pullDataEndpoint
|
|
113
|
+
|
|
114
|
+
> **pullDataEndpoint**: `IEndpoint`
|
|
115
|
+
|
|
116
|
+
The endpoint used by Consumers to pull data from.
|
|
117
|
+
If the endpoint URL is a relative reference to a URL then it should be resolved using the
|
|
118
|
+
default endpoint URL as a base URL.
|
|
119
|
+
|
|
120
|
+
***
|
|
121
|
+
|
|
122
|
+
### offeredResource
|
|
123
|
+
|
|
124
|
+
> **offeredResource**: `string`[] \| \{[`resourceId`: `string`]: `IDataResource` \| `IJsonLdNodeObject` & `object`; \}
|
|
125
|
+
|
|
126
|
+
The resources offered by this Connector.
|
|
127
|
+
A resource index is usually a relative reference to the default endpoint base URL.
|
|
128
|
+
Nonetheless if the resource already declares an endpoint URL that one should be taken.
|
|
129
|
+
It is captured the case where the Data Resource is supplied
|
|
130
|
+
via a list of identifiers or through a map indexed by Id
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Interface: IDataSpaceConnectorCredential
|
|
2
|
+
|
|
3
|
+
Participant Credential.
|
|
4
|
+
|
|
5
|
+
## Extends
|
|
6
|
+
|
|
7
|
+
- [`ICredential`](ICredential.md)
|
|
8
|
+
|
|
9
|
+
## Properties
|
|
10
|
+
|
|
11
|
+
### id
|
|
12
|
+
|
|
13
|
+
> **id**: `string`
|
|
14
|
+
|
|
15
|
+
The Id of the credential, it is mandatory.
|
|
16
|
+
|
|
17
|
+
#### Inherited from
|
|
18
|
+
|
|
19
|
+
[`ICredential`](ICredential.md).[`id`](ICredential.md#id)
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### issuer
|
|
24
|
+
|
|
25
|
+
> **issuer**: `string`
|
|
26
|
+
|
|
27
|
+
The issuer of the credential, it is mandatory.
|
|
28
|
+
|
|
29
|
+
#### Inherited from
|
|
30
|
+
|
|
31
|
+
[`ICredential`](ICredential.md).[`issuer`](ICredential.md#issuer)
|
|
32
|
+
|
|
33
|
+
***
|
|
34
|
+
|
|
35
|
+
### credentialSubject
|
|
36
|
+
|
|
37
|
+
> **credentialSubject**: [`IDataSpaceConnector`](IDataSpaceConnector.md)
|
|
38
|
+
|
|
39
|
+
The Credential Subject
|
|
40
|
+
|
|
41
|
+
#### Overrides
|
|
42
|
+
|
|
43
|
+
[`ICredential`](ICredential.md).[`credentialSubject`](ICredential.md#credentialsubject)
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
# Interface: IDataSpaceConnectorEntry
|
|
2
|
+
|
|
3
|
+
Interface describing a participant.
|
|
4
|
+
|
|
5
|
+
## Extends
|
|
6
|
+
|
|
7
|
+
- [`IDataSpaceConnector`](IDataSpaceConnector.md).`ICatalogueBase`
|
|
8
|
+
|
|
9
|
+
## Indexable
|
|
10
|
+
|
|
11
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdIdMap` \| `IJsonLdNodeObject` \| `IJsonLdListObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdSetObject` \| `IJsonLdJsonObject` \| `IJsonLdIndexMap` \| `IJsonLdLanguageMap` \| `IJsonLdGraphObject` \| `IJsonLdNodeObject`[] \| `IJsonLdJsonObject`[] \| \{[`key`: `string`]: `string`; \} \| `IJsonLdTypeMap` \| `IJsonLdNodePrimitive`[]
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
### issuer
|
|
16
|
+
|
|
17
|
+
> **issuer**: `string`
|
|
18
|
+
|
|
19
|
+
The trusted issuer of the compliance credential
|
|
20
|
+
|
|
21
|
+
#### Inherited from
|
|
22
|
+
|
|
23
|
+
`ICatalogueBase.issuer`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### validFrom
|
|
28
|
+
|
|
29
|
+
> **validFrom**: `string`
|
|
30
|
+
|
|
31
|
+
Valid from (as per W3C VC Data Model v2)
|
|
32
|
+
|
|
33
|
+
#### Inherited from
|
|
34
|
+
|
|
35
|
+
`ICatalogueBase.validFrom`
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### validUntil
|
|
40
|
+
|
|
41
|
+
> **validUntil**: `string`
|
|
42
|
+
|
|
43
|
+
Valid until (as per W3C VC Data Model v2)
|
|
44
|
+
|
|
45
|
+
#### Inherited from
|
|
46
|
+
|
|
47
|
+
`ICatalogueBase.validUntil`
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### dateCreated
|
|
52
|
+
|
|
53
|
+
> **dateCreated**: `string`
|
|
54
|
+
|
|
55
|
+
The creation date.
|
|
56
|
+
|
|
57
|
+
#### Inherited from
|
|
58
|
+
|
|
59
|
+
`ICatalogueBase.dateCreated`
|
|
60
|
+
|
|
61
|
+
***
|
|
62
|
+
|
|
63
|
+
### evidence
|
|
64
|
+
|
|
65
|
+
> **evidence**: `string`[]
|
|
66
|
+
|
|
67
|
+
The evidences concerning the data resource.
|
|
68
|
+
|
|
69
|
+
#### Inherited from
|
|
70
|
+
|
|
71
|
+
`ICatalogueBase.evidence`
|
|
72
|
+
|
|
73
|
+
***
|
|
74
|
+
|
|
75
|
+
### id
|
|
76
|
+
|
|
77
|
+
> **id**: `string`
|
|
78
|
+
|
|
79
|
+
A unique identifier given to this Data Space Connector.
|
|
80
|
+
|
|
81
|
+
#### Inherited from
|
|
82
|
+
|
|
83
|
+
[`IDataSpaceConnector`](IDataSpaceConnector.md).[`id`](IDataSpaceConnector.md#id)
|
|
84
|
+
|
|
85
|
+
***
|
|
86
|
+
|
|
87
|
+
### type
|
|
88
|
+
|
|
89
|
+
> **type**: \[`"DataExchangeComponent"`, `"DataSpaceConnector"`, `...string[]`\]
|
|
90
|
+
|
|
91
|
+
A Connector is a Data Exchange Component
|
|
92
|
+
|
|
93
|
+
#### Inherited from
|
|
94
|
+
|
|
95
|
+
[`IDataSpaceConnector`](IDataSpaceConnector.md).[`type`](IDataSpaceConnector.md#type)
|
|
96
|
+
|
|
97
|
+
***
|
|
98
|
+
|
|
99
|
+
### identity
|
|
100
|
+
|
|
101
|
+
> **identity**: `string`
|
|
102
|
+
|
|
103
|
+
Connector's Identity that allows to know public key of this Connector.
|
|
104
|
+
|
|
105
|
+
#### Inherited from
|
|
106
|
+
|
|
107
|
+
[`IDataSpaceConnector`](IDataSpaceConnector.md).[`identity`](IDataSpaceConnector.md#identity)
|
|
108
|
+
|
|
109
|
+
***
|
|
110
|
+
|
|
111
|
+
### maintainer
|
|
112
|
+
|
|
113
|
+
> **maintainer**: `string`
|
|
114
|
+
|
|
115
|
+
Who maintains this Data Space Connector.
|
|
116
|
+
|
|
117
|
+
#### Inherited from
|
|
118
|
+
|
|
119
|
+
[`IDataSpaceConnector`](IDataSpaceConnector.md).[`maintainer`](IDataSpaceConnector.md#maintainer)
|
|
120
|
+
|
|
121
|
+
***
|
|
122
|
+
|
|
123
|
+
### name?
|
|
124
|
+
|
|
125
|
+
> `optional` **name**: `string`
|
|
126
|
+
|
|
127
|
+
The name of this Data Space Connector
|
|
128
|
+
|
|
129
|
+
#### Inherited from
|
|
130
|
+
|
|
131
|
+
[`IDataSpaceConnector`](IDataSpaceConnector.md).[`name`](IDataSpaceConnector.md#name)
|
|
132
|
+
|
|
133
|
+
***
|
|
134
|
+
|
|
135
|
+
### description?
|
|
136
|
+
|
|
137
|
+
> `optional` **description**: `string`
|
|
138
|
+
|
|
139
|
+
A description of this Data Space Connector
|
|
140
|
+
|
|
141
|
+
#### Inherited from
|
|
142
|
+
|
|
143
|
+
[`IDataSpaceConnector`](IDataSpaceConnector.md).[`description`](IDataSpaceConnector.md#description)
|
|
144
|
+
|
|
145
|
+
***
|
|
146
|
+
|
|
147
|
+
### defaultEndpoint
|
|
148
|
+
|
|
149
|
+
> **defaultEndpoint**: `IEndpoint`
|
|
150
|
+
|
|
151
|
+
The default endpoint of the Connector.
|
|
152
|
+
This endpoint can be used as a base to guess other endpoints in case they are not explicitly declared.
|
|
153
|
+
|
|
154
|
+
#### Inherited from
|
|
155
|
+
|
|
156
|
+
[`IDataSpaceConnector`](IDataSpaceConnector.md).[`defaultEndpoint`](IDataSpaceConnector.md#defaultendpoint)
|
|
157
|
+
|
|
158
|
+
***
|
|
159
|
+
|
|
160
|
+
### subscriptionActivityEndpoint?
|
|
161
|
+
|
|
162
|
+
> `optional` **subscriptionActivityEndpoint**: `IEndpoint`
|
|
163
|
+
|
|
164
|
+
The endpoint used for data subscription by Consumers.
|
|
165
|
+
If the endpoint URL is a relative reference to a URL then it should be resolved using the
|
|
166
|
+
default endpoint URL as a base URL.
|
|
167
|
+
|
|
168
|
+
#### Inherited from
|
|
169
|
+
|
|
170
|
+
[`IDataSpaceConnector`](IDataSpaceConnector.md).[`subscriptionActivityEndpoint`](IDataSpaceConnector.md#subscriptionactivityendpoint)
|
|
171
|
+
|
|
172
|
+
***
|
|
173
|
+
|
|
174
|
+
### pushActivityEndpoint
|
|
175
|
+
|
|
176
|
+
> **pushActivityEndpoint**: `IEndpoint`
|
|
177
|
+
|
|
178
|
+
The endpoint used by Providers to push data.
|
|
179
|
+
If the endpoint URL is a relative reference to a URL then it should be resolved using the
|
|
180
|
+
default endpoint URL as a base URL.
|
|
181
|
+
|
|
182
|
+
#### Inherited from
|
|
183
|
+
|
|
184
|
+
[`IDataSpaceConnector`](IDataSpaceConnector.md).[`pushActivityEndpoint`](IDataSpaceConnector.md#pushactivityendpoint)
|
|
185
|
+
|
|
186
|
+
***
|
|
187
|
+
|
|
188
|
+
### pullDataEndpoint
|
|
189
|
+
|
|
190
|
+
> **pullDataEndpoint**: `IEndpoint`
|
|
191
|
+
|
|
192
|
+
The endpoint used by Consumers to pull data from.
|
|
193
|
+
If the endpoint URL is a relative reference to a URL then it should be resolved using the
|
|
194
|
+
default endpoint URL as a base URL.
|
|
195
|
+
|
|
196
|
+
#### Inherited from
|
|
197
|
+
|
|
198
|
+
[`IDataSpaceConnector`](IDataSpaceConnector.md).[`pullDataEndpoint`](IDataSpaceConnector.md#pulldataendpoint)
|
|
199
|
+
|
|
200
|
+
***
|
|
201
|
+
|
|
202
|
+
### @context
|
|
203
|
+
|
|
204
|
+
> **@context**: [`FederatedCatalogueContextType`](../type-aliases/FederatedCatalogueContextType.md)
|
|
205
|
+
|
|
206
|
+
The LD Context
|
|
207
|
+
|
|
208
|
+
#### Overrides
|
|
209
|
+
|
|
210
|
+
[`IDataSpaceConnector`](IDataSpaceConnector.md).[`@context`](IDataSpaceConnector.md#context)
|
|
211
|
+
|
|
212
|
+
***
|
|
213
|
+
|
|
214
|
+
### offeredResource
|
|
215
|
+
|
|
216
|
+
> **offeredResource**: `string`[]
|
|
217
|
+
|
|
218
|
+
Offered resources. Probably in the future this wll be separated in a different entry so
|
|
219
|
+
that a Data Space Connector entry does not need to be modified when a new Data Resource
|
|
220
|
+
is offered.
|
|
221
|
+
|
|
222
|
+
#### Overrides
|
|
223
|
+
|
|
224
|
+
[`IDataSpaceConnector`](IDataSpaceConnector.md).[`offeredResource`](IDataSpaceConnector.md#offeredresource)
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Interface: IDataSpaceConnectorList
|
|
2
|
+
|
|
3
|
+
Interface describing a list of Data Space Connectors.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### @context
|
|
8
|
+
|
|
9
|
+
> **@context**: [`FederatedCatalogueContextType`](../type-aliases/FederatedCatalogueContextType.md)
|
|
10
|
+
|
|
11
|
+
The LD Context.
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### type
|
|
16
|
+
|
|
17
|
+
> **type**: `"ItemList"`
|
|
18
|
+
|
|
19
|
+
The type
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### itemListElement
|
|
24
|
+
|
|
25
|
+
> **itemListElement**: `Omit`\<[`IDataSpaceConnectorEntry`](IDataSpaceConnectorEntry.md), `"@context"`\>[]
|
|
26
|
+
|
|
27
|
+
The components of the Collection
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### nextItem?
|
|
32
|
+
|
|
33
|
+
> `optional` **nextItem**: `string`
|
|
34
|
+
|
|
35
|
+
Next item cursor.
|