@twin.org/standards-w3c-dcat 0.0.3-next.9 → 0.9.0

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 (105) hide show
  1. package/README.md +1 -1
  2. package/dist/es/dataTypes/dcatDataTypes.js +80 -49
  3. package/dist/es/dataTypes/dcatDataTypes.js.map +1 -1
  4. package/dist/es/index.js +6 -2
  5. package/dist/es/index.js.map +1 -1
  6. package/dist/es/models/IDcatCatalog.js.map +1 -1
  7. package/dist/es/models/IDcatCatalogBase.js +2 -0
  8. package/dist/es/models/IDcatCatalogBase.js.map +1 -0
  9. package/dist/es/models/IDcatCatalogRecord.js.map +1 -1
  10. package/dist/es/models/IDcatCatalogRecordBase.js +2 -0
  11. package/dist/es/models/IDcatCatalogRecordBase.js.map +1 -0
  12. package/dist/es/models/IDcatDataService.js.map +1 -1
  13. package/dist/es/models/IDcatDataServiceBase.js +2 -0
  14. package/dist/es/models/IDcatDataServiceBase.js.map +1 -0
  15. package/dist/es/models/IDcatDataset.js.map +1 -1
  16. package/dist/es/models/IDcatDatasetBase.js +2 -0
  17. package/dist/es/models/IDcatDatasetBase.js.map +1 -0
  18. package/dist/es/models/IDcatDatasetSeries.js.map +1 -1
  19. package/dist/es/models/IDcatDistribution.js.map +1 -1
  20. package/dist/es/models/IDcatDistributionBase.js +2 -0
  21. package/dist/es/models/IDcatDistributionBase.js.map +1 -0
  22. package/dist/es/models/IDcatRelationship.js.map +1 -1
  23. package/dist/es/models/IDcatResource.js.map +1 -1
  24. package/dist/es/models/IDcatResourceBase.js +2 -0
  25. package/dist/es/models/IDcatResourceBase.js.map +1 -0
  26. package/dist/es/models/IDcatRole.js.map +1 -1
  27. package/dist/es/models/dcatContextType.js.map +1 -1
  28. package/dist/es/models/dcatContexts.js +15 -19
  29. package/dist/es/models/dcatContexts.js.map +1 -1
  30. package/dist/es/schemas/DcatCatalog.json +10 -489
  31. package/dist/es/schemas/DcatCatalogBase.json +109 -0
  32. package/dist/es/schemas/DcatCatalogRecord.json +10 -210
  33. package/dist/es/schemas/DcatCatalogRecordBase.json +76 -0
  34. package/dist/es/schemas/DcatContextType.json +30 -0
  35. package/dist/es/schemas/DcatDataService.json +10 -356
  36. package/dist/es/schemas/DcatDataServiceBase.json +43 -0
  37. package/dist/es/schemas/DcatDataset.json +10 -405
  38. package/dist/es/schemas/DcatDatasetBase.json +94 -0
  39. package/dist/es/schemas/DcatDatasetSeries.json +17 -394
  40. package/dist/es/schemas/DcatDistribution.json +10 -266
  41. package/dist/es/schemas/DcatDistributionBase.json +134 -0
  42. package/dist/es/schemas/DcatRelationship.json +11 -170
  43. package/dist/es/schemas/DcatResource.json +10 -340
  44. package/dist/es/schemas/DcatResourceBase.json +663 -0
  45. package/dist/es/schemas/DcatRole.json +15 -167
  46. package/dist/types/dataTypes/dcatDataTypes.d.ts +0 -1
  47. package/dist/types/index.d.ts +6 -2
  48. package/dist/types/models/IDcatCatalog.d.ts +5 -43
  49. package/dist/types/models/IDcatCatalogBase.d.ts +54 -0
  50. package/dist/types/models/IDcatCatalogRecord.d.ts +2 -40
  51. package/dist/types/models/IDcatCatalogRecordBase.d.ts +51 -0
  52. package/dist/types/models/IDcatDataService.d.ts +5 -22
  53. package/dist/types/models/IDcatDataServiceBase.d.ts +31 -0
  54. package/dist/types/models/IDcatDataset.d.ts +5 -51
  55. package/dist/types/models/IDcatDatasetBase.d.ts +60 -0
  56. package/dist/types/models/IDcatDatasetSeries.d.ts +6 -0
  57. package/dist/types/models/IDcatDistribution.d.ts +2 -110
  58. package/dist/types/models/IDcatDistributionBase.d.ts +123 -0
  59. package/dist/types/models/IDcatRelationship.d.ts +2 -2
  60. package/dist/types/models/IDcatResource.d.ts +3 -109
  61. package/dist/types/models/IDcatResourceBase.d.ts +120 -0
  62. package/dist/types/models/IDcatRole.d.ts +8 -5
  63. package/dist/types/models/dcatContextType.d.ts +4 -4
  64. package/dist/types/models/dcatContexts.d.ts +15 -19
  65. package/docs/changelog.md +1125 -11
  66. package/docs/examples.md +25 -1
  67. package/docs/reference/classes/DcatDataTypes.md +2 -3
  68. package/docs/reference/index.md +6 -11
  69. package/docs/reference/interfaces/IDcatCatalog.md +138 -106
  70. package/docs/reference/interfaces/IDcatCatalogBase.md +558 -0
  71. package/docs/reference/interfaces/IDcatCatalogRecord.md +53 -25
  72. package/docs/reference/interfaces/IDcatCatalogRecordBase.md +101 -0
  73. package/docs/reference/interfaces/IDcatDataService.md +90 -74
  74. package/docs/reference/interfaces/IDcatDataServiceBase.md +382 -0
  75. package/docs/reference/interfaces/IDcatDataset.md +120 -85
  76. package/docs/reference/interfaces/IDcatDatasetBase.md +443 -0
  77. package/docs/reference/interfaces/IDcatDatasetSeries.md +88 -68
  78. package/docs/reference/interfaces/IDcatDistribution.md +137 -53
  79. package/docs/reference/interfaces/IDcatDistributionBase.md +269 -0
  80. package/docs/reference/interfaces/IDcatRelationship.md +6 -22
  81. package/docs/reference/interfaces/IDcatResource.md +132 -57
  82. package/docs/reference/interfaces/IDcatResourceBase.md +260 -0
  83. package/docs/reference/interfaces/IDcatRole.md +11 -19
  84. package/docs/reference/type-aliases/DcatContextType.md +4 -4
  85. package/docs/reference/variables/DcatClasses.md +9 -9
  86. package/docs/reference/variables/DcatContexts.md +21 -33
  87. package/docs/reference/variables/DcatRelationshipType.md +9 -9
  88. package/package.json +10 -10
  89. package/dist/es/models/types/dcatContextFreeTypes.js +0 -4
  90. package/dist/es/models/types/dcatContextFreeTypes.js.map +0 -1
  91. package/dist/es/models/types/dcatPropertyTypes.js +0 -4
  92. package/dist/es/models/types/dcatPropertyTypes.js.map +0 -1
  93. package/dist/types/models/types/dcatContextFreeTypes.d.ts +0 -40
  94. package/dist/types/models/types/dcatPropertyTypes.d.ts +0 -29
  95. package/docs/reference/type-aliases/CatalogOptionalContext.md +0 -11
  96. package/docs/reference/type-aliases/CatalogRecordOptionalContext.md +0 -11
  97. package/docs/reference/type-aliases/DataServiceOptionalContext.md +0 -11
  98. package/docs/reference/type-aliases/DatasetOptionalContext.md +0 -11
  99. package/docs/reference/type-aliases/DcatDateTimeType.md +0 -6
  100. package/docs/reference/type-aliases/DcatDecimalType.md +0 -5
  101. package/docs/reference/type-aliases/DcatDurationType.md +0 -5
  102. package/docs/reference/type-aliases/DcatIriType.md +0 -5
  103. package/docs/reference/type-aliases/DcatLiteralType.md +0 -5
  104. package/docs/reference/type-aliases/DcatNonNegativeIntegerType.md +0 -5
  105. package/docs/reference/type-aliases/DistributionOptionalContext.md +0 -11
