@twin.org/standards-dataspace-protocol 0.0.3-next.54 → 0.0.3-next.56

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 (171) hide show
  1. package/dist/es/dataTypes/catalogDataTypes.js +18 -39
  2. package/dist/es/dataTypes/catalogDataTypes.js.map +1 -1
  3. package/dist/es/dataTypes/dataspaceProtocolDataTypes.js +6 -0
  4. package/dist/es/dataTypes/dataspaceProtocolDataTypes.js.map +1 -1
  5. package/dist/es/index.js +10 -13
  6. package/dist/es/index.js.map +1 -1
  7. package/dist/es/models/catalog/dataspaceProtocolCatalogTypes.js +1 -33
  8. package/dist/es/models/catalog/dataspaceProtocolCatalogTypes.js.map +1 -1
  9. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractAgreementMessage.js.map +1 -1
  10. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractOfferMessage.js.map +1 -1
  11. package/dist/es/models/contractNegotiation/IDataspaceProtocolContractRequestMessage.js.map +1 -1
  12. package/dist/es/models/dataspaceProtocolContextType.js.map +1 -1
  13. package/dist/es/models/dcat3/IDataspaceProtocolCatalog.js.map +1 -1
  14. package/dist/es/models/dcat3/IDataspaceProtocolCatalogBase.js +2 -0
  15. package/dist/es/models/dcat3/IDataspaceProtocolCatalogBase.js.map +1 -0
  16. package/dist/es/models/dcat3/IDataspaceProtocolDataService.js.map +1 -1
  17. package/dist/es/models/dcat3/IDataspaceProtocolDataServiceBase.js +2 -0
  18. package/dist/es/models/dcat3/IDataspaceProtocolDataServiceBase.js.map +1 -0
  19. package/dist/es/models/dcat3/IDataspaceProtocolDataset.js.map +1 -1
  20. package/dist/es/models/dcat3/IDataspaceProtocolDatasetBase.js +2 -0
  21. package/dist/es/models/dcat3/IDataspaceProtocolDatasetBase.js.map +1 -0
  22. package/dist/es/models/dcat3/IDataspaceProtocolDistribution.js.map +1 -1
  23. package/dist/es/models/dcat3/IDataspaceProtocolDistributionBase.js +2 -0
  24. package/dist/es/models/dcat3/IDataspaceProtocolDistributionBase.js.map +1 -0
  25. package/dist/es/models/odrl/IDataspaceProtocolOffer.js.map +1 -1
  26. package/dist/es/models/odrl/IDataspaceProtocolOfferBase.js +2 -0
  27. package/dist/es/models/odrl/IDataspaceProtocolOfferBase.js.map +1 -0
  28. package/dist/es/schemas/DataspaceProtocolAgreement.json +181 -158
  29. package/dist/es/schemas/DataspaceProtocolCatalog.json +13 -3
  30. package/dist/es/schemas/DataspaceProtocolCatalogBase.json +428 -0
  31. package/dist/es/schemas/DataspaceProtocolCatalogError.json +4 -50
  32. package/dist/es/schemas/DataspaceProtocolCatalogRequestMessage.json +4 -50
  33. package/dist/es/schemas/DataspaceProtocolContextType.json +30 -0
  34. package/dist/es/schemas/DataspaceProtocolContractAgreementMessage.json +191 -52
  35. package/dist/es/schemas/DataspaceProtocolContractAgreementVerificationMessage.json +4 -50
  36. package/dist/es/schemas/DataspaceProtocolContractNegotiation.json +4 -50
  37. package/dist/es/schemas/DataspaceProtocolContractNegotiationError.json +4 -50
  38. package/dist/es/schemas/DataspaceProtocolContractNegotiationEventMessage.json +4 -50
  39. package/dist/es/schemas/DataspaceProtocolContractNegotiationEventType.json +11 -5
  40. package/dist/es/schemas/DataspaceProtocolContractNegotiationStateType.json +31 -10
  41. package/dist/es/schemas/DataspaceProtocolContractNegotiationTerminationMessage.json +4 -50
  42. package/dist/es/schemas/DataspaceProtocolContractOfferMessage.json +5 -51
  43. package/dist/es/schemas/DataspaceProtocolContractRequestMessage.json +5 -51
  44. package/dist/es/schemas/DataspaceProtocolDataAddress.json +2 -2
  45. package/dist/es/schemas/DataspaceProtocolDataService.json +21 -0
  46. package/dist/es/schemas/DataspaceProtocolDataServiceBase.json +285 -0
  47. package/dist/es/schemas/DataspaceProtocolDataset.json +13 -3
  48. package/dist/es/schemas/DataspaceProtocolDatasetBase.json +342 -0
  49. package/dist/es/schemas/DataspaceProtocolDatasetRequestMessage.json +4 -50
  50. package/dist/es/schemas/DataspaceProtocolDistribution.json +26 -0
  51. package/dist/es/schemas/DataspaceProtocolDistributionBase.json +170 -0
  52. package/dist/es/schemas/DataspaceProtocolEndpointProperty.json +2 -2
  53. package/dist/es/schemas/DataspaceProtocolOffer.json +10 -186
  54. package/dist/es/schemas/DataspaceProtocolOfferBase.json +219 -0
  55. package/dist/es/schemas/DataspaceProtocolPolicy.json +214 -202
  56. package/dist/es/schemas/DataspaceProtocolSet.json +225 -202
  57. package/dist/es/schemas/DataspaceProtocolTransferCompletionMessage.json +4 -50
  58. package/dist/es/schemas/DataspaceProtocolTransferError.json +4 -50
  59. package/dist/es/schemas/DataspaceProtocolTransferProcess.json +4 -50
  60. package/dist/es/schemas/DataspaceProtocolTransferRequestMessage.json +6 -52
  61. package/dist/es/schemas/DataspaceProtocolTransferStartMessage.json +5 -51
  62. package/dist/es/schemas/DataspaceProtocolTransferSuspensionMessage.json +4 -50
  63. package/dist/es/schemas/DataspaceProtocolTransferTerminationMessage.json +4 -50
  64. package/dist/types/index.d.ts +10 -13
  65. package/dist/types/models/catalog/dataspaceProtocolCatalogTypes.d.ts +0 -32
  66. package/dist/types/models/contractNegotiation/IDataspaceProtocolContractAgreementMessage.d.ts +3 -2
  67. package/dist/types/models/contractNegotiation/IDataspaceProtocolContractOfferMessage.d.ts +2 -2
  68. package/dist/types/models/contractNegotiation/IDataspaceProtocolContractRequestMessage.d.ts +2 -2
  69. package/dist/types/models/dataspaceProtocolContextType.d.ts +2 -9
  70. package/dist/types/models/dcat3/IDataspaceProtocolCatalog.d.ts +2 -37
  71. package/dist/types/models/dcat3/IDataspaceProtocolCatalogBase.d.ts +58 -0
  72. package/dist/types/models/dcat3/IDataspaceProtocolDataService.d.ts +2 -22
  73. package/dist/types/models/dcat3/IDataspaceProtocolDataServiceBase.d.ts +44 -0
  74. package/dist/types/models/dcat3/IDataspaceProtocolDataset.d.ts +2 -29
  75. package/dist/types/models/dcat3/IDataspaceProtocolDatasetBase.d.ts +61 -0
  76. package/dist/types/models/dcat3/IDataspaceProtocolDistribution.d.ts +4 -31
  77. package/dist/types/models/dcat3/IDataspaceProtocolDistributionBase.d.ts +66 -0
  78. package/dist/types/models/odrl/IDataspaceProtocolOffer.d.ts +7 -2
  79. package/dist/types/models/odrl/IDataspaceProtocolOfferBase.d.ts +18 -0
  80. package/docs/changelog.md +35 -0
  81. package/docs/reference/classes/CatalogDataTypes.md +1 -1
  82. package/docs/reference/classes/ContractNegotiationDataTypes.md +1 -1
  83. package/docs/reference/classes/DataspaceProtocolDataTypes.md +2 -2
  84. package/docs/reference/classes/DataspaceProtocolHelper.md +2 -2
  85. package/docs/reference/classes/TransferProcessDataTypes.md +1 -1
  86. package/docs/reference/index.md +5 -8
  87. package/docs/reference/interfaces/IDataspaceProtocolAgreement.md +21 -21
  88. package/docs/reference/interfaces/IDataspaceProtocolCatalog.md +129 -105
  89. package/docs/reference/interfaces/IDataspaceProtocolCatalogBase.md +570 -0
  90. package/docs/reference/interfaces/IDataspaceProtocolCatalogError.md +5 -5
  91. package/docs/reference/interfaces/IDataspaceProtocolCatalogRequestMessage.md +4 -4
  92. package/docs/reference/interfaces/IDataspaceProtocolContractAgreementMessage.md +8 -8
  93. package/docs/reference/interfaces/IDataspaceProtocolContractAgreementVerificationMessage.md +4 -4
  94. package/docs/reference/interfaces/IDataspaceProtocolContractNegotiation.md +5 -5
  95. package/docs/reference/interfaces/IDataspaceProtocolContractNegotiationError.md +8 -8
  96. package/docs/reference/interfaces/IDataspaceProtocolContractNegotiationEventMessage.md +5 -5
  97. package/docs/reference/interfaces/IDataspaceProtocolContractNegotiationTerminationMessage.md +8 -8
  98. package/docs/reference/interfaces/IDataspaceProtocolContractOfferMessage.md +9 -9
  99. package/docs/reference/interfaces/IDataspaceProtocolContractRequestMessage.md +9 -9
  100. package/docs/reference/interfaces/IDataspaceProtocolDataAddress.md +6 -6
  101. package/docs/reference/interfaces/IDataspaceProtocolDataService.md +82 -70
  102. package/docs/reference/interfaces/IDataspaceProtocolDataServiceBase.md +387 -0
  103. package/docs/reference/interfaces/IDataspaceProtocolDataset.md +97 -85
  104. package/docs/reference/interfaces/IDataspaceProtocolDatasetBase.md +484 -0
  105. package/docs/reference/interfaces/IDataspaceProtocolDatasetRequestMessage.md +3 -3
  106. package/docs/reference/interfaces/IDataspaceProtocolDistribution.md +87 -71
  107. package/docs/reference/interfaces/IDataspaceProtocolDistributionBase.md +381 -0
  108. package/docs/reference/interfaces/IDataspaceProtocolEndpointProperty.md +3 -3
  109. package/docs/reference/interfaces/IDataspaceProtocolOffer.md +44 -45
  110. package/docs/reference/interfaces/IDataspaceProtocolOfferBase.md +171 -0
  111. package/docs/reference/interfaces/IDataspaceProtocolPolicy.md +24 -24
  112. package/docs/reference/interfaces/IDataspaceProtocolSet.md +23 -23
  113. package/docs/reference/interfaces/IDataspaceProtocolTransferCompletionMessage.md +4 -4
  114. package/docs/reference/interfaces/IDataspaceProtocolTransferError.md +8 -8
  115. package/docs/reference/interfaces/IDataspaceProtocolTransferProcess.md +5 -5
  116. package/docs/reference/interfaces/IDataspaceProtocolTransferRequestMessage.md +8 -8
  117. package/docs/reference/interfaces/IDataspaceProtocolTransferStartMessage.md +6 -6
  118. package/docs/reference/interfaces/IDataspaceProtocolTransferSuspensionMessage.md +8 -8
  119. package/docs/reference/interfaces/IDataspaceProtocolTransferTerminationMessage.md +8 -8
  120. package/docs/reference/type-aliases/DataspaceProtocolContextType.md +1 -1
  121. package/docs/reference/variables/DataspaceProtocolCatalogTypes.md +11 -59
  122. package/docs/reference/variables/DataspaceProtocolContexts.md +4 -4
  123. package/docs/reference/variables/DataspaceProtocolContractNegotiationEventType.md +2 -2
  124. package/docs/reference/variables/DataspaceProtocolContractNegotiationStateType.md +7 -7
  125. package/docs/reference/variables/DataspaceProtocolContractNegotiationTypes.md +10 -10
  126. package/docs/reference/variables/DataspaceProtocolEndpointType.md +4 -4
  127. package/docs/reference/variables/DataspaceProtocolTransferProcessStateType.md +5 -5
  128. package/docs/reference/variables/DataspaceProtocolTransferProcessTypes.md +9 -9
  129. package/package.json +3 -3
  130. package/dist/es/models/dcat3/IDataspaceProtocolCatalogNoContext.js +0 -2
  131. package/dist/es/models/dcat3/IDataspaceProtocolCatalogNoContext.js.map +0 -1
  132. package/dist/es/models/dcat3/IDataspaceProtocolDataServiceNoContext.js +0 -2
  133. package/dist/es/models/dcat3/IDataspaceProtocolDataServiceNoContext.js.map +0 -1
  134. package/dist/es/models/dcat3/IDataspaceProtocolDatasetNoContext.js +0 -2
  135. package/dist/es/models/dcat3/IDataspaceProtocolDatasetNoContext.js.map +0 -1
  136. package/dist/es/models/dcat3/IDataspaceProtocolDistributionNoContext.js +0 -2
  137. package/dist/es/models/dcat3/IDataspaceProtocolDistributionNoContext.js.map +0 -1
  138. package/dist/es/models/odrl/IDataspaceProtocolAgreementNoContext.js +0 -2
  139. package/dist/es/models/odrl/IDataspaceProtocolAgreementNoContext.js.map +0 -1
  140. package/dist/es/models/odrl/IDataspaceProtocolOfferNoContext.js +0 -2
  141. package/dist/es/models/odrl/IDataspaceProtocolOfferNoContext.js.map +0 -1
  142. package/dist/es/models/odrl/IDataspaceProtocolPolicyNoContext.js +0 -2
  143. package/dist/es/models/odrl/IDataspaceProtocolPolicyNoContext.js.map +0 -1
  144. package/dist/es/models/odrl/IDataspaceProtocolSetNoContext.js +0 -2
  145. package/dist/es/models/odrl/IDataspaceProtocolSetNoContext.js.map +0 -1
  146. package/dist/es/schemas/DataspaceProtocolAgreementNoContext.json +0 -6
  147. package/dist/es/schemas/DataspaceProtocolCatalogNoContext.json +0 -6
  148. package/dist/es/schemas/DataspaceProtocolDataServiceNoContext.json +0 -6
  149. package/dist/es/schemas/DataspaceProtocolDatasetNoContext.json +0 -6
  150. package/dist/es/schemas/DataspaceProtocolDistributionNoContext.json +0 -6
  151. package/dist/es/schemas/DataspaceProtocolOfferNoContext.json +0 -6
  152. package/dist/es/schemas/DataspaceProtocolPolicyNoContext.json +0 -6
  153. package/dist/es/schemas/DataspaceProtocolSetNoContext.json +0 -6
  154. package/dist/es/schemas-src/DataspaceProtocolDataService.json +0 -11
  155. package/dist/es/schemas-src/DataspaceProtocolDistribution.json +0 -11
  156. package/dist/types/models/dcat3/IDataspaceProtocolCatalogNoContext.d.ts +0 -5
  157. package/dist/types/models/dcat3/IDataspaceProtocolDataServiceNoContext.d.ts +0 -5
  158. package/dist/types/models/dcat3/IDataspaceProtocolDatasetNoContext.d.ts +0 -5
  159. package/dist/types/models/dcat3/IDataspaceProtocolDistributionNoContext.d.ts +0 -5
  160. package/dist/types/models/odrl/IDataspaceProtocolAgreementNoContext.d.ts +0 -5
  161. package/dist/types/models/odrl/IDataspaceProtocolOfferNoContext.d.ts +0 -5
  162. package/dist/types/models/odrl/IDataspaceProtocolPolicyNoContext.d.ts +0 -5
  163. package/dist/types/models/odrl/IDataspaceProtocolSetNoContext.d.ts +0 -5
  164. package/docs/reference/type-aliases/IDataspaceProtocolAgreementNoContext.md +0 -5
  165. package/docs/reference/type-aliases/IDataspaceProtocolCatalogNoContext.md +0 -5
  166. package/docs/reference/type-aliases/IDataspaceProtocolDataServiceNoContext.md +0 -5
  167. package/docs/reference/type-aliases/IDataspaceProtocolDatasetNoContext.md +0 -5
  168. package/docs/reference/type-aliases/IDataspaceProtocolDistributionNoContext.md +0 -5
  169. package/docs/reference/type-aliases/IDataspaceProtocolOfferNoContext.md +0 -5
  170. package/docs/reference/type-aliases/IDataspaceProtocolPolicyNoContext.md +0 -5
  171. package/docs/reference/type-aliases/IDataspaceProtocolSetNoContext.md +0 -5
