@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.
Files changed (87) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +21 -0
  3. package/dist/es/dataTypes/dcatDataTypes.js +77 -0
  4. package/dist/es/dataTypes/dcatDataTypes.js.map +1 -0
  5. package/dist/es/index.js +18 -0
  6. package/dist/es/index.js.map +1 -0
  7. package/dist/es/models/ICatalog.js +2 -0
  8. package/dist/es/models/ICatalog.js.map +1 -0
  9. package/dist/es/models/ICatalogRecord.js +2 -0
  10. package/dist/es/models/ICatalogRecord.js.map +1 -0
  11. package/dist/es/models/IDataService.js +2 -0
  12. package/dist/es/models/IDataService.js.map +1 -0
  13. package/dist/es/models/IDataset.js +2 -0
  14. package/dist/es/models/IDataset.js.map +1 -0
  15. package/dist/es/models/IDatasetSeries.js +2 -0
  16. package/dist/es/models/IDatasetSeries.js.map +1 -0
  17. package/dist/es/models/IDistribution.js +2 -0
  18. package/dist/es/models/IDistribution.js.map +1 -0
  19. package/dist/es/models/IRelationship.js +2 -0
  20. package/dist/es/models/IRelationship.js.map +1 -0
  21. package/dist/es/models/IResource.js +2 -0
  22. package/dist/es/models/IResource.js.map +1 -0
  23. package/dist/es/models/IRole.js +2 -0
  24. package/dist/es/models/IRole.js.map +1 -0
  25. package/dist/es/models/dcatClasses.js +56 -0
  26. package/dist/es/models/dcatClasses.js.map +1 -0
  27. package/dist/es/models/dcatContextType.js +2 -0
  28. package/dist/es/models/dcatContextType.js.map +1 -0
  29. package/dist/es/models/dcatContexts.js +38 -0
  30. package/dist/es/models/dcatContexts.js.map +1 -0
  31. package/dist/es/models/dcatRelationshipTypes.js +57 -0
  32. package/dist/es/models/dcatRelationshipTypes.js.map +1 -0
  33. package/dist/es/models/types/dcatPropertyTypes.js +4 -0
  34. package/dist/es/models/types/dcatPropertyTypes.js.map +1 -0
  35. package/dist/es/schemas/Catalog.json +491 -0
  36. package/dist/es/schemas/CatalogRecord.json +212 -0
  37. package/dist/es/schemas/DataService.json +358 -0
  38. package/dist/es/schemas/Dataset.json +407 -0
  39. package/dist/es/schemas/DatasetSeries.json +425 -0
  40. package/dist/es/schemas/Distribution.json +268 -0
  41. package/dist/es/schemas/Relationship.json +187 -0
  42. package/dist/es/schemas/Resource.json +342 -0
  43. package/dist/es/schemas/Role.json +182 -0
  44. package/dist/types/dataTypes/dcatDataTypes.d.ts +14 -0
  45. package/dist/types/index.d.ts +15 -0
  46. package/dist/types/models/ICatalog.d.ts +53 -0
  47. package/dist/types/models/ICatalogRecord.d.ts +52 -0
  48. package/dist/types/models/IDataService.d.ts +31 -0
  49. package/dist/types/models/IDataset.d.ts +60 -0
  50. package/dist/types/models/IDatasetSeries.d.ts +30 -0
  51. package/dist/types/models/IDistribution.d.ts +122 -0
  52. package/dist/types/models/IRelationship.d.ts +30 -0
  53. package/dist/types/models/IResource.d.ts +119 -0
  54. package/dist/types/models/IRole.d.ts +25 -0
  55. package/dist/types/models/dcatClasses.d.ts +56 -0
  56. package/dist/types/models/dcatContextType.d.ts +11 -0
  57. package/dist/types/models/dcatContexts.d.ts +38 -0
  58. package/dist/types/models/dcatRelationshipTypes.d.ts +57 -0
  59. package/dist/types/models/types/dcatPropertyTypes.d.ts +29 -0
  60. package/docs/changelog.md +22 -0
  61. package/docs/examples.md +1 -0
  62. package/docs/reference/classes/DcatDataTypes.md +38 -0
  63. package/docs/reference/index.md +36 -0
  64. package/docs/reference/interfaces/ICatalog.md +557 -0
  65. package/docs/reference/interfaces/ICatalogRecord.md +113 -0
  66. package/docs/reference/interfaces/IDataService.md +382 -0
  67. package/docs/reference/interfaces/IDataset.md +447 -0
  68. package/docs/reference/interfaces/IDatasetSeries.md +509 -0
  69. package/docs/reference/interfaces/IDistribution.md +281 -0
  70. package/docs/reference/interfaces/IRelationship.md +65 -0
  71. package/docs/reference/interfaces/IResource.md +274 -0
  72. package/docs/reference/interfaces/IRole.md +53 -0
  73. package/docs/reference/type-aliases/DateTimeType.md +6 -0
  74. package/docs/reference/type-aliases/DcatClasses.md +5 -0
  75. package/docs/reference/type-aliases/DcatContextType.md +16 -0
  76. package/docs/reference/type-aliases/DcatContexts.md +5 -0
  77. package/docs/reference/type-aliases/DcatRelationshipType.md +5 -0
  78. package/docs/reference/type-aliases/DecimalType.md +5 -0
  79. package/docs/reference/type-aliases/DurationType.md +5 -0
  80. package/docs/reference/type-aliases/IriType.md +5 -0
  81. package/docs/reference/type-aliases/LiteralType.md +5 -0
  82. package/docs/reference/type-aliases/NonNegativeIntegerType.md +5 -0
  83. package/docs/reference/variables/DcatClasses.md +102 -0
  84. package/docs/reference/variables/DcatContexts.md +63 -0
  85. package/docs/reference/variables/DcatRelationshipType.md +103 -0
  86. package/locales/en.json +1 -0
  87. package/package.json +57 -0
