@twin.org/federated-catalogue-models 0.0.1-next.10

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.
Files changed (97) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +21 -0
  3. package/dist/cjs/index.cjs +1212 -0
  4. package/dist/esm/index.mjs +1206 -0
  5. package/dist/types/dataTypes/federatedCatalogueDataTypes.d.ts +9 -0
  6. package/dist/types/index.d.ts +42 -0
  7. package/dist/types/models/ICatalogueBase.d.ts +25 -0
  8. package/dist/types/models/ICatalogueEntry.d.ts +8 -0
  9. package/dist/types/models/IComplianceCredential.d.ts +37 -0
  10. package/dist/types/models/IComplianceEvidence.d.ts +26 -0
  11. package/dist/types/models/IComplianceVerificationResult.d.ts +19 -0
  12. package/dist/types/models/ICredential.d.ts +21 -0
  13. package/dist/types/models/IFederatedCatalogueComponent.d.ts +89 -0
  14. package/dist/types/models/IVerificationResult.d.ts +13 -0
  15. package/dist/types/models/api/ICatalogueEntryGetRequest.d.ts +15 -0
  16. package/dist/types/models/api/ICompliancePresentationRequest.d.ts +9 -0
  17. package/dist/types/models/api/IDataResourceGetResponse.d.ts +10 -0
  18. package/dist/types/models/api/IDataResourceListRequest.d.ts +27 -0
  19. package/dist/types/models/api/IDataResourceListResponse.d.ts +10 -0
  20. package/dist/types/models/api/IDataSpaceConnectorGetResponse.d.ts +10 -0
  21. package/dist/types/models/api/IDataSpaceConnectorListRequest.d.ts +27 -0
  22. package/dist/types/models/api/IDataSpaceConnectorListResponse.d.ts +10 -0
  23. package/dist/types/models/api/IFederatedCatalogueGetRequest.d.ts +12 -0
  24. package/dist/types/models/api/IParticipantGetResponse.d.ts +10 -0
  25. package/dist/types/models/api/IParticipantListRequest.d.ts +31 -0
  26. package/dist/types/models/api/IParticipantListResponse.d.ts +10 -0
  27. package/dist/types/models/api/IServiceOfferingGetResponse.d.ts +10 -0
  28. package/dist/types/models/api/IServiceOfferingListRequest.d.ts +27 -0
  29. package/dist/types/models/api/IServiceOfferingListResponse.d.ts +10 -0
  30. package/dist/types/models/data-resource/IDataResourceCredential.d.ts +11 -0
  31. package/dist/types/models/data-resource/IDataResourceEntry.d.ts +29 -0
  32. package/dist/types/models/data-resource/IDataResourceList.d.ts +25 -0
  33. package/dist/types/models/data-space-connector/IDataSpaceConnector.d.ts +77 -0
  34. package/dist/types/models/data-space-connector/IDataSpaceConnectorCredential.d.ts +11 -0
  35. package/dist/types/models/data-space-connector/IDataSpaceConnectorEntry.d.ts +18 -0
  36. package/dist/types/models/data-space-connector/IDataSpaceConnectorList.d.ts +25 -0
  37. package/dist/types/models/federatedCatalogueContextInstances.d.ts +14 -0
  38. package/dist/types/models/federatedCatalogueContextType.d.ts +11 -0
  39. package/dist/types/models/federatedCatalogueContexts.d.ts +13 -0
  40. package/dist/types/models/federatedCatalogueEntryType.d.ts +7 -0
  41. package/dist/types/models/federatedCatalogueTypes.d.ts +53 -0
  42. package/dist/types/models/participant/IParticipantCredential.d.ts +11 -0
  43. package/dist/types/models/participant/IParticipantEntry.d.ts +12 -0
  44. package/dist/types/models/participant/IParticipantList.d.ts +25 -0
  45. package/dist/types/models/service-offering/IServiceOfferingCredential.d.ts +11 -0
  46. package/dist/types/models/service-offering/IServiceOfferingEntry.d.ts +25 -0
  47. package/dist/types/models/service-offering/IServiceOfferingList.d.ts +25 -0
  48. package/dist/types/models/verificationFailureReasons.d.ts +53 -0
  49. package/docs/changelog.md +73 -0
  50. package/docs/examples.md +1 -0
  51. package/docs/reference/classes/FederatedCatalogueContextInstances.md +29 -0
  52. package/docs/reference/classes/FederatedCatalogueDataTypes.md +25 -0
  53. package/docs/reference/index.md +58 -0
  54. package/docs/reference/interfaces/ICatalogueEntryGetRequest.md +37 -0
  55. package/docs/reference/interfaces/IComplianceCredential.md +103 -0
  56. package/docs/reference/interfaces/IComplianceEvidence.md +45 -0
  57. package/docs/reference/interfaces/ICompliancePresentationRequest.md +11 -0
  58. package/docs/reference/interfaces/IComplianceVerificationResult.md +55 -0
  59. package/docs/reference/interfaces/ICredential.md +51 -0
  60. package/docs/reference/interfaces/IDataResourceCredential.md +43 -0
  61. package/docs/reference/interfaces/IDataResourceEntry.md +131 -0
  62. package/docs/reference/interfaces/IDataResourceGetResponse.md +11 -0
  63. package/docs/reference/interfaces/IDataResourceList.md +35 -0
  64. package/docs/reference/interfaces/IDataResourceListRequest.md +55 -0
  65. package/docs/reference/interfaces/IDataResourceListResponse.md +11 -0
  66. package/docs/reference/interfaces/IDataSpaceConnector.md +130 -0
  67. package/docs/reference/interfaces/IDataSpaceConnectorCredential.md +43 -0
  68. package/docs/reference/interfaces/IDataSpaceConnectorEntry.md +224 -0
  69. package/docs/reference/interfaces/IDataSpaceConnectorGetResponse.md +11 -0
  70. package/docs/reference/interfaces/IDataSpaceConnectorList.md +35 -0
  71. package/docs/reference/interfaces/IDataSpaceConnectorListRequest.md +55 -0
  72. package/docs/reference/interfaces/IDataSpaceConnectorListResponse.md +11 -0
  73. package/docs/reference/interfaces/IFederatedCatalogueComponent.md +313 -0
  74. package/docs/reference/interfaces/IFederatedCatalogueGetRequest.md +23 -0
  75. package/docs/reference/interfaces/IParticipantCredential.md +43 -0
  76. package/docs/reference/interfaces/IParticipantEntry.md +83 -0
  77. package/docs/reference/interfaces/IParticipantGetResponse.md +11 -0
  78. package/docs/reference/interfaces/IParticipantList.md +35 -0
  79. package/docs/reference/interfaces/IParticipantListRequest.md +61 -0
  80. package/docs/reference/interfaces/IParticipantListResponse.md +11 -0
  81. package/docs/reference/interfaces/IServiceOfferingCredential.md +43 -0
  82. package/docs/reference/interfaces/IServiceOfferingEntry.md +119 -0
  83. package/docs/reference/interfaces/IServiceOfferingGetResponse.md +11 -0
  84. package/docs/reference/interfaces/IServiceOfferingList.md +35 -0
  85. package/docs/reference/interfaces/IServiceOfferingListRequest.md +55 -0
  86. package/docs/reference/interfaces/IServiceOfferingListResponse.md +11 -0
  87. package/docs/reference/interfaces/IVerificationResult.md +23 -0
  88. package/docs/reference/type-aliases/FederatedCatalogueContextType.md +5 -0
  89. package/docs/reference/type-aliases/FederatedCatalogueContexts.md +5 -0
  90. package/docs/reference/type-aliases/FederatedCatalogueEntryType.md +5 -0
  91. package/docs/reference/type-aliases/FederatedCatalogueTypes.md +5 -0
  92. package/docs/reference/type-aliases/ICatalogueEntry.md +5 -0
  93. package/docs/reference/type-aliases/VerificationFailureReasons.md +5 -0
  94. package/docs/reference/variables/FederatedCatalogueContexts.md +13 -0
  95. package/docs/reference/variables/FederatedCatalogueTypes.md +73 -0
  96. package/docs/reference/variables/VerificationFailureReasons.md +73 -0
  97. package/package.json +45 -0
