@twin.org/standards-w3c-dcat 0.0.3-next.19 → 0.0.3-next.21

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.
@@ -67,7 +67,7 @@ export class DcatDataTypes {
67
67
  schema: RoleSchema
68
68
  }
69
69
  ];
70
- DataTypeHelper.registerTypes(DcatContexts.Namespace, DcatContexts.Context, types);
70
+ DataTypeHelper.registerTypes(DcatContexts.Namespace, DcatContexts.JsonLdContext, types);
71
71
  }
72
72
  }
73
73
  //# sourceMappingURL=dcatDataTypes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dcatDataTypes.js","sourceRoot":"","sources":["../../../src/dataTypes/dcatDataTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,aAAa,MAAM,6BAA6B,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC9E,OAAO,mBAAmB,MAAM,mCAAmC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC1F,OAAO,iBAAiB,MAAM,iCAAiC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACtF,OAAO,aAAa,MAAM,6BAA6B,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC9E,OAAO,mBAAmB,MAAM,mCAAmC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC1F,OAAO,kBAAkB,MAAM,kCAAkC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACxF,OAAO,kBAAkB,MAAM,kCAAkC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC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AC;IACnF,CAAC;CACD","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { DataTypeHelper } from \"@twin.org/data-core\";\nimport { JsonLdProcessor } from \"@twin.org/data-json-ld\";\nimport { DcatClasses } from \"../models/dcatClasses.js\";\nimport { DcatContexts } from \"../models/dcatContexts.js\";\nimport CatalogSchema from \"../schemas/DcatCatalog.json\" with { type: \"json\" };\nimport CatalogRecordSchema from \"../schemas/DcatCatalogRecord.json\" with { type: \"json\" };\nimport DataServiceSchema from \"../schemas/DcatDataService.json\" with { type: \"json\" };\nimport DatasetSchema from \"../schemas/DcatDataset.json\" with { type: \"json\" };\nimport DatasetSeriesSchema from \"../schemas/DcatDatasetSeries.json\" with { type: \"json\" };\nimport DistributionSchema from \"../schemas/DcatDistribution.json\" with { type: \"json\" };\nimport RelationshipSchema from \"../schemas/DcatRelationship.json\" with { type: \"json\" };\nimport ResourceSchema from \"../schemas/DcatResource.json\" with { type: \"json\" };\nimport RoleSchema from \"../schemas/DcatRole.json\" with { type: \"json\" };\n\n/**\n * Class providing DCAT data type utilities and JSON-LD redirect registration.\n */\nexport class DcatDataTypes {\n\t/**\n\t * Register redirects for DCAT namespace to enable offline JSON-LD processing.\n\t * This maps the W3C DCAT namespace to a local redirect URL for faster resolution.\n\t */\n\tpublic static registerRedirects(): void {\n\t\tJsonLdProcessor.addRedirect(/https?:\\/\\/www\\.w3\\.org\\/ns\\/dcat#?/, DcatContexts.JsonLdContext);\n\n\t\tJsonLdProcessor.addRedirect(\n\t\t\t/https?:\\/\\/www\\.w3\\.org\\/2000\\/01\\/rdf-schema#?/,\n\t\t\tDcatContexts.JsonLdContextRdf\n\t\t);\n\t}\n\n\t/**\n\t * Register all the DCAT data types with their JSON schemas.\n\t */\n\tpublic static registerTypes(): void {\n\t\tconst types = [\n\t\t\t{\n\t\t\t\ttype: DcatClasses.Resource,\n\t\t\t\tschema: ResourceSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcatClasses.Catalog,\n\t\t\t\tschema: CatalogSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcatClasses.CatalogRecord,\n\t\t\t\tschema: CatalogRecordSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcatClasses.Dataset,\n\t\t\t\tschema: DatasetSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcatClasses.Distribution,\n\t\t\t\tschema: DistributionSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcatClasses.DataService,\n\t\t\t\tschema: DataServiceSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcatClasses.DatasetSeries,\n\t\t\t\tschema: DatasetSeriesSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcatClasses.Relationship,\n\t\t\t\tschema: RelationshipSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcatClasses.Role,\n\t\t\t\tschema: RoleSchema\n\t\t\t}\n\t\t];\n\n\t\tDataTypeHelper.registerTypes(DcatContexts.Namespace, DcatContexts.Context, types);\n\t}\n}\n"]}