@@ -0,0 +1,171 @@
1
+ # Interface: IDataspaceProtocolOfferBase
2
+
3
+ Offer interface compliant with Eclipse Data Space Protocol without JSON-LD context.
4
+ This is the context-free variant of IDataspaceProtocolOffer, intended for embedding
5
+ offers inline within other objects where the context is provided by the enclosing document.
6
+
7
+ Extends IOdrlOffer with DS Protocol-specific constraints:
8
+ - '@id' is REQUIRED (used as the primary offer identifier in DS Protocol)
9
+ - '@context' is omitted (context is inherited from the parent object)
10
+
11
+ ## See
12
+
13
+ https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#lower-level-types
14
+
15
+ ## Extends
16
+
17
+ - `Omit`\<`IOdrlOffer`, `"uid"` \| `"@context"`\>
18
+
19
+ ## Extended by
20
+
21
+ - [`IDataspaceProtocolOffer`](IDataspaceProtocolOffer.md)
22
+
23
+ ## Properties
24
+
25
+ ### @id {#id}
26
+
27
+ > **@id**: `string`
28
+
29
+ Unique identifier for the offer.
30
+
31
+ ***
32
+
33
+ ### @type {#type}
34
+
35
+ > **@type**: `"Offer"`
36
+
37
+ The type must be "Offer".
38
+
39
+ #### Inherited from
40
+
41
+ `Omit.@type`
42
+
43
+ ***
44
+
45
+ ### assigner {#assigner}
46
+
47
+ > **assigner**: `string` \| `IOdrlParty`
48
+
49
+ The assigner of the offer.
50
+ Required for Offer policies.
51
+
52
+ #### Inherited from
53
+
54
+ `Omit.assigner`
55
+
56
+ ***
57
+
58
+ ### profile? {#profile}
59
+
60
+ > `optional` **profile?**: `ObjectOrArray`\<`string`\>
61
+
62
+ The profile(s) this policy conforms to.
63
+ IRIs identifying the ODRL Profile(s).
64
+
65
+ #### Inherited from
66
+
67
+ `Omit.profile`
68
+
69
+ ***
70
+
71
+ ### assignee? {#assignee}
72
+
73
+ > `optional` **assignee?**: `ObjectOrArray`\<`string` \| `IOdrlParty` \| `IOdrlPartyCollection`\>
74
+
75
+ The assignee of the policy.
76
+ Applies to all rules unless overridden at rule level.
77
+
78
+ #### Inherited from
79
+
80
+ `Omit.assignee`
81
+
82
+ ***
83
+
84
+ ### target? {#target}
85
+
86
+ > `optional` **target?**: `ObjectOrArray`\<`string` \| `IOdrlAsset` \| `IOdrlAssetCollection`\>
87
+
88
+ The target asset for the rule.
89
+
90
+ #### Inherited from
91
+
92
+ `Omit.target`
93
+
94
+ ***
95
+
96
+ ### action? {#action}
97
+
98
+ > `optional` **action?**: `ObjectOrArray`\<`string` \| `IOdrlAction`\>
99
+
100
+ The action associated with the rule.
101
+
102
+ #### Inherited from
103
+
104
+ `Omit.action`
105
+
106
+ ***
107
+
108
+ ### inheritFrom? {#inheritfrom}
109
+
110
+ > `optional` **inheritFrom?**: `ObjectOrArray`\<`string`\>
111
+
112
+ The parent policy(ies) this policy inherits from.
113
+ IRIs identifying the parent Policy(ies).
114
+
115
+ #### Inherited from
116
+
117
+ `Omit.inheritFrom`
118
+
119
+ ***
120
+
121
+ ### conflict? {#conflict}
122
+
123
+ > `optional` **conflict?**: `OdrlConflictStrategyType`
124
+
125
+ The conflict resolution strategy.
126
+ - perm: Permissions override Prohibitions
127
+ - prohibit: Prohibitions override Permissions
128
+ - invalid: Policy is void if conflicts exist (default)
129
+
130
+ #### Inherited from
131
+
132
+ `Omit.conflict`
133
+
134
+ ***
135
+
136
+ ### permission? {#permission}
137
+
138
+ > `optional` **permission?**: `ObjectOrArray`\<`IOdrlPermission`\>
139
+
140
+ The permissions in the policy.
141
+ At least one of permission, prohibition, or obligation must be present.
142
+
143
+ #### Inherited from
144
+
145
+ `Omit.permission`
146
+
147
+ ***
148
+
149
+ ### prohibition? {#prohibition}
150
+
151
+ > `optional` **prohibition?**: `ObjectOrArray`\<`IOdrlProhibition`\>
152
+
153
+ The prohibitions in the policy.
154
+ At least one of permission, prohibition, or obligation must be present.
155
+
156
+ #### Inherited from
157
+
158
+ `Omit.prohibition`
159
+
160
+ ***
161
+
162
+ ### obligation? {#obligation}
163
+
164
+ > `optional` **obligation?**: `ObjectOrArray`\<`IOdrlDuty`\>
165
+
166
+ The obligations in the policy.
167
+ At least one of permission, prohibition, or obligation must be present.
168
+
169
+ #### Inherited from
170
+
171
+ `Omit.obligation`
@@ -17,7 +17,7 @@ Extends IOdrlPolicy with DS Protocol-specific constraints:
17
17
 
