@twin.org/standards-w3c-dcat 0.0.3-next.19 → 0.0.3-next.20
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/models/dcatContextType.js.map +1 -1
- package/dist/es/schemas/DcatCatalog.json +2 -2
- package/dist/es/schemas/DcatCatalogRecord.json +2 -2
- package/dist/es/schemas/DcatDataService.json +2 -2
- package/dist/es/schemas/DcatDataset.json +2 -2
- package/dist/es/schemas/DcatDatasetSeries.json +2 -2
- package/dist/es/schemas/DcatDistribution.json +2 -2
- package/dist/es/schemas/DcatRelationship.json +2 -2
- package/dist/es/schemas/DcatResource.json +2 -2
- package/dist/es/schemas/DcatRole.json +2 -2
- package/dist/types/models/dcatContextType.d.ts +4 -4
- package/docs/changelog.md +17 -0
- package/docs/reference/type-aliases/DcatContextType.md +4 -4
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dcatContextType.js","sourceRoot":"","sources":["../../../src/models/dcatContextType.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinition } from \"@twin.org/data-json-ld\";\nimport type { DublinCoreContexts } from \"@twin.org/standards-dublin-core\";\nimport type { FoafContexts } from \"@twin.org/standards-foaf\";\nimport type { OdrlContexts } from \"@twin.org/standards-w3c-odrl\";\nimport type { DcatContexts } from \"./dcatContexts.js\";\n\n/**\n * The DCAT JSON-LD context type.\n * Supports the DCAT context URL or arrays with additional context definitions.\n */\nexport type DcatContextType = {\n\tdcat: typeof DcatContexts.
|
|
1
|
+
{"version":3,"file":"dcatContextType.js","sourceRoot":"","sources":["../../../src/models/dcatContextType.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinition } from \"@twin.org/data-json-ld\";\nimport type { DublinCoreContexts } from \"@twin.org/standards-dublin-core\";\nimport type { FoafContexts } from \"@twin.org/standards-foaf\";\nimport type { OdrlContexts } from \"@twin.org/standards-w3c-odrl\";\nimport type { DcatContexts } from \"./dcatContexts.js\";\n\n/**\n * The DCAT JSON-LD context type.\n * Supports the DCAT context URL or arrays with additional context definitions.\n */\nexport type DcatContextType = {\n\tdcat: typeof DcatContexts.Namespace;\n\tdcterms: typeof DublinCoreContexts.NamespaceTerms;\n\todrl?: typeof OdrlContexts.Namespace;\n\tfoaf?: typeof FoafContexts.Namespace;\n} & IJsonLdContextDefinition;\n"]}
|
|
@@ -86,11 +86,11 @@
|
|
|
86
86
|
},
|
|
87
87
|
"odrl": {
|
|
88
88
|
"type": "string",
|
|
89
|
-
"const": "http://www.w3.org/ns/odrl
|
|
89
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
90
90
|
},
|
|
91
91
|
"foaf": {
|
|
92
92
|
"type": "string",
|
|
93
|
-
"const": "https://
|
|
93
|
+
"const": "https://xmlns.com/foaf/0.1/"
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
96
|
"required": [
|
|
@@ -86,11 +86,11 @@
|
|
|
86
86
|
},
|
|
87
87
|
"odrl": {
|
|
88
88
|
"type": "string",
|
|
89
|
-
"const": "http://www.w3.org/ns/odrl
|
|
89
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
90
90
|
},
|
|
91
91
|
"foaf": {
|
|
92
92
|
"type": "string",
|
|
93
|
-
"const": "https://
|
|
93
|
+
"const": "https://xmlns.com/foaf/0.1/"
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
96
|
"required": [
|
|
@@ -86,11 +86,11 @@
|
|
|
86
86
|
},
|
|
87
87
|
"odrl": {
|
|
88
88
|
"type": "string",
|
|
89
|
-
"const": "http://www.w3.org/ns/odrl
|
|
89
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
90
90
|
},
|
|
91
91
|
"foaf": {
|
|
92
92
|
"type": "string",
|
|
93
|
-
"const": "https://
|
|
93
|
+
"const": "https://xmlns.com/foaf/0.1/"
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
96
|
"required": [
|
|
@@ -86,11 +86,11 @@
|
|
|
86
86
|
},
|
|
87
87
|
"odrl": {
|
|
88
88
|
"type": "string",
|
|
89
|
-
"const": "http://www.w3.org/ns/odrl
|
|
89
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
90
90
|
},
|
|
91
91
|
"foaf": {
|
|
92
92
|
"type": "string",
|
|
93
|
-
"const": "https://
|
|
93
|
+
"const": "https://xmlns.com/foaf/0.1/"
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
96
|
"required": [
|
|
@@ -86,11 +86,11 @@
|
|
|
86
86
|
},
|
|
87
87
|
"odrl": {
|
|
88
88
|
"type": "string",
|
|
89
|
-
"const": "http://www.w3.org/ns/odrl
|
|
89
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
90
90
|
},
|
|
91
91
|
"foaf": {
|
|
92
92
|
"type": "string",
|
|
93
|
-
"const": "https://
|
|
93
|
+
"const": "https://xmlns.com/foaf/0.1/"
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
96
|
"required": [
|
|
@@ -86,11 +86,11 @@
|
|
|
86
86
|
},
|
|
87
87
|
"odrl": {
|
|
88
88
|
"type": "string",
|
|
89
|
-
"const": "http://www.w3.org/ns/odrl
|
|
89
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
90
90
|
},
|
|
91
91
|
"foaf": {
|
|
92
92
|
"type": "string",
|
|
93
|
-
"const": "https://
|
|
93
|
+
"const": "https://xmlns.com/foaf/0.1/"
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
96
|
"required": [
|
|
@@ -86,11 +86,11 @@
|
|
|
86
86
|
},
|
|
87
87
|
"odrl": {
|
|
88
88
|
"type": "string",
|
|
89
|
-
"const": "http://www.w3.org/ns/odrl
|
|
89
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
90
90
|
},
|
|
91
91
|
"foaf": {
|
|
92
92
|
"type": "string",
|
|
93
|
-
"const": "https://
|
|
93
|
+
"const": "https://xmlns.com/foaf/0.1/"
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
96
|
"required": [
|
|
@@ -86,11 +86,11 @@
|
|
|
86
86
|
},
|
|
87
87
|
"odrl": {
|
|
88
88
|
"type": "string",
|
|
89
|
-
"const": "http://www.w3.org/ns/odrl
|
|
89
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
90
90
|
},
|
|
91
91
|
"foaf": {
|
|
92
92
|
"type": "string",
|
|
93
|
-
"const": "https://
|
|
93
|
+
"const": "https://xmlns.com/foaf/0.1/"
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
96
|
"required": [
|
|
@@ -86,11 +86,11 @@
|
|
|
86
86
|
},
|
|
87
87
|
"odrl": {
|
|
88
88
|
"type": "string",
|
|
89
|
-
"const": "http://www.w3.org/ns/odrl
|
|
89
|
+
"const": "http://www.w3.org/ns/odrl/2/"
|
|
90
90
|
},
|
|
91
91
|
"foaf": {
|
|
92
92
|
"type": "string",
|
|
93
|
-
"const": "https://
|
|
93
|
+
"const": "https://xmlns.com/foaf/0.1/"
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
96
|
"required": [
|
|
@@ -8,8 +8,8 @@ import type { DcatContexts } from "./dcatContexts.js";
|
|
|
8
8
|
* Supports the DCAT context URL or arrays with additional context definitions.
|
|
9
9
|
*/
|
|
10
10
|
export type DcatContextType = {
|
|
11
|
-
dcat: typeof DcatContexts.
|
|
12
|
-
dcterms: typeof DublinCoreContexts.
|
|
13
|
-
odrl?: typeof OdrlContexts.
|
|
14
|
-
foaf?: typeof FoafContexts.
|
|
11
|
+
dcat: typeof DcatContexts.Namespace;
|
|
12
|
+
dcterms: typeof DublinCoreContexts.NamespaceTerms;
|
|
13
|
+
odrl?: typeof OdrlContexts.Namespace;
|
|
14
|
+
foaf?: typeof FoafContexts.Namespace;
|
|
15
15
|
} & IJsonLdContextDefinition;
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @twin.org/standards-w3c-dcat - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.3-next.20](https://github.com/twinfoundation/standards/compare/standards-w3c-dcat-v0.0.3-next.19...standards-w3c-dcat-v0.0.3-next.20) (2026-01-21)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* when a prefix is declared in an [@context](https://github.com/context) it should be Namespace and not Context ([#119](https://github.com/twinfoundation/standards/issues/119)) ([110cc50](https://github.com/twinfoundation/standards/commit/110cc5039394c7fcfada0e3ca001013cb503f31a))
|
|
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.19 to 0.0.3-next.20
|
|
16
|
+
* @twin.org/standards-foaf bumped from 0.0.3-next.19 to 0.0.3-next.20
|
|
17
|
+
* @twin.org/standards-w3c-odrl bumped from 0.0.3-next.19 to 0.0.3-next.20
|
|
18
|
+
* @twin.org/standards-w3c-vcard bumped from 0.0.3-next.19 to 0.0.3-next.20
|
|
19
|
+
|
|
3
20
|
## [0.0.3-next.19](https://github.com/twinfoundation/standards/compare/standards-w3c-dcat-v0.0.3-next.18...standards-w3c-dcat-v0.0.3-next.19) (2026-01-21)
|
|
4
21
|
|
|
5
22
|
|
|
@@ -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* [`
|
|
12
|
+
> **dcat**: *typeof* [`Namespace`](../variables/DcatContexts.md#namespace)
|
|
13
13
|
|
|
14
14
|
### dcterms
|
|
15
15
|
|
|
16
|
-
> **dcterms**: *typeof* `DublinCoreContexts.
|
|
16
|
+
> **dcterms**: *typeof* `DublinCoreContexts.NamespaceTerms`
|
|
17
17
|
|
|
18
18
|
### odrl?
|
|
19
19
|
|
|
20
|
-
> `optional` **odrl**: *typeof* `OdrlContexts.
|
|
20
|
+
> `optional` **odrl**: *typeof* `OdrlContexts.Namespace`
|
|
21
21
|
|
|
22
22
|
### foaf?
|
|
23
23
|
|
|
24
|
-
> `optional` **foaf**: *typeof* `FoafContexts.
|
|
24
|
+
> `optional` **foaf**: *typeof* `FoafContexts.Namespace`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/standards-w3c-dcat",
|
|
3
|
-
"version": "0.0.3-next.
|
|
3
|
+
"version": "0.0.3-next.20",
|
|
4
4
|
"description": "Models which define the structure of W3C DCAT Standard",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@twin.org/data-json-ld": "next",
|
|
18
|
-
"@twin.org/standards-dublin-core": "0.0.3-next.
|
|
19
|
-
"@twin.org/standards-foaf": "0.0.3-next.
|
|
20
|
-
"@twin.org/standards-w3c-odrl": "0.0.3-next.
|
|
21
|
-
"@twin.org/standards-w3c-vcard": "0.0.3-next.
|
|
18
|
+
"@twin.org/standards-dublin-core": "0.0.3-next.20",
|
|
19
|
+
"@twin.org/standards-foaf": "0.0.3-next.20",
|
|
20
|
+
"@twin.org/standards-w3c-odrl": "0.0.3-next.20",
|
|
21
|
+
"@twin.org/standards-w3c-vcard": "0.0.3-next.20",
|
|
22
22
|
"@twin.org/web": "next"
|
|
23
23
|
},
|
|
24
24
|
"main": "./dist/es/index.js",
|