1
+ {"version":3,"file":"dcatDataTypes.js","sourceRoot":"","sources":["../../../src/dataTypes/dcatDataTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,aAAa,MAAM,6BAA6B,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC9E,OAAO,mBAAmB,MAAM,mCAAmC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC1F,OAAO,iBAAiB,MAAM,iCAAiC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;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WAAW,CAAC,aAAa;gBAC/B,MAAM,EAAE,mBAAmB;aAC3B;YACD;gBACC,IAAI,EAAE,WAAW,CAAC,YAAY;gBAC9B,MAAM,EAAE,kBAAkB;aAC1B;YACD;gBACC,IAAI,EAAE,WAAW,CAAC,IAAI;gBACtB,MAAM,EAAE,UAAU;aAClB;SACD,CAAC;QAEF,cAAc,CAAC,aAAa,CAAC,YAAY,CAAC,SAAS,EAAE,YAAY,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;IACzF,CAAC;CACD","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { DataTypeHelper } from \"@twin.org/data-core\";\nimport { JsonLdProcessor } from \"@twin.org/data-json-ld\";\nimport { DcatClasses } from \"../models/dcatClasses.js\";\nimport { DcatContexts } from \"../models/dcatContexts.js\";\nimport CatalogSchema from \"../schemas/DcatCatalog.json\" with { type: \"json\" };\nimport CatalogRecordSchema from \"../schemas/DcatCatalogRecord.json\" with { type: \"json\" };\nimport DataServiceSchema from \"../schemas/DcatDataService.json\" with { type: \"json\" };\nimport DatasetSchema from \"../schemas/DcatDataset.json\" with { type: \"json\" };\nimport DatasetSeriesSchema from \"../schemas/DcatDatasetSeries.json\" with { type: \"json\" };\nimport DistributionSchema from \"../schemas/DcatDistribution.json\" with { type: \"json\" };\nimport RelationshipSchema from \"../schemas/DcatRelationship.json\" with { type: \"json\" };\nimport ResourceSchema from \"../schemas/DcatResource.json\" with { type: \"json\" };\nimport RoleSchema from \"../schemas/DcatRole.json\" with { type: \"json\" };\n\n/**\n * Class providing DCAT data type utilities and JSON-LD redirect registration.\n */\nexport class DcatDataTypes {\n\t/**\n\t * Register redirects for DCAT namespace to enable offline JSON-LD processing.\n\t * This maps the W3C DCAT namespace to a local redirect URL for faster resolution.\n\t */\n\tpublic static registerRedirects(): void {\n\t\tJsonLdProcessor.addRedirect(/https?:\\/\\/www\\.w3\\.org\\/ns\\/dcat#?/, DcatContexts.JsonLdContext);\n\n\t\tJsonLdProcessor.addRedirect(\n\t\t\t/https?:\\/\\/www\\.w3\\.org\\/2000\\/01\\/rdf-schema#?/,\n\t\t\tDcatContexts.JsonLdContextRdf\n\t\t);\n\t}\n\n\t/**\n\t * Register all the DCAT data types with their JSON schemas.\n\t */\n\tpublic static registerTypes(): void {\n\t\tconst types = [\n\t\t\t{\n\t\t\t\ttype: DcatClasses.Resource,\n\t\t\t\tschema: ResourceSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcatClasses.Catalog,\n\t\t\t\tschema: CatalogSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcatClasses.CatalogRecord,\n\t\t\t\tschema: CatalogRecordSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcatClasses.Dataset,\n\t\t\t\tschema: DatasetSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcatClasses.Distribution,\n\t\t\t\tschema: DistributionSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcatClasses.DataService,\n\t\t\t\tschema: DataServiceSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcatClasses.DatasetSeries,\n\t\t\t\tschema: DatasetSeriesSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcatClasses.Relationship,\n\t\t\t\tschema: RelationshipSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcatClasses.Role,\n\t\t\t\tschema: RoleSchema\n\t\t\t}\n\t\t];\n\n\t\tDataTypeHelper.registerTypes(DcatContexts.Namespace, DcatContexts.JsonLdContext, types);\n\t}\n}\n"]}
@@ -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.Context;\n\tdcterms: typeof DublinCoreContexts.ContextTerms;\n\todrl?: typeof OdrlContexts.JsonLdContext;\n\tfoaf?: typeof FoafContexts.JsonLdContext;\n} & IJsonLdContextDefinition;\n"]}
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.jsonld"
89
+ "const": "http://www.w3.org/ns/odrl/2/"
90
90
  },
91
91
  "foaf": {
92
92
  "type": "string",
93
- "const": "https://schema.twindev.org/foaf/types.jsonld"
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.jsonld"
89
+ "const": "http://www.w3.org/ns/odrl/2/"
90
90
  },
91
91
  "foaf": {
92
92
  "type": "string",
93
- "const": "https://schema.twindev.org/foaf/types.jsonld"
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.jsonld"
89
+ "const": "http://www.w3.org/ns/odrl/2/"
90
90
  },
