@twin.org/standards-dataspace-protocol 0.0.3-next.54 → 0.0.3-next.55
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 +18 -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 +20 -20
- package/docs/reference/interfaces/IDataspaceProtocolCatalog.md +110 -86
- package/docs/reference/interfaces/IDataspaceProtocolCatalogBase.md +570 -0
- package/docs/reference/interfaces/IDataspaceProtocolCatalogError.md +4 -4
- package/docs/reference/interfaces/IDataspaceProtocolCatalogRequestMessage.md +3 -3
- package/docs/reference/interfaces/IDataspaceProtocolContractAgreementMessage.md +7 -7
- package/docs/reference/interfaces/IDataspaceProtocolContractAgreementVerificationMessage.md +4 -4
- package/docs/reference/interfaces/IDataspaceProtocolContractNegotiation.md +5 -5
- package/docs/reference/interfaces/IDataspaceProtocolContractNegotiationError.md +6 -6
- package/docs/reference/interfaces/IDataspaceProtocolContractNegotiationEventMessage.md +5 -5
- package/docs/reference/interfaces/IDataspaceProtocolContractNegotiationTerminationMessage.md +6 -6
- package/docs/reference/interfaces/IDataspaceProtocolContractOfferMessage.md +7 -7
- package/docs/reference/interfaces/IDataspaceProtocolContractRequestMessage.md +7 -7
- package/docs/reference/interfaces/IDataspaceProtocolDataAddress.md +4 -4
- package/docs/reference/interfaces/IDataspaceProtocolDataService.md +70 -58
- package/docs/reference/interfaces/IDataspaceProtocolDataServiceBase.md +387 -0
- package/docs/reference/interfaces/IDataspaceProtocolDataset.md +80 -68
- package/docs/reference/interfaces/IDataspaceProtocolDatasetBase.md +484 -0
- package/docs/reference/interfaces/IDataspaceProtocolDatasetRequestMessage.md +3 -3
- package/docs/reference/interfaces/IDataspaceProtocolDistribution.md +72 -56
- package/docs/reference/interfaces/IDataspaceProtocolDistributionBase.md +381 -0
- package/docs/reference/interfaces/IDataspaceProtocolEndpointProperty.md +3 -3
- package/docs/reference/interfaces/IDataspaceProtocolOffer.md +43 -44
- package/docs/reference/interfaces/IDataspaceProtocolOfferBase.md +171 -0
- package/docs/reference/interfaces/IDataspaceProtocolPolicy.md +22 -22
- package/docs/reference/interfaces/IDataspaceProtocolSet.md +22 -22
- package/docs/reference/interfaces/IDataspaceProtocolTransferCompletionMessage.md +4 -4
- package/docs/reference/interfaces/IDataspaceProtocolTransferError.md +6 -6
- package/docs/reference/interfaces/IDataspaceProtocolTransferProcess.md +5 -5
- package/docs/reference/interfaces/IDataspaceProtocolTransferRequestMessage.md +7 -7
- package/docs/reference/interfaces/IDataspaceProtocolTransferStartMessage.md +5 -5
- package/docs/reference/interfaces/IDataspaceProtocolTransferSuspensionMessage.md +6 -6
- package/docs/reference/interfaces/IDataspaceProtocolTransferTerminationMessage.md +6 -6
- 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,428 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolCatalogBase",
|
|
4
|
+
"title": "DataspaceProtocolCatalogBase",
|
|
5
|
+
"description": "Catalog interface compliant with Eclipse Data Space Protocol.\n\nThis interface extends ICatalog and enforces DS Protocol-specific requirements\nby overriding properties with more specific types and constraints.\n\n**Requirements per DS Protocol:**\n- `@id` MUST be present for dataset identification (REQUIRED)\n- participantId MUST be present (REQUIRED)\n\n**Type System Design:**\n- Interface extension allows TypeScript to override inherited property types\n- Standards packages (@twin.org/standards-w3c-*) follow W3C specs exactly\n- DS Protocol-specific constraints are defined here",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"@type": {
|
|
9
|
+
"const": "Catalog",
|
|
10
|
+
"description": "The type identifier for the Catalog.\nREQUIRED per Eclipse Data Space Protocol."
|
|
11
|
+
},
|
|
12
|
+
"@id": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Unique identifier for the dataset.\nREQUIRED per Eclipse Data Space Protocol."
|
|
15
|
+
},
|
|
16
|
+
"participantId": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "Participant Id"
|
|
19
|
+
},
|
|
20
|
+
"catalog": {
|
|
21
|
+
"anyOf": [
|
|
22
|
+
{
|
|
23
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolCatalogBase"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"type": "array",
|
|
27
|
+
"items": {
|
|
28
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolCatalogBase"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"description": "Other concerned catalogs"
|
|
33
|
+
},
|
|
34
|
+
"dataset": {
|
|
35
|
+
"anyOf": [
|
|
36
|
+
{
|
|
37
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolDatasetBase"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"type": "array",
|
|
41
|
+
"items": {
|
|
42
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolDatasetBase"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"description": "Datasets registered"
|
|
47
|
+
},
|
|
48
|
+
"distribution": {
|
|
49
|
+
"anyOf": [
|
|
50
|
+
{
|
|
51
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolDistributionBase"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"type": "array",
|
|
55
|
+
"items": {
|
|
56
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolDistributionBase"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"description": "Catalog's distributions"
|
|
61
|
+
},
|
|
62
|
+
"service": {
|
|
63
|
+
"anyOf": [
|
|
64
|
+
{
|
|
65
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolDataServiceBase"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"type": "array",
|
|
69
|
+
"items": {
|
|
70
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolDataServiceBase"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"description": "Data services registered-"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"required": [
|
|
78
|
+
"@type",
|
|
79
|
+
"@id",
|
|
80
|
+
"participantId"
|
|
81
|
+
],
|
|
82
|
+
"allOf": [
|
|
83
|
+
{
|
|
84
|
+
"description": "Base interface for DCAT Catalog without JSON-LD context.\nThis is the context-free variant of IDcatCatalog, intended for embedding\ncatalogs inline within other objects where the context is provided by the enclosing document.\nNote: dcat:Catalog is a sub-class of dcat:Dataset per the W3C spec.",
|
|
85
|
+
"type": "object",
|
|
86
|
+
"properties": {
|
|
87
|
+
"@id": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"description": "The unique identifier for the resource.",
|
|
90
|
+
"$comment": "Inherited from DcatResourceBase"
|
|
91
|
+
},
|
|
92
|
+
"dcterms:title": {
|
|
93
|
+
"anyOf": [
|
|
94
|
+
{
|
|
95
|
+
"type": "string"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"type": "array",
|
|
99
|
+
"items": {
|
|
100
|
+
"type": "string"
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"description": "A name given to the resource.",
|
|
105
|
+
"$comment": "Inherited from DcatResourceBase"
|
|
106
|
+
},
|
|
107
|
+
"dcterms:description": {
|
|
108
|
+
"anyOf": [
|
|
109
|
+
{
|
|
110
|
+
"type": "string"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"type": "array",
|
|
114
|
+
"items": {
|
|
115
|
+
"type": "string"
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
"description": "A free-text account of the resource.",
|
|
120
|
+
"$comment": "Inherited from DcatResourceBase"
|
|
121
|
+
},
|
|
122
|
+
"dcterms:identifier": {
|
|
123
|
+
"anyOf": [
|
|
124
|
+
{
|
|
125
|
+
"type": "string"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"type": "array",
|
|
129
|
+
"items": {
|
|
130
|
+
"type": "string"
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
"description": "A unique identifier of the resource.",
|
|
135
|
+
"$comment": "Inherited from DcatResourceBase"
|
|
136
|
+
},
|
|
137
|
+
"dcterms:issued": {
|
|
138
|
+
"type": "string",
|
|
139
|
+
"description": "Date of formal issuance (publication) of the resource.",
|
|
140
|
+
"format": "date-time",
|
|
141
|
+
"$comment": "Inherited from DcatResourceBase"
|
|
142
|
+
},
|
|
143
|
+
"dcterms:modified": {
|
|
144
|
+
"type": "string",
|
|
145
|
+
"description": "Most recent date on which the resource was changed, updated or modified.",
|
|
146
|
+
"format": "date-time",
|
|
147
|
+
"$comment": "Inherited from DcatResourceBase"
|
|
148
|
+
},
|
|
149
|
+
"dcterms:language": {
|
|
150
|
+
"anyOf": [
|
|
151
|
+
{
|
|
152
|
+
"type": "string"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"type": "array",
|
|
156
|
+
"items": {
|
|
157
|
+
"type": "string"
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
"description": "A language of the resource.",
|
|
162
|
+
"$comment": "Inherited from DcatResourceBase"
|
|
163
|
+
},
|
|
164
|
+
"dcterms:publisher": {
|
|
165
|
+
"anyOf": [
|
|
166
|
+
{
|
|
167
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/FoafAgentWithAliases"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"type": "string"
|
|
171
|
+
}
|
|
172
|
+
],
|
|
173
|
+
"description": "An entity responsible for making the resource available.",
|
|
174
|
+
"$comment": "Inherited from DcatResourceBase"
|
|
175
|
+
},
|
|
176
|
+
"dcterms:creator": {
|
|
177
|
+
"anyOf": [
|
|
178
|
+
{
|
|
179
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/FoafAgentWithAliases"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"type": "string"
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"description": "An entity responsible for producing the resource.",
|
|
186
|
+
"$comment": "Inherited from DcatResourceBase"
|
|
187
|
+
},
|
|
188
|
+
"dcterms:accessRights": {
|
|
189
|
+
"anyOf": [
|
|
190
|
+
{
|
|
191
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"type": "string"
|
|
195
|
+
}
|
|
196
|
+
],
|
|
197
|
+
"description": "Information about who can access the resource or an indication of its security status.",
|
|
198
|
+
"$comment": "Inherited from DcatResourceBase"
|
|
199
|
+
},
|
|
200
|
+
"dcterms:license": {
|
|
201
|
+
"anyOf": [
|
|
202
|
+
{
|
|
203
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"type": "string"
|
|
207
|
+
}
|
|
208
|
+
],
|
|
209
|
+
"description": "A legal document under which the resource is made available.",
|
|
210
|
+
"$comment": "Inherited from DcatResourceBase"
|
|
211
|
+
},
|
|
212
|
+
"dcterms:rights": {
|
|
213
|
+
"anyOf": [
|
|
214
|
+
{
|
|
215
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"type": "string"
|
|
219
|
+
}
|
|
220
|
+
],
|
|
221
|
+
"description": "Information about rights held in and over the resource.",
|
|
222
|
+
"$comment": "Inherited from DcatResourceBase"
|
|
223
|
+
},
|
|
224
|
+
"dcterms:conformsTo": {
|
|
225
|
+
"anyOf": [
|
|
226
|
+
{
|
|
227
|
+
"type": "string"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"type": "array",
|
|
231
|
+
"items": {
|
|
232
|
+
"type": "string"
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
],
|
|
236
|
+
"description": "An established standard to which the resource conforms.",
|
|
237
|
+
"$comment": "Inherited from DcatResourceBase"
|
|
238
|
+
},
|
|
239
|
+
"dcterms:type": {
|
|
240
|
+
"type": "string",
|
|
241
|
+
"description": "The nature or genre of the resource.",
|
|
242
|
+
"$comment": "Inherited from DcatResourceBase"
|
|
243
|
+
},
|
|
244
|
+
"dcat:contactPoint": {
|
|
245
|
+
"anyOf": [
|
|
246
|
+
{
|
|
247
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"type": "string"
|
|
251
|
+
}
|
|
252
|
+
],
|
|
253
|
+
"description": "Relevant contact information for the catalogued resource.",
|
|
254
|
+
"$comment": "Inherited from DcatResourceBase"
|
|
255
|
+
},
|
|
256
|
+
"dcat:keyword": {
|
|
257
|
+
"anyOf": [
|
|
258
|
+
{
|
|
259
|
+
"type": "string"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"type": "array",
|
|
263
|
+
"items": {
|
|
264
|
+
"type": "string"
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
],
|
|
268
|
+
"description": "A keyword or tag describing the resource.",
|
|
269
|
+
"$comment": "Inherited from DcatResourceBase"
|
|
270
|
+
},
|
|
271
|
+
"dcat:theme": {
|
|
272
|
+
"anyOf": [
|
|
273
|
+
{
|
|
274
|
+
"type": "string"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"type": "array",
|
|
278
|
+
"items": {
|
|
279
|
+
"type": "string"
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
],
|
|
283
|
+
"description": "A main category of the resource. A resource can have multiple themes.",
|
|
284
|
+
"$comment": "Inherited from DcatResourceBase"
|
|
285
|
+
},
|
|
286
|
+
"dcat:landingPage": {
|
|
287
|
+
"anyOf": [
|
|
288
|
+
{
|
|
289
|
+
"type": "string"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"type": "array",
|
|
293
|
+
"items": {
|
|
294
|
+
"type": "string"
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
],
|
|
298
|
+
"description": "A Web page that can be navigated to gain access to the resource.",
|
|
299
|
+
"$comment": "Inherited from DcatResourceBase"
|
|
300
|
+
},
|
|
301
|
+
"dcat:qualifiedRelation": {
|
|
302
|
+
"anyOf": [
|
|
303
|
+
{
|
|
304
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/DcatRelationship"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"type": "string"
|
|
308
|
+
}
|
|
309
|
+
],
|
|
310
|
+
"description": "Link to a description of a relationship with another resource.",
|
|
311
|
+
"$comment": "Inherited from DcatResourceBase"
|
|
312
|
+
},
|
|
313
|
+
"odrl:hasPolicy": {
|
|
314
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPolicy",
|
|
315
|
+
"description": "An ODRL conformant policy expressing the rights associated with the resource.",
|
|
316
|
+
"$comment": "Inherited from DcatResourceBase"
|
|
317
|
+
},
|
|
318
|
+
"dcterms:accrualPeriodicity": {
|
|
319
|
+
"type": "string",
|
|
320
|
+
"description": "The frequency at which the dataset is published.",
|
|
321
|
+
"$comment": "Inherited from DcatDatasetBase"
|
|
322
|
+
},
|
|
323
|
+
"dcat:inSeries": {
|
|
324
|
+
"type": "string",
|
|
325
|
+
"description": "A dataset series of which the dataset is part.",
|
|
326
|
+
"$comment": "Inherited from DcatDatasetBase"
|
|
327
|
+
},
|
|
328
|
+
"dcterms:spatial": {
|
|
329
|
+
"anyOf": [
|
|
330
|
+
{
|
|
331
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"type": "string"
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"type": "array",
|
|
338
|
+
"items": {
|
|
339
|
+
"type": "string"
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
],
|
|
343
|
+
"description": "The geographical area covered by the dataset.",
|
|
344
|
+
"$comment": "Inherited from DcatDatasetBase"
|
|
345
|
+
},
|
|
346
|
+
"dcat:spatialResolutionInMeters": {
|
|
347
|
+
"type": "number",
|
|
348
|
+
"description": "Minimum spatial separation resolvable in a dataset, measured in meters.",
|
|
349
|
+
"$comment": "Inherited from DcatDatasetBase"
|
|
350
|
+
},
|
|
351
|
+
"dcterms:temporal": {
|
|
352
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/DublinCorePeriodOfTime",
|
|
353
|
+
"description": "The temporal period that the dataset covers.",
|
|
354
|
+
"$comment": "Inherited from DcatDatasetBase"
|
|
355
|
+
},
|
|
356
|
+
"dcat:temporalResolution": {
|
|
357
|
+
"type": "string",
|
|
358
|
+
"description": "Minimum time period resolvable in the dataset.",
|
|
359
|
+
"format": "duration",
|
|
360
|
+
"$comment": "Inherited from DcatDatasetBase"
|
|
361
|
+
},
|
|
362
|
+
"prov:wasGeneratedBy": {
|
|
363
|
+
"anyOf": [
|
|
364
|
+
{
|
|
365
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"type": "string"
|
|
369
|
+
}
|
|
370
|
+
],
|
|
371
|
+
"description": "An activity that generated, or provides the business context for, the creation of the dataset.",
|
|
372
|
+
"$comment": "Inherited from DcatDatasetBase"
|
|
373
|
+
},
|
|
374
|
+
"foaf:homepage": {
|
|
375
|
+
"type": "string",
|
|
376
|
+
"description": "A homepage of the catalog (a public Web document usually available in HTML).",
|
|
377
|
+
"$comment": "Inherited from DcatCatalogBase"
|
|
378
|
+
},
|
|
379
|
+
"dcat:themeTaxonomy": {
|
|
380
|
+
"anyOf": [
|
|
381
|
+
{
|
|
382
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/DcatResource"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"type": "array",
|
|
386
|
+
"items": {
|
|
387
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/DcatResource"
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
],
|
|
391
|
+
"description": "A knowledge organization system (KOS) used to classify the resources in the catalog.",
|
|
392
|
+
"$comment": "Inherited from DcatCatalogBase"
|
|
393
|
+
},
|
|
394
|
+
"dcat:resource": {
|
|
395
|
+
"anyOf": [
|
|
396
|
+
{
|
|
397
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/DcatResource"
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"type": "array",
|
|
401
|
+
"items": {
|
|
402
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/DcatResource"
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
],
|
|
406
|
+
"description": "A resource that is listed in the catalog.",
|
|
407
|
+
"$comment": "Inherited from DcatCatalogBase"
|
|
408
|
+
},
|
|
409
|
+
"dcat:record": {
|
|
410
|
+
"anyOf": [
|
|
411
|
+
{
|
|
412
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/DcatCatalogRecordBase"
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"type": "array",
|
|
416
|
+
"items": {
|
|
417
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/DcatCatalogRecordBase"
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
],
|
|
421
|
+
"description": "A record describing the registration of a single resource in the catalog.",
|
|
422
|
+
"$comment": "Inherited from DcatCatalogBase"
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
"$comment": "Inlined utility base type DcatCatalogBase so utility transformations can operate on concrete properties instead of a $ref."
|
|
426
|
+
}
|
|
427
|
+
]
|
|
428
|
+
}
|
|
@@ -1,61 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolCatalogError",
|
|
4
|
-
"
|
|
4
|
+
"title": "DataspaceProtocolCatalogError",
|
|
5
|
+
"description": "Interface for Dataspace Protocol Catalog Error.\nhttps://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#error-catalog-error",
|
|
5
6
|
"type": "object",
|
|
6
7
|
"properties": {
|
|
7
8
|
"@context": {
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
{
|
|
11
|
-
"type": "string",
|
|
12
|
-
"const": "https://w3id.org/dspace/2025/1/context.jsonld"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"type": "array",
|
|
16
|
-
"items": {
|
|
17
|
-
"type": "string",
|
|
18
|
-
"const": "https://w3id.org/dspace/2025/1/context.jsonld"
|
|
19
|
-
},
|
|
20
|
-
"minItems": 1,
|
|
21
|
-
"maxItems": 1
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"type": "array",
|
|
25
|
-
"minItems": 2,
|
|
26
|
-
"prefixItems": [
|
|
27
|
-
{
|
|
28
|
-
"type": "string",
|
|
29
|
-
"const": "https://w3id.org/dspace/2025/1/context.jsonld"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
33
|
-
}
|
|
34
|
-
],
|
|
35
|
-
"items": {
|
|
36
|
-
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"type": "array",
|
|
41
|
-
"minItems": 2,
|
|
42
|
-
"prefixItems": [
|
|
43
|
-
{
|
|
44
|
-
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"type": "string",
|
|
48
|
-
"const": "https://w3id.org/dspace/2025/1/context.jsonld"
|
|
49
|
-
}
|
|
50
|
-
],
|
|
51
|
-
"items": {
|
|
52
|
-
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
]
|
|
9
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolContextType",
|
|
10
|
+
"description": "The JSON-LD context."
|
|
56
11
|
},
|
|
57
12
|
"@type": {
|
|
58
|
-
"type": "string",
|
|
59
13
|
"const": "CatalogError",
|
|
60
14
|
"description": "The type of the message."
|
|
61
15
|
},
|
|
@@ -1,61 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolCatalogRequestMessage",
|
|
4
|
-
"
|
|
4
|
+
"title": "DataspaceProtocolCatalogRequestMessage",
|
|
5
|
+
"description": "Interface for Dataspace Protocol Catalog Request Messages.\nhttps://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#catalog-request-message",
|
|
5
6
|
"type": "object",
|
|
6
7
|
"properties": {
|
|
7
8
|
"@context": {
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
{
|
|
11
|
-
"type": "string",
|
|
12
|
-
"const": "https://w3id.org/dspace/2025/1/context.jsonld"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"type": "array",
|
|
16
|
-
"items": {
|
|
17
|
-
"type": "string",
|
|
18
|
-
"const": "https://w3id.org/dspace/2025/1/context.jsonld"
|
|
19
|
-
},
|
|
20
|
-
"minItems": 1,
|
|
21
|
-
"maxItems": 1
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"type": "array",
|
|
25
|
-
"minItems": 2,
|
|
26
|
-
"prefixItems": [
|
|
27
|
-
{
|
|
28
|
-
"type": "string",
|
|
29
|
-
"const": "https://w3id.org/dspace/2025/1/context.jsonld"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
33
|
-
}
|
|
34
|
-
],
|
|
35
|
-
"items": {
|
|
36
|
-
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"type": "array",
|
|
41
|
-
"minItems": 2,
|
|
42
|
-
"prefixItems": [
|
|
43
|
-
{
|
|
44
|
-
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"type": "string",
|
|
48
|
-
"const": "https://w3id.org/dspace/2025/1/context.jsonld"
|
|
49
|
-
}
|
|
50
|
-
],
|
|
51
|
-
"items": {
|
|
52
|
-
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
]
|
|
9
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolContextType",
|
|
10
|
+
"description": "The JSON-LD context."
|
|
56
11
|
},
|
|
57
12
|
"@type": {
|
|
58
|
-
"type": "string",
|
|
59
13
|
"const": "CatalogRequestMessage",
|
|
60
14
|
"description": "The type of the message."
|
|
61
15
|
},
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolContextType",
|
|
4
|
+
"title": "DataspaceProtocolContextType",
|
|
5
|
+
"description": "The Dataspace Protocol JSON-LD context type.",
|
|
6
|
+
"anyOf": [
|
|
7
|
+
{
|
|
8
|
+
"const": "https://w3id.org/dspace/2025/1/context.jsonld"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"type": "array",
|
|
12
|
+
"items": {
|
|
13
|
+
"anyOf": [
|
|
14
|
+
{
|
|
15
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"const": "https://w3id.org/dspace/2025/1/context.jsonld"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"contains": {
|
|
23
|
+
"const": "https://w3id.org/dspace/2025/1/context.jsonld"
|
|
24
|
+
},
|
|
25
|
+
"minContains": 1,
|
|
26
|
+
"maxContains": 1,
|
|
27
|
+
"minItems": 1
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|