@@ -0,0 +1,260 @@
1
+ # Interface: IDcatResourceBase
2
+
3
+ Base interface for DCAT catalogued resources without JSON-LD context.
4
+ This is the context-free variant of IDcatResource, intended for embedding
5
+ resources inline within other objects where the context is provided by the enclosing document.
6
+
7
+ ## See
8
+
9
+ https://www.w3.org/TR/vocab-dcat-3/#Class:Resource
10
+
11
+ ## Extended by
12
+
13
+ - [`IDcatDataServiceBase`](IDcatDataServiceBase.md)
14
+ - [`IDcatDatasetBase`](IDcatDatasetBase.md)
15
+ - [`IDcatResource`](IDcatResource.md)
16
+
17
+ ## Properties
18
+
19
+ ### @type {#type}
20
+
21
+ > **@type**: `"dcat:Catalog"` \| `"dcat:Resource"` \| `"dcat:Dataset"` \| `"dcat:DataService"` \| `"dcat:DatasetSeries"`
22
+
23
+ The type of the resource.
24
+ Typically "Catalog", "Dataset", "DataService", "DatasetSeries", or the base "Resource".
25
+
26
+ ***
27
+
28
+ ### @id? {#id}
29
+
30
+ > `optional` **@id?**: `string`
31
+
32
+ The unique identifier for the resource.
33
+
34
+ ***
35
+
36
+ ### dcterms:title? {#dctermstitle}
37
+
38
+ > `optional` **dcterms:title?**: `ObjectOrArray`\<`string`\>
39
+
40
+ A name given to the resource.
41
+
42
+ #### See
43
+
44
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_title
45
+
46
+ ***
47
+
48
+ ### dcterms:description? {#dctermsdescription}
49
+
50
+ > `optional` **dcterms:description?**: `ObjectOrArray`\<`string`\>
51
+
52
+ A free-text account of the resource.
53
+
54
+ #### See
55
+
56
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_description
57
+
58
+ ***
59
+
60
+ ### dcterms:identifier? {#dctermsidentifier}
61
+
62
+ > `optional` **dcterms:identifier?**: `ObjectOrArray`\<`string`\>
63
+
64
+ A unique identifier of the resource.
65
+
66
+ #### See
67
+
68
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_identifier
69
+
70
+ ***
71
+
72
+ ### dcterms:issued? {#dctermsissued}
73
+
74
+ > `optional` **dcterms:issued?**: `string`
75
+
76
+ Date of formal issuance (publication) of the resource.
77
+
78
+ #### See
79
+
80
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_release_date
81
+
82
+ ***
83
+
84
+ ### dcterms:modified? {#dctermsmodified}
85
+
86
+ > `optional` **dcterms:modified?**: `string`
87
+
88
+ Most recent date on which the resource was changed, updated or modified.
89
+
90
+ #### See
91
+
92
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_update_date
93
+
94
+ ***
95
+
96
+ ### dcterms:language? {#dctermslanguage}
97
+
98
+ > `optional` **dcterms:language?**: `ObjectOrArray`\<`string`\>
99
+
100
+ A language of the resource.
101
+
102
+ #### See
103
+
104
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_language
105
+
106
+ ***
107
+
108
+ ### dcterms:publisher? {#dctermspublisher}
109
+
110
+ > `optional` **dcterms:publisher?**: `string` \| `JsonLdObjectWithAliases`\<`IFoafAgent`, `"foaf"`\>
111
+
112
+ An entity responsible for making the resource available.
113
+
114
+ #### See
115
+
116
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_publisher
117
+
118
+ ***
119
+
120
+ ### dcterms:creator? {#dctermscreator}
121
+
122
+ > `optional` **dcterms:creator?**: `string` \| `JsonLdObjectWithAliases`\<`IFoafAgent`, `"foaf"`\>
123
+
124
+ An entity responsible for producing the resource.
125
+
126
+ #### See
127
+
128
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_creator
129
+
130
+ ***
131
+
132
+ ### dcterms:accessRights? {#dctermsaccessrights}
133
+
134
+ > `optional` **dcterms:accessRights?**: `string` \| `IJsonLdNodeObject`
135
+
136
+ Information about who can access the resource or an indication of its security status.
137
+
138
+ #### See
139
+
140
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_access_rights
141
+
142
+ ***
143
+
144
+ ### dcterms:license? {#dctermslicense}
145
+
146
+ > `optional` **dcterms:license?**: `string` \| `IJsonLdNodeObject`
147
+
148
+ A legal document under which the resource is made available.
149
+
150
+ #### See
151
+
152
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_license
153
+
154
+ ***
155
+
156
+ ### dcterms:rights? {#dctermsrights}
157
+
158
+ > `optional` **dcterms:rights?**: `string` \| `IJsonLdNodeObject`
159
+
160
+ Information about rights held in and over the resource.
161
+
162
+ #### See
163
+
164
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_rights
165
+
166
+ ***
167
+
168
+ ### dcterms:conformsTo? {#dctermsconformsto}
169
+
170
+ > `optional` **dcterms:conformsTo?**: `ObjectOrArray`\<`string`\>
171
+
172
+ An established standard to which the resource conforms.
173
+
174
+ #### See
175
+
176
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_conforms_to
177
+
178
+ ***
179
+
180
+ ### dcterms:type? {#dctermstype}
181
+
182
+ > `optional` **dcterms:type?**: `string`
183
+
184
+ The nature or genre of the resource.
185
+
186
+ #### See
187
+
188
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_type
189
+
190
+ ***
191
+
192
+ ### dcat:contactPoint? {#dcatcontactpoint}
193
+
194
+ > `optional` **dcat:contactPoint?**: `string` \| `IJsonLdNodeObject`
195
+
196
+ Relevant contact information for the catalogued resource.
197
+
198
+ #### See
199
+
200
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_contact_point
201
+
202
+ ***
203
+
204
+ ### dcat:keyword? {#dcatkeyword}
205
+
206
+ > `optional` **dcat:keyword?**: `ObjectOrArray`\<`string`\>
207
+
208
+ A keyword or tag describing the resource.
209
+
210
+ #### See
211
+
212
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_keyword
213
+
214
+ ***
215
+
216
+ ### dcat:theme? {#dcattheme}
217
+
218
+ > `optional` **dcat:theme?**: `ObjectOrArray`\<`string`\>
219
+
220
+ A main category of the resource. A resource can have multiple themes.
221
+
222
+ #### See
223
+
224
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_theme
225
+
226
+ ***
227
+
228
+ ### dcat:landingPage? {#dcatlandingpage}
229
+
230
+ > `optional` **dcat:landingPage?**: `ObjectOrArray`\<`string`\>
231
+
232
+ A Web page that can be navigated to gain access to the resource.
233
+
234
+ #### See
235
+
236
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_landing_page
237
+
238
+ ***
239
+
240
+ ### dcat:qualifiedRelation? {#dcatqualifiedrelation}
241
+
242
+ > `optional` **dcat:qualifiedRelation?**: `string` \| [`IDcatRelationship`](IDcatRelationship.md)
243
+
244
+ Link to a description of a relationship with another resource.
245
+
246
+ #### See
247
+
248
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_qualified_relation
249
+
250
+ ***
251
+
252
+ ### odrl:hasPolicy? {#odrlhaspolicy}
253
+
254
+ > `optional` **odrl:hasPolicy?**: `JsonLdObjectWithOptionalContext`\<`IOdrlPolicy`\>
255
+
256
+ An ODRL conformant policy expressing the rights associated with the resource.
257
+
258
+ #### See
259
+
260
+ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_has_policy
@@ -8,45 +8,37 @@ in the context of resource attribution or resource relationships.
8
8
 