18
18
  ## Properties
19
19
 
20
- ### @id
20
+ ### @id {#id}
21
21
 
22
22
  > **@id**: `string`
23
23
 
@@ -25,7 +25,7 @@ Unique identifier for the policy.
25
25
 
26
26
  ***
27
27
 
28
- ### @context
28
+ ### @context {#context}
29
29
 
30
30
  > **@context**: `OdrlContextType`
31
31
 
@@ -38,9 +38,9 @@ Must include "https://www.w3.org/ns/odrl.jsonld"
38
38
 
39
39
  ***
40
40
 
41
- ### @type
41
+ ### @type {#type}
42
42
 
43
- > **@type**: `PolicyType`
43
+ > **@type**: `OdrlPolicyType`
44
44
 
45
45
  The type of policy.
46
46
  Must be one of: "Set", "Offer", "Agreement"
@@ -51,9 +51,9 @@ Must be one of: "Set", "Offer", "Agreement"
51
51
 
52
52
  ***
53
53
 
54
- ### profile?
54
+ ### profile? {#profile}
55
55
 
56
- > `optional` **profile**: `string` \| `string`[]
56
+ > `optional` **profile?**: `ObjectOrArray`\<`string`\>
57
57
 
58
58
  The profile(s) this policy conforms to.
59
59
  IRIs identifying the ODRL Profile(s).
