@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.
- package/dist/es/dataTypes/catalogDataTypes.js +18 -39
- package/dist/es/dataTypes/catalogDataTypes.js.map +1 -1
- package/dist/es/dataTypes/dataspaceProtocolDataTypes.js +6 -0
- package/dist/es/dataTypes/dataspaceProtocolDataTypes.js.map +1 -1
- package/dist/es/index.js +10 -13
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/catalog/dataspaceProtocolCatalogTypes.js +1 -33
- package/dist/es/models/catalog/dataspaceProtocolCatalogTypes.js.map +1 -1
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractAgreementMessage.js.map +1 -1
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractOfferMessage.js.map +1 -1
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractRequestMessage.js.map +1 -1
- package/dist/es/models/dataspaceProtocolContextType.js.map +1 -1
- package/dist/es/models/dcat3/IDataspaceProtocolCatalog.js.map +1 -1
- package/dist/es/models/dcat3/IDataspaceProtocolCatalogBase.js +2 -0
- package/dist/es/models/dcat3/IDataspaceProtocolCatalogBase.js.map +1 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDataService.js.map +1 -1
- package/dist/es/models/dcat3/IDataspaceProtocolDataServiceBase.js +2 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDataServiceBase.js.map +1 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDataset.js.map +1 -1
- package/dist/es/models/dcat3/IDataspaceProtocolDatasetBase.js +2 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDatasetBase.js.map +1 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDistribution.js.map +1 -1
- package/dist/es/models/dcat3/IDataspaceProtocolDistributionBase.js +2 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDistributionBase.js.map +1 -0
- package/dist/es/models/odrl/IDataspaceProtocolOffer.js.map +1 -1
- package/dist/es/models/odrl/IDataspaceProtocolOfferBase.js +2 -0
- package/dist/es/models/odrl/IDataspaceProtocolOfferBase.js.map +1 -0
- package/dist/es/schemas/DataspaceProtocolAgreement.json +181 -158
- package/dist/es/schemas/DataspaceProtocolCatalog.json +13 -3
- package/dist/es/schemas/DataspaceProtocolCatalogBase.json +428 -0
- package/dist/es/schemas/DataspaceProtocolCatalogError.json +4 -50
- package/dist/es/schemas/DataspaceProtocolCatalogRequestMessage.json +4 -50
- package/dist/es/schemas/DataspaceProtocolContextType.json +30 -0
- package/dist/es/schemas/DataspaceProtocolContractAgreementMessage.json +191 -52
- package/dist/es/schemas/DataspaceProtocolContractAgreementVerificationMessage.json +4 -50
- package/dist/es/schemas/DataspaceProtocolContractNegotiation.json +4 -50
- package/dist/es/schemas/DataspaceProtocolContractNegotiationError.json +4 -50
- package/dist/es/schemas/DataspaceProtocolContractNegotiationEventMessage.json +4 -50
- package/dist/es/schemas/DataspaceProtocolContractNegotiationEventType.json +11 -5
- package/dist/es/schemas/DataspaceProtocolContractNegotiationStateType.json +31 -10
- package/dist/es/schemas/DataspaceProtocolContractNegotiationTerminationMessage.json +4 -50
- package/dist/es/schemas/DataspaceProtocolContractOfferMessage.json +5 -51
- package/dist/es/schemas/DataspaceProtocolContractRequestMessage.json +5 -51
- package/dist/es/schemas/DataspaceProtocolDataAddress.json +2 -2
- package/dist/es/schemas/DataspaceProtocolDataService.json +21 -0
- package/dist/es/schemas/DataspaceProtocolDataServiceBase.json +285 -0
- package/dist/es/schemas/DataspaceProtocolDataset.json +13 -3
- package/dist/es/schemas/DataspaceProtocolDatasetBase.json +342 -0
- package/dist/es/schemas/DataspaceProtocolDatasetRequestMessage.json +4 -50
- package/dist/es/schemas/DataspaceProtocolDistribution.json +26 -0
- package/dist/es/schemas/DataspaceProtocolDistributionBase.json +170 -0
- package/dist/es/schemas/DataspaceProtocolEndpointProperty.json +2 -2
- package/dist/es/schemas/DataspaceProtocolOffer.json +10 -186
- package/dist/es/schemas/DataspaceProtocolOfferBase.json +219 -0
- package/dist/es/schemas/DataspaceProtocolPolicy.json +214 -202
- package/dist/es/schemas/DataspaceProtocolSet.json +225 -202
- package/dist/es/schemas/DataspaceProtocolTransferCompletionMessage.json +4 -50
- package/dist/es/schemas/DataspaceProtocolTransferError.json +4 -50
- package/dist/es/schemas/DataspaceProtocolTransferProcess.json +4 -50
- package/dist/es/schemas/DataspaceProtocolTransferRequestMessage.json +6 -52
- package/dist/es/schemas/DataspaceProtocolTransferStartMessage.json +5 -51
- package/dist/es/schemas/DataspaceProtocolTransferSuspensionMessage.json +4 -50
- package/dist/es/schemas/DataspaceProtocolTransferTerminationMessage.json +4 -50
- package/dist/types/index.d.ts +10 -13
- package/dist/types/models/catalog/dataspaceProtocolCatalogTypes.d.ts +0 -32
- package/dist/types/models/contractNegotiation/IDataspaceProtocolContractAgreementMessage.d.ts +3 -2
- package/dist/types/models/contractNegotiation/IDataspaceProtocolContractOfferMessage.d.ts +2 -2
- package/dist/types/models/contractNegotiation/IDataspaceProtocolContractRequestMessage.d.ts +2 -2
- package/dist/types/models/dataspaceProtocolContextType.d.ts +2 -9
- package/dist/types/models/dcat3/IDataspaceProtocolCatalog.d.ts +2 -37
- package/dist/types/models/dcat3/IDataspaceProtocolCatalogBase.d.ts +58 -0
- package/dist/types/models/dcat3/IDataspaceProtocolDataService.d.ts +2 -22
- package/dist/types/models/dcat3/IDataspaceProtocolDataServiceBase.d.ts +44 -0
- package/dist/types/models/dcat3/IDataspaceProtocolDataset.d.ts +2 -29
- package/dist/types/models/dcat3/IDataspaceProtocolDatasetBase.d.ts +61 -0
- package/dist/types/models/dcat3/IDataspaceProtocolDistribution.d.ts +4 -31
- package/dist/types/models/dcat3/IDataspaceProtocolDistributionBase.d.ts +66 -0
- package/dist/types/models/odrl/IDataspaceProtocolOffer.d.ts +7 -2
- package/dist/types/models/odrl/IDataspaceProtocolOfferBase.d.ts +18 -0
- package/docs/changelog.md +35 -0
- package/docs/reference/classes/CatalogDataTypes.md +1 -1
- package/docs/reference/classes/ContractNegotiationDataTypes.md +1 -1
- package/docs/reference/classes/DataspaceProtocolDataTypes.md +2 -2
- package/docs/reference/classes/DataspaceProtocolHelper.md +2 -2
- package/docs/reference/classes/TransferProcessDataTypes.md +1 -1
- package/docs/reference/index.md +5 -8
- package/docs/reference/interfaces/IDataspaceProtocolAgreement.md +21 -21
- package/docs/reference/interfaces/IDataspaceProtocolCatalog.md +129 -105
- package/docs/reference/interfaces/IDataspaceProtocolCatalogBase.md +570 -0
- package/docs/reference/interfaces/IDataspaceProtocolCatalogError.md +5 -5
- package/docs/reference/interfaces/IDataspaceProtocolCatalogRequestMessage.md +4 -4
- package/docs/reference/interfaces/IDataspaceProtocolContractAgreementMessage.md +8 -8
- package/docs/reference/interfaces/IDataspaceProtocolContractAgreementVerificationMessage.md +4 -4
- package/docs/reference/interfaces/IDataspaceProtocolContractNegotiation.md +5 -5
- package/docs/reference/interfaces/IDataspaceProtocolContractNegotiationError.md +8 -8
- package/docs/reference/interfaces/IDataspaceProtocolContractNegotiationEventMessage.md +5 -5
- package/docs/reference/interfaces/IDataspaceProtocolContractNegotiationTerminationMessage.md +8 -8
- package/docs/reference/interfaces/IDataspaceProtocolContractOfferMessage.md +9 -9
- package/docs/reference/interfaces/IDataspaceProtocolContractRequestMessage.md +9 -9
- package/docs/reference/interfaces/IDataspaceProtocolDataAddress.md +6 -6
- package/docs/reference/interfaces/IDataspaceProtocolDataService.md +82 -70
- package/docs/reference/interfaces/IDataspaceProtocolDataServiceBase.md +387 -0
- package/docs/reference/interfaces/IDataspaceProtocolDataset.md +97 -85
- package/docs/reference/interfaces/IDataspaceProtocolDatasetBase.md +484 -0
- package/docs/reference/interfaces/IDataspaceProtocolDatasetRequestMessage.md +3 -3
- package/docs/reference/interfaces/IDataspaceProtocolDistribution.md +87 -71
- package/docs/reference/interfaces/IDataspaceProtocolDistributionBase.md +381 -0
- package/docs/reference/interfaces/IDataspaceProtocolEndpointProperty.md +3 -3
- package/docs/reference/interfaces/IDataspaceProtocolOffer.md +44 -45
- package/docs/reference/interfaces/IDataspaceProtocolOfferBase.md +171 -0
- package/docs/reference/interfaces/IDataspaceProtocolPolicy.md +24 -24
- package/docs/reference/interfaces/IDataspaceProtocolSet.md +23 -23
- package/docs/reference/interfaces/IDataspaceProtocolTransferCompletionMessage.md +4 -4
- package/docs/reference/interfaces/IDataspaceProtocolTransferError.md +8 -8
- package/docs/reference/interfaces/IDataspaceProtocolTransferProcess.md +5 -5
- package/docs/reference/interfaces/IDataspaceProtocolTransferRequestMessage.md +8 -8
- package/docs/reference/interfaces/IDataspaceProtocolTransferStartMessage.md +6 -6
- package/docs/reference/interfaces/IDataspaceProtocolTransferSuspensionMessage.md +8 -8
- package/docs/reference/interfaces/IDataspaceProtocolTransferTerminationMessage.md +8 -8
- package/docs/reference/type-aliases/DataspaceProtocolContextType.md +1 -1
- package/docs/reference/variables/DataspaceProtocolCatalogTypes.md +11 -59
- package/docs/reference/variables/DataspaceProtocolContexts.md +4 -4
- package/docs/reference/variables/DataspaceProtocolContractNegotiationEventType.md +2 -2
- package/docs/reference/variables/DataspaceProtocolContractNegotiationStateType.md +7 -7
- package/docs/reference/variables/DataspaceProtocolContractNegotiationTypes.md +10 -10
- package/docs/reference/variables/DataspaceProtocolEndpointType.md +4 -4
- package/docs/reference/variables/DataspaceProtocolTransferProcessStateType.md +5 -5
- package/docs/reference/variables/DataspaceProtocolTransferProcessTypes.md +9 -9
- package/package.json +3 -3
- package/dist/es/models/dcat3/IDataspaceProtocolCatalogNoContext.js +0 -2
- package/dist/es/models/dcat3/IDataspaceProtocolCatalogNoContext.js.map +0 -1
- package/dist/es/models/dcat3/IDataspaceProtocolDataServiceNoContext.js +0 -2
- package/dist/es/models/dcat3/IDataspaceProtocolDataServiceNoContext.js.map +0 -1
- package/dist/es/models/dcat3/IDataspaceProtocolDatasetNoContext.js +0 -2
- package/dist/es/models/dcat3/IDataspaceProtocolDatasetNoContext.js.map +0 -1
- package/dist/es/models/dcat3/IDataspaceProtocolDistributionNoContext.js +0 -2
- package/dist/es/models/dcat3/IDataspaceProtocolDistributionNoContext.js.map +0 -1
- package/dist/es/models/odrl/IDataspaceProtocolAgreementNoContext.js +0 -2
- package/dist/es/models/odrl/IDataspaceProtocolAgreementNoContext.js.map +0 -1
- package/dist/es/models/odrl/IDataspaceProtocolOfferNoContext.js +0 -2
- package/dist/es/models/odrl/IDataspaceProtocolOfferNoContext.js.map +0 -1
- package/dist/es/models/odrl/IDataspaceProtocolPolicyNoContext.js +0 -2
- package/dist/es/models/odrl/IDataspaceProtocolPolicyNoContext.js.map +0 -1
- package/dist/es/models/odrl/IDataspaceProtocolSetNoContext.js +0 -2
- package/dist/es/models/odrl/IDataspaceProtocolSetNoContext.js.map +0 -1
- package/dist/es/schemas/DataspaceProtocolAgreementNoContext.json +0 -6
- package/dist/es/schemas/DataspaceProtocolCatalogNoContext.json +0 -6
- package/dist/es/schemas/DataspaceProtocolDataServiceNoContext.json +0 -6
- package/dist/es/schemas/DataspaceProtocolDatasetNoContext.json +0 -6
- package/dist/es/schemas/DataspaceProtocolDistributionNoContext.json +0 -6
- package/dist/es/schemas/DataspaceProtocolOfferNoContext.json +0 -6
- package/dist/es/schemas/DataspaceProtocolPolicyNoContext.json +0 -6
- package/dist/es/schemas/DataspaceProtocolSetNoContext.json +0 -6
- package/dist/es/schemas-src/DataspaceProtocolDataService.json +0 -11
- package/dist/es/schemas-src/DataspaceProtocolDistribution.json +0 -11
- package/dist/types/models/dcat3/IDataspaceProtocolCatalogNoContext.d.ts +0 -5
- package/dist/types/models/dcat3/IDataspaceProtocolDataServiceNoContext.d.ts +0 -5
- package/dist/types/models/dcat3/IDataspaceProtocolDatasetNoContext.d.ts +0 -5
- package/dist/types/models/dcat3/IDataspaceProtocolDistributionNoContext.d.ts +0 -5
- package/dist/types/models/odrl/IDataspaceProtocolAgreementNoContext.d.ts +0 -5
- package/dist/types/models/odrl/IDataspaceProtocolOfferNoContext.d.ts +0 -5
- package/dist/types/models/odrl/IDataspaceProtocolPolicyNoContext.d.ts +0 -5
- package/dist/types/models/odrl/IDataspaceProtocolSetNoContext.d.ts +0 -5
- package/docs/reference/type-aliases/IDataspaceProtocolAgreementNoContext.md +0 -5
- package/docs/reference/type-aliases/IDataspaceProtocolCatalogNoContext.md +0 -5
- package/docs/reference/type-aliases/IDataspaceProtocolDataServiceNoContext.md +0 -5
- package/docs/reference/type-aliases/IDataspaceProtocolDatasetNoContext.md +0 -5
- package/docs/reference/type-aliases/IDataspaceProtocolDistributionNoContext.md +0 -5
- package/docs/reference/type-aliases/IDataspaceProtocolOfferNoContext.md +0 -5
- package/docs/reference/type-aliases/IDataspaceProtocolPolicyNoContext.md +0 -5
- package/docs/reference/type-aliases/IDataspaceProtocolSetNoContext.md +0 -5
|
@@ -0,0 +1,381 @@
|
|
|
1
|
+
# Interface: IDataspaceProtocolDistributionBase
|
|
2
|
+
|
|
3
|
+
Distribution interface compliant with Eclipse Data Space Protocol.
|
|
4
|
+
|
|
5
|
+
This interface extends IDistribution and enforces DS Protocol-specific requirements
|
|
6
|
+
by overriding properties with more specific types and constraints.
|
|
7
|
+
|
|
8
|
+
**Requirements per DS Protocol:**
|
|
9
|
+
- `@id` MUST be present for dataset identification (REQUIRED)
|
|
10
|
+
- `odrl:hasPolicy` MIGHT be present as an array of ODRL Offers (OPTIONAL)
|
|
11
|
+
- Array MUST contain at least one IOdrlOffer
|
|
12
|
+
- Each Offer MUST have `@type`: "Offer"
|
|
13
|
+
- `format` is REQUIRED.
|
|
14
|
+
|
|
15
|
+
**Type System Design:**
|
|
16
|
+
- W3C DCAT spec defines `odrl:hasPolicy` as optional singular `IOdrlPolicy`
|
|
17
|
+
- DS Protocol requires it as a REQUIRED array of `IOdrlOffer`
|
|
18
|
+
- Interface extension allows TypeScript to override inherited property types
|
|
19
|
+
- Standards packages (@twin.org/standards-w3c-*) follow W3C specs exactly
|
|
20
|
+
- DS Protocol-specific constraints are defined here
|
|
21
|
+
|
|
22
|
+
**Future Compatibility:**
|
|
23
|
+
- Currently only one Offer per dataset is supported
|
|
24
|
+
- Array structure allows future support for multiple offers
|
|
25
|
+
|
|
26
|
+
## See
|
|
27
|
+
|
|
28
|
+
- https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#lower-level-types
|
|
29
|
+
- https://www.w3.org/TR/vocab-dcat-3/ - W3C DCAT v3 spec
|
|
30
|
+
- IOdrlOffer from @twin.org/standards-w3c-odrl
|
|
31
|
+
- IResource.odrl:hasPolicy from @twin.org/standards-w3c-dcat
|
|
32
|
+
|
|
33
|
+
## Extends
|
|
34
|
+
|
|
35
|
+
- `Omit`\<`IDcatDistributionBase`, `"odrl:hasPolicy"` \| `"@type"` \| `"dcterms:format"`\>
|
|
36
|
+
|
|
37
|
+
## Extended by
|
|
38
|
+
|
|
39
|
+
- [`IDataspaceProtocolDistribution`](IDataspaceProtocolDistribution.md)
|
|
40
|
+
|
|
41
|
+
## Properties
|
|
42
|
+
|
|
43
|
+
### @type {#type}
|
|
44
|
+
|
|
45
|
+
> **@type**: `"Distribution"`
|
|
46
|
+
|
|
47
|
+
The type identifier for the Distribution.
|
|
48
|
+
REQUIRED per Eclipse Data Space Protocol.
|
|
49
|
+
|
|
50
|
+
***
|
|
51
|
+
|
|
52
|
+
### @id? {#id}
|
|
53
|
+
|
|
54
|
+
> `optional` **@id?**: `string`
|
|
55
|
+
|
|
56
|
+
Unique identifier for the distribution.
|
|
57
|
+
OPTIONAL for embedded distributions (may use JSON-LD blank nodes).
|
|
58
|
+
REQUIRED on standalone Distribution objects per Eclipse Data Space Protocol.
|
|
59
|
+
|
|
60
|
+
#### Overrides
|
|
61
|
+
|
|
62
|
+
`Omit.@id`
|
|
63
|
+
|
|
64
|
+
***
|
|
65
|
+
|
|
66
|
+
### hasPolicy? {#haspolicy}
|
|
67
|
+
|
|
68
|
+
> `optional` **hasPolicy?**: `ObjectOrArray`\<[`IDataspaceProtocolOfferBase`](IDataspaceProtocolOfferBase.md)\>
|
|
69
|
+
|
|
70
|
+
Array of ODRL policies (Offers) as required by DS Protocol.
|
|
71
|
+
|
|
72
|
+
REQUIRED per Eclipse Data Space Protocol spec.
|
|
73
|
+
Must contain at least one IOdrlOffer.
|
|
74
|
+
Currently only single offer is supported, but array structure
|
|
75
|
+
allows for future multi-offer support.
|
|
76
|
+
|
|
77
|
+
***
|
|
78
|
+
|
|
79
|
+
### accessService {#accessservice}
|
|
80
|
+
|
|
81
|
+
> **accessService**: `string` \| [`IDataspaceProtocolDataServiceBase`](IDataspaceProtocolDataServiceBase.md)
|
|
82
|
+
|
|
83
|
+
Access service.
|
|
84
|
+
It can be a URI pointing to an access service or inline the access service itself.
|
|
85
|
+
|
|
86
|
+
***
|
|
87
|
+
|
|
88
|
+
### format {#format}
|
|
89
|
+
|
|
90
|
+
> **format**: `string`
|
|
91
|
+
|
|
92
|
+
Distribution format.
|
|
93
|
+
REQUIRED per Eclipse Data Space Protocol.
|
|
94
|
+
|
|
95
|
+
***
|
|
96
|
+
|
|
97
|
+
### dcterms:title? {#dctermstitle}
|
|
98
|
+
|
|
99
|
+
> `optional` **dcterms:title?**: `ObjectOrArray`\<`string`\>
|
|
100
|
+
|
|
101
|
+
A name given to the distribution.
|
|
102
|
+
|
|
103
|
+
#### See
|
|
104
|
+
|
|
105
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_title
|
|
106
|
+
|
|
107
|
+
#### Inherited from
|
|
108
|
+
|
|
109
|
+
`Omit.dcterms:title`
|
|
110
|
+
|
|
111
|
+
***
|
|
112
|
+
|
|
113
|
+
### dcterms:description? {#dctermsdescription}
|
|
114
|
+
|
|
115
|
+
> `optional` **dcterms:description?**: `ObjectOrArray`\<`string`\>
|
|
116
|
+
|
|
117
|
+
A free-text account of the distribution.
|
|
118
|
+
|
|
119
|
+
#### See
|
|
120
|
+
|
|
121
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_description
|
|
122
|
+
|
|
123
|
+
#### Inherited from
|
|
124
|
+
|
|
125
|
+
`Omit.dcterms:description`
|
|
126
|
+
|
|
127
|
+
***
|
|
128
|
+
|
|
129
|
+
### dcterms:issued? {#dctermsissued}
|
|
130
|
+
|
|
131
|
+
> `optional` **dcterms:issued?**: `string`
|
|
132
|
+
|
|
133
|
+
Date of formal issuance of the distribution.
|
|
134
|
+
|
|
135
|
+
#### See
|
|
136
|
+
|
|
137
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_release_date
|
|
138
|
+
|
|
139
|
+
#### Inherited from
|
|
140
|
+
|
|
141
|
+
`Omit.dcterms:issued`
|
|
142
|
+
|
|
143
|
+
***
|
|
144
|
+
|
|
145
|
+
### dcterms:modified? {#dctermsmodified}
|
|
146
|
+
|
|
147
|
+
> `optional` **dcterms:modified?**: `string`
|
|
148
|
+
|
|
149
|
+
Most recent date on which the distribution was changed, updated or modified.
|
|
150
|
+
|
|
151
|
+
#### See
|
|
152
|
+
|
|
153
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_update_date
|
|
154
|
+
|
|
155
|
+
#### Inherited from
|
|
156
|
+
|
|
157
|
+
`Omit.dcterms:modified`
|
|
158
|
+
|
|
159
|
+
***
|
|
160
|
+
|
|
161
|
+
### dcterms:license? {#dctermslicense}
|
|
162
|
+
|
|
163
|
+
> `optional` **dcterms:license?**: `string`
|
|
164
|
+
|
|
165
|
+
A legal document under which the distribution is made available.
|
|
166
|
+
|
|
167
|
+
#### See
|
|
168
|
+
|
|
169
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_license
|
|
170
|
+
|
|
171
|
+
#### Inherited from
|
|
172
|
+
|
|
173
|
+
`Omit.dcterms:license`
|
|
174
|
+
|
|
175
|
+
***
|
|
176
|
+
|
|
177
|
+
### dcterms:accessRights? {#dctermsaccessrights}
|
|
178
|
+
|
|
179
|
+
> `optional` **dcterms:accessRights?**: `string`
|
|
180
|
+
|
|
181
|
+
Information about who can access the distribution.
|
|
182
|
+
|
|
183
|
+
#### See
|
|
184
|
+
|
|
185
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_access_rights
|
|
186
|
+
|
|
187
|
+
#### Inherited from
|
|
188
|
+
|
|
189
|
+
`Omit.dcterms:accessRights`
|
|
190
|
+
|
|
191
|
+
***
|
|
192
|
+
|
|
193
|
+
### dcterms:rights? {#dctermsrights}
|
|
194
|
+
|
|
195
|
+
> `optional` **dcterms:rights?**: `string`
|
|
196
|
+
|
|
197
|
+
Information about rights held in and over the distribution.
|
|
198
|
+
|
|
199
|
+
#### See
|
|
200
|
+
|
|
201
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_rights
|
|
202
|
+
|
|
203
|
+
#### Inherited from
|
|
204
|
+
|
|
205
|
+
`Omit.dcterms:rights`
|
|
206
|
+
|
|
207
|
+
***
|
|
208
|
+
|
|
209
|
+
### dcat:accessURL? {#dcataccessurl}
|
|
210
|
+
|
|
211
|
+
> `optional` **dcat:accessURL?**: `string`
|
|
212
|
+
|
|
213
|
+
A URL of the resource that gives access to a distribution of the dataset.
|
|
214
|
+
|
|
215
|
+
#### See
|
|
216
|
+
|
|
217
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_access_url
|
|
218
|
+
|
|
219
|
+
#### Inherited from
|
|
220
|
+
|
|
221
|
+
`Omit.dcat:accessURL`
|
|
222
|
+
|
|
223
|
+
***
|
|
224
|
+
|
|
225
|
+
### dcat:accessService? {#dcataccessservice}
|
|
226
|
+
|
|
227
|
+
> `optional` **dcat:accessService?**: `string`
|
|
228
|
+
|
|
229
|
+
A data service that gives access to the distribution.
|
|
230
|
+
|
|
231
|
+
#### See
|
|
232
|
+
|
|
233
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_access_service
|
|
234
|
+
|
|
235
|
+
#### Inherited from
|
|
236
|
+
|
|
237
|
+
`Omit.dcat:accessService`
|
|
238
|
+
|
|
239
|
+
***
|
|
240
|
+
|
|
241
|
+
### dcat:downloadURL? {#dcatdownloadurl}
|
|
242
|
+
|
|
243
|
+
> `optional` **dcat:downloadURL?**: `string`
|
|
244
|
+
|
|
245
|
+
The URL of the downloadable file in a given format.
|
|
246
|
+
|
|
247
|
+
#### See
|
|
248
|
+
|
|
249
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_download_url
|
|
250
|
+
|
|
251
|
+
#### Inherited from
|
|
252
|
+
|
|
253
|
+
`Omit.dcat:downloadURL`
|
|
254
|
+
|
|
255
|
+
***
|
|
256
|
+
|
|
257
|
+
### dcat:byteSize? {#dcatbytesize}
|
|
258
|
+
|
|
259
|
+
> `optional` **dcat:byteSize?**: `number`
|
|
260
|
+
|
|
261
|
+
The size of the distribution in bytes.
|
|
262
|
+
|
|
263
|
+
#### See
|
|
264
|
+
|
|
265
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_byte_size
|
|
266
|
+
|
|
267
|
+
#### Inherited from
|
|
268
|
+
|
|
269
|
+
`Omit.dcat:byteSize`
|
|
270
|
+
|
|
271
|
+
***
|
|
272
|
+
|
|
273
|
+
### dcat:spatialResolutionInMeters? {#dcatspatialresolutioninmeters}
|
|
274
|
+
|
|
275
|
+
> `optional` **dcat:spatialResolutionInMeters?**: `number`
|
|
276
|
+
|
|
277
|
+
The minimum spatial separation resolvable in a distribution, measured in meters.
|
|
278
|
+
|
|
279
|
+
#### See
|
|
280
|
+
|
|
281
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_spatial_resolution
|
|
282
|
+
|
|
283
|
+
#### Inherited from
|
|
284
|
+
|
|
285
|
+
`Omit.dcat:spatialResolutionInMeters`
|
|
286
|
+
|
|
287
|
+
***
|
|
288
|
+
|
|
289
|
+
### dcat:temporalResolution? {#dcattemporalresolution}
|
|
290
|
+
|
|
291
|
+
> `optional` **dcat:temporalResolution?**: `string`
|
|
292
|
+
|
|
293
|
+
Minimum time period resolvable in the distribution.
|
|
294
|
+
|
|
295
|
+
#### See
|
|
296
|
+
|
|
297
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_temporal_resolution
|
|
298
|
+
|
|
299
|
+
#### Inherited from
|
|
300
|
+
|
|
301
|
+
`Omit.dcat:temporalResolution`
|
|
302
|
+
|
|
303
|
+
***
|
|
304
|
+
|
|
305
|
+
### dcterms:conformsTo? {#dctermsconformsto}
|
|
306
|
+
|
|
307
|
+
> `optional` **dcterms:conformsTo?**: `ObjectOrArray`\<`string`\>
|
|
308
|
+
|
|
309
|
+
An established standard to which the distribution conforms.
|
|
310
|
+
|
|
311
|
+
#### See
|
|
312
|
+
|
|
313
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_conforms_to
|
|
314
|
+
|
|
315
|
+
#### Inherited from
|
|
316
|
+
|
|
317
|
+
`Omit.dcterms:conformsTo`
|
|
318
|
+
|
|
319
|
+
***
|
|
320
|
+
|
|
321
|
+
### dcat:mediaType? {#dcatmediatype}
|
|
322
|
+
|
|
323
|
+
> `optional` **dcat:mediaType?**: `string`
|
|
324
|
+
|
|
325
|
+
The media type of the distribution as defined by IANA.
|
|
326
|
+
|
|
327
|
+
#### See
|
|
328
|
+
|
|
329
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_media_type
|
|
330
|
+
|
|
331
|
+
#### Inherited from
|
|
332
|
+
|
|
333
|
+
`Omit.dcat:mediaType`
|
|
334
|
+
|
|
335
|
+
***
|
|
336
|
+
|
|
337
|
+
### dcat:compressFormat? {#dcatcompressformat}
|
|
338
|
+
|
|
339
|
+
> `optional` **dcat:compressFormat?**: `string`
|
|
340
|
+
|
|
341
|
+
The compression format of the distribution.
|
|
342
|
+
|
|
343
|
+
#### See
|
|
344
|
+
|
|
345
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_compression_format
|
|
346
|
+
|
|
347
|
+
#### Inherited from
|
|
348
|
+
|
|
349
|
+
`Omit.dcat:compressFormat`
|
|
350
|
+
|
|
351
|
+
***
|
|
352
|
+
|
|
353
|
+
### dcat:packageFormat? {#dcatpackageformat}
|
|
354
|
+
|
|
355
|
+
> `optional` **dcat:packageFormat?**: `string`
|
|
356
|
+
|
|
357
|
+
The package format of the distribution.
|
|
358
|
+
|
|
359
|
+
#### See
|
|
360
|
+
|
|
361
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_packaging_format
|
|
362
|
+
|
|
363
|
+
#### Inherited from
|
|
364
|
+
|
|
365
|
+
`Omit.dcat:packageFormat`
|
|
366
|
+
|
|
367
|
+
***
|
|
368
|
+
|
|
369
|
+
### spdx:checksum? {#spdxchecksum}
|
|
370
|
+
|
|
371
|
+
> `optional` **spdx:checksum?**: `string`
|
|
372
|
+
|
|
373
|
+
The checksum property provides a mechanism to verify the data integrity.
|
|
374
|
+
|
|
375
|
+
#### See
|
|
376
|
+
|
|
377
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_checksum
|
|
378
|
+
|
|
379
|
+
#### Inherited from
|
|
380
|
+
|
|
381
|
+
`Omit.spdx:checksum`
|
|
@@ -5,7 +5,7 @@ https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#lower-level
|
|
|
5
5
|
|
|
6
6
|
## Properties
|
|
7
7
|
|
|
8
|
-
### @type
|
|
8
|
+
### @type {#type}
|
|
9
9
|
|
|
10
10
|
> **@type**: `"EndpointProperty"`
|
|
11
11
|
|
|
@@ -13,7 +13,7 @@ LD Type.
|
|
|
13
13
|
|
|
14
14
|
***
|
|
15
15
|
|
|
16
|
-
### name
|
|
16
|
+
### name {#name}
|
|
17
17
|
|
|
18
18
|
> **name**: `string`
|
|
19
19
|
|
|
@@ -21,7 +21,7 @@ Property name.
|
|
|
21
21
|
|
|
22
22
|
***
|
|
23
23
|
|
|
24
|
-
### value
|
|
24
|
+
### value {#value}
|
|
25
25
|
|
|
26
26
|
> **value**: `string`
|
|
27
27
|
|
|
@@ -13,122 +13,121 @@ Extends IOdrlOffer with DS Protocol-specific constraints:
|
|
|
13
13
|
|
|
14
14
|
## Extends
|
|
15
15
|
|
|
16
|
-
- `
|
|
16
|
+
- [`IDataspaceProtocolOfferBase`](IDataspaceProtocolOfferBase.md)
|
|
17
17
|
|
|
18
18
|
## Properties
|
|
19
19
|
|
|
20
|
-
### @id
|
|
20
|
+
### @id {#id}
|
|
21
21
|
|
|
22
22
|
> **@id**: `string`
|
|
23
23
|
|
|
24
24
|
Unique identifier for the offer.
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
#### Overrides
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
[`IDataspaceProtocolOfferBase`](IDataspaceProtocolOfferBase.md).[`@id`](IDataspaceProtocolOfferBase.md#id)
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
***
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
### @context {#context}
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
> **@context**: `OdrlContextType`
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
LD Context.
|
|
37
37
|
|
|
38
38
|
***
|
|
39
39
|
|
|
40
|
-
###
|
|
40
|
+
### @type {#type}
|
|
41
41
|
|
|
42
|
-
>
|
|
42
|
+
> **@type**: `"Offer"`
|
|
43
43
|
|
|
44
|
-
The
|
|
45
|
-
Required for Offer policies.
|
|
44
|
+
The type must be "Offer".
|
|
46
45
|
|
|
47
46
|
#### Inherited from
|
|
48
47
|
|
|
49
|
-
`
|
|
48
|
+
[`IDataspaceProtocolOfferBase`](IDataspaceProtocolOfferBase.md).[`@type`](IDataspaceProtocolOfferBase.md#type)
|
|
50
49
|
|
|
51
50
|
***
|
|
52
51
|
|
|
53
|
-
###
|
|
52
|
+
### assigner {#assigner}
|
|
54
53
|
|
|
55
|
-
>
|
|
54
|
+
> **assigner**: `string` \| `IOdrlParty`
|
|
56
55
|
|
|
57
|
-
The
|
|
58
|
-
|
|
56
|
+
The assigner of the offer.
|
|
57
|
+
Required for Offer policies.
|
|
59
58
|
|
|
60
59
|
#### Inherited from
|
|
61
60
|
|
|
62
|
-
`
|
|
61
|
+
[`IDataspaceProtocolOfferBase`](IDataspaceProtocolOfferBase.md).[`assigner`](IDataspaceProtocolOfferBase.md#assigner)
|
|
63
62
|
|
|
64
63
|
***
|
|
65
64
|
|
|
66
|
-
### profile?
|
|
65
|
+
### profile? {#profile}
|
|
67
66
|
|
|
68
|
-
> `optional` **profile
|
|
67
|
+
> `optional` **profile?**: `ObjectOrArray`\<`string`\>
|
|
69
68
|
|
|
70
69
|
The profile(s) this policy conforms to.
|
|
71
70
|
IRIs identifying the ODRL Profile(s).
|
|
72
71
|
|
|
73
72
|
#### Inherited from
|
|
74
73
|
|
|
75
|
-
`
|
|
74
|
+
[`IDataspaceProtocolOfferBase`](IDataspaceProtocolOfferBase.md).[`profile`](IDataspaceProtocolOfferBase.md#profile)
|
|
76
75
|
|
|
77
76
|
***
|
|
78
77
|
|
|
79
|
-
### assignee?
|
|
78
|
+
### assignee? {#assignee}
|
|
80
79
|
|
|
81
|
-
> `optional` **assignee
|
|
80
|
+
> `optional` **assignee?**: `ObjectOrArray`\<`string` \| `IOdrlParty` \| `IOdrlPartyCollection`\>
|
|
82
81
|
|
|
83
82
|
The assignee of the policy.
|
|
84
83
|
Applies to all rules unless overridden at rule level.
|
|
85
84
|
|
|
86
85
|
#### Inherited from
|
|
87
86
|
|
|
88
|
-
`
|
|
87
|
+
[`IDataspaceProtocolOfferBase`](IDataspaceProtocolOfferBase.md).[`assignee`](IDataspaceProtocolOfferBase.md#assignee)
|
|
89
88
|
|
|
90
89
|
***
|
|
91
90
|
|
|
92
|
-
### target?
|
|
91
|
+
### target? {#target}
|
|
93
92
|
|
|
94
|
-
> `optional` **target
|
|
93
|
+
> `optional` **target?**: `ObjectOrArray`\<`string` \| `IOdrlAsset` \| `IOdrlAssetCollection`\>
|
|
95
94
|
|
|
96
95
|
The target asset for the rule.
|
|
97
96
|
|
|
98
97
|
#### Inherited from
|
|
99
98
|
|
|
100
|
-
`
|
|
99
|
+
[`IDataspaceProtocolOfferBase`](IDataspaceProtocolOfferBase.md).[`target`](IDataspaceProtocolOfferBase.md#target)
|
|
101
100
|
|
|
102
101
|
***
|
|
103
102
|
|
|
104
|
-
### action?
|
|
103
|
+
### action? {#action}
|
|
105
104
|
|
|
106
|
-
> `optional` **action
|
|
105
|
+
> `optional` **action?**: `ObjectOrArray`\<`string` \| `IOdrlAction`\>
|
|
107
106
|
|
|
108
107
|
The action associated with the rule.
|
|
109
108
|
|
|
110
109
|
#### Inherited from
|
|
111
110
|
|
|
112
|
-
`
|
|
111
|
+
[`IDataspaceProtocolOfferBase`](IDataspaceProtocolOfferBase.md).[`action`](IDataspaceProtocolOfferBase.md#action)
|
|
113
112
|
|
|
114
113
|
***
|
|
115
114
|
|
|
116
|
-
### inheritFrom?
|
|
115
|
+
### inheritFrom? {#inheritfrom}
|
|
117
116
|
|
|
118
|
-
> `optional` **inheritFrom
|
|
117
|
+
> `optional` **inheritFrom?**: `ObjectOrArray`\<`string`\>
|
|
119
118
|
|
|
120
119
|
The parent policy(ies) this policy inherits from.
|
|
121
120
|
IRIs identifying the parent Policy(ies).
|
|
122
121
|
|
|
123
122
|
#### Inherited from
|
|
124
123
|
|
|
125
|
-
`
|
|
124
|
+
[`IDataspaceProtocolOfferBase`](IDataspaceProtocolOfferBase.md).[`inheritFrom`](IDataspaceProtocolOfferBase.md#inheritfrom)
|
|
126
125
|
|
|
127
126
|
***
|
|
128
127
|
|
|
129
|
-
### conflict?
|
|
128
|
+
### conflict? {#conflict}
|
|
130
129
|
|
|
131
|
-
> `optional` **conflict
|
|
130
|
+
> `optional` **conflict?**: `OdrlConflictStrategyType`
|
|
132
131
|
|
|
133
132
|
The conflict resolution strategy.
|
|
134
133
|
- perm: Permissions override Prohibitions
|
|
@@ -137,43 +136,43 @@ The conflict resolution strategy.
|
|
|
137
136
|
|
|
138
137
|
#### Inherited from
|
|
139
138
|
|
|
140
|
-
`
|
|
139
|
+
[`IDataspaceProtocolOfferBase`](IDataspaceProtocolOfferBase.md).[`conflict`](IDataspaceProtocolOfferBase.md#conflict)
|
|
141
140
|
|
|
142
141
|
***
|
|
143
142
|
|
|
144
|
-
### permission?
|
|
143
|
+
### permission? {#permission}
|
|
145
144
|
|
|
146
|
-
> `optional` **permission
|
|
145
|
+
> `optional` **permission?**: `ObjectOrArray`\<`IOdrlPermission`\>
|
|
147
146
|
|
|
148
147
|
The permissions in the policy.
|
|
149
148
|
At least one of permission, prohibition, or obligation must be present.
|
|
150
149
|
|
|
151
150
|
#### Inherited from
|
|
152
151
|
|
|
153
|
-
`
|
|
152
|
+
[`IDataspaceProtocolOfferBase`](IDataspaceProtocolOfferBase.md).[`permission`](IDataspaceProtocolOfferBase.md#permission)
|
|
154
153
|
|
|
155
154
|
***
|
|
156
155
|
|
|
157
|
-
### prohibition?
|
|
156
|
+
### prohibition? {#prohibition}
|
|
158
157
|
|
|
159
|
-
> `optional` **prohibition
|
|
158
|
+
> `optional` **prohibition?**: `ObjectOrArray`\<`IOdrlProhibition`\>
|
|
160
159
|
|
|
161
160
|
The prohibitions in the policy.
|
|
162
161
|
At least one of permission, prohibition, or obligation must be present.
|
|
163
162
|
|
|
164
163
|
#### Inherited from
|
|
165
164
|
|
|
166
|
-
`
|
|
165
|
+
[`IDataspaceProtocolOfferBase`](IDataspaceProtocolOfferBase.md).[`prohibition`](IDataspaceProtocolOfferBase.md#prohibition)
|
|
167
166
|
|
|
168
167
|
***
|
|
169
168
|
|
|
170
|
-
### obligation?
|
|
169
|
+
### obligation? {#obligation}
|
|
171
170
|
|
|
172
|
-
> `optional` **obligation
|
|
171
|
+
> `optional` **obligation?**: `ObjectOrArray`\<`IOdrlDuty`\>
|
|
173
172
|
|
|
174
173
|
The obligations in the policy.
|
|
175
174
|
At least one of permission, prohibition, or obligation must be present.
|
|
176
175
|
|
|
177
176
|
#### Inherited from
|
|
178
177
|
|
|
179
|
-
`
|
|
178
|
+
[`IDataspaceProtocolOfferBase`](IDataspaceProtocolOfferBase.md).[`obligation`](IDataspaceProtocolOfferBase.md#obligation)
|