9
9
  https://www.w3.org/TR/vocab-dcat-3/#Class:Role
10
10
 
11
- ## Extends
12
-
13
- - `IJsonLdNodeObject`
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
11
  ## Properties
20
12
 
21
- ### @context
13
+ ### @context {#context}
22
14
 
23
15
  > **@context**: [`DcatContextType`](../type-aliases/DcatContextType.md)
24
16
 
25
17
  The JSON-LD context for the resource.
26
18
 
27
- #### Overrides
28
-
29
- `IJsonLdNodeObject.@context`
30
-
31
19
  ***
32
20
 
33
- ### @type
21
+ ### @type {#type}
34
22
 
35
23
  > **@type**: `"dcat:Role"`
36
24
 
37
25
  The type identifier, typically "Role".
38
26
 
39
- #### Overrides
27
+ ***
28
+
29
+ ### @id? {#id}
30
+
31
+ > `optional` **@id?**: `string`
40
32
 
41
- `IJsonLdNodeObject.@type`
33
+ The unique identifier for the role object.
42
34
 
43
35
  ***
44
36
 
45
- ### dcterms:title?
37
+ ### dcterms:title? {#dctermstitle}
46
38
 
47
- > `optional` **dcterms:title**: [`DcatLiteralType`](../type-aliases/DcatLiteralType.md)
39
+ > `optional` **dcterms:title?**: `ObjectOrArray`\<`string`\>
48
40
 