@@ -64,9 +64,9 @@ IRIs identifying the ODRL Profile(s).
64
64
 
65
65
  ***
66
66
 
67
- ### assigner?
67
+ ### assigner? {#assigner}
68
68
 
69
- > `optional` **assigner**: `string` \| `IOdrlParty` \| `IOdrlPartyCollection` \| (`string` \| `IOdrlParty` \| `IOdrlPartyCollection`)[]
69
+ > `optional` **assigner?**: `ObjectOrArray`\<`string` \| `IOdrlParty` \| `IOdrlPartyCollection`\>
70
70
 
71
71
  The assigner of the policy.
72
72
  Applies to all rules unless overridden at rule level.
@@ -77,9 +77,9 @@ Applies to all rules unless overridden at rule level.
77
77
 
78
78
  ***
79
79
 
80
- ### assignee?
80
+ ### assignee? {#assignee}
81
81
 
82
- > `optional` **assignee**: `string` \| `IOdrlParty` \| `IOdrlPartyCollection` \| (`string` \| `IOdrlParty` \| `IOdrlPartyCollection`)[]
82
+ > `optional` **assignee?**: `ObjectOrArray`\<`string` \| `IOdrlParty` \| `IOdrlPartyCollection`\>
83
83
 
84
84
  The assignee of the policy.