91
91
  "foaf": {
92
92
  "type": "string",
93
- "const": "https://schema.twindev.org/foaf/types.jsonld"
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.jsonld"
89
+ "const": "http://www.w3.org/ns/odrl/2/"
90
90
  },
91
91
  "foaf": {
92
92
  "type": "string",
93
- "const": "https://schema.twindev.org/foaf/types.jsonld"
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.jsonld"
89
+ "const": "http://www.w3.org/ns/odrl/2/"
90
90
  },
91
91
  "foaf": {
92
92
  "type": "string",
93
- "const": "https://schema.twindev.org/foaf/types.jsonld"
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.jsonld"
89
+ "const": "http://www.w3.org/ns/odrl/2/"
90
90
  },
91
91
  "foaf": {
92
92
  "type": "string",
93
- "const": "https://schema.twindev.org/foaf/types.jsonld"
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.jsonld"
89
+ "const": "http://www.w3.org/ns/odrl/2/"
90
90
  },
91
91
  "foaf": {
92
92
  "type": "string",
93
- "const": "https://schema.twindev.org/foaf/types.jsonld"
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.jsonld"
89
+ "const": "http://www.w3.org/ns/odrl/2/"
90
90
  },
91
91
  "foaf": {
92
92
  "type": "string",
93
- "const": "https://schema.twindev.org/foaf/types.jsonld"
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.jsonld"
89
+ "const": "http://www.w3.org/ns/odrl/2/"
90
90
  },
91
91
  "foaf": {
92
92
  "type": "string",
93
- "const": "https://schema.twindev.org/foaf/types.jsonld"
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.Context;
12
- dcterms: typeof DublinCoreContexts.ContextTerms;
13
- odrl?: typeof OdrlContexts.JsonLdContext;
14
- foaf?: typeof FoafContexts.JsonLdContext;
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,39 @@
1
1
  # @twin.org/standards-w3c-dcat - Changelog
2
2
 
3
+ ## [0.0.3-next.21](https://github.com/twinfoundation/standards/compare/standards-w3c-dcat-v0.0.3-next.20...standards-w3c-dcat-v0.0.3-next.21) (2026-01-23)
4
+
5
+
6
+ ### Features
7
+
8
+ * update registrations ([dd3c92f](https://github.com/twinfoundation/standards/commit/dd3c92f52ff44679f61ff2a84b9fbc98bdc574d5))
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.20 to 0.0.3-next.21
16
+ * @twin.org/standards-foaf bumped from 0.0.3-next.20 to 0.0.3-next.21
17
+ * @twin.org/standards-w3c-odrl bumped from 0.0.3-next.20 to 0.0.3-next.21
18
+ * @twin.org/standards-w3c-vcard bumped from 0.0.3-next.20 to 0.0.3-next.21
19
+
20
+ ## [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)
21
+
22
+
23
+ ### Bug Fixes
24
+
25
+ * 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))
26
+
27
+
28
+ ### Dependencies
29
+
30
+ * The following workspace dependencies were updated
31
+ * dependencies
32
+ * @twin.org/standards-dublin-core bumped from 0.0.3-next.19 to 0.0.3-next.20
33
+ * @twin.org/standards-foaf bumped from 0.0.3-next.19 to 0.0.3-next.20
34
+ * @twin.org/standards-w3c-odrl bumped from 0.0.3-next.19 to 0.0.3-next.20
35
+ * @twin.org/standards-w3c-vcard bumped from 0.0.3-next.19 to 0.0.3-next.20
36
+
3
37
  ## [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
38
 
5
39
 
@@ -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* [`Context`](../variables/DcatContexts.md#context)
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.JsonLdContext`
20
+ > `optional` **odrl**: *typeof* `OdrlContexts.Namespace`
21
21
 
22
22
  ### foaf?
23
23
 
24
- > `optional` **foaf**: *typeof* `FoafContexts.JsonLdContext`
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.19",
3
+ "version": "0.0.3-next.21",
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",
19
- "@twin.org/standards-foaf": "0.0.3-next.19",
20
- "@twin.org/standards-w3c-odrl": "0.0.3-next.19",
21
- "@twin.org/standards-w3c-vcard": "0.0.3-next.19",
18
+ "@twin.org/standards-dublin-core": "0.0.3-next.21",
19
+ "@twin.org/standards-foaf": "0.0.3-next.21",
20
+ "@twin.org/standards-w3c-odrl": "0.0.3-next.21",
21
+ "@twin.org/standards-w3c-vcard": "0.0.3-next.21",
22
22
  "@twin.org/web": "next"
23
23
  },
24
24
  "main": "./dist/es/index.js",