49
- A name given to the distribution.
41
+ A name given to the role.
50
42
 
51
43
  #### See
52
44
 
@@ -9,16 +9,16 @@ Supports the DCAT context URL or arrays with additional context definitions.
9
9
 
10
10
  ### dcat
11
11
 
12
- > **dcat**: *typeof* [`ContextRoot`](../variables/DcatContexts.md#contextroot)
12
+ > **dcat**: *typeof* [`Namespace`](../variables/DcatContexts.md#namespace)
13
13
 
14
14
  ### dcterms
15
15
 
16
- > **dcterms**: *typeof* `DublinCoreContexts.ContextTerms`
16
+ > **dcterms**: *typeof* `DublinCoreContexts.NamespaceTerms`
17
17
 
18
18
  ### odrl?
19
19
 
20
- > `optional` **odrl**: *typeof* `OdrlContexts.OdrlNamespace`
20
+ > `optional` **odrl?**: *typeof* `OdrlContexts.Namespace`
21
21
 
22
22
  ### foaf?
23
23
 
24
- > `optional` **foaf**: *typeof* `FoafContexts.ContextRoot`
24
+ > `optional` **foaf?**: *typeof* `FoafContexts.Namespace`
@@ -6,7 +6,7 @@ DCAT core classes representing the main entities in the Data Catalog Vocabulary.
6
6
 
7
7
  ## Type Declaration
8
8
 
9
- ### Catalog
9
+ ### Catalog {#catalog}
10
10
 
11
11
  > `readonly` **Catalog**: `"dcat:Catalog"` = `"dcat:Catalog"`
12
12
 
@@ -16,7 +16,7 @@ A curated collection of metadata about resources (e.g., datasets and data servic
16
16
 
17
17
  https://www.w3.org/TR/vocab-dcat-3/#Class:Catalog
18
18
 
19
- ### Resource
19
+ ### Resource {#resource}
20
20
 
21
21
  > `readonly` **Resource**: `"dcat:Resource"` = `"dcat:Resource"`
22
22
 
@@ -27,7 +27,7 @@ This is an abstract class and should not be used directly.
27
27
 
28
28
  https://www.w3.org/TR/vocab-dcat-3/#Class:Resource
29
29
 
30
- ### Dataset
30
+ ### Dataset {#dataset}
31
31
 
32
32
  > `readonly` **Dataset**: `"dcat:Dataset"` = `"dcat:Dataset"`
33
33
 
@@ -37,7 +37,7 @@ A collection of data, published or curated by a single agent, and available for
37
37
 
38
38
  https://www.w3.org/TR/vocab-dcat-3/#Class:Dataset
39
39
 
40
- ### Distribution
40
+ ### Distribution {#distribution}
41
41
 
42
42
  > `readonly` **Distribution**: `"dcat:Distribution"` = `"dcat:Distribution"`
43
43
 
@@ -47,7 +47,7 @@ A specific representation of a dataset. A dataset might be available in multiple
47
47
 
48
48
  https://www.w3.org/TR/vocab-dcat-3/#Class:Distribution
49
49
 
50
- ### DataService
50
+ ### DataService {#dataservice}
51
51
 
52
52
  > `readonly` **DataService**: `"dcat:DataService"` = `"dcat:DataService"`
53
53
 
@@ -57,7 +57,7 @@ A collection of operations that provides access to one or more datasets or data
57
57
 
58
58
  https://www.w3.org/TR/vocab-dcat-3/#Class:Data_Service
59
59
 
60
- ### DatasetSeries
60
+ ### DatasetSeries {#datasetseries}
61
61
 
62
62
  > `readonly` **DatasetSeries**: `"dcat:DatasetSeries"` = `"dcat:DatasetSeries"`
63
63
 
@@ -67,7 +67,7 @@ A collection of datasets that are published separately, but share some common ch
67
67
 
68
68
  https://www.w3.org/TR/vocab-dcat-3/#Class:Dataset_Series
69
69
 
70
- ### CatalogRecord
70
+ ### CatalogRecord {#catalogrecord}
71
71
 
72
72
  > `readonly` **CatalogRecord**: `"dcat:CatalogRecord"` = `"dcat:CatalogRecord"`
73
73
 
@@ -77,7 +77,7 @@ A record in a data catalog, describing the registration of a single dataset or d
77
77
 
78
78
  https://www.w3.org/TR/vocab-dcat-3/#Class:Catalog_Record
79
79
 
80
- ### Relationship
80
+ ### Relationship {#relationship}
81
81
 
82
82
  > `readonly` **Relationship**: `"dcat:Relationship"` = `"dcat:Relationship"`
83
83
 
@@ -87,7 +87,7 @@ An association class for attaching additional information to a relationship betw
87
87
 
88
88
  https://www.w3.org/TR/vocab-dcat-3/#Class:Relationship
89
89
 
90
- ### Role
90
+ ### Role {#role}
91
91
 
92
92
  > `readonly` **Role**: `"dcat:Role"` = `"dcat:Role"`
93
93
 
@@ -6,63 +6,51 @@ DCAT (Data Catalog Vocabulary) namespace contexts.
6
6
 
7
7
  ## Type Declaration
8
8
 
9
- ### ContextRoot
9
+ ### Namespace {#namespace}
10
10
 
11
- > `readonly` **ContextRoot**: `"http://www.w3.org/ns/dcat#"` = `"http://www.w3.org/ns/dcat#"`
11
+ > `readonly` **Namespace**: `"http://www.w3.org/ns/dcat#"` = `"http://www.w3.org/ns/dcat#"`
12
12
 
13
- The context root for DCAT vocabulary.
13
+ The canonical RDF namespace URI.
14
14
 
15
- ### DcatNamespace
15
+ ### Context {#context}
16
16
 
17
- > `readonly` **DcatNamespace**: `"http://www.w3.org/ns/dcat#"` = `"http://www.w3.org/ns/dcat#"`
17
+ > `readonly` **Context**: `"http://www.w3.org/ns/dcat#"` = `"http://www.w3.org/ns/dcat#"`
18
18
 
19
- The namespace for DCAT terms
19
+ The value to use in @context.
20
+ Note: Context matches Namespace (both include trailing hash) as per DCAT 3.0 specification.
21
+ The DCAT JSON-LD context URL format includes a trailing hash.
20
22
 
21
- ### ContextRedirect
23
+ ### JsonLdContext {#jsonldcontext}
22
24
 
23
- > `readonly` **ContextRedirect**: `"https://www.w3.org/ns/dcat.jsonld"` = `"https://www.w3.org/ns/dcat.jsonld"`
25
+ > `readonly` **JsonLdContext**: `"https://www.w3.org/ns/dcat.jsonld"` = `"https://www.w3.org/ns/dcat.jsonld"`
24
26
 
25
- The redirect URL for the DCAT context, used for JSON-LD processing.
27
+ The JSON-LD Context URL.
26
28
 
27
- ### ContextRdf
29
+ ### JsonSchemaNamespace {#jsonschemanamespace}
28
30
 
29
- > `readonly` **ContextRdf**: `"http://www.w3.org/2000/01/rdf-schema#"` = `"http://www.w3.org/2000/01/rdf-schema#"`
31
+ > `readonly` **JsonSchemaNamespace**: `"https://schema.twindev.org/w3c-dcat/"` = `"https://schema.twindev.org/w3c-dcat/"`
30
32
 
31
- The context for RDF vocabulary.
33
+ The namespace location of the hosted version of the JSON Schema.
32
34
 
33
- #### See
34
-
35
- https://www.w3.org/TR/rdf-schema/
35
+ ### NamespaceRdf {#namespacerdf}
36
36
 
37
- ### ContextRdfRedirect
37
+ > `readonly` **NamespaceRdf**: `"http://www.w3.org/2000/01/rdf-schema#"` = `"http://www.w3.org/2000/01/rdf-schema#"`
38
38
 
39
- > `readonly` **ContextRdfRedirect**: `"https://schema.twindev.org/w3c-rdf/types.jsonld"` = `"https://schema.twindev.org/w3c-rdf/types.jsonld"`
40
-
41
- The context for RDF vocabulary Json-LD.
39
+ The namespace for RDF vocabulary.
42
40
 
43
41
  #### See
44
42
 
45
43
  https://www.w3.org/TR/rdf-schema/
46
44
 
47
- ### ContextSpdx
48
-
49
- > `readonly` **ContextSpdx**: `"http://spdx.org/rdf/terms#"` = `"http://spdx.org/rdf/terms#"`
45
+ ### JsonLdContextRdf {#jsonldcontextrdf}
50
46
 
51
- The context for SPDX (Software Package Data Exchange) vocabulary.
47
+ > `readonly` **JsonLdContextRdf**: `"https://schema.twindev.org/w3c-rdf/types.jsonld"` = `"https://schema.twindev.org/w3c-rdf/types.jsonld"`
52
48
 
53
- #### See
54
-
55
- https://spdx.org/rdf/terms
56
-
57
- ### ContextProv
58
-
59
- > `readonly` **ContextProv**: `"http://www.w3.org/ns/prov#"` = `"http://www.w3.org/ns/prov#"`
60
-
61
- The context for PROV (Provenance) vocabulary.
49
+ The context for RDF vocabulary Json-LD.
62
50
 
63
51
  #### See
64
52
 
65
- https://www.w3.org/ns/prov
53
+ https://www.w3.org/TR/rdf-schema/
66
54
 
67
55
  ## See
68
56
 
@@ -7,7 +7,7 @@ These are used with the dcat:qualifiedRelation property.
7
7
 
8
8
  ## Type Declaration
9
9
 
10
- ### HadRole
10
+ ### HadRole {#hadrole}
11
11
 
12
12
  > `readonly` **HadRole**: `"hadRole"` = `"hadRole"`
13
13
 
@@ -18,7 +18,7 @@ Used in qualified relationships to specify the role.
18
18
 
19
19
  https://www.w3.org/TR/vocab-dcat-3/#Property:relationship_had_role
20
20
 
21
- ### Replaces
21
+ ### Replaces {#replaces}
22
22
 
23
23
  > `readonly` **Replaces**: `"replaces"` = `"replaces"`
24
24
 
@@ -28,7 +28,7 @@ A related resource that is supplanted, displaced, or superseded by the described
28
28
 
29
29
  https://www.w3.org/TR/vocab-dcat-3/#Property:resource_replaces
30
30
 
31
- ### IsReplacedBy
31
+ ### IsReplacedBy {#isreplacedby}
32
32
 
33
33
  > `readonly` **IsReplacedBy**: `"isReplacedBy"` = `"isReplacedBy"`
34
34
 
@@ -38,7 +38,7 @@ A related resource that supplants, displaces, or supersedes the described resour
38
38
 
39
39
  https://www.w3.org/TR/vocab-dcat-3/#Property:resource_is_replaced_by
40
40
 
41
- ### HasVersion
41
+ ### HasVersion {#hasversion}
42
42
 
43
43
  > `readonly` **HasVersion**: `"hasVersion"` = `"hasVersion"`
44
44
 
@@ -48,7 +48,7 @@ A related resource that is a version, edition, or adaptation of the described re
48
48
 
49
49
  https://www.w3.org/TR/vocab-dcat-3/#Property:resource_has_version
50
50
 
51
- ### IsVersionOf
51
+ ### IsVersionOf {#isversionof}
52
52
 
53
53
  > `readonly` **IsVersionOf**: `"isVersionOf"` = `"isVersionOf"`
54
54
 
@@ -58,7 +58,7 @@ A related resource of which the described resource is a version, edition, or ada
58
58
 
59
59
  https://www.w3.org/TR/vocab-dcat-3/#Property:resource_is_version_of
60
60
 
61
- ### IsReferencedBy
61
+ ### IsReferencedBy {#isreferencedby}
62
62
 
63
63
  > `readonly` **IsReferencedBy**: `"isReferencedBy"` = `"isReferencedBy"`
64
64
 
@@ -68,7 +68,7 @@ A related resource that references, cites, or otherwise points to the described
68
68
 
69
69
  https://www.w3.org/TR/vocab-dcat-3/#Property:resource_is_referenced_by
70
70
 
71
- ### References
71
+ ### References {#references}
72
72
 
73
73
  > `readonly` **References**: `"references"` = `"references"`
74
74
 
@@ -78,7 +78,7 @@ A related resource that is referenced, cited, or otherwise pointed to by the des
78
78
 
79
79
  https://www.w3.org/TR/vocab-dcat-3/#Property:resource_references
80
80
 
81
- ### Requires
81
+ ### Requires {#requires}
82
82
 
83
83
  > `readonly` **Requires**: `"requires"` = `"requires"`
84
84
 
@@ -88,7 +88,7 @@ A related resource that requires the described resource to support its function,
88
88
 
89
89
  https://www.w3.org/TR/vocab-dcat-3/#Property:resource_requires
90
90
 
91
- ### IsRequiredBy
91
+ ### IsRequiredBy {#isrequiredby}
92
92
 
93
93
  > `readonly` **IsRequiredBy**: `"isRequiredBy"` = `"isRequiredBy"`
94
94
 
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@twin.org/standards-w3c-dcat",
3
- "version": "0.0.3-next.9",
4
- "description": "Models which define the structure of W3C DCAT Standard",
3
+ "version": "0.9.0",
4
+ "description": "Data models for the W3C Data Catalog Vocabulary.",
5
5
  "repository": {
6
6
  "type": "git",
7
- "url": "git+https://github.com/twinfoundation/standards.git",
7
+ "url": "git+https://github.com/iotaledger/twin-standards.git",
8
8
  "directory": "packages/standards-w3c-dcat"
9
9
  },
10
10
  "author": "cornel.filip@iota.org",
@@ -14,12 +14,12 @@
14
14
  "node": ">=20.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@twin.org/data-json-ld": "next",
18
- "@twin.org/standards-dublin-core": "0.0.3-next.9",
19
- "@twin.org/standards-foaf": "0.0.3-next.9",
20
- "@twin.org/standards-w3c-odrl": "0.0.3-next.9",
21
- "@twin.org/standards-w3c-vcard": "0.0.3-next.9",
22
- "@twin.org/web": "next"
17
+ "@twin.org/data-json-ld": "^0.9.0",
18
+ "@twin.org/standards-dublin-core": "^0.9.0",
19
+ "@twin.org/standards-foaf": "^0.9.0",
20
+ "@twin.org/standards-w3c-odrl": "^0.9.0",
21
+ "@twin.org/standards-w3c-vcard": "^0.9.0",
22
+ "@twin.org/web": "^0.9.0"
23
23
  },
24
24
  "main": "./dist/es/index.js",
25
25
  "types": "./dist/types/index.d.ts",
@@ -51,7 +51,7 @@
51
51
  "metadata"
52
52
  ],
53
53
  "bugs": {
54
- "url": "git+https://github.com/twinfoundation/standards/issues"
54
+ "url": "git+https://github.com/iotaledger/twin-standards/issues"
55
55
  },
56
56
  "homepage": "https://twindev.org"
57
57
  }