85
85
  Applies to all rules unless overridden at rule level.
@@ -90,9 +90,9 @@ Applies to all rules unless overridden at rule level.
90
90
 
91
91
  ***
92
92
 
93
- ### target?
93
+ ### target? {#target}
94
94
 
95
- > `optional` **target**: `string` \| `IOdrlAsset` \| `IOdrlAssetCollection` \| (`string` \| `IOdrlAsset` \| `IOdrlAssetCollection`)[]
95
+ > `optional` **target?**: `ObjectOrArray`\<`string` \| `IOdrlAsset` \| `IOdrlAssetCollection`\>
96
96
 
97
97
  The target asset for the rule.
98
98
 
@@ -102,9 +102,9 @@ The target asset for the rule.
102
102
 
103
103
  ***
104
104
 
105
- ### action?
105
+ ### action? {#action}
106
106
 
107
- > `optional` **action**: `string` \| `IOdrlAction` \| (`string` \| `IOdrlAction`)[]
107
+ > `optional` **action?**: `ObjectOrArray`\<`string` \| `IOdrlAction`\>
108
108
 
109
109
  The action associated with the rule.
110
110
 
@@ -114,9 +114,9 @@ The action associated with the rule.
114
114
 
115
115
  ***
116
116
 
117
- ### inheritFrom?
117
+ ### inheritFrom? {#inheritfrom}
118
118
 
119
- > `optional` **inheritFrom**: `string` \| `string`[]
119
+ > `optional` **inheritFrom?**: `ObjectOrArray`\<`string`\>
120
120
 
121
121
  The parent policy(ies) this policy inherits from.
122
122
  IRIs identifying the parent Policy(ies).
@@ -127,9 +127,9 @@ IRIs identifying the parent Policy(ies).
127
127
 
128
128
  ***
129
129
 
130
- ### conflict?
130
+ ### conflict? {#conflict}
131
131
 
132
- > `optional` **conflict**: `ConflictStrategyType`
132
+ > `optional` **conflict?**: `OdrlConflictStrategyType`
133
133
 
134
134
  The conflict resolution strategy.
135
135
  - perm: Permissions override Prohibitions
@@ -142,9 +142,9 @@ The conflict resolution strategy.
142
142
 
143
143
  ***
144
144
 
