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