@twin.org/standards-w3c-dcat 0.0.3-next.66 → 0.0.3-next.68

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.
@@ -26,7 +26,6 @@ import RoleSchema from "../schemas/DcatRole.json" with { type: "json" };
26
26
  export class DcatDataTypes {
27
27
  /**
28
28
  * Register redirects for DCAT namespace to enable offline JSON-LD processing.
29
- * This maps the W3C DCAT namespace to a local redirect URL for faster resolution.
30
29
  */
31
30
  static registerRedirects() {
32
31
  JsonLdProcessor.addRedirect(/https?:\/\/www\.w3\.org\/ns\/dcat#?/, DcatContexts.JsonLdContext);
@@ -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,iBAAiB,MAAM,iCAAiC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACtF,OAAO,mBAAmB,MAAM,mCAAmC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC1F,OAAO,uBAAuB,MAAM,uCAAuC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAClG,OAAO,iBAAiB,MAAM,iCAAiC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACtF,OAAO,iBAAiB,MAAM,iCAAiC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACtF,OAAO,qBAAqB,MAAM,qCAAqC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YAAY,CAAC,aAAa,EAC1B,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAC7D,CAAC;IACH,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 CatalogBaseSchema from \"../schemas/DcatCatalogBase.json\" with { type: \"json\" };\nimport CatalogRecordSchema from \"../schemas/DcatCatalogRecord.json\" with { type: \"json\" };\nimport CatalogRecordBaseSchema from \"../schemas/DcatCatalogRecordBase.json\" with { type: \"json\" };\nimport ContextTypeSchema from \"../schemas/DcatContextType.json\" with { type: \"json\" };\nimport DataServiceSchema from \"../schemas/DcatDataService.json\" with { type: \"json\" };\nimport DataServiceBaseSchema from \"../schemas/DcatDataServiceBase.json\" with { type: \"json\" };\nimport DatasetSchema from \"../schemas/DcatDataset.json\" with { type: \"json\" };\nimport DatasetBaseSchema from \"../schemas/DcatDatasetBase.json\" with { type: \"json\" };\nimport DatasetSeriesSchema from \"../schemas/DcatDatasetSeries.json\" with { type: \"json\" };\nimport DistributionSchema from \"../schemas/DcatDistribution.json\" with { type: \"json\" };\nimport DistributionBaseSchema from \"../schemas/DcatDistributionBase.json\" with { type: \"json\" };\nimport RelationshipSchema from \"../schemas/DcatRelationship.json\" with { type: \"json\" };\nimport ResourceSchema from \"../schemas/DcatResource.json\" with { type: \"json\" };\nimport ResourceBaseSchema from \"../schemas/DcatResourceBase.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.Resource}Base`,\n\t\t\t\tschema: ResourceBaseSchema\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.Catalog}Base`,\n\t\t\t\tschema: CatalogBaseSchema\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.CatalogRecord}Base`,\n\t\t\t\tschema: CatalogRecordBaseSchema\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.Dataset}Base`,\n\t\t\t\tschema: DatasetBaseSchema\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.Distribution}Base`,\n\t\t\t\tschema: DistributionBaseSchema\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.DataService}Base`,\n\t\t\t\tschema: DataServiceBaseSchema\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\t{\n\t\t\t\ttype: \"ContextType\",\n\t\t\t\tschema: ContextTypeSchema\n\t\t\t}\n\t\t];\n\n\t\tDataTypeHelper.registerTypes(DcatContexts.Namespace, DcatContexts.JsonLdContext, types);\n\t\tDataTypeHelper.registerTypes(\n\t\t\tDcatContexts.JsonSchemaNamespace,\n\t\t\tDcatContexts.JsonLdContext,\n\t\t\ttypes.map(t => ({ type: `Dcat${t.type}`, schema: t.schema }))\n\t\t);\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,iBAAiB,MAAM,iCAAiC,CAAC,OAAO,IAAI,EAAE,MAAM,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WAAW,CAAC,YAAY;gBAC9B,MAAM,EAAE,kBAAkB;aAC1B;YACD;gBACC,IAAI,EAAE,WAAW,CAAC,IAAI;gBACtB,MAAM,EAAE,UAAU;aAClB;YACD;gBACC,IAAI,EAAE,aAAa;gBACnB,MAAM,EAAE,iBAAiB;aACzB;SACD,CAAC;QAEF,cAAc,CAAC,aAAa,CAAC,YAAY,CAAC,SAAS,EAAE,YAAY,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;QACxF,cAAc,CAAC,aAAa,CAC3B,YAAY,CAAC,mBAAmB,EAChC,YAAY,CAAC,aAAa,EAC1B,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAC7D,CAAC;IACH,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 CatalogBaseSchema from \"../schemas/DcatCatalogBase.json\" with { type: \"json\" };\nimport CatalogRecordSchema from \"../schemas/DcatCatalogRecord.json\" with { type: \"json\" };\nimport CatalogRecordBaseSchema from \"../schemas/DcatCatalogRecordBase.json\" with { type: \"json\" };\nimport ContextTypeSchema from \"../schemas/DcatContextType.json\" with { type: \"json\" };\nimport DataServiceSchema from \"../schemas/DcatDataService.json\" with { type: \"json\" };\nimport DataServiceBaseSchema from \"../schemas/DcatDataServiceBase.json\" with { type: \"json\" };\nimport DatasetSchema from \"../schemas/DcatDataset.json\" with { type: \"json\" };\nimport DatasetBaseSchema from \"../schemas/DcatDatasetBase.json\" with { type: \"json\" };\nimport DatasetSeriesSchema from \"../schemas/DcatDatasetSeries.json\" with { type: \"json\" };\nimport DistributionSchema from \"../schemas/DcatDistribution.json\" with { type: \"json\" };\nimport DistributionBaseSchema from \"../schemas/DcatDistributionBase.json\" with { type: \"json\" };\nimport RelationshipSchema from \"../schemas/DcatRelationship.json\" with { type: \"json\" };\nimport ResourceSchema from \"../schemas/DcatResource.json\" with { type: \"json\" };\nimport ResourceBaseSchema from \"../schemas/DcatResourceBase.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 */\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.Resource}Base`,\n\t\t\t\tschema: ResourceBaseSchema\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.Catalog}Base`,\n\t\t\t\tschema: CatalogBaseSchema\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.CatalogRecord}Base`,\n\t\t\t\tschema: CatalogRecordBaseSchema\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.Dataset}Base`,\n\t\t\t\tschema: DatasetBaseSchema\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.Distribution}Base`,\n\t\t\t\tschema: DistributionBaseSchema\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.DataService}Base`,\n\t\t\t\tschema: DataServiceBaseSchema\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\t{\n\t\t\t\ttype: \"ContextType\",\n\t\t\t\tschema: ContextTypeSchema\n\t\t\t}\n\t\t];\n\n\t\tDataTypeHelper.registerTypes(DcatContexts.Namespace, DcatContexts.JsonLdContext, types);\n\t\tDataTypeHelper.registerTypes(\n\t\t\tDcatContexts.JsonSchemaNamespace,\n\t\t\tDcatContexts.JsonLdContext,\n\t\t\ttypes.map(t => ({ type: `Dcat${t.type}`, schema: t.schema }))\n\t\t);\n\t}\n}\n"]}
@@ -4,7 +4,6 @@
4
4
  export declare class DcatDataTypes {
5
5
  /**
6
6
  * Register redirects for DCAT namespace to enable offline JSON-LD processing.
7
- * This maps the W3C DCAT namespace to a local redirect URL for faster resolution.
8
7
  */
9
8
  static registerRedirects(): void;
10
9
  /**
package/docs/changelog.md CHANGED
@@ -1,5 +1,43 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.3-next.68](https://github.com/iotaledger/twin-standards/compare/standards-w3c-dcat-v0.0.3-next.67...standards-w3c-dcat-v0.0.3-next.68) (2026-06-22)
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.67 to 0.0.3-next.68
16
+ * @twin.org/standards-foaf bumped from 0.0.3-next.67 to 0.0.3-next.68
17
+ * @twin.org/standards-w3c-odrl bumped from 0.0.3-next.67 to 0.0.3-next.68
18
+ * @twin.org/standards-w3c-vcard bumped from 0.0.3-next.67 to 0.0.3-next.68
19
+ * devDependencies
20
+ * @twin.org/standards-ld-contexts bumped from 0.0.3-next.67 to 0.0.3-next.68
21
+
22
+ ## [0.0.3-next.67](https://github.com/iotaledger/twin-standards/compare/standards-w3c-dcat-v0.0.3-next.66...standards-w3c-dcat-v0.0.3-next.67) (2026-06-12)
23
+
24
+
25
+ ### Features
26
+
27
+ * update ds and dcat generated schemas ([efc333e](https://github.com/iotaledger/twin-standards/commit/efc333e00bb7af828fd005484d0e28204776d948))
28
+
29
+
30
+ ### Dependencies
31
+
32
+ * The following workspace dependencies were updated
33
+ * dependencies
34
+ * @twin.org/standards-dublin-core bumped from 0.0.3-next.66 to 0.0.3-next.67
35
+ * @twin.org/standards-foaf bumped from 0.0.3-next.66 to 0.0.3-next.67
36
+ * @twin.org/standards-w3c-odrl bumped from 0.0.3-next.66 to 0.0.3-next.67
37
+ * @twin.org/standards-w3c-vcard bumped from 0.0.3-next.66 to 0.0.3-next.67
38
+ * devDependencies
39
+ * @twin.org/standards-ld-contexts bumped from 0.0.3-next.66 to 0.0.3-next.67
40
+
3
41
  ## [0.0.3-next.66](https://github.com/iotaledger/twin-standards/compare/standards-w3c-dcat-v0.0.3-next.65...standards-w3c-dcat-v0.0.3-next.66) (2026-06-09)
4
42
 
5
43
 
@@ -19,7 +19,6 @@ Class providing DCAT data type utilities and JSON-LD redirect registration.
19
19
  > `static` **registerRedirects**(): `void`
20
20
 
21
21
  Register redirects for DCAT namespace to enable offline JSON-LD processing.
22
- This maps the W3C DCAT namespace to a local redirect URL for faster resolution.
23
22
 
24
23
  #### Returns
25
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/standards-w3c-dcat",
3
- "version": "0.0.3-next.66",
3
+ "version": "0.0.3-next.68",
4
4
  "description": "Data models for the W3C Data Catalog Vocabulary.",
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.66",
19
- "@twin.org/standards-foaf": "0.0.3-next.66",
20
- "@twin.org/standards-w3c-odrl": "0.0.3-next.66",
21
- "@twin.org/standards-w3c-vcard": "0.0.3-next.66",
18
+ "@twin.org/standards-dublin-core": "0.0.3-next.68",
19
+ "@twin.org/standards-foaf": "0.0.3-next.68",
20
+ "@twin.org/standards-w3c-odrl": "0.0.3-next.68",
21
+ "@twin.org/standards-w3c-vcard": "0.0.3-next.68",
22
22
  "@twin.org/web": "next"
23
23
  },
24
24
  "main": "./dist/es/index.js",