@twin.org/standards-w3c-dcat 0.0.3-next.7 → 0.0.3-next.9
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/dcatDataTypes.js +18 -18
- package/dist/es/dataTypes/dcatDataTypes.js.map +1 -1
- package/dist/es/index.js +1 -0
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/IDcatCatalog.js.map +1 -1
- package/dist/es/models/IDcatCatalogRecord.js.map +1 -1
- package/dist/es/models/IDcatDataset.js.map +1 -1
- package/dist/es/models/IDcatDistribution.js.map +1 -1
- package/dist/es/models/IDcatResource.js.map +1 -1
- package/dist/es/models/IDcatRole.js.map +1 -1
- package/dist/es/models/dcatClasses.js +9 -9
- package/dist/es/models/dcatClasses.js.map +1 -1
- package/dist/es/models/dcatContextType.js.map +1 -1
- package/dist/es/models/dcatContexts.js +4 -0
- package/dist/es/models/dcatContexts.js.map +1 -1
- package/dist/es/models/types/dcatContextFreeTypes.js +4 -0
- package/dist/es/models/types/dcatContextFreeTypes.js.map +1 -0
- package/dist/es/schemas/DcatCatalog.json +20 -11
- package/dist/es/schemas/DcatCatalogRecord.json +10 -1
- package/dist/es/schemas/DcatDataService.json +10 -1
- package/dist/es/schemas/DcatDataset.json +14 -5
- package/dist/es/schemas/DcatDatasetSeries.json +12 -3
- package/dist/es/schemas/DcatDistribution.json +10 -1
- package/dist/es/schemas/DcatRelationship.json +9 -1
- package/dist/es/schemas/DcatResource.json +14 -5
- package/dist/es/schemas/DcatRole.json +10 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/models/IDcatCatalog.d.ts +5 -6
- package/dist/types/models/IDcatCatalogRecord.d.ts +1 -1
- package/dist/types/models/IDcatDataset.d.ts +2 -2
- package/dist/types/models/IDcatDistribution.d.ts +1 -1
- package/dist/types/models/IDcatResource.d.ts +1 -1
- package/dist/types/models/IDcatRole.d.ts +1 -1
- package/dist/types/models/dcatClasses.d.ts +9 -9
- package/dist/types/models/dcatContextType.d.ts +4 -0
- package/dist/types/models/dcatContexts.d.ts +4 -0
- package/dist/types/models/types/dcatContextFreeTypes.d.ts +40 -0
- package/docs/changelog.md +39 -0
- package/docs/reference/index.md +5 -0
- package/docs/reference/interfaces/IDcatCatalog.md +8 -8
- package/docs/reference/interfaces/IDcatCatalogRecord.md +3 -3
- package/docs/reference/interfaces/IDcatDataService.md +3 -3
- package/docs/reference/interfaces/IDcatDataset.md +4 -4
- package/docs/reference/interfaces/IDcatDatasetSeries.md +4 -4
- package/docs/reference/interfaces/IDcatDistribution.md +3 -3
- package/docs/reference/interfaces/IDcatRelationship.md +1 -1
- package/docs/reference/interfaces/IDcatResource.md +3 -3
- package/docs/reference/interfaces/IDcatRole.md +3 -3
- package/docs/reference/type-aliases/CatalogOptionalContext.md +11 -0
- package/docs/reference/type-aliases/CatalogRecordOptionalContext.md +11 -0
- package/docs/reference/type-aliases/DataServiceOptionalContext.md +11 -0
- package/docs/reference/type-aliases/DatasetOptionalContext.md +11 -0
- package/docs/reference/type-aliases/DcatContextType.md +8 -0
- package/docs/reference/type-aliases/DistributionOptionalContext.md +11 -0
- package/docs/reference/variables/DcatClasses.md +9 -9
- package/docs/reference/variables/DcatContexts.md +6 -0
- package/package.json +5 -5
|
@@ -83,6 +83,14 @@
|
|
|
83
83
|
"dcterms": {
|
|
84
84
|
"type": "string",
|
|
85
85
|
"const": "http://purl.org/dc/terms/"
|
|
86
|
+
},
|
|
87
|
+
"odrl": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
90
|
+
},
|
|
91
|
+
"foaf": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"const": "https://xmlns.com/foaf/0.1/"
|
|
86
94
|
}
|
|
87
95
|
},
|
|
88
96
|
"required": [
|
|
@@ -134,7 +142,7 @@
|
|
|
134
142
|
},
|
|
135
143
|
"@type": {
|
|
136
144
|
"type": "string",
|
|
137
|
-
"const": "DatasetSeries",
|
|
145
|
+
"const": "dcat:DatasetSeries",
|
|
138
146
|
"description": "The type identifier, typically \"DatasetSeries\"."
|
|
139
147
|
},
|
|
140
148
|
"@reverse": {
|
|
@@ -308,12 +316,12 @@
|
|
|
308
316
|
"description": "Object or array data type",
|
|
309
317
|
"anyOf": [
|
|
310
318
|
{
|
|
311
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
319
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DistributionOptionalContext"
|
|
312
320
|
},
|
|
313
321
|
{
|
|
314
322
|
"type": "array",
|
|
315
323
|
"items": {
|
|
316
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
324
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DistributionOptionalContext"
|
|
317
325
|
}
|
|
318
326
|
}
|
|
319
327
|
]
|
|
@@ -395,6 +403,7 @@
|
|
|
395
403
|
}
|
|
396
404
|
},
|
|
397
405
|
"required": [
|
|
406
|
+
"@context",
|
|
398
407
|
"@type"
|
|
399
408
|
],
|
|
400
409
|
"additionalProperties": {
|
|
@@ -83,6 +83,14 @@
|
|
|
83
83
|
"dcterms": {
|
|
84
84
|
"type": "string",
|
|
85
85
|
"const": "http://purl.org/dc/terms/"
|
|
86
|
+
},
|
|
87
|
+
"odrl": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
90
|
+
},
|
|
91
|
+
"foaf": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"const": "https://xmlns.com/foaf/0.1/"
|
|
86
94
|
}
|
|
87
95
|
},
|
|
88
96
|
"required": [
|
|
@@ -134,7 +142,7 @@
|
|
|
134
142
|
},
|
|
135
143
|
"@type": {
|
|
136
144
|
"type": "string",
|
|
137
|
-
"const": "Distribution",
|
|
145
|
+
"const": "dcat:Distribution",
|
|
138
146
|
"description": "The type identifier, typically \"Distribution\"."
|
|
139
147
|
},
|
|
140
148
|
"@reverse": {
|
|
@@ -238,6 +246,7 @@
|
|
|
238
246
|
}
|
|
239
247
|
},
|
|
240
248
|
"required": [
|
|
249
|
+
"@context",
|
|
241
250
|
"@type"
|
|
242
251
|
],
|
|
243
252
|
"additionalProperties": {
|
|
@@ -83,6 +83,14 @@
|
|
|
83
83
|
"dcterms": {
|
|
84
84
|
"type": "string",
|
|
85
85
|
"const": "http://purl.org/dc/terms/"
|
|
86
|
+
},
|
|
87
|
+
"odrl": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
90
|
+
},
|
|
91
|
+
"foaf": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"const": "https://xmlns.com/foaf/0.1/"
|
|
86
94
|
}
|
|
87
95
|
},
|
|
88
96
|
"required": [
|
|
@@ -134,7 +142,7 @@
|
|
|
134
142
|
},
|
|
135
143
|
"@type": {
|
|
136
144
|
"type": "string",
|
|
137
|
-
"const": "Relationship",
|
|
145
|
+
"const": "dcat:Relationship",
|
|
138
146
|
"description": "The type identifier, typically \"Relationship\"."
|
|
139
147
|
},
|
|
140
148
|
"@reverse": {
|
|
@@ -83,6 +83,14 @@
|
|
|
83
83
|
"dcterms": {
|
|
84
84
|
"type": "string",
|
|
85
85
|
"const": "http://purl.org/dc/terms/"
|
|
86
|
+
},
|
|
87
|
+
"odrl": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
90
|
+
},
|
|
91
|
+
"foaf": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"const": "https://xmlns.com/foaf/0.1/"
|
|
86
94
|
}
|
|
87
95
|
},
|
|
88
96
|
"required": [
|
|
@@ -135,11 +143,11 @@
|
|
|
135
143
|
"@type": {
|
|
136
144
|
"type": "string",
|
|
137
145
|
"enum": [
|
|
138
|
-
"Resource",
|
|
139
|
-
"Dataset",
|
|
140
|
-
"DataService",
|
|
141
|
-
"Catalog",
|
|
142
|
-
"DatasetSeries"
|
|
146
|
+
"dcat:Resource",
|
|
147
|
+
"dcat:Dataset",
|
|
148
|
+
"dcat:DataService",
|
|
149
|
+
"dcat:Catalog",
|
|
150
|
+
"dcat:DatasetSeries"
|
|
143
151
|
],
|
|
144
152
|
"description": "The type of the resource. Typically \"Catalog\", \"Dataset\", \"DataService\", \"DatasetSeries\", or the base \"Resource\"."
|
|
145
153
|
},
|
|
@@ -312,6 +320,7 @@
|
|
|
312
320
|
}
|
|
313
321
|
},
|
|
314
322
|
"required": [
|
|
323
|
+
"@context",
|
|
315
324
|
"@type"
|
|
316
325
|
],
|
|
317
326
|
"additionalProperties": {
|
|
@@ -83,6 +83,14 @@
|
|
|
83
83
|
"dcterms": {
|
|
84
84
|
"type": "string",
|
|
85
85
|
"const": "http://purl.org/dc/terms/"
|
|
86
|
+
},
|
|
87
|
+
"odrl": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
90
|
+
},
|
|
91
|
+
"foaf": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"const": "https://xmlns.com/foaf/0.1/"
|
|
86
94
|
}
|
|
87
95
|
},
|
|
88
96
|
"required": [
|
|
@@ -134,7 +142,7 @@
|
|
|
134
142
|
},
|
|
135
143
|
"@type": {
|
|
136
144
|
"type": "string",
|
|
137
|
-
"const": "Role",
|
|
145
|
+
"const": "dcat:Role",
|
|
138
146
|
"description": "The type identifier, typically \"Role\"."
|
|
139
147
|
},
|
|
140
148
|
"@reverse": {
|
|
@@ -152,6 +160,7 @@
|
|
|
152
160
|
}
|
|
153
161
|
},
|
|
154
162
|
"required": [
|
|
163
|
+
"@context",
|
|
155
164
|
"@type"
|
|
156
165
|
],
|
|
157
166
|
"additionalProperties": {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type { ObjectOrArray } from "@twin.org/core";
|
|
2
2
|
import type { DcatClasses } from "./dcatClasses.js";
|
|
3
|
-
import type { IDcatCatalogRecord } from "./IDcatCatalogRecord.js";
|
|
4
|
-
import type { IDcatDataService } from "./IDcatDataService.js";
|
|
5
3
|
import type { IDcatDataset } from "./IDcatDataset.js";
|
|
6
4
|
import type { IDcatResource } from "./IDcatResource.js";
|
|
5
|
+
import type { CatalogOptionalContext, CatalogRecordOptionalContext, DataServiceOptionalContext, DatasetOptionalContext } from "./types/dcatContextFreeTypes.js";
|
|
7
6
|
/**
|
|
8
7
|
* Interface for DCAT Catalog.
|
|
9
8
|
* A curated collection of metadata about resources (datasets and data services).
|
|
@@ -34,20 +33,20 @@ export interface IDcatCatalog extends IDcatDataset {
|
|
|
34
33
|
* A dataset that is listed in the catalog.
|
|
35
34
|
* @see https://www.w3.org/TR/vocab-dcat-3/#Property:catalog_dataset
|
|
36
35
|
*/
|
|
37
|
-
"dcat:dataset"?: ObjectOrArray<
|
|
36
|
+
"dcat:dataset"?: ObjectOrArray<DatasetOptionalContext>;
|
|
38
37
|
/**
|
|
39
38
|
* A data service that is listed in the catalog.
|
|
40
39
|
* @see https://www.w3.org/TR/vocab-dcat-3/#Property:catalog_service
|
|
41
40
|
*/
|
|
42
|
-
"dcat:service"?: ObjectOrArray<
|
|
41
|
+
"dcat:service"?: ObjectOrArray<DataServiceOptionalContext>;
|
|
43
42
|
/**
|
|
44
43
|
* A catalog that is listed in the catalog.
|
|
45
44
|
* @see https://www.w3.org/TR/vocab-dcat-3/#Property:catalog_catalog
|
|
46
45
|
*/
|
|
47
|
-
"dcat:catalog"?: ObjectOrArray<
|
|
46
|
+
"dcat:catalog"?: ObjectOrArray<CatalogOptionalContext>;
|
|
48
47
|
/**
|
|
49
48
|
* A record describing the registration of a single resource in the catalog.
|
|
50
49
|
* @see https://www.w3.org/TR/vocab-dcat-3/#Property:catalog_catalog_record
|
|
51
50
|
*/
|
|
52
|
-
"dcat:record"?: ObjectOrArray<
|
|
51
|
+
"dcat:record"?: ObjectOrArray<CatalogRecordOptionalContext>;
|
|
53
52
|
}
|
|
@@ -2,8 +2,8 @@ import type { ObjectOrArray } from "@twin.org/core";
|
|
|
2
2
|
import type { IJsonLdNodeObject } from "@twin.org/data-json-ld";
|
|
3
3
|
import type { IDublinCorePeriodOfTime } from "@twin.org/standards-dublin-core";
|
|
4
4
|
import type { DcatClasses } from "./dcatClasses.js";
|
|
5
|
-
import type { IDcatDistribution } from "./IDcatDistribution.js";
|
|
6
5
|
import type { IDcatResource } from "./IDcatResource.js";
|
|
6
|
+
import type { DistributionOptionalContext } from "./types/dcatContextFreeTypes.js";
|
|
7
7
|
import type { DcatDecimalType, DcatDurationType } from "./types/dcatPropertyTypes.js";
|
|
8
8
|
/**
|
|
9
9
|
* Interface for DCAT Dataset.
|
|
@@ -21,7 +21,7 @@ export interface IDcatDataset extends IDcatResource {
|
|
|
21
21
|
* An available distribution of the dataset.
|
|
22
22
|
* @see https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_distribution
|
|
23
23
|
*/
|
|
24
|
-
"dcat:distribution"?: ObjectOrArray<
|
|
24
|
+
"dcat:distribution"?: ObjectOrArray<DistributionOptionalContext>;
|
|
25
25
|
/**
|
|
26
26
|
* The frequency at which the dataset is published.
|
|
27
27
|
* @see https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_frequency
|
|
@@ -15,7 +15,7 @@ export interface IDcatResource extends IJsonLdNodeObject {
|
|
|
15
15
|
/**
|
|
16
16
|
* The JSON-LD context for the resource.
|
|
17
17
|
*/
|
|
18
|
-
"@context"
|
|
18
|
+
"@context": DcatContextType;
|
|
19
19
|
/**
|
|
20
20
|
* The type of the resource.
|
|
21
21
|
* Typically "Catalog", "Dataset", "DataService", "DatasetSeries", or the base "Resource".
|
|
@@ -7,48 +7,48 @@ export declare const DcatClasses: {
|
|
|
7
7
|
* A curated collection of metadata about resources (e.g., datasets and data services in the context of a data catalog).
|
|
8
8
|
* @see https://www.w3.org/TR/vocab-dcat-3/#Class:Catalog
|
|
9
9
|
*/
|
|
10
|
-
readonly Catalog: "Catalog";
|
|
10
|
+
readonly Catalog: "dcat:Catalog";
|
|
11
11
|
/**
|
|
12
12
|
* Resource published or curated by a single agent.
|
|
13
13
|
* This is an abstract class and should not be used directly.
|
|
14
14
|
* @see https://www.w3.org/TR/vocab-dcat-3/#Class:Resource
|
|
15
15
|
*/
|
|
16
|
-
readonly Resource: "Resource";
|
|
16
|
+
readonly Resource: "dcat:Resource";
|
|
17
17
|
/**
|
|
18
18
|
* A collection of data, published or curated by a single agent, and available for access or download in one or more representations.
|
|
19
19
|
* @see https://www.w3.org/TR/vocab-dcat-3/#Class:Dataset
|
|
20
20
|
*/
|
|
21
|
-
readonly Dataset: "Dataset";
|
|
21
|
+
readonly Dataset: "dcat:Dataset";
|
|
22
22
|
/**
|
|
23
23
|
* A specific representation of a dataset. A dataset might be available in multiple serializations that may differ in various ways.
|
|
24
24
|
* @see https://www.w3.org/TR/vocab-dcat-3/#Class:Distribution
|
|
25
25
|
*/
|
|
26
|
-
readonly Distribution: "Distribution";
|
|
26
|
+
readonly Distribution: "dcat:Distribution";
|
|
27
27
|
/**
|
|
28
28
|
* A collection of operations that provides access to one or more datasets or data processing functions.
|
|
29
29
|
* @see https://www.w3.org/TR/vocab-dcat-3/#Class:Data_Service
|
|
30
30
|
*/
|
|
31
|
-
readonly DataService: "DataService";
|
|
31
|
+
readonly DataService: "dcat:DataService";
|
|
32
32
|
/**
|
|
33
33
|
* A collection of datasets that are published separately, but share some common characteristics.
|
|
34
34
|
* @see https://www.w3.org/TR/vocab-dcat-3/#Class:Dataset_Series
|
|
35
35
|
*/
|
|
36
|
-
readonly DatasetSeries: "DatasetSeries";
|
|
36
|
+
readonly DatasetSeries: "dcat:DatasetSeries";
|
|
37
37
|
/**
|
|
38
38
|
* A record in a data catalog, describing the registration of a single dataset or data service.
|
|
39
39
|
* @see https://www.w3.org/TR/vocab-dcat-3/#Class:Catalog_Record
|
|
40
40
|
*/
|
|
41
|
-
readonly CatalogRecord: "CatalogRecord";
|
|
41
|
+
readonly CatalogRecord: "dcat:CatalogRecord";
|
|
42
42
|
/**
|
|
43
43
|
* An association class for attaching additional information to a relationship between DCAT Resources.
|
|
44
44
|
* @see https://www.w3.org/TR/vocab-dcat-3/#Class:Relationship
|
|
45
45
|
*/
|
|
46
|
-
readonly Relationship: "Relationship";
|
|
46
|
+
readonly Relationship: "dcat:Relationship";
|
|
47
47
|
/**
|
|
48
48
|
* A role is the function of a resource or agent with respect to another resource, in the context of resource attribution or resource relationships..
|
|
49
49
|
* @see https://www.w3.org/TR/vocab-dcat-3/#Class:Role
|
|
50
50
|
*/
|
|
51
|
-
readonly Role: "Role";
|
|
51
|
+
readonly Role: "dcat:Role";
|
|
52
52
|
};
|
|
53
53
|
/**
|
|
54
54
|
* The classes for DCAT.
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { IJsonLdContextDefinition } from "@twin.org/data-json-ld";
|
|
2
2
|
import type { DublinCoreContexts } from "@twin.org/standards-dublin-core";
|
|
3
|
+
import type { FoafContexts } from "@twin.org/standards-foaf";
|
|
4
|
+
import type { OdrlContexts } from "@twin.org/standards-w3c-odrl";
|
|
3
5
|
import type { DcatContexts } from "./dcatContexts.js";
|
|
4
6
|
/**
|
|
5
7
|
* The DCAT JSON-LD context type.
|
|
@@ -8,4 +10,6 @@ import type { DcatContexts } from "./dcatContexts.js";
|
|
|
8
10
|
export type DcatContextType = {
|
|
9
11
|
dcat: typeof DcatContexts.ContextRoot;
|
|
10
12
|
dcterms: typeof DublinCoreContexts.ContextTerms;
|
|
13
|
+
odrl?: typeof OdrlContexts.OdrlNamespace;
|
|
14
|
+
foaf?: typeof FoafContexts.ContextRoot;
|
|
11
15
|
} & IJsonLdContextDefinition;
|
|
@@ -7,6 +7,10 @@ export declare const DcatContexts: {
|
|
|
7
7
|
* The context root for DCAT vocabulary.
|
|
8
8
|
*/
|
|
9
9
|
readonly ContextRoot: "http://www.w3.org/ns/dcat#";
|
|
10
|
+
/**
|
|
11
|
+
* The namespace for DCAT terms
|
|
12
|
+
*/
|
|
13
|
+
readonly DcatNamespace: "http://www.w3.org/ns/dcat#";
|
|
10
14
|
/**
|
|
11
15
|
* The redirect URL for the DCAT context, used for JSON-LD processing.
|
|
12
16
|
*/
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { DcatContextType } from "../dcatContextType.js";
|
|
2
|
+
import type { IDcatCatalog } from "../IDcatCatalog.js";
|
|
3
|
+
import type { IDcatCatalogRecord } from "../IDcatCatalogRecord.js";
|
|
4
|
+
import type { IDcatDataService } from "../IDcatDataService.js";
|
|
5
|
+
import type { IDcatDataset } from "../IDcatDataset.js";
|
|
6
|
+
import type { IDcatDistribution } from "../IDcatDistribution.js";
|
|
7
|
+
/**
|
|
8
|
+
* Type aliases for DCAT entities when LD Context is omitted
|
|
9
|
+
* These provide type safety while maintaining flexibility for JSON-LD data.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* Dataset omitting LD Context
|
|
13
|
+
*/
|
|
14
|
+
export type DatasetOptionalContext = Omit<IDcatDataset, "@context"> & {
|
|
15
|
+
"@context"?: DcatContextType;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* DataService omitting LD Context
|
|
19
|
+
*/
|
|
20
|
+
export type DataServiceOptionalContext = Omit<IDcatDataService, "@context"> & {
|
|
21
|
+
"@context"?: DcatContextType;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Catalog omitting LD Context
|
|
25
|
+
*/
|
|
26
|
+
export type CatalogOptionalContext = Omit<IDcatCatalog, "@context"> & {
|
|
27
|
+
"@context"?: DcatContextType;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Record omitting LD Context
|
|
31
|
+
*/
|
|
32
|
+
export type CatalogRecordOptionalContext = Omit<IDcatCatalogRecord, "@context"> & {
|
|
33
|
+
"@context"?: DcatContextType;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Distribution omitting LD Context
|
|
37
|
+
*/
|
|
38
|
+
export type DistributionOptionalContext = Omit<IDcatDistribution, "@context"> & {
|
|
39
|
+
"@context"?: DcatContextType;
|
|
40
|
+
};
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
1
1
|
# @twin.org/standards-w3c-dcat - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.3-next.9](https://github.com/twinfoundation/standards/compare/standards-w3c-dcat-v0.0.3-next.8...standards-w3c-dcat-v0.0.3-next.9) (2026-01-09)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **standards-w3c-dcat:** Synchronize repo versions
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/standards-dublin-core bumped from 0.0.3-next.8 to 0.0.3-next.9
|
|
16
|
+
* @twin.org/standards-foaf bumped from 0.0.3-next.8 to 0.0.3-next.9
|
|
17
|
+
* @twin.org/standards-w3c-odrl bumped from 0.0.3-next.8 to 0.0.3-next.9
|
|
18
|
+
* @twin.org/standards-w3c-vcard bumped from 0.0.3-next.8 to 0.0.3-next.9
|
|
19
|
+
|
|
20
|
+
## [0.0.3-next.8](https://github.com/twinfoundation/standards/compare/standards-w3c-dcat-v0.0.3-next.7...standards-w3c-dcat-v0.0.3-next.8) (2026-01-08)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Features
|
|
24
|
+
|
|
25
|
+
* add ds protocol catalog dataset ([#86](https://github.com/twinfoundation/standards/issues/86)) ([45600e6](https://github.com/twinfoundation/standards/commit/45600e6cba212d85e250cb12cbdcb712d8db0e52))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* dcat LD Context fix and aligned with DCAT prefixed models ([#85](https://github.com/twinfoundation/standards/issues/85)) ([4546167](https://github.com/twinfoundation/standards/commit/4546167b1f61dba85206a64a8b2535f468d74845))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Dependencies
|
|
34
|
+
|
|
35
|
+
* The following workspace dependencies were updated
|
|
36
|
+
* dependencies
|
|
37
|
+
* @twin.org/standards-dublin-core bumped from 0.0.3-next.7 to 0.0.3-next.8
|
|
38
|
+
* @twin.org/standards-foaf bumped from 0.0.3-next.7 to 0.0.3-next.8
|
|
39
|
+
* @twin.org/standards-w3c-odrl bumped from 0.0.3-next.7 to 0.0.3-next.8
|
|
40
|
+
* @twin.org/standards-w3c-vcard bumped from 0.0.3-next.7 to 0.0.3-next.8
|
|
41
|
+
|
|
3
42
|
## [0.0.3-next.7](https://github.com/twinfoundation/standards/compare/standards-w3c-dcat-v0.0.3-next.6...standards-w3c-dcat-v0.0.3-next.7) (2026-01-06)
|
|
4
43
|
|
|
5
44
|
|
package/docs/reference/index.md
CHANGED
|
@@ -22,6 +22,11 @@
|
|
|
22
22
|
- [DcatContextType](type-aliases/DcatContextType.md)
|
|
23
23
|
- [DcatContexts](type-aliases/DcatContexts.md)
|
|
24
24
|
- [DcatRelationshipType](type-aliases/DcatRelationshipType.md)
|
|
25
|
+
- [DatasetOptionalContext](type-aliases/DatasetOptionalContext.md)
|
|
26
|
+
- [DataServiceOptionalContext](type-aliases/DataServiceOptionalContext.md)
|
|
27
|
+
- [CatalogOptionalContext](type-aliases/CatalogOptionalContext.md)
|
|
28
|
+
- [CatalogRecordOptionalContext](type-aliases/CatalogRecordOptionalContext.md)
|
|
29
|
+
- [DistributionOptionalContext](type-aliases/DistributionOptionalContext.md)
|
|
25
30
|
- [DcatLiteralType](type-aliases/DcatLiteralType.md)
|
|
26
31
|
- [DcatIriType](type-aliases/DcatIriType.md)
|
|
27
32
|
- [DcatDateTimeType](type-aliases/DcatDateTimeType.md)
|
|
@@ -20,7 +20,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Class:Catalog
|
|
|
20
20
|
|
|
21
21
|
### @type
|
|
22
22
|
|
|
23
|
-
> **@type**: `"Catalog"`
|
|
23
|
+
> **@type**: `"dcat:Catalog"`
|
|
24
24
|
|
|
25
25
|
The type identifier, typically "Catalog".
|
|
26
26
|
|
|
@@ -68,7 +68,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:catalog_resource
|
|
|
68
68
|
|
|
69
69
|
### dcat:dataset?
|
|
70
70
|
|
|
71
|
-
> `optional` **dcat:dataset**: `ObjectOrArray`\<[`
|
|
71
|
+
> `optional` **dcat:dataset**: `ObjectOrArray`\<[`DatasetOptionalContext`](../type-aliases/DatasetOptionalContext.md)\>
|
|
72
72
|
|
|
73
73
|
A dataset that is listed in the catalog.
|
|
74
74
|
|
|
@@ -80,7 +80,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:catalog_dataset
|
|
|
80
80
|
|
|
81
81
|
### dcat:service?
|
|
82
82
|
|
|
83
|
-
> `optional` **dcat:service**: `ObjectOrArray`\<[`
|
|
83
|
+
> `optional` **dcat:service**: `ObjectOrArray`\<[`DataServiceOptionalContext`](../type-aliases/DataServiceOptionalContext.md)\>
|
|
84
84
|
|
|
85
85
|
A data service that is listed in the catalog.
|
|
86
86
|
|
|
@@ -92,7 +92,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:catalog_service
|
|
|
92
92
|
|
|
93
93
|
### dcat:catalog?
|
|
94
94
|
|
|
95
|
-
> `optional` **dcat:catalog**: `ObjectOrArray
|
|
95
|
+
> `optional` **dcat:catalog**: `ObjectOrArray`\<[`CatalogOptionalContext`](../type-aliases/CatalogOptionalContext.md)\>
|
|
96
96
|
|
|
97
97
|
A catalog that is listed in the catalog.
|
|
98
98
|
|
|
@@ -104,7 +104,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:catalog_catalog
|
|
|
104
104
|
|
|
105
105
|
### dcat:record?
|
|
106
106
|
|
|
107
|
-
> `optional` **dcat:record**: `ObjectOrArray`\<[`
|
|
107
|
+
> `optional` **dcat:record**: `ObjectOrArray`\<[`CatalogRecordOptionalContext`](../type-aliases/CatalogRecordOptionalContext.md)\>
|
|
108
108
|
|
|
109
109
|
A record describing the registration of a single resource in the catalog.
|
|
110
110
|
|
|
@@ -116,7 +116,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:catalog_catalog_record
|
|
|
116
116
|
|
|
117
117
|
### dcat:distribution?
|
|
118
118
|
|
|
119
|
-
> `optional` **dcat:distribution**: `ObjectOrArray`\<[`
|
|
119
|
+
> `optional` **dcat:distribution**: `ObjectOrArray`\<[`DistributionOptionalContext`](../type-aliases/DistributionOptionalContext.md)\>
|
|
120
120
|
|
|
121
121
|
An available distribution of the dataset.
|
|
122
122
|
|
|
@@ -242,9 +242,9 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_was_generated_by
|
|
|
242
242
|
|
|
243
243
|
***
|
|
244
244
|
|
|
245
|
-
### @context
|
|
245
|
+
### @context
|
|
246
246
|
|
|
247
|
-
>
|
|
247
|
+
> **@context**: [`DcatContextType`](../type-aliases/DcatContextType.md)
|
|
248
248
|
|
|
249
249
|
The JSON-LD context for the resource.
|
|
250
250
|
|
|
@@ -18,9 +18,9 @@ https://www.w3.org/TR/vocab-dcat-3/#Class:Catalog_Record
|
|
|
18
18
|
|
|
19
19
|
## Properties
|
|
20
20
|
|
|
21
|
-
### @context
|
|
21
|
+
### @context
|
|
22
22
|
|
|
23
|
-
>
|
|
23
|
+
> **@context**: [`DcatContextType`](../type-aliases/DcatContextType.md)
|
|
24
24
|
|
|
25
25
|
The JSON-LD context for the resource.
|
|
26
26
|
|
|
@@ -32,7 +32,7 @@ The JSON-LD context for the resource.
|
|
|
32
32
|
|
|
33
33
|
### @type
|
|
34
34
|
|
|
35
|
-
> **@type**: `"CatalogRecord"`
|
|
35
|
+
> **@type**: `"dcat:CatalogRecord"`
|
|
36
36
|
|
|
37
37
|
The type identifier, typically "CatalogRecord".
|
|
38
38
|
|
|
@@ -20,7 +20,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Class:Data_Service
|
|
|
20
20
|
|
|
21
21
|
### @type
|
|
22
22
|
|
|
23
|
-
> **@type**: `"DataService"`
|
|
23
|
+
> **@type**: `"dcat:DataService"`
|
|
24
24
|
|
|
25
25
|
The type identifier, typically "DataService".
|
|
26
26
|
|
|
@@ -67,9 +67,9 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:data_service_serves_dataset
|
|
|
67
67
|
|
|
68
68
|
***
|
|
69
69
|
|
|
70
|
-
### @context
|
|
70
|
+
### @context
|
|
71
71
|
|
|
72
|
-
>
|
|
72
|
+
> **@context**: [`DcatContextType`](../type-aliases/DcatContextType.md)
|
|
73
73
|
|
|
74
74
|
The JSON-LD context for the resource.
|
|
75
75
|
|
|
@@ -25,7 +25,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Class:Dataset
|
|
|
25
25
|
|
|
26
26
|
### @type
|
|
27
27
|
|
|
28
|
-
> **@type**: `"Catalog"` \| `"Dataset"` \| `"DatasetSeries"`
|
|
28
|
+
> **@type**: `"dcat:Catalog"` \| `"dcat:Dataset"` \| `"dcat:DatasetSeries"`
|
|
29
29
|
|
|
30
30
|
The type identifier, typically "Dataset".
|
|
31
31
|
Can also be "Catalog" or "DatasetSeries" for subclasses.
|
|
@@ -38,7 +38,7 @@ Can also be "Catalog" or "DatasetSeries" for subclasses.
|
|
|
38
38
|
|
|
39
39
|
### dcat:distribution?
|
|
40
40
|
|
|
41
|
-
> `optional` **dcat:distribution**: `ObjectOrArray`\<[`
|
|
41
|
+
> `optional` **dcat:distribution**: `ObjectOrArray`\<[`DistributionOptionalContext`](../type-aliases/DistributionOptionalContext.md)\>
|
|
42
42
|
|
|
43
43
|
An available distribution of the dataset.
|
|
44
44
|
|
|
@@ -132,9 +132,9 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_was_generated_by
|
|
|
132
132
|
|
|
133
133
|
***
|
|
134
134
|
|
|
135
|
-
### @context
|
|
135
|
+
### @context
|
|
136
136
|
|
|
137
|
-
>
|
|
137
|
+
> **@context**: [`DcatContextType`](../type-aliases/DcatContextType.md)
|
|
138
138
|
|
|
139
139
|
The JSON-LD context for the resource.
|
|
140
140
|
|
|
@@ -20,7 +20,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Class:Dataset_Series
|
|
|
20
20
|
|
|
21
21
|
### dcat:distribution?
|
|
22
22
|
|
|
23
|
-
> `optional` **dcat:distribution**: `ObjectOrArray`\<[`
|
|
23
|
+
> `optional` **dcat:distribution**: `ObjectOrArray`\<[`DistributionOptionalContext`](../type-aliases/DistributionOptionalContext.md)\>
|
|
24
24
|
|
|
25
25
|
An available distribution of the dataset.
|
|
26
26
|
|
|
@@ -148,7 +148,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_was_generated_by
|
|
|
148
148
|
|
|
149
149
|
### @type
|
|
150
150
|
|
|
151
|
-
> **@type**: `"DatasetSeries"`
|
|
151
|
+
> **@type**: `"dcat:DatasetSeries"`
|
|
152
152
|
|
|
153
153
|
The type identifier, typically "DatasetSeries".
|
|
154
154
|
|
|
@@ -194,9 +194,9 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_series_member
|
|
|
194
194
|
|
|
195
195
|
***
|
|
196
196
|
|
|
197
|
-
### @context
|
|
197
|
+
### @context
|
|
198
198
|
|
|
199
|
-
>
|
|
199
|
+
> **@context**: [`DcatContextType`](../type-aliases/DcatContextType.md)
|
|
200
200
|
|
|
201
201
|
The JSON-LD context for the resource.
|
|
202
202
|
|
|
@@ -18,9 +18,9 @@ https://www.w3.org/TR/vocab-dcat-3/#Class:Distribution
|
|
|
18
18
|
|
|
19
19
|
## Properties
|
|
20
20
|
|
|
21
|
-
### @context
|
|
21
|
+
### @context
|
|
22
22
|
|
|
23
|
-
>
|
|
23
|
+
> **@context**: [`DcatContextType`](../type-aliases/DcatContextType.md)
|
|
24
24
|
|
|
25
25
|
The JSON-LD context for the resource.
|
|
26
26
|
|
|
@@ -32,7 +32,7 @@ The JSON-LD context for the resource.
|
|
|
32
32
|
|
|
33
33
|
### @type
|
|
34
34
|
|
|
35
|
-
> **@type**: `"Distribution"`
|
|
35
|
+
> **@type**: `"dcat:Distribution"`
|
|
36
36
|
|
|
37
37
|
The type identifier, typically "Distribution".
|
|
38
38
|
|