145
- ### permission?
145
+ ### permission? {#permission}
146
146
 
147
- > `optional` **permission**: `IOdrlPermission` \| `IOdrlPermission`[]
147
+ > `optional` **permission?**: `ObjectOrArray`\<`IOdrlPermission`\>
148
148
 
149
149
  The permissions in the policy.
150
150
  At least one of permission, prohibition, or obligation must be present.
@@ -155,9 +155,9 @@ At least one of permission, prohibition, or obligation must be present.
155
155
 
156
156
  ***
157
157
 
158
- ### prohibition?
158
+ ### prohibition? {#prohibition}
159
159
 
160
- > `optional` **prohibition**: `IOdrlProhibition` \| `IOdrlProhibition`[]
160
+ > `optional` **prohibition?**: `ObjectOrArray`\<`IOdrlProhibition`\>
161
161
 
162
162
  The prohibitions in the policy.
163
163
  At least one of permission, prohibition, or obligation must be present.
@@ -168,9 +168,9 @@ At least one of permission, prohibition, or obligation must be present.
168
168
 
169
169
  ***
170
170
 
171
- ### obligation?
171
+ ### obligation? {#obligation}
172
172
 
173
- > `optional` **obligation**: `IOdrlDuty` \| `IOdrlDuty`[]
173
+ > `optional` **obligation?**: `ObjectOrArray`\<`IOdrlDuty`\>
174
174
 
175
175
  The obligations in the policy.
176
176
  At least one of permission, prohibition, or obligation must be present.
@@ -17,7 +17,7 @@ Extends IOdrlSet with DS Protocol-specific constraints:
17
17
 
18
18
  ## Properties
19
19
 
20
- ### @id
20
+ ### @id {#id}
21
21
 
22
22
  > **@id**: `string`
23
23
 
@@ -25,7 +25,7 @@ Unique identifier for the set.
25
25
 
26
26
  ***
27
27
 
28
- ### @context
28
+ ### @context {#context}
29
29
 
30
30
  > **@context**: `OdrlContextType`
31
31
 
@@ -38,9 +38,9 @@ Must include "https://www.w3.org/ns/odrl.jsonld"
38
38
 
39
39
  ***
40
40
 
41
- ### profile?
41
+ ### profile? {#profile}
42
42
 
43
- > `optional` **profile**: `string` \| `string`[]
43
+ > `optional` **profile?**: `ObjectOrArray`\<`string`\>
44
44
 
45
45
  The profile(s) this policy conforms to.
46
46
  IRIs identifying the ODRL Profile(s).
@@ -51,9 +51,9 @@ IRIs identifying the ODRL Profile(s).
51
51
 
52
52
  ***
53
53
 
54
- ### assigner?
54
+ ### assigner? {#assigner}
55
55
 
56
- > `optional` **assigner**: `string` \| `IOdrlParty` \| `IOdrlPartyCollection` \| (`string` \| `IOdrlParty` \| `IOdrlPartyCollection`)[]
56
+ > `optional` **assigner?**: `ObjectOrArray`\<`string` \| `IOdrlParty` \| `IOdrlPartyCollection`\>
57
57
 
58
58
  The assigner of the policy.
59
59
  Applies to all rules unless overridden at rule level.
@@ -64,9 +64,9 @@ Applies to all rules unless overridden at rule level.
64
64
 
65
65
  ***
66
66
 
67
- ### assignee?
67
+ ### assignee? {#assignee}
68
68
 
69
- > `optional` **assignee**: `string` \| `IOdrlParty` \| `IOdrlPartyCollection` \| (`string` \| `IOdrlParty` \| `IOdrlPartyCollection`)[]
69
+ > `optional` **assignee?**: `ObjectOrArray`\<`string` \| `IOdrlParty` \| `IOdrlPartyCollection`\>
70
70
 
71
71
  The assignee of the policy.
72
72
  Applies to all rules unless overridden at rule level.
@@ -77,9 +77,9 @@ Applies to all rules unless overridden at rule level.
77
77
 
78
78
  ***
79
79
 
80
- ### target?
80
+ ### target? {#target}
81
81
 
82
- > `optional` **target**: `string` \| `IOdrlAsset` \| `IOdrlAssetCollection` \| (`string` \| `IOdrlAsset` \| `IOdrlAssetCollection`)[]
82
+ > `optional` **target?**: `ObjectOrArray`\<`string` \| `IOdrlAsset` \| `IOdrlAssetCollection`\>
83
83
 
84
84
  The target asset for the rule.
85
85
 
@@ -89,9 +89,9 @@ The target asset for the rule.
89
89
 
90
90
  ***
91
91
 
92
- ### action?
92
+ ### action? {#action}
93
93
 
94
- > `optional` **action**: `string` \| `IOdrlAction` \| (`string` \| `IOdrlAction`)[]
94
+ > `optional` **action?**: `ObjectOrArray`\<`string` \| `IOdrlAction`\>
95
95
 
96
96
  The action associated with the rule.
97
97
 
@@ -101,9 +101,9 @@ The action associated with the rule.
101
101
 
102
102
  ***
103
103
 
104
- ### inheritFrom?
104
+ ### inheritFrom? {#inheritfrom}
105
105
 
106
- > `optional` **inheritFrom**: `string` \| `string`[]
106
+ > `optional` **inheritFrom?**: `ObjectOrArray`\<`string`\>
107
107
 
108
108
  The parent policy(ies) this policy inherits from.
