@twin.org/standards-w3c-dcat 0.0.3-next.6 → 0.0.3-next.7
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 +9 -9
- package/dist/es/dataTypes/dcatDataTypes.js.map +1 -1
- package/dist/es/index.js +9 -9
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/IDcatCatalog.js +2 -0
- package/dist/es/models/IDcatCatalog.js.map +1 -0
- package/dist/es/models/IDcatCatalogRecord.js +2 -0
- package/dist/es/models/IDcatCatalogRecord.js.map +1 -0
- package/dist/es/models/IDcatDataService.js +2 -0
- package/dist/es/models/IDcatDataService.js.map +1 -0
- package/dist/es/models/IDcatDataset.js +2 -0
- package/dist/es/models/IDcatDataset.js.map +1 -0
- package/dist/es/models/IDcatDatasetSeries.js +2 -0
- package/dist/es/models/IDcatDatasetSeries.js.map +1 -0
- package/dist/es/models/IDcatDistribution.js +2 -0
- package/dist/es/models/IDcatDistribution.js.map +1 -0
- package/dist/es/models/IDcatRelationship.js +2 -0
- package/dist/es/models/IDcatRelationship.js.map +1 -0
- package/dist/es/models/IDcatResource.js +2 -0
- package/dist/es/models/IDcatResource.js.map +1 -0
- package/dist/es/models/IDcatRole.js +2 -0
- package/dist/es/models/IDcatRole.js.map +1 -0
- package/dist/es/models/types/dcatPropertyTypes.js.map +1 -1
- package/dist/es/schemas/{Catalog.json → DcatCatalog.json} +27 -27
- package/dist/es/schemas/{CatalogRecord.json → DcatCatalogRecord.json} +6 -6
- package/dist/es/schemas/{DataService.json → DcatDataService.json} +10 -10
- package/dist/es/schemas/{Dataset.json → DcatDataset.json} +15 -15
- package/dist/es/schemas/{DatasetSeries.json → DcatDatasetSeries.json} +15 -15
- package/dist/es/schemas/{Distribution.json → DcatDistribution.json} +8 -8
- package/dist/es/schemas/{Relationship.json → DcatRelationship.json} +2 -2
- package/dist/es/schemas/{Resource.json → DcatResource.json} +10 -10
- package/dist/es/schemas/{Role.json → DcatRole.json} +2 -2
- package/dist/types/index.d.ts +9 -9
- package/dist/types/models/{ICatalog.d.ts → IDcatCatalog.d.ts} +11 -11
- package/dist/types/models/{ICatalogRecord.d.ts → IDcatCatalogRecord.d.ts} +8 -8
- package/dist/types/models/{IDataService.d.ts → IDcatDataService.d.ts} +2 -2
- package/dist/types/models/{IDataset.d.ts → IDcatDataset.d.ts} +9 -9
- package/dist/types/models/{IDatasetSeries.d.ts → IDcatDatasetSeries.d.ts} +2 -2
- package/dist/types/models/{IDistribution.d.ts → IDcatDistribution.d.ts} +9 -9
- package/dist/types/models/{IRelationship.d.ts → IDcatRelationship.d.ts} +3 -3
- package/dist/types/models/{IResource.d.ts → IDcatResource.d.ts} +13 -13
- package/dist/types/models/{IRole.d.ts → IDcatRole.d.ts} +3 -3
- package/dist/types/models/types/dcatPropertyTypes.d.ts +6 -6
- package/docs/changelog.md +17 -0
- package/docs/reference/index.md +15 -15
- package/docs/reference/interfaces/{ICatalog.md → IDcatCatalog.md} +46 -46
- package/docs/reference/interfaces/{ICatalogRecord.md → IDcatCatalogRecord.md} +4 -4
- package/docs/reference/interfaces/{IDataService.md → IDcatDataService.md} +30 -30
- package/docs/reference/interfaces/{IDataset.md → IDcatDataset.md} +34 -34
- package/docs/reference/interfaces/{IDatasetSeries.md → IDcatDatasetSeries.md} +40 -40
- package/docs/reference/interfaces/{IDistribution.md → IDcatDistribution.md} +3 -3
- package/docs/reference/interfaces/{IRelationship.md → IDcatRelationship.md} +2 -2
- package/docs/reference/interfaces/{IResource.md → IDcatResource.md} +10 -10
- package/docs/reference/interfaces/{IRole.md → IDcatRole.md} +2 -2
- package/docs/reference/type-aliases/{DateTimeType.md → DcatDateTimeType.md} +2 -2
- package/docs/reference/type-aliases/DcatDecimalType.md +5 -0
- package/docs/reference/type-aliases/DcatDurationType.md +5 -0
- package/docs/reference/type-aliases/DcatIriType.md +5 -0
- package/docs/reference/type-aliases/{LiteralType.md → DcatLiteralType.md} +2 -2
- package/docs/reference/type-aliases/DcatNonNegativeIntegerType.md +5 -0
- package/package.json +5 -5
- package/dist/es/models/ICatalog.js +0 -2
- package/dist/es/models/ICatalog.js.map +0 -1
- package/dist/es/models/ICatalogRecord.js +0 -2
- package/dist/es/models/ICatalogRecord.js.map +0 -1
- package/dist/es/models/IDataService.js +0 -2
- package/dist/es/models/IDataService.js.map +0 -1
- package/dist/es/models/IDataset.js +0 -2
- package/dist/es/models/IDataset.js.map +0 -1
- package/dist/es/models/IDatasetSeries.js +0 -2
- package/dist/es/models/IDatasetSeries.js.map +0 -1
- package/dist/es/models/IDistribution.js +0 -2
- package/dist/es/models/IDistribution.js.map +0 -1
- package/dist/es/models/IRelationship.js +0 -2
- package/dist/es/models/IRelationship.js.map +0 -1
- package/dist/es/models/IResource.js +0 -2
- package/dist/es/models/IResource.js.map +0 -1
- package/dist/es/models/IRole.js +0 -2
- package/dist/es/models/IRole.js.map +0 -1
- package/docs/reference/type-aliases/DecimalType.md +0 -5
- package/docs/reference/type-aliases/DurationType.md +0 -5
- package/docs/reference/type-aliases/IriType.md +0 -5
- package/docs/reference/type-aliases/NonNegativeIntegerType.md +0 -5
|
@@ -2,15 +2,15 @@ import { DataTypeHandlerFactory } from "@twin.org/data-core";
|
|
|
2
2
|
import { JsonLdProcessor } from "@twin.org/data-json-ld";
|
|
3
3
|
import { DcatClasses } from "../models/dcatClasses.js";
|
|
4
4
|
import { DcatContexts } from "../models/dcatContexts.js";
|
|
5
|
-
import CatalogSchema from "../schemas/
|
|
6
|
-
import CatalogRecordSchema from "../schemas/
|
|
7
|
-
import DataServiceSchema from "../schemas/
|
|
8
|
-
import DatasetSchema from "../schemas/
|
|
9
|
-
import DatasetSeriesSchema from "../schemas/
|
|
10
|
-
import DistributionSchema from "../schemas/
|
|
11
|
-
import RelationshipSchema from "../schemas/
|
|
12
|
-
import ResourceSchema from "../schemas/
|
|
13
|
-
import RoleSchema from "../schemas/
|
|
5
|
+
import CatalogSchema from "../schemas/DcatCatalog.json" with { type: "json" };
|
|
6
|
+
import CatalogRecordSchema from "../schemas/DcatCatalogRecord.json" with { type: "json" };
|
|
7
|
+
import DataServiceSchema from "../schemas/DcatDataService.json" with { type: "json" };
|
|
8
|
+
import DatasetSchema from "../schemas/DcatDataset.json" with { type: "json" };
|
|
9
|
+
import DatasetSeriesSchema from "../schemas/DcatDatasetSeries.json" with { type: "json" };
|
|
10
|
+
import DistributionSchema from "../schemas/DcatDistribution.json" with { type: "json" };
|
|
11
|
+
import RelationshipSchema from "../schemas/DcatRelationship.json" with { type: "json" };
|
|
12
|
+
import ResourceSchema from "../schemas/DcatResource.json" with { type: "json" };
|
|
13
|
+
import RoleSchema from "../schemas/DcatRole.json" with { type: "json" };
|
|
14
14
|
/**
|
|
15
15
|
* Class providing DCAT data type utilities and JSON-LD redirect registration.
|
|
16
16
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dcatDataTypes.js","sourceRoot":"","sources":["../../../src/dataTypes/dcatDataTypes.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,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,
|
|
1
|
+
{"version":3,"file":"dcatDataTypes.js","sourceRoot":"","sources":["../../../src/dataTypes/dcatDataTypes.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,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;AACxF,OAAO,cAAc,MAAM,8BAA8B,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAChF,OAAO,UAAU,MAAM,0BAA0B,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAExE;;GAEG;AACH,MAAM,OAAO,aAAa;IACzB;;;OAGG;IACI,MAAM,CAAC,iBAAiB;QAC9B,eAAe,CAAC,WAAW,CAC1B,qCAAqC,EACrC,YAAY,CAAC,eAAe,CAC5B,CAAC;QAEF,eAAe,CAAC,WAAW,CAC1B,iDAAiD,EACjD,YAAY,CAAC,kBAAkB,CAC/B,CAAC;IACH,CAAC;IAED;;OAEG;IACI,MAAM,CAAC,aAAa;QAC1B,sBAAsB,CAAC,QAAQ,CAAC,GAAG,YAAY,CAAC,WAAW,GAAG,WAAW,CAAC,QAAQ,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;YAC5F,OAAO,EAAE,YAAY,CAAC,WAAW;YACjC,IAAI,EAAE,WAAW,CAAC,QAAQ;YAC1B,UAAU,EAAE,KAAK,IAAI,EAAE,CAAC,cAA6B;SACrD,CAAC,CAAC,CAAC;QAEJ,sBAAsB,CAAC,QAAQ,CAAC,GAAG,YAAY,CAAC,WAAW,GAAG,WAAW,CAAC,OAAO,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;YAC3F,OAAO,EAAE,YAAY,CAAC,WAAW;YACjC,IAAI,EAAE,WAAW,CAAC,OAAO;YACzB,UAAU,EAAE,KAAK,IAAI,EAAE,CAAC,aAA4B;SACpD,CAAC,CAAC,CAAC;QAEJ,sBAAsB,CAAC,QAAQ,CAAC,GAAG,YAAY,CAAC,WAAW,GAAG,WAAW,CAAC,OAAO,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;YAC3F,OAAO,EAAE,YAAY,CAAC,WAAW;YACjC,IAAI,EAAE,WAAW,CAAC,OAAO;YACzB,UAAU,EAAE,KAAK,IAAI,EAAE,CAAC,aAA4B;SACpD,CAAC,CAAC,CAAC;QAEJ,sBAAsB,CAAC,QAAQ,CAC9B,GAAG,YAAY,CAAC,WAAW,GAAG,WAAW,CAAC,YAAY,EAAE,EACxD,GAAG,EAAE,CAAC,CAAC;YACN,OAAO,EAAE,YAAY,CAAC,WAAW;YACjC,IAAI,EAAE,WAAW,CAAC,YAAY;YAC9B,UAAU,EAAE,KAAK,IAAI,EAAE,CAAC,kBAAiC;SACzD,CAAC,CACF,CAAC;QAEF,sBAAsB,CAAC,QAAQ,CAC9B,GAAG,YAAY,CAAC,WAAW,GAAG,WAAW,CAAC,WAAW,EAAE,EACvD,GAAG,EAAE,CAAC,CAAC;YACN,OAAO,EAAE,YAAY,CAAC,WAAW;YACjC,IAAI,EAAE,WAAW,CAAC,WAAW;YAC7B,UAAU,EAAE,KAAK,IAAI,EAAE,CAAC,iBAAgC;SACxD,CAAC,CACF,CAAC;QAEF,sBAAsB,CAAC,QAAQ,CAC9B,GAAG,YAAY,CAAC,WAAW,GAAG,WAAW,CAAC,aAAa,EAAE,EACzD,GAAG,EAAE,CAAC,CAAC;YACN,OAAO,EAAE,YAAY,CAAC,WAAW;YACjC,IAAI,EAAE,WAAW,CAAC,aAAa;YAC/B,UAAU,EAAE,KAAK,IAAI,EAAE,CAAC,mBAAkC;SAC1D,CAAC,CACF,CAAC;QAEF,sBAAsB,CAAC,QAAQ,CAC9B,GAAG,YAAY,CAAC,WAAW,GAAG,WAAW,CAAC,aAAa,EAAE,EACzD,GAAG,EAAE,CAAC,CAAC;YACN,OAAO,EAAE,YAAY,CAAC,WAAW;YACjC,IAAI,EAAE,WAAW,CAAC,aAAa;YAC/B,UAAU,EAAE,KAAK,IAAI,EAAE,CAAC,mBAAkC;SAC1D,CAAC,CACF,CAAC;QAEF,sBAAsB,CAAC,QAAQ,CAC9B,GAAG,YAAY,CAAC,WAAW,GAAG,WAAW,CAAC,YAAY,EAAE,EACxD,GAAG,EAAE,CAAC,CAAC;YACN,OAAO,EAAE,YAAY,CAAC,WAAW;YACjC,IAAI,EAAE,WAAW,CAAC,YAAY;YAC9B,UAAU,EAAE,KAAK,IAAI,EAAE,CAAC,kBAAiC;SACzD,CAAC,CACF,CAAC;QAEF,sBAAsB,CAAC,QAAQ,CAAC,GAAG,YAAY,CAAC,WAAW,GAAG,WAAW,CAAC,IAAI,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;YACxF,OAAO,EAAE,YAAY,CAAC,WAAW;YACjC,IAAI,EAAE,WAAW,CAAC,IAAI;YACtB,UAAU,EAAE,KAAK,IAAI,EAAE,CAAC,UAAyB;SACjD,CAAC,CAAC,CAAC;IACL,CAAC;CACD","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonSchema } from \"@twin.org/data-core\";\nimport { DataTypeHandlerFactory } 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(\n\t\t\t/https?:\\/\\/www\\.w3\\.org\\/ns\\/dcat#?/,\n\t\t\tDcatContexts.ContextRedirect\n\t\t);\n\n\t\tJsonLdProcessor.addRedirect(\n\t\t\t/https?:\\/\\/www\\.w3\\.org\\/2000\\/01\\/rdf-schema#?/,\n\t\t\tDcatContexts.ContextRdfRedirect\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\tDataTypeHandlerFactory.register(`${DcatContexts.ContextRoot}${DcatClasses.Resource}`, () => ({\n\t\t\tcontext: DcatContexts.ContextRoot,\n\t\t\ttype: DcatClasses.Resource,\n\t\t\tjsonSchema: async () => ResourceSchema as IJsonSchema\n\t\t}));\n\n\t\tDataTypeHandlerFactory.register(`${DcatContexts.ContextRoot}${DcatClasses.Catalog}`, () => ({\n\t\t\tcontext: DcatContexts.ContextRoot,\n\t\t\ttype: DcatClasses.Catalog,\n\t\t\tjsonSchema: async () => CatalogSchema as IJsonSchema\n\t\t}));\n\n\t\tDataTypeHandlerFactory.register(`${DcatContexts.ContextRoot}${DcatClasses.Dataset}`, () => ({\n\t\t\tcontext: DcatContexts.ContextRoot,\n\t\t\ttype: DcatClasses.Dataset,\n\t\t\tjsonSchema: async () => DatasetSchema as IJsonSchema\n\t\t}));\n\n\t\tDataTypeHandlerFactory.register(\n\t\t\t`${DcatContexts.ContextRoot}${DcatClasses.Distribution}`,\n\t\t\t() => ({\n\t\t\t\tcontext: DcatContexts.ContextRoot,\n\t\t\t\ttype: DcatClasses.Distribution,\n\t\t\t\tjsonSchema: async () => DistributionSchema as IJsonSchema\n\t\t\t})\n\t\t);\n\n\t\tDataTypeHandlerFactory.register(\n\t\t\t`${DcatContexts.ContextRoot}${DcatClasses.DataService}`,\n\t\t\t() => ({\n\t\t\t\tcontext: DcatContexts.ContextRoot,\n\t\t\t\ttype: DcatClasses.DataService,\n\t\t\t\tjsonSchema: async () => DataServiceSchema as IJsonSchema\n\t\t\t})\n\t\t);\n\n\t\tDataTypeHandlerFactory.register(\n\t\t\t`${DcatContexts.ContextRoot}${DcatClasses.DatasetSeries}`,\n\t\t\t() => ({\n\t\t\t\tcontext: DcatContexts.ContextRoot,\n\t\t\t\ttype: DcatClasses.DatasetSeries,\n\t\t\t\tjsonSchema: async () => DatasetSeriesSchema as IJsonSchema\n\t\t\t})\n\t\t);\n\n\t\tDataTypeHandlerFactory.register(\n\t\t\t`${DcatContexts.ContextRoot}${DcatClasses.CatalogRecord}`,\n\t\t\t() => ({\n\t\t\t\tcontext: DcatContexts.ContextRoot,\n\t\t\t\ttype: DcatClasses.CatalogRecord,\n\t\t\t\tjsonSchema: async () => CatalogRecordSchema as IJsonSchema\n\t\t\t})\n\t\t);\n\n\t\tDataTypeHandlerFactory.register(\n\t\t\t`${DcatContexts.ContextRoot}${DcatClasses.Relationship}`,\n\t\t\t() => ({\n\t\t\t\tcontext: DcatContexts.ContextRoot,\n\t\t\t\ttype: DcatClasses.Relationship,\n\t\t\t\tjsonSchema: async () => RelationshipSchema as IJsonSchema\n\t\t\t})\n\t\t);\n\n\t\tDataTypeHandlerFactory.register(`${DcatContexts.ContextRoot}${DcatClasses.Role}`, () => ({\n\t\t\tcontext: DcatContexts.ContextRoot,\n\t\t\ttype: DcatClasses.Role,\n\t\t\tjsonSchema: async () => RoleSchema as IJsonSchema\n\t\t}));\n\t}\n}\n"]}
|
package/dist/es/index.js
CHANGED
|
@@ -5,14 +5,14 @@ export * from "./models/dcatClasses.js";
|
|
|
5
5
|
export * from "./models/dcatContexts.js";
|
|
6
6
|
export * from "./models/dcatContextType.js";
|
|
7
7
|
export * from "./models/dcatRelationshipTypes.js";
|
|
8
|
-
export * from "./models/
|
|
9
|
-
export * from "./models/
|
|
10
|
-
export * from "./models/
|
|
11
|
-
export * from "./models/
|
|
12
|
-
export * from "./models/
|
|
13
|
-
export * from "./models/
|
|
14
|
-
export * from "./models/
|
|
15
|
-
export * from "./models/
|
|
16
|
-
export * from "./models/
|
|
8
|
+
export * from "./models/IDcatCatalog.js";
|
|
9
|
+
export * from "./models/IDcatCatalogRecord.js";
|
|
10
|
+
export * from "./models/IDcatDataService.js";
|
|
11
|
+
export * from "./models/IDcatDataset.js";
|
|
12
|
+
export * from "./models/IDcatDatasetSeries.js";
|
|
13
|
+
export * from "./models/IDcatDistribution.js";
|
|
14
|
+
export * from "./models/IDcatRelationship.js";
|
|
15
|
+
export * from "./models/IDcatResource.js";
|
|
16
|
+
export * from "./models/IDcatRole.js";
|
|
17
17
|
export * from "./models/types/dcatPropertyTypes.js";
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
package/dist/es/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC;AAClD,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC;AAClD,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,qCAAqC,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\nexport * from \"./dataTypes/dcatDataTypes.js\";\nexport * from \"./models/dcatClasses.js\";\nexport * from \"./models/dcatContexts.js\";\nexport * from \"./models/dcatContextType.js\";\nexport * from \"./models/dcatRelationshipTypes.js\";\nexport * from \"./models/IDcatCatalog.js\";\nexport * from \"./models/IDcatCatalogRecord.js\";\nexport * from \"./models/IDcatDataService.js\";\nexport * from \"./models/IDcatDataset.js\";\nexport * from \"./models/IDcatDatasetSeries.js\";\nexport * from \"./models/IDcatDistribution.js\";\nexport * from \"./models/IDcatRelationship.js\";\nexport * from \"./models/IDcatResource.js\";\nexport * from \"./models/IDcatRole.js\";\nexport * from \"./models/types/dcatPropertyTypes.js\";\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDcatCatalog.js","sourceRoot":"","sources":["../../../src/models/IDcatCatalog.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { DcatClasses } from \"./dcatClasses.js\";\nimport type { IDcatCatalogRecord } from \"./IDcatCatalogRecord.js\";\nimport type { IDcatDataService } from \"./IDcatDataService.js\";\nimport type { IDcatDataset } from \"./IDcatDataset.js\";\nimport type { IDcatResource } from \"./IDcatResource.js\";\n\n/**\n * Interface for DCAT Catalog.\n * A curated collection of metadata about resources (datasets and data services).\n * Note: dcat:Catalog is a sub-class of dcat:Dataset per the W3C spec.\n * @see https://www.w3.org/TR/vocab-dcat-3/#Class:Catalog\n */\nexport interface IDcatCatalog extends IDcatDataset {\n\t/**\n\t * The type identifier, typically \"Catalog\".\n\t */\n\t\"@type\": typeof DcatClasses.Catalog;\n\n\t/**\n\t * A homepage of the catalog (a public Web document usually available in HTML).\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:catalog_homepage\n\t */\n\t\"foaf:homepage\"?: string;\n\n\t/**\n\t * A knowledge organization system (KOS) used to classify the resources in the catalog.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:catalog_themes\n\t */\n\t\"dcat:themeTaxonomy\"?: ObjectOrArray<IDcatResource>;\n\n\t/**\n\t * A resource that is listed in the catalog.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:catalog_resource\n\t */\n\t\"dcat:resource\"?: ObjectOrArray<IDcatResource>;\n\n\t/**\n\t * A dataset that is listed in the catalog.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:catalog_dataset\n\t */\n\t\"dcat:dataset\"?: ObjectOrArray<IDcatDataset>;\n\n\t/**\n\t * A data service that is listed in the catalog.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:catalog_service\n\t */\n\t\"dcat:service\"?: ObjectOrArray<IDcatDataService>;\n\n\t/**\n\t * A catalog that is listed in the catalog.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:catalog_catalog\n\t */\n\t\"dcat:catalog\"?: ObjectOrArray<IDcatCatalog>;\n\n\t/**\n\t * A record describing the registration of a single resource in the catalog.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:catalog_catalog_record\n\t */\n\t\"dcat:record\"?: ObjectOrArray<IDcatCatalogRecord>;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDcatCatalogRecord.js","sourceRoot":"","sources":["../../../src/models/IDcatCatalogRecord.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { DcatClasses } from \"./dcatClasses.js\";\nimport type { DcatContextType } from \"./dcatContextType.js\";\nimport type { IDcatResource } from \"./IDcatResource.js\";\nimport type { DcatDateTimeType, DcatLiteralType } from \"./types/dcatPropertyTypes.js\";\n\n/**\n * Interface for DCAT Catalog Record.\n * A record in a catalog, describing the registration of a single dataset or data\n * service.\n * @see https://www.w3.org/TR/vocab-dcat-3/#Class:Catalog_Record\n */\nexport interface IDcatCatalogRecord extends IJsonLdNodeObject {\n\t/**\n\t * The JSON-LD context for the resource.\n\t */\n\t\"@context\"?: DcatContextType;\n\n\t/**\n\t * The type identifier, typically \"CatalogRecord\".\n\t */\n\t\"@type\": typeof DcatClasses.CatalogRecord;\n\n\t/**\n\t * A name given to the catalog record.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:record_title\n\t */\n\t\"dcterms:title\"?: DcatLiteralType;\n\n\t/**\n\t * A free-text account of the catalog record.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:record_description\n\t */\n\t\"dcterms:description\"?: DcatLiteralType;\n\n\t/**\n\t * The date of listing of the catalog record in the catalog.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:record_listing_date\n\t */\n\t\"dcterms:issued\"?: DcatDateTimeType;\n\n\t/**\n\t * Most recent date on which the catalog record entry was changed or modified.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:record_update_date\n\t */\n\t\"dcterms:modified\"?: DcatDateTimeType;\n\n\t/**\n\t * An established standard to which the catalog record conforms.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:record_conforms_to\n\t */\n\t\"dcterms:conformsTo\"?: ObjectOrArray<string>;\n\n\t/**\n\t * The dataset or data service described in the catalog record.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:record_primary_topic\n\t */\n\t\"foaf:primaryTopic\"?: IDcatResource;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDcatDataService.js","sourceRoot":"","sources":["../../../src/models/IDcatDataService.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { DcatClasses } from \"./dcatClasses.js\";\nimport type { IDcatResource } from \"./IDcatResource.js\";\n\n/**\n * Interface for DCAT Data Service.\n * A collection of operations that provides access to one or more datasets or data\n * processing functions.\n * @see https://www.w3.org/TR/vocab-dcat-3/#Class:Data_Service\n */\nexport interface IDcatDataService extends IDcatResource {\n\t/**\n\t * The type identifier, typically \"DataService\".\n\t */\n\t\"@type\": typeof DcatClasses.DataService;\n\n\t/**\n\t * The root location or primary endpoint of the service (a Web-resolvable IRI).\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:data_service_endpoint_url\n\t */\n\t\"dcat:endpointURL\"?: string;\n\n\t/**\n\t * A description of the services available via the end-points, including their\n\t * operations, parameters, etc.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:data_service_endpoint_description\n\t */\n\t\"dcat:endpointDescription\"?: string;\n\n\t/**\n\t * A collection of data that this data service can distribute.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:data_service_serves_dataset\n\t */\n\t\"dcat:servesDataset\"?: ObjectOrArray<string>;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDcatDataset.js","sourceRoot":"","sources":["../../../src/models/IDcatDataset.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { IDublinCorePeriodOfTime } from \"@twin.org/standards-dublin-core\";\nimport type { DcatClasses } from \"./dcatClasses.js\";\nimport type { IDcatDistribution } from \"./IDcatDistribution.js\";\nimport type { IDcatResource } from \"./IDcatResource.js\";\nimport type { DcatDecimalType, DcatDurationType } from \"./types/dcatPropertyTypes.js\";\n\n/**\n * Interface for DCAT Dataset.\n * A collection of data, published or curated by a single agent, and available\n * for access or download in one or more representations.\n * @see https://www.w3.org/TR/vocab-dcat-3/#Class:Dataset\n */\nexport interface IDcatDataset extends IDcatResource {\n\t/**\n\t * The type identifier, typically \"Dataset\".\n\t * Can also be \"Catalog\" or \"DatasetSeries\" for subclasses.\n\t */\n\t\"@type\":\n\t\t| typeof DcatClasses.Dataset\n\t\t| typeof DcatClasses.Catalog\n\t\t| typeof DcatClasses.DatasetSeries;\n\n\t/**\n\t * An available distribution of the dataset.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_distribution\n\t */\n\t\"dcat:distribution\"?: ObjectOrArray<IDcatDistribution>;\n\n\t/**\n\t * The frequency at which the dataset is published.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_frequency\n\t */\n\t\"dcterms:accrualPeriodicity\"?: string;\n\n\t/**\n\t * A dataset series of which the dataset is part.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_in_series\n\t */\n\t\"dcat:inSeries\"?: string;\n\n\t/**\n\t * The geographical area covered by the dataset.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_spatial\n\t */\n\t\"dcterms:spatial\"?: IJsonLdNodeObject | ObjectOrArray<string>;\n\n\t/**\n\t * Minimum spatial separation resolvable in a dataset, measured in meters.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_spatial_resolution\n\t */\n\t\"dcat:spatialResolutionInMeters\"?: DcatDecimalType;\n\n\t/**\n\t * The temporal period that the dataset covers.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_temporal\n\t */\n\t\"dcterms:temporal\"?: IDublinCorePeriodOfTime;\n\n\t/**\n\t * Minimum time period resolvable in the dataset.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_temporal_resolution\n\t */\n\t\"dcat:temporalResolution\"?: DcatDurationType;\n\n\t/**\n\t * An activity that generated, or provides the business context for, the creation of the dataset.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_was_generated_by\n\t */\n\t\"prov:wasGeneratedBy\"?: IJsonLdNodeObject | string;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDcatDatasetSeries.js","sourceRoot":"","sources":["../../../src/models/IDcatDatasetSeries.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { DcatClasses } from \"./dcatClasses.js\";\nimport type { IDcatDataset } from \"./IDcatDataset.js\";\n\n/**\n * Interface for DCAT Dataset Series.\n * A collection of datasets that are published separately, but share some common\n * characteristics that enable them to be grouped together.\n * @see https://www.w3.org/TR/vocab-dcat-3/#Class:Dataset_Series\n */\nexport interface IDcatDatasetSeries extends IDcatDataset {\n\t/**\n\t * The type identifier, typically \"DatasetSeries\".\n\t */\n\t\"@type\": typeof DcatClasses.DatasetSeries;\n\n\t/**\n\t * A dataset that is part of this dataset series.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_series_first\n\t */\n\t\"dcat:first\"?: string;\n\n\t/**\n\t * A dataset that is part of this dataset series.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_series_last\n\t */\n\t\"dcat:last\"?: string;\n\n\t/**\n\t * A dataset that is part of this dataset series.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:dataset_series_member\n\t */\n\t\"dcat:seriesMember\"?: ObjectOrArray<string>;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDcatDistribution.js","sourceRoot":"","sources":["../../../src/models/IDcatDistribution.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { IOdrlPolicy } from \"@twin.org/standards-w3c-odrl\";\nimport type { DcatClasses } from \"./dcatClasses.js\";\nimport type { DcatContextType } from \"./dcatContextType.js\";\nimport type {\n\tDcatDateTimeType,\n\tDcatDecimalType,\n\tDcatDurationType,\n\tDcatLiteralType,\n\tDcatNonNegativeIntegerType\n} from \"./types/dcatPropertyTypes.js\";\n\n/**\n * Interface for DCAT Distribution.\n * A specific representation of a dataset. A dataset might be available in multiple\n * serializations that may differ in various ways.\n * @see https://www.w3.org/TR/vocab-dcat-3/#Class:Distribution\n */\nexport interface IDcatDistribution extends IJsonLdNodeObject {\n\t/**\n\t * The JSON-LD context for the resource.\n\t */\n\t\"@context\"?: DcatContextType;\n\n\t/**\n\t * The type identifier, typically \"Distribution\".\n\t */\n\t\"@type\": typeof DcatClasses.Distribution;\n\n\t/**\n\t * A name given to the distribution.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_title\n\t */\n\t\"dcterms:title\"?: DcatLiteralType;\n\n\t/**\n\t * A free-text account of the distribution.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_description\n\t */\n\t\"dcterms:description\"?: DcatLiteralType;\n\n\t/**\n\t * Date of formal issuance of the distribution.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_release_date\n\t */\n\t\"dcterms:issued\"?: DcatDateTimeType;\n\n\t/**\n\t * Most recent date on which the distribution was changed, updated or modified.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_update_date\n\t */\n\t\"dcterms:modified\"?: DcatDateTimeType;\n\n\t/**\n\t * A legal document under which the distribution is made available.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_license\n\t */\n\t\"dcterms:license\"?: string;\n\n\t/**\n\t * Information about who can access the distribution.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_access_rights\n\t */\n\t\"dcterms:accessRights\"?: string;\n\n\t/**\n\t * Information about rights held in and over the distribution.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_rights\n\t */\n\t\"dcterms:rights\"?: string;\n\n\t/**\n\t * A URL of the resource that gives access to a distribution of the dataset.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_access_url\n\t */\n\t\"dcat:accessURL\"?: string;\n\n\t/**\n\t * A data service that gives access to the distribution.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_access_service\n\t */\n\t\"dcat:accessService\"?: string;\n\n\t/**\n\t * The URL of the downloadable file in a given format.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_download_url\n\t */\n\t\"dcat:downloadURL\"?: string;\n\n\t/**\n\t * The size of the distribution in bytes.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_byte_size\n\t */\n\t\"dcat:byteSize\"?: DcatNonNegativeIntegerType;\n\n\t/**\n\t * The minimum spatial separation resolvable in a distribution, measured in meters.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_spatial_resolution\n\t */\n\t\"dcat:spatialResolutionInMeters\"?: DcatDecimalType;\n\n\t/**\n\t * Minimum time period resolvable in the distribution.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_temporal_resolution\n\t */\n\t\"dcat:temporalResolution\"?: DcatDurationType;\n\n\t/**\n\t * An established standard to which the distribution conforms.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_conforms_to\n\t */\n\t\"dcterms:conformsTo\"?: ObjectOrArray<string>;\n\n\t/**\n\t * The media type of the distribution as defined by IANA.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_media_type\n\t */\n\t\"dcat:mediaType\"?: string;\n\n\t/**\n\t * The file format of the distribution.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_format\n\t */\n\t\"dcterms:format\"?: string;\n\n\t/**\n\t * The compression format of the distribution.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_compression_format\n\t */\n\t\"dcat:compressFormat\"?: string;\n\n\t/**\n\t * The package format of the distribution.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_packaging_format\n\t */\n\t\"dcat:packageFormat\"?: string;\n\n\t/**\n\t * The checksum property provides a mechanism to verify the data integrity.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_checksum\n\t */\n\t\"spdx:checksum\"?: string;\n\n\t/**\n\t * An ODRL conformant policy expressing the rights associated with the distribution.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_has_policy\n\t */\n\t\"odrl:hasPolicy\"?: IOdrlPolicy;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDcatRelationship.js","sourceRoot":"","sources":["../../../src/models/IDcatRelationship.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { DcatClasses } from \"./dcatClasses.js\";\nimport type { DcatContextType } from \"./dcatContextType.js\";\nimport type { IDcatRole } from \"./IDcatRole.js\";\n\n/**\n * Interface for DCAT Relationship.\n * An association class for attaching additional information to a relationship\n * between DCAT Resources.\n * @see https://www.w3.org/TR/vocab-dcat-3/#Class:Relationship\n */\nexport interface IDcatRelationship extends IJsonLdNodeObject {\n\t/**\n\t * The JSON-LD context for the resource.\n\t */\n\t\"@context\": DcatContextType;\n\n\t/**\n\t * The type identifier, typically \"Relationship\".\n\t */\n\t\"@type\": typeof DcatClasses.Relationship;\n\n\t/**\n\t * The link to a related resource.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:relationship_relation\n\t */\n\t\"dcterms:relation\"?: string;\n\n\t/**\n\t * The function of an entity or agent with respect to another resource.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:relationship_hadRole\n\t */\n\t\"dcat:hadRole\"?: IDcatRole;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDcatResource.js","sourceRoot":"","sources":["../../../src/models/IDcatResource.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { IFoafAgent } from \"@twin.org/standards-foaf\";\nimport type { IOdrlPolicy } from \"@twin.org/standards-w3c-odrl\";\nimport type { DcatClasses } from \"./dcatClasses.js\";\nimport type { DcatContextType } from \"./dcatContextType.js\";\nimport type { IDcatRelationship } from \"./IDcatRelationship.js\";\nimport type { DcatDateTimeType, DcatLiteralType } from \"./types/dcatPropertyTypes.js\";\n\n/**\n * Base interface for DCAT catalogued resources.\n * This is the parent class of dcat:Dataset, dcat:DataService, and dcat:Catalog.\n * @see https://www.w3.org/TR/vocab-dcat-3/#Class:Resource\n */\nexport interface IDcatResource extends IJsonLdNodeObject {\n\t/**\n\t * The JSON-LD context for the resource.\n\t */\n\t\"@context\"?: DcatContextType;\n\n\t/**\n\t * The type of the resource.\n\t * Typically \"Catalog\", \"Dataset\", \"DataService\", \"DatasetSeries\", or the base \"Resource\".\n\t */\n\t\"@type\":\n\t\t| typeof DcatClasses.Resource\n\t\t| typeof DcatClasses.Dataset\n\t\t| typeof DcatClasses.DataService\n\t\t| typeof DcatClasses.Catalog\n\t\t| typeof DcatClasses.DatasetSeries;\n\n\t/**\n\t * A name given to the resource.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:resource_title\n\t */\n\t\"dcterms:title\"?: DcatLiteralType;\n\n\t/**\n\t * A free-text account of the resource.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:resource_description\n\t */\n\t\"dcterms:description\"?: DcatLiteralType;\n\n\t/**\n\t * A unique identifier of the resource.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:resource_identifier\n\t */\n\t\"dcterms:identifier\"?: DcatLiteralType;\n\n\t/**\n\t * Date of formal issuance (publication) of the resource.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:resource_release_date\n\t */\n\t\"dcterms:issued\"?: DcatDateTimeType;\n\n\t/**\n\t * Most recent date on which the resource was changed, updated or modified.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:resource_update_date\n\t */\n\t\"dcterms:modified\"?: DcatDateTimeType;\n\n\t/**\n\t * A language of the resource.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:resource_language\n\t */\n\t\"dcterms:language\"?: ObjectOrArray<string>;\n\n\t/**\n\t * An entity responsible for making the resource available.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:resource_publisher\n\t */\n\t\"dcterms:publisher\"?: IFoafAgent | string;\n\n\t/**\n\t * An entity responsible for producing the resource.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:resource_creator\n\t */\n\t\"dcterms:creator\"?: IFoafAgent;\n\n\t/**\n\t * Information about who can access the resource or an indication of its security status.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:resource_access_rights\n\t */\n\t\"dcterms:accessRights\"?: IJsonLdNodeObject | string;\n\n\t/**\n\t * A legal document under which the resource is made available.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:resource_license\n\t */\n\t\"dcterms:license\"?: IJsonLdNodeObject | string;\n\n\t/**\n\t * Information about rights held in and over the resource.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:resource_rights\n\t */\n\t\"dcterms:rights\"?: IJsonLdNodeObject | string;\n\n\t/**\n\t * An established standard to which the resource conforms.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:resource_conforms_to\n\t */\n\t\"dcterms:conformsTo\"?: ObjectOrArray<string>;\n\n\t/**\n\t * The nature or genre of the resource.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:resource_type\n\t */\n\t\"dcterms:type\"?: string;\n\n\t/**\n\t * Relevant contact information for the catalogued resource.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:resource_contact_point\n\t */\n\t\"dcat:contactPoint\"?: IJsonLdNodeObject | string;\n\n\t/**\n\t * A keyword or tag describing the resource.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:resource_keyword\n\t */\n\t\"dcat:keyword\"?: DcatLiteralType;\n\n\t/**\n\t * A main category of the resource. A resource can have multiple themes.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:resource_theme\n\t */\n\t\"dcat:theme\"?: ObjectOrArray<string>;\n\n\t/**\n\t * A Web page that can be navigated to gain access to the resource.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:resource_landing_page\n\t */\n\t\"dcat:landingPage\"?: ObjectOrArray<string>;\n\n\t/**\n\t * Link to a description of a relationship with another resource.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:resource_qualified_relation\n\t */\n\t\"dcat:qualifiedRelation\"?: IDcatRelationship | string;\n\n\t/**\n\t * An ODRL conformant policy expressing the rights associated with the resource.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:resource_has_policy\n\t */\n\t\"odrl:hasPolicy\"?: IOdrlPolicy;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDcatRole.js","sourceRoot":"","sources":["../../../src/models/IDcatRole.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { DcatClasses } from \"./dcatClasses.js\";\nimport type { DcatContextType } from \"./dcatContextType.js\";\nimport type { DcatLiteralType } from \"./types/dcatPropertyTypes.js\";\n\n/**\n * Interface for DCAT Role.\n * A role is the function of a resource or agent with respect to another resource,\n * in the context of resource attribution or resource relationships.\n * @see https://www.w3.org/TR/vocab-dcat-3/#Class:Role\n */\nexport interface IDcatRole extends IJsonLdNodeObject {\n\t/**\n\t * The JSON-LD context for the resource.\n\t */\n\t\"@context\"?: DcatContextType;\n\n\t/**\n\t * The type identifier, typically \"Role\".\n\t */\n\t\"@type\": typeof DcatClasses.Role;\n\n\t/**\n\t * A name given to the distribution.\n\t * @see https://www.w3.org/TR/vocab-dcat-3/#Property:distribution_title\n\t */\n\t\"dcterms:title\"?: DcatLiteralType;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
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
|
|
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"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://schema.twindev.org/w3c-dcat/
|
|
3
|
+
"$id": "https://schema.twindev.org/w3c-dcat/DcatCatalog",
|
|
4
4
|
"description": "Interface for DCAT Catalog. A curated collection of metadata about resources (datasets and data services). Note: dcat:Catalog is a sub-class of dcat:Dataset per the W3C spec.",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
@@ -147,23 +147,23 @@
|
|
|
147
147
|
"type": "string"
|
|
148
148
|
},
|
|
149
149
|
"dcterms:title": {
|
|
150
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
150
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatLiteralType",
|
|
151
151
|
"description": "A name given to the resource."
|
|
152
152
|
},
|
|
153
153
|
"dcterms:description": {
|
|
154
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
154
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatLiteralType",
|
|
155
155
|
"description": "A free-text account of the resource."
|
|
156
156
|
},
|
|
157
157
|
"dcterms:identifier": {
|
|
158
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
158
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatLiteralType",
|
|
159
159
|
"description": "A unique identifier of the resource."
|
|
160
160
|
},
|
|
161
161
|
"dcterms:issued": {
|
|
162
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
162
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatDateTimeType",
|
|
163
163
|
"description": "Date of formal issuance (publication) of the resource."
|
|
164
164
|
},
|
|
165
165
|
"dcterms:modified": {
|
|
166
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
166
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatDateTimeType",
|
|
167
167
|
"description": "Most recent date on which the resource was changed, updated or modified."
|
|
168
168
|
},
|
|
169
169
|
"dcterms:language": {
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
"dcterms:publisher": {
|
|
184
184
|
"anyOf": [
|
|
185
185
|
{
|
|
186
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
186
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/FoafAgent"
|
|
187
187
|
},
|
|
188
188
|
{
|
|
189
189
|
"type": "string"
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
"description": "An entity responsible for making the resource available."
|
|
193
193
|
},
|
|
194
194
|
"dcterms:creator": {
|
|
195
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
195
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/FoafAgent",
|
|
196
196
|
"description": "An entity responsible for producing the resource."
|
|
197
197
|
},
|
|
198
198
|
"dcterms:accessRights": {
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
"description": "Relevant contact information for the catalogued resource."
|
|
259
259
|
},
|
|
260
260
|
"dcat:keyword": {
|
|
261
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
261
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatLiteralType",
|
|
262
262
|
"description": "A keyword or tag describing the resource."
|
|
263
263
|
},
|
|
264
264
|
"dcat:theme": {
|
|
@@ -292,7 +292,7 @@
|
|
|
292
292
|
"dcat:qualifiedRelation": {
|
|
293
293
|
"anyOf": [
|
|
294
294
|
{
|
|
295
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
295
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatRelationship"
|
|
296
296
|
},
|
|
297
297
|
{
|
|
298
298
|
"type": "string"
|
|
@@ -308,12 +308,12 @@
|
|
|
308
308
|
"description": "Object or array data type",
|
|
309
309
|
"anyOf": [
|
|
310
310
|
{
|
|
311
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
311
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatDistribution"
|
|
312
312
|
},
|
|
313
313
|
{
|
|
314
314
|
"type": "array",
|
|
315
315
|
"items": {
|
|
316
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
316
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatDistribution"
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
]
|
|
@@ -349,15 +349,15 @@
|
|
|
349
349
|
"description": "The geographical area covered by the dataset."
|
|
350
350
|
},
|
|
351
351
|
"dcat:spatialResolutionInMeters": {
|
|
352
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
352
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatDecimalType",
|
|
353
353
|
"description": "Minimum spatial separation resolvable in a dataset, measured in meters."
|
|
354
354
|
},
|
|
355
355
|
"dcterms:temporal": {
|
|
356
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
356
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DublinCorePeriodOfTime",
|
|
357
357
|
"description": "The temporal period that the dataset covers."
|
|
358
358
|
},
|
|
359
359
|
"dcat:temporalResolution": {
|
|
360
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
360
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatDurationType",
|
|
361
361
|
"description": "Minimum time period resolvable in the dataset."
|
|
362
362
|
},
|
|
363
363
|
"prov:wasGeneratedBy": {
|
|
@@ -379,12 +379,12 @@
|
|
|
379
379
|
"description": "Object or array data type",
|
|
380
380
|
"anyOf": [
|
|
381
381
|
{
|
|
382
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
382
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatResource"
|
|
383
383
|
},
|
|
384
384
|
{
|
|
385
385
|
"type": "array",
|
|
386
386
|
"items": {
|
|
387
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
387
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatResource"
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
390
|
]
|
|
@@ -393,12 +393,12 @@
|
|
|
393
393
|
"description": "Object or array data type",
|
|
394
394
|
"anyOf": [
|
|
395
395
|
{
|
|
396
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
396
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatResource"
|
|
397
397
|
},
|
|
398
398
|
{
|
|
399
399
|
"type": "array",
|
|
400
400
|
"items": {
|
|
401
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
401
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatResource"
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
404
|
]
|
|
@@ -407,12 +407,12 @@
|
|
|
407
407
|
"description": "Object or array data type",
|
|
408
408
|
"anyOf": [
|
|
409
409
|
{
|
|
410
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
410
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatDataset"
|
|
411
411
|
},
|
|
412
412
|
{
|
|
413
413
|
"type": "array",
|
|
414
414
|
"items": {
|
|
415
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
415
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatDataset"
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
418
|
]
|
|
@@ -421,12 +421,12 @@
|
|
|
421
421
|
"description": "Object or array data type",
|
|
422
422
|
"anyOf": [
|
|
423
423
|
{
|
|
424
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
424
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatDataService"
|
|
425
425
|
},
|
|
426
426
|
{
|
|
427
427
|
"type": "array",
|
|
428
428
|
"items": {
|
|
429
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
429
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatDataService"
|
|
430
430
|
}
|
|
431
431
|
}
|
|
432
432
|
]
|
|
@@ -435,12 +435,12 @@
|
|
|
435
435
|
"description": "Object or array data type",
|
|
436
436
|
"anyOf": [
|
|
437
437
|
{
|
|
438
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
438
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatCatalog"
|
|
439
439
|
},
|
|
440
440
|
{
|
|
441
441
|
"type": "array",
|
|
442
442
|
"items": {
|
|
443
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
443
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatCatalog"
|
|
444
444
|
}
|
|
445
445
|
}
|
|
446
446
|
]
|
|
@@ -449,12 +449,12 @@
|
|
|
449
449
|
"description": "Object or array data type",
|
|
450
450
|
"anyOf": [
|
|
451
451
|
{
|
|
452
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
452
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatCatalogRecord"
|
|
453
453
|
},
|
|
454
454
|
{
|
|
455
455
|
"type": "array",
|
|
456
456
|
"items": {
|
|
457
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
457
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatCatalogRecord"
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
460
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://schema.twindev.org/w3c-dcat/
|
|
3
|
+
"$id": "https://schema.twindev.org/w3c-dcat/DcatCatalogRecord",
|
|
4
4
|
"description": "Interface for DCAT Catalog Record. A record in a catalog, describing the registration of a single dataset or data service.",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
@@ -147,19 +147,19 @@
|
|
|
147
147
|
"type": "string"
|
|
148
148
|
},
|
|
149
149
|
"dcterms:title": {
|
|
150
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
150
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatLiteralType",
|
|
151
151
|
"description": "A name given to the catalog record."
|
|
152
152
|
},
|
|
153
153
|
"dcterms:description": {
|
|
154
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
154
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatLiteralType",
|
|
155
155
|
"description": "A free-text account of the catalog record."
|
|
156
156
|
},
|
|
157
157
|
"dcterms:issued": {
|
|
158
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
158
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatDateTimeType",
|
|
159
159
|
"description": "The date of listing of the catalog record in the catalog."
|
|
160
160
|
},
|
|
161
161
|
"dcterms:modified": {
|
|
162
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
162
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatDateTimeType",
|
|
163
163
|
"description": "Most recent date on which the catalog record entry was changed or modified."
|
|
164
164
|
},
|
|
165
165
|
"dcterms:conformsTo": {
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
]
|
|
178
178
|
},
|
|
179
179
|
"foaf:primaryTopic": {
|
|
180
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
180
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatResource",
|
|
181
181
|
"description": "The dataset or data service described in the catalog record."
|
|
182
182
|
}
|
|
183
183
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://schema.twindev.org/w3c-dcat/
|
|
3
|
+
"$id": "https://schema.twindev.org/w3c-dcat/DcatDataService",
|
|
4
4
|
"description": "Interface for DCAT Data Service. A collection of operations that provides access to one or more datasets or data processing functions.",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
@@ -147,23 +147,23 @@
|
|
|
147
147
|
"type": "string"
|
|
148
148
|
},
|
|
149
149
|
"dcterms:title": {
|
|
150
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
150
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatLiteralType",
|
|
151
151
|
"description": "A name given to the resource."
|
|
152
152
|
},
|
|
153
153
|
"dcterms:description": {
|
|
154
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
154
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatLiteralType",
|
|
155
155
|
"description": "A free-text account of the resource."
|
|
156
156
|
},
|
|
157
157
|
"dcterms:identifier": {
|
|
158
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
158
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatLiteralType",
|
|
159
159
|
"description": "A unique identifier of the resource."
|
|
160
160
|
},
|
|
161
161
|
"dcterms:issued": {
|
|
162
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
162
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatDateTimeType",
|
|
163
163
|
"description": "Date of formal issuance (publication) of the resource."
|
|
164
164
|
},
|
|
165
165
|
"dcterms:modified": {
|
|
166
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
166
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatDateTimeType",
|
|
167
167
|
"description": "Most recent date on which the resource was changed, updated or modified."
|
|
168
168
|
},
|
|
169
169
|
"dcterms:language": {
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
"dcterms:publisher": {
|
|
184
184
|
"anyOf": [
|
|
185
185
|
{
|
|
186
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
186
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/FoafAgent"
|
|
187
187
|
},
|
|
188
188
|
{
|
|
189
189
|
"type": "string"
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
"description": "An entity responsible for making the resource available."
|
|
193
193
|
},
|
|
194
194
|
"dcterms:creator": {
|
|
195
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
195
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/FoafAgent",
|
|
196
196
|
"description": "An entity responsible for producing the resource."
|
|
197
197
|
},
|
|
198
198
|
"dcterms:accessRights": {
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
"description": "Relevant contact information for the catalogued resource."
|
|
259
259
|
},
|
|
260
260
|
"dcat:keyword": {
|
|
261
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
261
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatLiteralType",
|
|
262
262
|
"description": "A keyword or tag describing the resource."
|
|
263
263
|
},
|
|
264
264
|
"dcat:theme": {
|
|
@@ -292,7 +292,7 @@
|
|
|
292
292
|
"dcat:qualifiedRelation": {
|
|
293
293
|
"anyOf": [
|
|
294
294
|
{
|
|
295
|
-
"$ref": "https://schema.twindev.org/w3c-dcat/
|
|
295
|
+
"$ref": "https://schema.twindev.org/w3c-dcat/DcatRelationship"
|
|
296
296
|
},
|
|
297
297
|
{
|
|
298
298
|
"type": "string"
|