@@ -0,0 +1,509 @@
1
+ # Interface: IDatasetSeries
2
+
3
+ Interface for DCAT Dataset Series.
4
+ A collection of datasets that are published separately, but share some common
5
+ characteristics that enable them to be grouped together.
6
+
7
+ ## See
8
+
9
+ https://www.w3.org/TR/vocab-dcat-3/#Class:Dataset_Series
10
+
11
+ ## Extends
12
+
13
+ - [`IDataset`](IDataset.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
+ ### dcat:distribution?
22
+
23
+ > `optional` **dcat:distribution**: `ObjectOrArray`\<[`IDistribution`](IDistribution.md)\>
24
+
25
+ An available distribution of the dataset.
26
+
27
+ #### See
28
+
29
+ https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_distribution
30
+
31
+ #### Inherited from
32
+
33
+ [`IDataset`](IDataset.md).[`dcat:distribution`](IDataset.md#dcatdistribution)
34
+
35
+ ***
36
+
37
+ ### dcterms:accrualPeriodicity?
38
+
39
+ > `optional` **dcterms:accrualPeriodicity**: `string`
40
+
41
+ The frequency at which the dataset is published.
42
+
43
+ #### See
44
+
45
+ https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_frequency
46
+
47
+ #### Inherited from
48
+
49
+ [`IDataset`](IDataset.md).[`dcterms:accrualPeriodicity`](IDataset.md#dctermsaccrualperiodicity)
50
+
51
+ ***
52
+
53
+ ### dcat:inSeries?
54
+
55
+ > `optional` **dcat:inSeries**: `string`
56
+
57
+ A dataset series of which the dataset is part.
58
+
59
+ #### See
60
+
61
+ https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_in_series
62
+
63
+ #### Inherited from
64
+
65
+ [`IDataset`](IDataset.md).[`dcat:inSeries`](IDataset.md#dcatinseries)
66
+
67
+ ***
68
+
69
+ ### dcterms:spatial?
70
+
71
+ > `optional` **dcterms:spatial**: `IJsonLdNodeObject` \| `ObjectOrArray`\<`string`\>
72
+
73
+ The geographical area covered by the dataset.
74
+
75
+ #### See
76
+
77
+ https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_spatial
78
+
79
+ #### Inherited from
80
+
81
+ [`IDataset`](IDataset.md).[`dcterms:spatial`](IDataset.md#dctermsspatial)
82
+
83
+ ***
84
+
85
+ ### dcat:spatialResolutionInMeters?
86
+
87
+ > `optional` **dcat:spatialResolutionInMeters**: `number`
88
+
89
+ Minimum spatial separation resolvable in a dataset, measured in meters.
90
+
91
+ #### See
92
+
93
+ https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_spatial_resolution
94
+
95
+ #### Inherited from
96
+
97
+ [`IDataset`](IDataset.md).[`dcat:spatialResolutionInMeters`](IDataset.md#dcatspatialresolutioninmeters)
98
+
99
+ ***
100
+
101
+ ### dcterms:temporal?
102
+
103
+ > `optional` **dcterms:temporal**: `IPeriodOfTime`
104
+
105
+ The temporal period that the dataset covers.
106
+
107
+ #### See
108
+
109
+ https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_temporal
110
+
111
+ #### Inherited from
112
+
113
+ [`IDataset`](IDataset.md).[`dcterms:temporal`](IDataset.md#dctermstemporal)
114
+
115
+ ***
116
+
117
+ ### dcat:temporalResolution?
118
+
119
+ > `optional` **dcat:temporalResolution**: `string`
120
+
121
+ Minimum time period resolvable in the dataset.
122
+
123
+ #### See
124
+
125
+ https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_temporal_resolution
126
+
127
+ #### Inherited from
128
+
129
+ [`IDataset`](IDataset.md).[`dcat:temporalResolution`](IDataset.md#dcattemporalresolution)
130
+
131
+ ***
132
+
133
+ ### prov:wasGeneratedBy?
134
+
135
+ > `optional` **prov:wasGeneratedBy**: `string` \| `IJsonLdNodeObject`
136
+
137
+ An activity that generated, or provides the business context for, the creation of the dataset.
138
+
139
+ #### See
140
+
141
+ https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_was_generated_by
142
+
143
+ #### Inherited from
144
+
145
+ [`IDataset`](IDataset.md).[`prov:wasGeneratedBy`](IDataset.md#provwasgeneratedby)
146
+
147
+ ***
148
+
149
+ ### @type
150
+
151
+ > **@type**: `"DatasetSeries"`
152
+
153
+ The type identifier, typically "DatasetSeries".
154
+
155
+ #### Overrides
156
+
157
+ [`IDataset`](IDataset.md).[`@type`](IDataset.md#type)
158
+
159
+ ***
160
+
161
+ ### dcat:first?
162
+
163
+ > `optional` **dcat:first**: `string`
164
+
165
+ A dataset that is part of this dataset series.
166
+
167
+ #### See
168
+
169
+ https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_series_first
170
+
171
+ ***
172
+
173
+ ### dcat:last?
174
+
175
+ > `optional` **dcat:last**: `string`
176
+
177
+ A dataset that is part of this dataset series.
178
+
179
+ #### See
180
+
181
+ https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_series_last
182
+
183
+ ***
184
+
185
+ ### dcat:seriesMember?
186
+
187
+ > `optional` **dcat:seriesMember**: `ObjectOrArray`\<`string`\>
188
+
189
+ A dataset that is part of this dataset series.
190
+
191
+ #### See
192
+
193
+ https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_series_member
194
+
195
+ ***
196
+
197
+ ### @context?
198
+
199
+ > `optional` **@context**: [`DcatContextType`](../type-aliases/DcatContextType.md)
200
+
201
+ The JSON-LD context for the resource.
202
+
203
+ #### Inherited from
204
+
205
+ [`IDataset`](IDataset.md).[`@context`](IDataset.md#context)
206
+
207
+ ***
208
+
209
+ ### dcterms:title?
210
+
211
+ > `optional` **dcterms:title**: [`LiteralType`](../type-aliases/LiteralType.md)
212
+
213
+ A name given to the resource.
214
+
215
+ #### See
216
+
217
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_title
218
+
219
+ #### Inherited from
220
+
221
+ [`IDataset`](IDataset.md).[`dcterms:title`](IDataset.md#dctermstitle)
222
+
223
+ ***
224
+
225
+ ### dcterms:description?
226
+
227
+ > `optional` **dcterms:description**: [`LiteralType`](../type-aliases/LiteralType.md)
228
+
229
+ A free-text account of the resource.
230
+
231
+ #### See
232
+
233
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_description
234
+
235
+ #### Inherited from
236
+
237
+ [`IDataset`](IDataset.md).[`dcterms:description`](IDataset.md#dctermsdescription)
238
+
239
+ ***
240
+
241
+ ### dcterms:identifier?
242
+
243
+ > `optional` **dcterms:identifier**: [`LiteralType`](../type-aliases/LiteralType.md)
244
+
245
+ A unique identifier of the resource.
246
+
247
+ #### See
248
+
249
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_identifier
250
+
251
+ #### Inherited from
252
+
253
+ [`IDataset`](IDataset.md).[`dcterms:identifier`](IDataset.md#dctermsidentifier)
254
+
255
+ ***
256
+
257
+ ### dcterms:issued?
258
+
259
+ > `optional` **dcterms:issued**: `string`
260
+
261
+ Date of formal issuance (publication) of the resource.
262
+
263
+ #### See
264
+
265
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_release_date
266
+
267
+ #### Inherited from
268
+
269
+ [`IDataset`](IDataset.md).[`dcterms:issued`](IDataset.md#dctermsissued)
270
+
271
+ ***
272
+
273
+ ### dcterms:modified?
274
+
275
+ > `optional` **dcterms:modified**: `string`
276
+
277
+ Most recent date on which the resource was changed, updated or modified.
278
+
279
+ #### See
280
+
281
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_update_date
282
+
283
+ #### Inherited from
284
+
285
+ [`IDataset`](IDataset.md).[`dcterms:modified`](IDataset.md#dctermsmodified)
286
+
287
+ ***
288
+
289
+ ### dcterms:language?
290
+
291
+ > `optional` **dcterms:language**: `ObjectOrArray`\<`string`\>
292
+
293
+ A language of the resource.
294
+
295
+ #### See
296
+
297
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_language
298
+
299
+ #### Inherited from
300
+
301
+ [`IDataset`](IDataset.md).[`dcterms:language`](IDataset.md#dctermslanguage)
302
+
303
+ ***
304
+
305
+ ### dcterms:publisher?
306
+
307
+ > `optional` **dcterms:publisher**: `string` \| `IAgent`
308
+
309
+ An entity responsible for making the resource available.
310
+
311
+ #### See
312
+
313
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_publisher
314
+
315
+ #### Inherited from
316
+
317
+ [`IDataset`](IDataset.md).[`dcterms:publisher`](IDataset.md#dctermspublisher)
318
+
319
+ ***
320
+
321
+ ### dcterms:creator?
322
+
323
+ > `optional` **dcterms:creator**: `IAgent`
324
+
325
+ An entity responsible for producing the resource.
326
+
327
+ #### See
328
+
329
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_creator
330
+
331
+ #### Inherited from
332
+
333
+ [`IDataset`](IDataset.md).[`dcterms:creator`](IDataset.md#dctermscreator)
334
+
335
+ ***
336
+
337
+ ### dcterms:accessRights?
338
+
339
+ > `optional` **dcterms:accessRights**: `string` \| `IJsonLdNodeObject`
340
+
341
+ Information about who can access the resource or an indication of its security status.
342
+
343
+ #### See
344
+
345
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_access_rights
346
+
347
+ #### Inherited from
348
+
349
+ [`IDataset`](IDataset.md).[`dcterms:accessRights`](IDataset.md#dctermsaccessrights)
350
+
351
+ ***
352
+
353
+ ### dcterms:license?
354
+
355
+ > `optional` **dcterms:license**: `string` \| `IJsonLdNodeObject`
356
+
357
+ A legal document under which the resource is made available.
358
+
359
+ #### See
360
+
361
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_license
362
+
363
+ #### Inherited from
364
+
365
+ [`IDataset`](IDataset.md).[`dcterms:license`](IDataset.md#dctermslicense)
366
+
367
+ ***
368
+
369
+ ### dcterms:rights?
370
+
371
+ > `optional` **dcterms:rights**: `string` \| `IJsonLdNodeObject`
372
+
373
+ Information about rights held in and over the resource.
374
+
375
+ #### See
376
+
377
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_rights
378
+
379
+ #### Inherited from
380
+
381
+ [`IDataset`](IDataset.md).[`dcterms:rights`](IDataset.md#dctermsrights)
382
+
383
+ ***
384
+
385
+ ### dcterms:conformsTo?
386
+
387
+ > `optional` **dcterms:conformsTo**: `ObjectOrArray`\<`string`\>
388
+
389
+ An established standard to which the resource conforms.
390
+
391
+ #### See
392
+
393
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_conforms_to
394
+
395
+ #### Inherited from
396
+
397
+ [`IDataset`](IDataset.md).[`dcterms:conformsTo`](IDataset.md#dctermsconformsto)
398
+
399
+ ***
400
+
401
+ ### dcterms:type?
402
+
403
+ > `optional` **dcterms:type**: `string`
404
+
405
+ The nature or genre of the resource.
406
+
407
+ #### See
408
+
409
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_type
410
+
411
+ #### Inherited from
412
+
413
+ [`IDataset`](IDataset.md).[`dcterms:type`](IDataset.md#dctermstype)
414
+
415
+ ***
416
+
417
+ ### dcat:contactPoint?
418
+
419
+ > `optional` **dcat:contactPoint**: `string` \| `IJsonLdNodeObject`
420
+
421
+ Relevant contact information for the catalogued resource.
422
+
423
+ #### See
424
+
425
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_contact_point
426
+
427
+ #### Inherited from
428
+
429
+ [`IDataset`](IDataset.md).[`dcat:contactPoint`](IDataset.md#dcatcontactpoint)
430
+
431
+ ***
432
+
433
+ ### dcat:keyword?
434
+
435
+ > `optional` **dcat:keyword**: [`LiteralType`](../type-aliases/LiteralType.md)
436
+
437
+ A keyword or tag describing the resource.
438
+
439
+ #### See
440
+
441
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_keyword
442
+
443
+ #### Inherited from
444
+
445
+ [`IDataset`](IDataset.md).[`dcat:keyword`](IDataset.md#dcatkeyword)
446
+
447
+ ***
448
+
449
+ ### dcat:theme?
450
+
451
+ > `optional` **dcat:theme**: `ObjectOrArray`\<`string`\>
452
+
453
+ A main category of the resource. A resource can have multiple themes.
454
+
455
+ #### See
456
+
457
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_theme
458
+
459
+ #### Inherited from
460
+
461
+ [`IDataset`](IDataset.md).[`dcat:theme`](IDataset.md#dcattheme)
462
+
463
+ ***
464
+
465
+ ### dcat:landingPage?
466
+
467
+ > `optional` **dcat:landingPage**: `ObjectOrArray`\<`string`\>
468
+
469
+ A Web page that can be navigated to gain access to the resource.
470
+
471
+ #### See
472
+
473
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_landing_page
474
+
475
+ #### Inherited from
476
+
477
+ [`IDataset`](IDataset.md).[`dcat:landingPage`](IDataset.md#dcatlandingpage)
478
+
479
+ ***
480
+
481
+ ### dcat:qualifiedRelation?
482
+
483
+ > `optional` **dcat:qualifiedRelation**: `string` \| [`IRelationship`](IRelationship.md)
484
+
485
+ Link to a description of a relationship with another resource.
486
+
487
+ #### See
488
+
489
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_qualified_relation
490
+
491
+ #### Inherited from
492
+
493
+ [`IDataset`](IDataset.md).[`dcat:qualifiedRelation`](IDataset.md#dcatqualifiedrelation)
494
+
495
+ ***
496
+
497
+ ### odrl:hasPolicy?
498
+
499
+ > `optional` **odrl:hasPolicy**: `IOdrlPolicy`
500
+
501
+ An ODRL conformant policy expressing the rights associated with the resource.
502
+
503
+ #### See
504
+
505
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_has_policy
506
+
507
+ #### Inherited from
508
+
509
+ [`IDataset`](IDataset.md).[`odrl:hasPolicy`](IDataset.md#odrlhaspolicy)