@@ -1,4 +0,0 @@
1
- // Copyright 2025 IOTA Stiftung.
2
- // SPDX-License-Identifier: Apache-2.0.
3
- export {};
4
- //# sourceMappingURL=dcatContextFreeTypes.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dcatContextFreeTypes.js","sourceRoot":"","sources":["../../../../src/models/types/dcatContextFreeTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\nimport type { DcatContextType } from \"../dcatContextType.js\";\nimport type { IDcatCatalog } from \"../IDcatCatalog.js\";\nimport type { IDcatCatalogRecord } from \"../IDcatCatalogRecord.js\";\nimport type { IDcatDataService } from \"../IDcatDataService.js\";\nimport type { IDcatDataset } from \"../IDcatDataset.js\";\nimport type { IDcatDistribution } from \"../IDcatDistribution.js\";\n\n/**\n * Type aliases for DCAT entities when LD Context is omitted\n * These provide type safety while maintaining flexibility for JSON-LD data.\n */\n\n/**\n * Dataset omitting LD Context\n */\nexport type DatasetOptionalContext = Omit<IDcatDataset, \"@context\"> & {\n\t\"@context\"?: DcatContextType;\n};\n\n/**\n * DataService omitting LD Context\n */\nexport type DataServiceOptionalContext = Omit<IDcatDataService, \"@context\"> & {\n\t\"@context\"?: DcatContextType;\n};\n\n/**\n * Catalog omitting LD Context\n */\nexport type CatalogOptionalContext = Omit<IDcatCatalog, \"@context\"> & {\n\t\"@context\"?: DcatContextType;\n};\n\n/**\n * Record omitting LD Context\n */\nexport type CatalogRecordOptionalContext = Omit<IDcatCatalogRecord, \"@context\"> & {\n\t\"@context\"?: DcatContextType;\n};\n\n/**\n * Distribution omitting LD Context\n */\nexport type DistributionOptionalContext = Omit<IDcatDistribution, \"@context\"> & {\n\t\"@context\"?: DcatContextType;\n};\n"]}
@@ -1,4 +0,0 @@
1
- // Copyright 2025 IOTA Stiftung.
2
- // SPDX-License-Identifier: Apache-2.0.
3
- export {};
4
- //# sourceMappingURL=dcatPropertyTypes.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dcatPropertyTypes.js","sourceRoot":"","sources":["../../../../src/models/types/dcatPropertyTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Common type aliases for DCAT properties.\n * These provide type safety while maintaining flexibility for JSON-LD data.\n */\n\n/**\n * Literal values can be strings or arrays of strings (for multi-valued properties).\n */\nexport type DcatLiteralType = string | string[];\n\n/**\n * IRI references - can be a single IRI or array of IRIs.\n */\nexport type DcatIriType = string | string[];\n\n/**\n * Date/time values in ISO 8601 format.\n * Can be xsd:date, xsd:dateTime, or xsd:gYear.\n */\nexport type DcatDateTimeType = string;\n\n/**\n * Duration values in ISO 8601 duration format (xsd:duration).\n */\nexport type DcatDurationType = string;\n\n/**\n * Decimal number values (xsd:decimal).\n */\nexport type DcatDecimalType = number;\n\n/**\n * Non-negative integer values (xsd:nonNegativeInteger).\n */\nexport type DcatNonNegativeIntegerType = number;\n"]}