@twin.org/standards-w3c-dcat 0.0.3-next.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +21 -0
- package/dist/es/dataTypes/dcatDataTypes.js +77 -0
- package/dist/es/dataTypes/dcatDataTypes.js.map +1 -0
- package/dist/es/index.js +18 -0
- package/dist/es/index.js.map +1 -0
- package/dist/es/models/ICatalog.js +2 -0
- package/dist/es/models/ICatalog.js.map +1 -0
- package/dist/es/models/ICatalogRecord.js +2 -0
- package/dist/es/models/ICatalogRecord.js.map +1 -0
- package/dist/es/models/IDataService.js +2 -0
- package/dist/es/models/IDataService.js.map +1 -0
- package/dist/es/models/IDataset.js +2 -0
- package/dist/es/models/IDataset.js.map +1 -0
- package/dist/es/models/IDatasetSeries.js +2 -0
- package/dist/es/models/IDatasetSeries.js.map +1 -0
- package/dist/es/models/IDistribution.js +2 -0
- package/dist/es/models/IDistribution.js.map +1 -0
- package/dist/es/models/IRelationship.js +2 -0
- package/dist/es/models/IRelationship.js.map +1 -0
- package/dist/es/models/IResource.js +2 -0
- package/dist/es/models/IResource.js.map +1 -0
- package/dist/es/models/IRole.js +2 -0
- package/dist/es/models/IRole.js.map +1 -0
- package/dist/es/models/dcatClasses.js +56 -0
- package/dist/es/models/dcatClasses.js.map +1 -0
- package/dist/es/models/dcatContextType.js +2 -0
- package/dist/es/models/dcatContextType.js.map +1 -0
- package/dist/es/models/dcatContexts.js +38 -0
- package/dist/es/models/dcatContexts.js.map +1 -0
- package/dist/es/models/dcatRelationshipTypes.js +57 -0
- package/dist/es/models/dcatRelationshipTypes.js.map +1 -0
- package/dist/es/models/types/dcatPropertyTypes.js +4 -0
- package/dist/es/models/types/dcatPropertyTypes.js.map +1 -0
- package/dist/es/schemas/Catalog.json +491 -0
- package/dist/es/schemas/CatalogRecord.json +212 -0
- package/dist/es/schemas/DataService.json +358 -0
- package/dist/es/schemas/Dataset.json +407 -0
- package/dist/es/schemas/DatasetSeries.json +425 -0
- package/dist/es/schemas/Distribution.json +268 -0
- package/dist/es/schemas/Relationship.json +187 -0
- package/dist/es/schemas/Resource.json +342 -0
- package/dist/es/schemas/Role.json +182 -0
- package/dist/types/dataTypes/dcatDataTypes.d.ts +14 -0
- package/dist/types/index.d.ts +15 -0
- package/dist/types/models/ICatalog.d.ts +53 -0
- package/dist/types/models/ICatalogRecord.d.ts +52 -0
- package/dist/types/models/IDataService.d.ts +31 -0
- package/dist/types/models/IDataset.d.ts +60 -0
- package/dist/types/models/IDatasetSeries.d.ts +30 -0
- package/dist/types/models/IDistribution.d.ts +122 -0
- package/dist/types/models/IRelationship.d.ts +30 -0
- package/dist/types/models/IResource.d.ts +119 -0
- package/dist/types/models/IRole.d.ts +25 -0
- package/dist/types/models/dcatClasses.d.ts +56 -0
- package/dist/types/models/dcatContextType.d.ts +11 -0
- package/dist/types/models/dcatContexts.d.ts +38 -0
- package/dist/types/models/dcatRelationshipTypes.d.ts +57 -0
- package/dist/types/models/types/dcatPropertyTypes.d.ts +29 -0
- package/docs/changelog.md +22 -0
- package/docs/examples.md +1 -0
- package/docs/reference/classes/DcatDataTypes.md +38 -0
- package/docs/reference/index.md +36 -0
- package/docs/reference/interfaces/ICatalog.md +557 -0
- package/docs/reference/interfaces/ICatalogRecord.md +113 -0
- package/docs/reference/interfaces/IDataService.md +382 -0
- package/docs/reference/interfaces/IDataset.md +447 -0
- package/docs/reference/interfaces/IDatasetSeries.md +509 -0
- package/docs/reference/interfaces/IDistribution.md +281 -0
- package/docs/reference/interfaces/IRelationship.md +65 -0
- package/docs/reference/interfaces/IResource.md +274 -0
- package/docs/reference/interfaces/IRole.md +53 -0
- package/docs/reference/type-aliases/DateTimeType.md +6 -0
- package/docs/reference/type-aliases/DcatClasses.md +5 -0
- package/docs/reference/type-aliases/DcatContextType.md +16 -0
- package/docs/reference/type-aliases/DcatContexts.md +5 -0
- package/docs/reference/type-aliases/DcatRelationshipType.md +5 -0
- package/docs/reference/type-aliases/DecimalType.md +5 -0
- package/docs/reference/type-aliases/DurationType.md +5 -0
- package/docs/reference/type-aliases/IriType.md +5 -0
- package/docs/reference/type-aliases/LiteralType.md +5 -0
- package/docs/reference/type-aliases/NonNegativeIntegerType.md +5 -0
- package/docs/reference/variables/DcatClasses.md +102 -0
- package/docs/reference/variables/DcatContexts.md +63 -0
- package/docs/reference/variables/DcatRelationshipType.md +103 -0
- package/locales/en.json +1 -0
- package/package.json +57 -0
|
@@ -0,0 +1,382 @@
|
|
|
1
|
+
# Interface: IDataService
|
|
2
|
+
|
|
3
|
+
Interface for DCAT Data Service.
|
|
4
|
+
A collection of operations that provides access to one or more datasets or data
|
|
5
|
+
processing functions.
|
|
6
|
+
|
|
7
|
+
## See
|
|
8
|
+
|
|
9
|
+
https://www.w3.org/TR/vocab-dcat-3/#Class:Data_Service
|
|
10
|
+
|
|
11
|
+
## Extends
|
|
12
|
+
|
|
13
|
+
- [`IResource`](IResource.md)
|
|
14
|
+
|
|
15
|
+
## Indexable
|
|
16
|
+
|
|
17
|
+
\[`key`: `string`\]: `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \} \| `null` \| `undefined`
|
|
18
|
+
|
|
19
|
+
## Properties
|
|
20
|
+
|
|
21
|
+
### @type
|
|
22
|
+
|
|
23
|
+
> **@type**: `"DataService"`
|
|
24
|
+
|
|
25
|
+
The type identifier, typically "DataService".
|
|
26
|
+
|
|
27
|
+
#### Overrides
|
|
28
|
+
|
|
29
|
+
[`IResource`](IResource.md).[`@type`](IResource.md#type)
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### dcat:endpointURL?
|
|
34
|
+
|
|
35
|
+
> `optional` **dcat:endpointURL**: `string`
|
|
36
|
+
|
|
37
|
+
The root location or primary endpoint of the service (a Web-resolvable IRI).
|
|
38
|
+
|
|
39
|
+
#### See
|
|
40
|
+
|
|
41
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:data_service_endpoint_url
|
|
42
|
+
|
|
43
|
+
***
|
|
44
|
+
|
|
45
|
+
### dcat:endpointDescription?
|
|
46
|
+
|
|
47
|
+
> `optional` **dcat:endpointDescription**: `string`
|
|
48
|
+
|
|
49
|
+
A description of the services available via the end-points, including their
|
|
50
|
+
operations, parameters, etc.
|
|
51
|
+
|
|
52
|
+
#### See
|
|
53
|
+
|
|
54
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:data_service_endpoint_description
|
|
55
|
+
|
|
56
|
+
***
|
|
57
|
+
|
|
58
|
+
### dcat:servesDataset?
|
|
59
|
+
|
|
60
|
+
> `optional` **dcat:servesDataset**: `ObjectOrArray`\<`string`\>
|
|
61
|
+
|
|
62
|
+
A collection of data that this data service can distribute.
|
|
63
|
+
|
|
64
|
+
#### See
|
|
65
|
+
|
|
66
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:data_service_serves_dataset
|
|
67
|
+
|
|
68
|
+
***
|
|
69
|
+
|
|
70
|
+
### @context?
|
|
71
|
+
|
|
72
|
+
> `optional` **@context**: [`DcatContextType`](../type-aliases/DcatContextType.md)
|
|
73
|
+
|
|
74
|
+
The JSON-LD context for the resource.
|
|
75
|
+
|
|
76
|
+
#### Inherited from
|
|
77
|
+
|
|
78
|
+
[`IResource`](IResource.md).[`@context`](IResource.md#context)
|
|
79
|
+
|
|
80
|
+
***
|
|
81
|
+
|
|
82
|
+
### dcterms:title?
|
|
83
|
+
|
|
84
|
+
> `optional` **dcterms:title**: [`LiteralType`](../type-aliases/LiteralType.md)
|
|
85
|
+
|
|
86
|
+
A name given to the resource.
|
|
87
|
+
|
|
88
|
+
#### See
|
|
89
|
+
|
|
90
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_title
|
|
91
|
+
|
|
92
|
+
#### Inherited from
|
|
93
|
+
|
|
94
|
+
[`IResource`](IResource.md).[`dcterms:title`](IResource.md#dctermstitle)
|
|
95
|
+
|
|
96
|
+
***
|
|
97
|
+
|
|
98
|
+
### dcterms:description?
|
|
99
|
+
|
|
100
|
+
> `optional` **dcterms:description**: [`LiteralType`](../type-aliases/LiteralType.md)
|
|
101
|
+
|
|
102
|
+
A free-text account of the resource.
|
|
103
|
+
|
|
104
|
+
#### See
|
|
105
|
+
|
|
106
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_description
|
|
107
|
+
|
|
108
|
+
#### Inherited from
|
|
109
|
+
|
|
110
|
+
[`IResource`](IResource.md).[`dcterms:description`](IResource.md#dctermsdescription)
|
|
111
|
+
|
|
112
|
+
***
|
|
113
|
+
|
|
114
|
+
### dcterms:identifier?
|
|
115
|
+
|
|
116
|
+
> `optional` **dcterms:identifier**: [`LiteralType`](../type-aliases/LiteralType.md)
|
|
117
|
+
|
|
118
|
+
A unique identifier of the resource.
|
|
119
|
+
|
|
120
|
+
#### See
|
|
121
|
+
|
|
122
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_identifier
|
|
123
|
+
|
|
124
|
+
#### Inherited from
|
|
125
|
+
|
|
126
|
+
[`IResource`](IResource.md).[`dcterms:identifier`](IResource.md#dctermsidentifier)
|
|
127
|
+
|
|
128
|
+
***
|
|
129
|
+
|
|
130
|
+
### dcterms:issued?
|
|
131
|
+
|
|
132
|
+
> `optional` **dcterms:issued**: `string`
|
|
133
|
+
|
|
134
|
+
Date of formal issuance (publication) of the resource.
|
|
135
|
+
|
|
136
|
+
#### See
|
|
137
|
+
|
|
138
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_release_date
|
|
139
|
+
|
|
140
|
+
#### Inherited from
|
|
141
|
+
|
|
142
|
+
[`IResource`](IResource.md).[`dcterms:issued`](IResource.md#dctermsissued)
|
|
143
|
+
|
|
144
|
+
***
|
|
145
|
+
|
|
146
|
+
### dcterms:modified?
|
|
147
|
+
|
|
148
|
+
> `optional` **dcterms:modified**: `string`
|
|
149
|
+
|
|
150
|
+
Most recent date on which the resource was changed, updated or modified.
|
|
151
|
+
|
|
152
|
+
#### See
|
|
153
|
+
|
|
154
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_update_date
|
|
155
|
+
|
|
156
|
+
#### Inherited from
|
|
157
|
+
|
|
158
|
+
[`IResource`](IResource.md).[`dcterms:modified`](IResource.md#dctermsmodified)
|
|
159
|
+
|
|
160
|
+
***
|
|
161
|
+
|
|
162
|
+
### dcterms:language?
|
|
163
|
+
|
|
164
|
+
> `optional` **dcterms:language**: `ObjectOrArray`\<`string`\>
|
|
165
|
+
|
|
166
|
+
A language of the resource.
|
|
167
|
+
|
|
168
|
+
#### See
|
|
169
|
+
|
|
170
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_language
|
|
171
|
+
|
|
172
|
+
#### Inherited from
|
|
173
|
+
|
|
174
|
+
[`IResource`](IResource.md).[`dcterms:language`](IResource.md#dctermslanguage)
|
|
175
|
+
|
|
176
|
+
***
|
|
177
|
+
|
|
178
|
+
### dcterms:publisher?
|
|
179
|
+
|
|
180
|
+
> `optional` **dcterms:publisher**: `string` \| `IAgent`
|
|
181
|
+
|
|
182
|
+
An entity responsible for making the resource available.
|
|
183
|
+
|
|
184
|
+
#### See
|
|
185
|
+
|
|
186
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_publisher
|
|
187
|
+
|
|
188
|
+
#### Inherited from
|
|
189
|
+
|
|
190
|
+
[`IResource`](IResource.md).[`dcterms:publisher`](IResource.md#dctermspublisher)
|
|
191
|
+
|
|
192
|
+
***
|
|
193
|
+
|
|
194
|
+
### dcterms:creator?
|
|
195
|
+
|
|
196
|
+
> `optional` **dcterms:creator**: `IAgent`
|
|
197
|
+
|
|
198
|
+
An entity responsible for producing the resource.
|
|
199
|
+
|
|
200
|
+
#### See
|
|
201
|
+
|
|
202
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_creator
|
|
203
|
+
|
|
204
|
+
#### Inherited from
|
|
205
|
+
|
|
206
|
+
[`IResource`](IResource.md).[`dcterms:creator`](IResource.md#dctermscreator)
|
|
207
|
+
|
|
208
|
+
***
|
|
209
|
+
|
|
210
|
+
### dcterms:accessRights?
|
|
211
|
+
|
|
212
|
+
> `optional` **dcterms:accessRights**: `string` \| `IJsonLdNodeObject`
|
|
213
|
+
|
|
214
|
+
Information about who can access the resource or an indication of its security status.
|
|
215
|
+
|
|
216
|
+
#### See
|
|
217
|
+
|
|
218
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_access_rights
|
|
219
|
+
|
|
220
|
+
#### Inherited from
|
|
221
|
+
|
|
222
|
+
[`IResource`](IResource.md).[`dcterms:accessRights`](IResource.md#dctermsaccessrights)
|
|
223
|
+
|
|
224
|
+
***
|
|
225
|
+
|
|
226
|
+
### dcterms:license?
|
|
227
|
+
|
|
228
|
+
> `optional` **dcterms:license**: `string` \| `IJsonLdNodeObject`
|
|
229
|
+
|
|
230
|
+
A legal document under which the resource is made available.
|
|
231
|
+
|
|
232
|
+
#### See
|
|
233
|
+
|
|
234
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_license
|
|
235
|
+
|
|
236
|
+
#### Inherited from
|
|
237
|
+
|
|
238
|
+
[`IResource`](IResource.md).[`dcterms:license`](IResource.md#dctermslicense)
|
|
239
|
+
|
|
240
|
+
***
|
|
241
|
+
|
|
242
|
+
### dcterms:rights?
|
|
243
|
+
|
|
244
|
+
> `optional` **dcterms:rights**: `string` \| `IJsonLdNodeObject`
|
|
245
|
+
|
|
246
|
+
Information about rights held in and over the resource.
|
|
247
|
+
|
|
248
|
+
#### See
|
|
249
|
+
|
|
250
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_rights
|
|
251
|
+
|
|
252
|
+
#### Inherited from
|
|
253
|
+
|
|
254
|
+
[`IResource`](IResource.md).[`dcterms:rights`](IResource.md#dctermsrights)
|
|
255
|
+
|
|
256
|
+
***
|
|
257
|
+
|
|
258
|
+
### dcterms:conformsTo?
|
|
259
|
+
|
|
260
|
+
> `optional` **dcterms:conformsTo**: `ObjectOrArray`\<`string`\>
|
|
261
|
+
|
|
262
|
+
An established standard to which the resource conforms.
|
|
263
|
+
|
|
264
|
+
#### See
|
|
265
|
+
|
|
266
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_conforms_to
|
|
267
|
+
|
|
268
|
+
#### Inherited from
|
|
269
|
+
|
|
270
|
+
[`IResource`](IResource.md).[`dcterms:conformsTo`](IResource.md#dctermsconformsto)
|
|
271
|
+
|
|
272
|
+
***
|
|
273
|
+
|
|
274
|
+
### dcterms:type?
|
|
275
|
+
|
|
276
|
+
> `optional` **dcterms:type**: `string`
|
|
277
|
+
|
|
278
|
+
The nature or genre of the resource.
|
|
279
|
+
|
|
280
|
+
#### See
|
|
281
|
+
|
|
282
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_type
|
|
283
|
+
|
|
284
|
+
#### Inherited from
|
|
285
|
+
|
|
286
|
+
[`IResource`](IResource.md).[`dcterms:type`](IResource.md#dctermstype)
|
|
287
|
+
|
|
288
|
+
***
|
|
289
|
+
|
|
290
|
+
### dcat:contactPoint?
|
|
291
|
+
|
|
292
|
+
> `optional` **dcat:contactPoint**: `string` \| `IJsonLdNodeObject`
|
|
293
|
+
|
|
294
|
+
Relevant contact information for the catalogued resource.
|
|
295
|
+
|
|
296
|
+
#### See
|
|
297
|
+
|
|
298
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_contact_point
|
|
299
|
+
|
|
300
|
+
#### Inherited from
|
|
301
|
+
|
|
302
|
+
[`IResource`](IResource.md).[`dcat:contactPoint`](IResource.md#dcatcontactpoint)
|
|
303
|
+
|
|
304
|
+
***
|
|
305
|
+
|
|
306
|
+
### dcat:keyword?
|
|
307
|
+
|
|
308
|
+
> `optional` **dcat:keyword**: [`LiteralType`](../type-aliases/LiteralType.md)
|
|
309
|
+
|
|
310
|
+
A keyword or tag describing the resource.
|
|
311
|
+
|
|
312
|
+
#### See
|
|
313
|
+
|
|
314
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_keyword
|
|
315
|
+
|
|
316
|
+
#### Inherited from
|
|
317
|
+
|
|
318
|
+
[`IResource`](IResource.md).[`dcat:keyword`](IResource.md#dcatkeyword)
|
|
319
|
+
|
|
320
|
+
***
|
|
321
|
+
|
|
322
|
+
### dcat:theme?
|
|
323
|
+
|
|
324
|
+
> `optional` **dcat:theme**: `ObjectOrArray`\<`string`\>
|
|
325
|
+
|
|
326
|
+
A main category of the resource. A resource can have multiple themes.
|
|
327
|
+
|
|
328
|
+
#### See
|
|
329
|
+
|
|
330
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_theme
|
|
331
|
+
|
|
332
|
+
#### Inherited from
|
|
333
|
+
|
|
334
|
+
[`IResource`](IResource.md).[`dcat:theme`](IResource.md#dcattheme)
|
|
335
|
+
|
|
336
|
+
***
|
|
337
|
+
|
|
338
|
+
### dcat:landingPage?
|
|
339
|
+
|
|
340
|
+
> `optional` **dcat:landingPage**: `ObjectOrArray`\<`string`\>
|
|
341
|
+
|
|
342
|
+
A Web page that can be navigated to gain access to the resource.
|
|
343
|
+
|
|
344
|
+
#### See
|
|
345
|
+
|
|
346
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_landing_page
|
|
347
|
+
|
|
348
|
+
#### Inherited from
|
|
349
|
+
|
|
350
|
+
[`IResource`](IResource.md).[`dcat:landingPage`](IResource.md#dcatlandingpage)
|
|
351
|
+
|
|
352
|
+
***
|
|
353
|
+
|
|
354
|
+
### dcat:qualifiedRelation?
|
|
355
|
+
|
|
356
|
+
> `optional` **dcat:qualifiedRelation**: `string` \| [`IRelationship`](IRelationship.md)
|
|
357
|
+
|
|
358
|
+
Link to a description of a relationship with another resource.
|
|
359
|
+
|
|
360
|
+
#### See
|
|
361
|
+
|
|
362
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_qualified_relation
|
|
363
|
+
|
|
364
|
+
#### Inherited from
|
|
365
|
+
|
|
366
|
+
[`IResource`](IResource.md).[`dcat:qualifiedRelation`](IResource.md#dcatqualifiedrelation)
|
|
367
|
+
|
|
368
|
+
***
|
|
369
|
+
|
|
370
|
+
### odrl:hasPolicy?
|
|
371
|
+
|
|
372
|
+
> `optional` **odrl:hasPolicy**: `IOdrlPolicy`
|
|
373
|
+
|
|
374
|
+
An ODRL conformant policy expressing the rights associated with the resource.
|
|
375
|
+
|
|
376
|
+
#### See
|
|
377
|
+
|
|
378
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_has_policy
|
|
379
|
+
|
|
380
|
+
#### Inherited from
|
|
381
|
+
|
|
382
|
+
[`IResource`](IResource.md).[`odrl:hasPolicy`](IResource.md#odrlhaspolicy)
|