109
109
  IRIs identifying the parent Policy(ies).
@@ -114,9 +114,9 @@ IRIs identifying the parent Policy(ies).
114
114
 
115
115
  ***
116
116
 
117
- ### conflict?
117
+ ### conflict? {#conflict}
118
118
 
119
- > `optional` **conflict**: `ConflictStrategyType`
119
+ > `optional` **conflict?**: `OdrlConflictStrategyType`
120
120
 
121
121
  The conflict resolution strategy.
122
122
  - perm: Permissions override Prohibitions
@@ -129,9 +129,9 @@ The conflict resolution strategy.
129
129
 
130
130
  ***
131
131
 
132
- ### permission?
132
+ ### permission? {#permission}
133
133
 
134
- > `optional` **permission**: `IOdrlPermission` \| `IOdrlPermission`[]
134
+ > `optional` **permission?**: `ObjectOrArray`\<`IOdrlPermission`\>
135
135
 
136
136
  The permissions in the policy.
137
137
  At least one of permission, prohibition, or obligation must be present.
@@ -142,9 +142,9 @@ At least one of permission, prohibition, or obligation must be present.
142
142
 
143
143
  ***
144
144
 
145
- ### prohibition?
145
+ ### prohibition? {#prohibition}
146
146
 
147
- > `optional` **prohibition**: `IOdrlProhibition` \| `IOdrlProhibition`[]
147
+ > `optional` **prohibition?**: `ObjectOrArray`\<`IOdrlProhibition`\>
148
148
 
149
149
  The prohibitions in the policy.
150
150
  At least one of permission, prohibition, or obligation must be present.
@@ -155,9 +155,9 @@ At least one of permission, prohibition, or obligation must be present.
155
155
 
156
156
  ***
157
157
 
158
- ### obligation?
158
+ ### obligation? {#obligation}
159
159
 
160
- > `optional` **obligation**: `IOdrlDuty` \| `IOdrlDuty`[]
160
+ > `optional` **obligation?**: `ObjectOrArray`\<`IOdrlDuty`\>
161
161
 
162
162
  The obligations in the policy.
163
163
  At least one of permission, prohibition, or obligation must be present.
@@ -168,7 +168,7 @@ At least one of permission, prohibition, or obligation must be present.
168
168
 
169
169
  ***
170
170
 
171
- ### @type
171
+ ### @type {#type}
172
172
 
173
173
  > **@type**: `"Set"`
174
174
 
@@ -5,7 +5,7 @@ https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-co
5
5
 
6
6
  ## Properties
7
7
 
8
- ### @context
8
+ ### @context {#context}
9
9
 
10
10
  > **@context**: [`DataspaceProtocolContextType`](../type-aliases/DataspaceProtocolContextType.md)
11
11
 
@@ -13,7 +13,7 @@ LD Context
13
13
 
14
14
  ***
15
15
 
16
- ### @type
16
+ ### @type {#type}
17
17
 
18
18
  > **@type**: `"TransferCompletionMessage"`
19
19
 
@@ -21,7 +21,7 @@ LD Type
21
21
 
22
22
  ***
23
23
 
24
- ### consumerPid
24
+ ### consumerPid {#consumerpid}
25
25
 
26
26
  > **consumerPid**: `string`
27
27
 
@@ -29,7 +29,7 @@ MUST refer to the transfer identifier of the Consumer side.
29
29
 
30
30
  ***
31
31
 
32
- ### providerPid
32
+ ### providerPid {#providerpid}
33
33
 
34
34
  > **providerPid**: `string`
35
35
 
@@ -5,7 +5,7 @@ https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol#error-transf
5
5
 
6
6
  ## Properties
7
7
 
8
- ### @context
8
+ ### @context {#context}
9
9
 
10
10
  > **@context**: [`DataspaceProtocolContextType`](../type-aliases/DataspaceProtocolContextType.md)
11
11
 
@@ -13,7 +13,7 @@ LD Context
13
13
 
14
14
  ***
15
15
 
16
- ### @type
16
+ ### @type {#type}
17
17
 
18
18
  > **@type**: `"TransferError"`
19
19
 
@@ -21,7 +21,7 @@ LD Type
21
21
 
22
22
  ***
23
23
 
24
- ### consumerPid
24
+ ### consumerPid {#consumerpid}
25
25
 
26
26
  > **consumerPid**: `string`
27
27
 
@@ -29,7 +29,7 @@ MUST refer to the transfer identifier of the Consumer side.
29
29
 
30
30
  ***
31
31
 
32
- ### providerPid
32
+ ### providerPid {#providerpid}
33
33
 
34
34
  > **providerPid**: `string`
35
35
 
@@ -37,16 +37,16 @@ MUST refer to the transfer identifier of the Provider side.
37
37
 
38
38
  ***
39
39
 
40
- ### code?
40
+ ### code? {#code}
41
41
 
42
- > `optional` **code**: `string`
42
+ > `optional` **code?**: `string`
43
43
 
44
44
  The error code.
45
45
 
46
46
  ***
47
47
 
48
- ### reason?
48
+ ### reason? {#reason}
49
49
 
50
- > `optional` **reason**: `any`[]
50
+ > `optional` **reason?**: `any`[]
51
51
 
52
52
  The error reason(s).
@@ -5,7 +5,7 @@ https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#ack-transfe
5
5
 
6
6
  ## Properties
7
7
 
8
- ### @context
8
+ ### @context {#context}
9
9
 
