@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Interface:
|
|
1
|
+
# Interface: IDcatResource
|
|
2
2
|
|
|
3
3
|
Base interface for DCAT catalogued resources.
|
|
4
4
|
This is the parent class of dcat:Dataset, dcat:DataService, and dcat:Catalog.
|
|
@@ -13,8 +13,8 @@ https://www.w3.org/TR/vocab-dcat-3/#Class:Resource
|
|
|
13
13
|
|
|
14
14
|
## Extended by
|
|
15
15
|
|
|
16
|
-
- [`
|
|
17
|
-
- [`
|
|
16
|
+
- [`IDcatDataService`](IDcatDataService.md)
|
|
17
|
+
- [`IDcatDataset`](IDcatDataset.md)
|
|
18
18
|
|
|
19
19
|
## Indexable
|
|
20
20
|
|
|
@@ -49,7 +49,7 @@ Typically "Catalog", "Dataset", "DataService", "DatasetSeries", or the base "Res
|
|
|
49
49
|
|
|
50
50
|
### dcterms:title?
|
|
51
51
|
|
|
52
|
-
> `optional` **dcterms:title**: [`
|
|
52
|
+
> `optional` **dcterms:title**: [`DcatLiteralType`](../type-aliases/DcatLiteralType.md)
|
|
53
53
|
|
|
54
54
|
A name given to the resource.
|
|
55
55
|
|
|
@@ -61,7 +61,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_title
|
|
|
61
61
|
|
|
62
62
|
### dcterms:description?
|
|
63
63
|
|
|
64
|
-
> `optional` **dcterms:description**: [`
|
|
64
|
+
> `optional` **dcterms:description**: [`DcatLiteralType`](../type-aliases/DcatLiteralType.md)
|
|
65
65
|
|
|
66
66
|
A free-text account of the resource.
|
|
67
67
|
|
|
@@ -73,7 +73,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_description
|
|
|
73
73
|
|
|
74
74
|
### dcterms:identifier?
|
|
75
75
|
|
|
76
|
-
> `optional` **dcterms:identifier**: [`
|
|
76
|
+
> `optional` **dcterms:identifier**: [`DcatLiteralType`](../type-aliases/DcatLiteralType.md)
|
|
77
77
|
|
|
78
78
|
A unique identifier of the resource.
|
|
79
79
|
|
|
@@ -121,7 +121,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_language
|
|
|
121
121
|
|
|
122
122
|
### dcterms:publisher?
|
|
123
123
|
|
|
124
|
-
> `optional` **dcterms:publisher**: `string` \| `
|
|
124
|
+
> `optional` **dcterms:publisher**: `string` \| `IFoafAgent`
|
|
125
125
|
|
|
126
126
|
An entity responsible for making the resource available.
|
|
127
127
|
|
|
@@ -133,7 +133,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_publisher
|
|
|
133
133
|
|
|
134
134
|
### dcterms:creator?
|
|
135
135
|
|
|
136
|
-
> `optional` **dcterms:creator**: `
|
|
136
|
+
> `optional` **dcterms:creator**: `IFoafAgent`
|
|
137
137
|
|
|
138
138
|
An entity responsible for producing the resource.
|
|
139
139
|
|
|
@@ -217,7 +217,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_contact_point
|
|
|
217
217
|
|
|
218
218
|
### dcat:keyword?
|
|
219
219
|
|
|
220
|
-
> `optional` **dcat:keyword**: [`
|
|
220
|
+
> `optional` **dcat:keyword**: [`DcatLiteralType`](../type-aliases/DcatLiteralType.md)
|
|
221
221
|
|
|
222
222
|
A keyword or tag describing the resource.
|
|
223
223
|
|
|
@@ -253,7 +253,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Property:resource_landing_page
|
|
|
253
253
|
|
|
254
254
|
### dcat:qualifiedRelation?
|
|
255
255
|
|
|
256
|
-
> `optional` **dcat:qualifiedRelation**: `string` \| [`
|
|
256
|
+
> `optional` **dcat:qualifiedRelation**: `string` \| [`IDcatRelationship`](IDcatRelationship.md)
|
|
257
257
|
|
|
258
258
|
Link to a description of a relationship with another resource.
|
|
259
259
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Interface:
|
|
1
|
+
# Interface: IDcatRole
|
|
2
2
|
|
|
3
3
|
Interface for DCAT Role.
|
|
4
4
|
A role is the function of a resource or agent with respect to another resource,
|
|
@@ -44,7 +44,7 @@ The type identifier, typically "Role".
|
|
|
44
44
|
|
|
45
45
|
### dcterms:title?
|
|
46
46
|
|
|
47
|
-
> `optional` **dcterms:title**: [`
|
|
47
|
+
> `optional` **dcterms:title**: [`DcatLiteralType`](../type-aliases/DcatLiteralType.md)
|
|
48
48
|
|
|
49
49
|
A name given to the distribution.
|
|
50
50
|
|
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.7",
|
|
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.7",
|
|
19
|
+
"@twin.org/standards-foaf": "0.0.3-next.7",
|
|
20
|
+
"@twin.org/standards-w3c-odrl": "0.0.3-next.7",
|
|
21
|
+
"@twin.org/standards-w3c-vcard": "0.0.3-next.7",
|
|
22
22
|
"@twin.org/web": "next"
|
|
23
23
|
},
|
|
24
24
|
"main": "./dist/es/index.js",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ICatalog.js","sourceRoot":"","sources":["../../../src/models/ICatalog.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 { ICatalogRecord } from \"./ICatalogRecord.js\";\nimport type { IDataService } from \"./IDataService.js\";\nimport type { IDataset } from \"./IDataset.js\";\nimport type { IResource } from \"./IResource.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 ICatalog extends IDataset {\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<IResource>;\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<IResource>;\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<IDataset>;\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<IDataService>;\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<ICatalog>;\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<ICatalogRecord>;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ICatalogRecord.js","sourceRoot":"","sources":["../../../src/models/ICatalogRecord.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 { IResource } from \"./IResource.js\";\nimport type { DateTimeType, LiteralType } 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 ICatalogRecord 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\"?: LiteralType;\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\"?: LiteralType;\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\"?: DateTimeType;\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\"?: DateTimeType;\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\"?: IResource;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IDataService.js","sourceRoot":"","sources":["../../../src/models/IDataService.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 { IResource } from \"./IResource.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 IDataService extends IResource {\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"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IDataset.js","sourceRoot":"","sources":["../../../src/models/IDataset.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 { IPeriodOfTime } from \"@twin.org/standards-dublin-core\";\nimport type { DcatClasses } from \"./dcatClasses.js\";\nimport type { IDistribution } from \"./IDistribution.js\";\nimport type { IResource } from \"./IResource.js\";\nimport type { DecimalType, DurationType } 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 IDataset extends IResource {\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<IDistribution>;\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\"?: DecimalType;\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\"?: IPeriodOfTime;\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\"?: DurationType;\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"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IDatasetSeries.js","sourceRoot":"","sources":["../../../src/models/IDatasetSeries.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 { IDataset } from \"./IDataset.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 IDatasetSeries extends IDataset {\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"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IDistribution.js","sourceRoot":"","sources":["../../../src/models/IDistribution.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\tDateTimeType,\n\tDecimalType,\n\tDurationType,\n\tLiteralType,\n\tNonNegativeIntegerType\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 IDistribution 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\"?: LiteralType;\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\"?: LiteralType;\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\"?: DateTimeType;\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\"?: DateTimeType;\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\"?: NonNegativeIntegerType;\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\"?: DecimalType;\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\"?: DurationType;\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"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IRelationship.js","sourceRoot":"","sources":["../../../src/models/IRelationship.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 { IRole } from \"./IRole.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 IRelationship 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\"?: IRole;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IResource.js","sourceRoot":"","sources":["../../../src/models/IResource.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 { IAgent } 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 { IRelationship } from \"./IRelationship.js\";\nimport type { DateTimeType, LiteralType } 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 IResource 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\"?: LiteralType;\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\"?: LiteralType;\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\"?: LiteralType;\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\"?: DateTimeType;\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\"?: DateTimeType;\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\"?: IAgent | 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\"?: IAgent;\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\"?: LiteralType;\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\"?: IRelationship | 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"]}
|
package/dist/es/models/IRole.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IRole.js","sourceRoot":"","sources":["../../../src/models/IRole.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 { LiteralType } 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 IRole 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\"?: LiteralType;\n}\n"]}
|