@@ -0,0 +1,103 @@
1
+ # Interface: IComplianceCredential
2
+
3
+ A Compliance credential.
4
+
5
+ ## Extends
6
+
7
+ - [`ICredential`](ICredential.md)
8
+
9
+ ## Properties
10
+
11
+ ### @context
12
+
13
+ > **@context**: \[`"https://www.w3.org/ns/credentials/v2"`, `"https://w3id.org/gaia-x/development"`, `"https://w3id.org/security/suites/jws-2020/v1"`, `...IJsonLdContextDefinitionElement[]`\]
14
+
15
+ The LD Context.
16
+
17
+ #### Overrides
18
+
19
+ `ICredential.@context`
20
+
21
+ ***
22
+
23
+ ### type
24
+
25
+ > **type**: \[`"VerifiableCredential"`, `"ComplianceCredential"`\]
26
+
27
+ Type of Credential.
28
+
29
+ #### Overrides
30
+
31
+ `ICredential.type`
32
+
33
+ ***
34
+
35
+ ### validFrom
36
+
37
+ > **validFrom**: `string`
38
+
39
+ A compliance credential requires a validity period
40
+
41
+ #### Overrides
42
+
43
+ `ICredential.validFrom`
44
+
45
+ ***
46
+
47
+ ### validUntil
48
+
49
+ > **validUntil**: `string`
50
+
51
+ A compliance credential requires a validity period
52
+
53
+ #### Overrides
54
+
55
+ `ICredential.validUntil`
56
+
57
+ ***
58
+
59
+ ### evidence
60
+
61
+ > **evidence**: [`IComplianceEvidence`](IComplianceEvidence.md)[]
62
+
63
+ Compliance evidence. It is mandatory.
64
+
65
+ #### Overrides
66
+
67
+ `ICredential.evidence`
68
+
69
+ ***
70
+
71
+ ### id
72
+
73
+ > **id**: `string`
74
+
75
+ The Id of the credential, it is mandatory.
76
+
77
+ #### Inherited from
78
+
79
+ [`ICredential`](ICredential.md).[`id`](ICredential.md#id)
80
+
81
+ ***
82
+
83
+ ### issuer
84
+
85
+ > **issuer**: `string`
86
+
87
+ The issuer of the credential, it is mandatory.
88
+
89
+ #### Inherited from
90
+
91
+ [`ICredential`](ICredential.md).[`issuer`](ICredential.md#issuer)
92
+
93
+ ***
94
+
95
+ ### credentialSubject
96
+
97
+ > **credentialSubject**: `IJsonLdNodeObject` & `object` \| `IJsonLdNodeObject`[] & `object`
98
+
99
+ Credential subject must always include id and type
100
+
101
+ #### Inherited from
102
+
103
+ [`ICredential`](ICredential.md).[`credentialSubject`](ICredential.md#credentialsubject)
@@ -0,0 +1,45 @@
1
+ # Interface: IComplianceEvidence
2
+
3
+ Compliance Evidence.
4
+
5
+ ## Extends
6
+
7
+ - `IJsonLdNodeObject`
8
+
9
+ ## Indexable
10
+
11
+ \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string`]: `string`; \}
12
+
13
+ ## Properties
14
+
15
+ ### id
16
+
17
+ > **id**: `string`
18
+
19
+ Resolvable Id that allows to get access to the credential that serves as evidence.
20
+
21
+ ***
22
+
23
+ ### type
24
+
25
+ > **type**: `"CompliantCredential"`
26
+
27
+ Type of evidence.
28
+
29
+ ***
30
+
31
+ ### digestSRI
32
+
33
+ > **digestSRI**: `string`
34
+
35
+ One or more cryptographic digests, as defined by the hash-expression
36
+ ABNF grammar defined in the Sub-resource Integrity specification,
37
+ Section 3.5: The integrity attribute.
38
+
39
+ ***
40
+
41
+ ### credentialType
42
+
43
+ > **credentialType**: `string` \| `string`[]
44
+
45
+ Original type
@@ -0,0 +1,11 @@
1
+ # Interface: ICompliancePresentationRequest
2
+
3
+ Register a new Compliance Credential.
4
+
5
+ ## Properties
6
+
7
+ ### body
8
+
9
+ > **body**: `string`
10
+
11
+ The data to be used in the create.
@@ -0,0 +1,55 @@
1
+ # Interface: IComplianceVerificationResult
2
+
3
+ Compliance verification result
4
+
5
+ ## Extends
6
+
7
+ - [`IVerificationResult`](IVerificationResult.md)
8
+
9
+ ## Properties
10
+
11
+ ### credentials
12
+
13
+ > **credentials**: [`ICredential`](ICredential.md)[]
14
+
15
+ The credentials involved
16
+
17
+ ***
18
+
19
+ ### evidenceVerificationResult?
20
+
21
+ > `optional` **evidenceVerificationResult**: [`IVerificationResult`](IVerificationResult.md)
22
+
23
+ Filled in case an evidence cannot be verified to provide the reason
24
+
25
+ ***
26
+
27
+ ### evidenceFailedToVerify?
28
+
29
+ > `optional` **evidenceFailedToVerify**: `string`[]
30
+
31
+ The evidences that failed to be verified.
32
+
33
+ ***
34
+
35
+ ### verified
36
+
37
+ > **verified**: `boolean`
38
+
39
+ True if verified. False the opposite.
40
+
41
+ #### Inherited from
42
+
43
+ [`IVerificationResult`](IVerificationResult.md).[`verified`](IVerificationResult.md#verified)
44
+
45
+ ***
46
+
47
+ ### verificationFailureReason?
48
+
49
+ > `optional` **verificationFailureReason**: `string`
50
+
51
+ Verification failure reason.
52
+
53
+ #### Inherited from
54
+
55
+ [`IVerificationResult`](IVerificationResult.md).[`verificationFailureReason`](IVerificationResult.md#verificationfailurereason)
@@ -0,0 +1,51 @@
1
+ # Interface: ICredential
2
+
3
+ A credential with subject.
4
+
5
+ ## Extends
6
+
7
+ - `IDidVerifiableCredential`
8
+
9
+ ## Extended by
10
+
11
+ - [`IParticipantCredential`](IParticipantCredential.md)
12
+ - [`IDataResourceCredential`](IDataResourceCredential.md)
13
+ - [`IServiceOfferingCredential`](IServiceOfferingCredential.md)
14
+ - [`IDataSpaceConnectorCredential`](IDataSpaceConnectorCredential.md)
15
+ - [`IComplianceCredential`](IComplianceCredential.md)
16
+
17
+ ## Properties
18
+
19
+ ### id
20
+
21
+ > **id**: `string`
22
+
23
+ The Id of the credential, it is mandatory.
24
+
25
+ #### Overrides
26
+
27
+ `IDidVerifiableCredential.id`
28
+
29
+ ***
30
+
31
+ ### issuer
32
+
33
+ > **issuer**: `string`
34
+
35
+ The issuer of the credential, it is mandatory.
36
+
37
+ #### Overrides
38
+
39
+ `IDidVerifiableCredential.issuer`
40
+
41
+ ***
42
+
43
+ ### credentialSubject
44
+
45
+ > **credentialSubject**: `IJsonLdNodeObject` & `object` \| `IJsonLdNodeObject`[] & `object`
46
+
47
+ Credential subject must always include id and type
48
+
49
+ #### Overrides
50
+
51
+ `IDidVerifiableCredential.credentialSubject`
@@ -0,0 +1,43 @@
1
+ # Interface: IDataResourceCredential
2
+
3
+ Data Resource 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**: `IDataResource`
38
+
39
+ The subject of the Credential
40
+
41
+ #### Overrides
42
+
43
+ [`ICredential`](ICredential.md).[`credentialSubject`](ICredential.md#credentialsubject)
@@ -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`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string`]: `string`; \}
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,11 @@
1
+ # Interface: IDataResourceGetResponse
2
+
3
+ Service Offering response
4
+
5
+ ## Properties
6
+
7
+ ### body
8
+
9
+ > **body**: [`IDataResourceEntry`](IDataResourceEntry.md)
10
+
11
+ The response payload.
@@ -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,11 @@
1
+ # Interface: IDataResourceListResponse
2
+
3
+ Response fo data resource list.
4
+
5
+ ## Properties
6
+
7
+ ### body
8
+
9
+ > **body**: [`IDataResourceList`](IDataResourceList.md)
10
+
11
+ The response payload.
@@ -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`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string`]: `string`; \}
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