10
10
  > **@context**: [`DataspaceProtocolContextType`](../type-aliases/DataspaceProtocolContextType.md)
11
11
 
@@ -13,7 +13,7 @@ LD Context
13
13
 
14
14
  ***
15
15
 
16
- ### @type
16
+ ### @type {#type}
17
17
 
18
18
  > **@type**: `"TransferProcess"`
19
19
 
@@ -21,7 +21,7 @@ LD Type
21
21
 
22
22
  ***
23
23
 
24
- ### consumerPid
24
+ ### consumerPid {#consumerpid}
25
25
 
26
26
  > **consumerPid**: `string`
27
27
 
@@ -29,7 +29,7 @@ MUST refer to the transfer identifier of the Consumer side.
29
29
 
30
30
  ***
31
31
 
32
- ### providerPid
32
+ ### providerPid {#providerpid}
33
33
 
34
34
  > **providerPid**: `string`
35
35
 
@@ -37,7 +37,7 @@ MUST refer to the transfer identifier of the Provider side.
37
37
 
38
38
  ***
39
39
 
40
- ### state
40
+ ### state {#state}
41
41
 
42
42
  > **state**: [`DataspaceProtocolTransferProcessStateType`](../type-aliases/DataspaceProtocolTransferProcessStateType.md)
43
43
 
@@ -5,7 +5,7 @@ https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-re
5
5
 
6
6
  ## Properties
7
7
 
8
- ### @context
8
+ ### @context {#context}
9
9
 
10
10
  > **@context**: [`DataspaceProtocolContextType`](../type-aliases/DataspaceProtocolContextType.md)
11
11
 
@@ -13,7 +13,7 @@ LD Context
13
13
 
14
14
  ***
15
15
 
16
- ### @type
16
+ ### @type {#type}
17
17
 
18
18
  > **@type**: `"TransferRequestMessage"`
19
19
 
@@ -21,7 +21,7 @@ LD Type
21
21
 
22
22
  ***
23
23
 
24
- ### agreementId
24
+ ### agreementId {#agreementid}
25
25
 
26
26
  > **agreementId**: `string`
27
27
 
@@ -29,7 +29,7 @@ MUST refer to an existing Agreement between the Consumer and Provider.
29
29
 
30
30
  ***
31
31
 
32
- ### callbackAddress
32
+ ### callbackAddress {#callbackaddress}
33
33
 
34
34
  > **callbackAddress**: `string`
35
35
 
@@ -37,7 +37,7 @@ MUST be a URI indicating where messages to the Consumer SHOULD be sent.
37
37
 
38
38
  ***
39
39
 
40
- ### consumerPid
40
+ ### consumerPid {#consumerpid}
41
41
 
42
42
  > **consumerPid**: `string`
43
43
 
@@ -45,7 +45,7 @@ MUST refer to the transfer identifier of the Consumer side.
45
45
 
46
46
  ***
47
47
 
48
- ### format
48
+ ### format {#format}
49
49
 
50
50
  > **format**: `string`
51
51
 
@@ -54,9 +54,9 @@ This is generally obtained from the Provider's Catalog.
54
54
 
55
55
  ***
56
56
 
57
- ### dataAddress?
57
+ ### dataAddress? {#dataaddress}
58
58
 
59
- > `optional` **dataAddress**: [`IDataspaceProtocolDataAddress`](IDataspaceProtocolDataAddress.md)
59
+ > `optional` **dataAddress?**: [`IDataspaceProtocolDataAddress`](IDataspaceProtocolDataAddress.md)
60
60
 
61
61
  If defined MUST contain a transport-specific set of properties for pushing the data.
62
62
  It MAY include an endpoint, a temporary authorization via the endpointProperties property - depending on the endpointType.
@@ -5,7 +5,7 @@ https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-st
5
5
 
6
6
  ## Properties
7
7
 
8
- ### @context
8
+ ### @context {#context}
9
9
 
10
10
  > **@context**: [`DataspaceProtocolContextType`](../type-aliases/DataspaceProtocolContextType.md)
11
11
 
@@ -13,7 +13,7 @@ LD Context
13
13
 
14
14
  ***
15
15
 
16
- ### @type
16
+ ### @type {#type}
17
17
 
18
18
  > **@type**: `"TransferStartMessage"`
19
19
 
@@ -21,7 +21,7 @@ LD Type
21
21
 
22
22
  ***
23
23
 
24
- ### consumerPid
24
+ ### consumerPid {#consumerpid}
25
25
 
26
26
  > **consumerPid**: `string`
27
27
 
@@ -29,7 +29,7 @@ MUST refer to the transfer identifier of the Consumer side.
29
29
 
30
30
  ***
31
31
 
32
- ### providerPid
32
+ ### providerPid {#providerpid}
33
33
 
34
34
  > **providerPid**: `string`
35
35
 
@@ -37,9 +37,9 @@ MUST refer to the transfer identifier of the Provider side.
37
37
 
38
38
  ***
39
39
 
40
- ### dataAddress?
40
+ ### dataAddress? {#dataaddress}
41
41
 
42
- > `optional` **dataAddress**: [`IDataspaceProtocolDataAddress`](IDataspaceProtocolDataAddress.md)
42
+ > `optional` **dataAddress?**: [`IDataspaceProtocolDataAddress`](IDataspaceProtocolDataAddress.md)
43
43
 
44
44
  MUST be provided if the current transfer is a pull transfer and
45
45
  contains a transport-specific endpoint address for obtaining the data.