@twin.org/standards-w3c-dcat 0.0.3-next.6 → 0.0.3-next.8

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.
Files changed (102) hide show
  1. package/dist/es/dataTypes/dcatDataTypes.js +27 -27
  2. package/dist/es/dataTypes/dcatDataTypes.js.map +1 -1
  3. package/dist/es/index.js +10 -9
  4. package/dist/es/index.js.map +1 -1
  5. package/dist/es/models/IDcatCatalog.js +2 -0
  6. package/dist/es/models/IDcatCatalog.js.map +1 -0
  7. package/dist/es/models/IDcatCatalogRecord.js +2 -0
  8. package/dist/es/models/IDcatCatalogRecord.js.map +1 -0
  9. package/dist/es/models/IDcatDataService.js +2 -0
  10. package/dist/es/models/IDcatDataService.js.map +1 -0
  11. package/dist/es/models/IDcatDataset.js +2 -0
  12. package/dist/es/models/IDcatDataset.js.map +1 -0
  13. package/dist/es/models/IDcatDatasetSeries.js +2 -0
  14. package/dist/es/models/IDcatDatasetSeries.js.map +1 -0
  15. package/dist/es/models/IDcatDistribution.js +2 -0
  16. package/dist/es/models/IDcatDistribution.js.map +1 -0
  17. package/dist/es/models/IDcatRelationship.js +2 -0
  18. package/dist/es/models/IDcatRelationship.js.map +1 -0
  19. package/dist/es/models/IDcatResource.js +2 -0
  20. package/dist/es/models/IDcatResource.js.map +1 -0
  21. package/dist/es/models/IDcatRole.js +2 -0
  22. package/dist/es/models/IDcatRole.js.map +1 -0
  23. package/dist/es/models/dcatClasses.js +9 -9
  24. package/dist/es/models/dcatClasses.js.map +1 -1
  25. package/dist/es/models/dcatContextType.js.map +1 -1
  26. package/dist/es/models/dcatContexts.js +4 -0
  27. package/dist/es/models/dcatContexts.js.map +1 -1
  28. package/dist/es/models/types/dcatContextFreeTypes.js +4 -0
  29. package/dist/es/models/types/dcatContextFreeTypes.js.map +1 -0
  30. package/dist/es/models/types/dcatPropertyTypes.js.map +1 -1
  31. package/dist/es/schemas/{Catalog.json → DcatCatalog.json} +37 -28
  32. package/dist/es/schemas/{CatalogRecord.json → DcatCatalogRecord.json} +16 -7
  33. package/dist/es/schemas/{DataService.json → DcatDataService.json} +20 -11
  34. package/dist/es/schemas/{Dataset.json → DcatDataset.json} +27 -18
  35. package/dist/es/schemas/{DatasetSeries.json → DcatDatasetSeries.json} +25 -16
  36. package/dist/es/schemas/{Distribution.json → DcatDistribution.json} +18 -9
  37. package/dist/es/schemas/{Relationship.json → DcatRelationship.json} +11 -3
  38. package/dist/es/schemas/{Resource.json → DcatResource.json} +24 -15
  39. package/dist/es/schemas/{Role.json → DcatRole.json} +12 -3
  40. package/dist/types/index.d.ts +10 -9
  41. package/dist/types/models/{ICatalog.d.ts → IDcatCatalog.d.ts} +10 -11
  42. package/dist/types/models/{ICatalogRecord.d.ts → IDcatCatalogRecord.d.ts} +9 -9
  43. package/dist/types/models/{IDataService.d.ts → IDcatDataService.d.ts} +2 -2
  44. package/dist/types/models/{IDataset.d.ts → IDcatDataset.d.ts} +9 -9
  45. package/dist/types/models/{IDatasetSeries.d.ts → IDcatDatasetSeries.d.ts} +2 -2
  46. package/dist/types/models/{IDistribution.d.ts → IDcatDistribution.d.ts} +10 -10
  47. package/dist/types/models/{IRelationship.d.ts → IDcatRelationship.d.ts} +3 -3
  48. package/dist/types/models/{IResource.d.ts → IDcatResource.d.ts} +14 -14
  49. package/dist/types/models/{IRole.d.ts → IDcatRole.d.ts} +4 -4
  50. package/dist/types/models/dcatClasses.d.ts +9 -9
  51. package/dist/types/models/dcatContextType.d.ts +4 -0
  52. package/dist/types/models/dcatContexts.d.ts +4 -0
  53. package/dist/types/models/types/dcatContextFreeTypes.d.ts +40 -0
  54. package/dist/types/models/types/dcatPropertyTypes.d.ts +6 -6
  55. package/docs/changelog.md +39 -0
  56. package/docs/reference/index.md +20 -15
  57. package/docs/reference/interfaces/{ICatalog.md → IDcatCatalog.md} +49 -49
  58. package/docs/reference/interfaces/{ICatalogRecord.md → IDcatCatalogRecord.md} +7 -7
  59. package/docs/reference/interfaces/{IDataService.md → IDcatDataService.md} +33 -33
  60. package/docs/reference/interfaces/{IDataset.md → IDcatDataset.md} +37 -37
  61. package/docs/reference/interfaces/{IDatasetSeries.md → IDcatDatasetSeries.md} +43 -43
  62. package/docs/reference/interfaces/{IDistribution.md → IDcatDistribution.md} +6 -6
  63. package/docs/reference/interfaces/{IRelationship.md → IDcatRelationship.md} +3 -3
  64. package/docs/reference/interfaces/{IResource.md → IDcatResource.md} +13 -13
  65. package/docs/reference/interfaces/{IRole.md → IDcatRole.md} +5 -5
  66. package/docs/reference/type-aliases/CatalogOptionalContext.md +11 -0
  67. package/docs/reference/type-aliases/CatalogRecordOptionalContext.md +11 -0
  68. package/docs/reference/type-aliases/DataServiceOptionalContext.md +11 -0
  69. package/docs/reference/type-aliases/DatasetOptionalContext.md +11 -0
  70. package/docs/reference/type-aliases/DcatContextType.md +8 -0
  71. package/docs/reference/type-aliases/{DateTimeType.md → DcatDateTimeType.md} +2 -2
  72. package/docs/reference/type-aliases/DcatDecimalType.md +5 -0
  73. package/docs/reference/type-aliases/DcatDurationType.md +5 -0
  74. package/docs/reference/type-aliases/DcatIriType.md +5 -0
  75. package/docs/reference/type-aliases/{LiteralType.md → DcatLiteralType.md} +2 -2
  76. package/docs/reference/type-aliases/DcatNonNegativeIntegerType.md +5 -0
  77. package/docs/reference/type-aliases/DistributionOptionalContext.md +11 -0
  78. package/docs/reference/variables/DcatClasses.md +9 -9
  79. package/docs/reference/variables/DcatContexts.md +6 -0
  80. package/package.json +5 -5
  81. package/dist/es/models/ICatalog.js +0 -2
  82. package/dist/es/models/ICatalog.js.map +0 -1
  83. package/dist/es/models/ICatalogRecord.js +0 -2
  84. package/dist/es/models/ICatalogRecord.js.map +0 -1
  85. package/dist/es/models/IDataService.js +0 -2
  86. package/dist/es/models/IDataService.js.map +0 -1
  87. package/dist/es/models/IDataset.js +0 -2
  88. package/dist/es/models/IDataset.js.map +0 -1
  89. package/dist/es/models/IDatasetSeries.js +0 -2
  90. package/dist/es/models/IDatasetSeries.js.map +0 -1
  91. package/dist/es/models/IDistribution.js +0 -2
  92. package/dist/es/models/IDistribution.js.map +0 -1
  93. package/dist/es/models/IRelationship.js +0 -2
  94. package/dist/es/models/IRelationship.js.map +0 -1
  95. package/dist/es/models/IResource.js +0 -2
  96. package/dist/es/models/IResource.js.map +0 -1
  97. package/dist/es/models/IRole.js +0 -2
  98. package/dist/es/models/IRole.js.map +0 -1
  99. package/docs/reference/type-aliases/DecimalType.md +0 -5
  100. package/docs/reference/type-aliases/DurationType.md +0 -5
  101. package/docs/reference/type-aliases/IriType.md +0 -5
  102. package/docs/reference/type-aliases/NonNegativeIntegerType.md +0 -5
@@ -8,7 +8,7 @@ DCAT core classes representing the main entities in the Data Catalog Vocabulary.
8
8
 
9
9
  ### Catalog
10
10
 
11
- > `readonly` **Catalog**: `"Catalog"` = `"Catalog"`
11
+ > `readonly` **Catalog**: `"dcat:Catalog"` = `"dcat:Catalog"`
12
12
 
13
13
  A curated collection of metadata about resources (e.g., datasets and data services in the context of a data catalog).
14
14
 
@@ -18,7 +18,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Class:Catalog
18
18
 
19
19
  ### Resource
20
20
 
21
- > `readonly` **Resource**: `"Resource"` = `"Resource"`
21
+ > `readonly` **Resource**: `"dcat:Resource"` = `"dcat:Resource"`
22
22
 
23
23
  Resource published or curated by a single agent.
24
24
  This is an abstract class and should not be used directly.
@@ -29,7 +29,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Class:Resource
29
29
 
30
30
  ### Dataset
31
31
 
32
- > `readonly` **Dataset**: `"Dataset"` = `"Dataset"`
32
+ > `readonly` **Dataset**: `"dcat:Dataset"` = `"dcat:Dataset"`
33
33
 
34
34
  A collection of data, published or curated by a single agent, and available for access or download in one or more representations.
35
35
 
@@ -39,7 +39,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Class:Dataset
39
39
 
40
40
  ### Distribution
41
41
 
42
- > `readonly` **Distribution**: `"Distribution"` = `"Distribution"`
42
+ > `readonly` **Distribution**: `"dcat:Distribution"` = `"dcat:Distribution"`
43
43
 
44
44
  A specific representation of a dataset. A dataset might be available in multiple serializations that may differ in various ways.
45
45
 
@@ -49,7 +49,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Class:Distribution
49
49
 
50
50
  ### DataService
51
51
 
52
- > `readonly` **DataService**: `"DataService"` = `"DataService"`
52
+ > `readonly` **DataService**: `"dcat:DataService"` = `"dcat:DataService"`
53
53
 
54
54
  A collection of operations that provides access to one or more datasets or data processing functions.
55
55
 
@@ -59,7 +59,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Class:Data_Service
59
59
 
60
60
  ### DatasetSeries
61
61
 
62
- > `readonly` **DatasetSeries**: `"DatasetSeries"` = `"DatasetSeries"`
62
+ > `readonly` **DatasetSeries**: `"dcat:DatasetSeries"` = `"dcat:DatasetSeries"`
63
63
 
64
64
  A collection of datasets that are published separately, but share some common characteristics.
65
65
 
@@ -69,7 +69,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Class:Dataset_Series
69
69
 
70
70
  ### CatalogRecord
71
71
 
72
- > `readonly` **CatalogRecord**: `"CatalogRecord"` = `"CatalogRecord"`
72
+ > `readonly` **CatalogRecord**: `"dcat:CatalogRecord"` = `"dcat:CatalogRecord"`
73
73
 
74
74
  A record in a data catalog, describing the registration of a single dataset or data service.
75
75
 
@@ -79,7 +79,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Class:Catalog_Record
79
79
 
80
80
  ### Relationship
81
81
 
82
- > `readonly` **Relationship**: `"Relationship"` = `"Relationship"`
82
+ > `readonly` **Relationship**: `"dcat:Relationship"` = `"dcat:Relationship"`
83
83
 
84
84
  An association class for attaching additional information to a relationship between DCAT Resources.
85
85
 
@@ -89,7 +89,7 @@ https://www.w3.org/TR/vocab-dcat-3/#Class:Relationship
89
89
 
90
90
  ### Role
91
91
 
92
- > `readonly` **Role**: `"Role"` = `"Role"`
92
+ > `readonly` **Role**: `"dcat:Role"` = `"dcat:Role"`
93
93
 
94
94
  A role is the function of a resource or agent with respect to another resource, in the context of resource attribution or resource relationships..
95
95
 
@@ -12,6 +12,12 @@ DCAT (Data Catalog Vocabulary) namespace contexts.
12
12
 
13
13
  The context root for DCAT vocabulary.
14
14
 
15
+ ### DcatNamespace
16
+
17
+ > `readonly` **DcatNamespace**: `"http://www.w3.org/ns/dcat#"` = `"http://www.w3.org/ns/dcat#"`
18
+
19
+ The namespace for DCAT terms
20
+
15
21
  ### ContextRedirect
16
22
 
17
23
  > `readonly` **ContextRedirect**: `"https://www.w3.org/ns/dcat.jsonld"` = `"https://www.w3.org/ns/dcat.jsonld"`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/standards-w3c-dcat",
3
- "version": "0.0.3-next.6",
3
+ "version": "0.0.3-next.8",
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.6",
19
- "@twin.org/standards-foaf": "0.0.3-next.6",
20
- "@twin.org/standards-w3c-odrl": "0.0.3-next.6",
21
- "@twin.org/standards-w3c-vcard": "0.0.3-next.6",
18
+ "@twin.org/standards-dublin-core": "0.0.3-next.8",
19
+ "@twin.org/standards-foaf": "0.0.3-next.8",
20
+ "@twin.org/standards-w3c-odrl": "0.0.3-next.8",
21
+ "@twin.org/standards-w3c-vcard": "0.0.3-next.8",
22
22
  "@twin.org/web": "next"
23
23
  },
24
24
  "main": "./dist/es/index.js",
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=ICatalog.js.map
@@ -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,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=ICatalogRecord.js.map
@@ -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,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IDataService.js.map
@@ -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,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IDataset.js.map
@@ -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,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IDatasetSeries.js.map
@@ -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,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IDistribution.js.map
@@ -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,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IRelationship.js.map
@@ -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,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IResource.js.map
@@ -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"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IRole.js.map
@@ -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"]}
@@ -1,5 +0,0 @@
1
- # Type Alias: DecimalType
2
-
3
- > **DecimalType** = `number`
4
-
5
- Decimal number values (xsd:decimal).
@@ -1,5 +0,0 @@
1
- # Type Alias: DurationType
2
-
3
- > **DurationType** = `string`
4
-
5
- Duration values in ISO 8601 duration format (xsd:duration).
@@ -1,5 +0,0 @@
1
- # Type Alias: IriType
2
-
3
- > **IriType** = `string` \| `string`[]
4
-
5
- IRI references - can be a single IRI or array of IRIs.
@@ -1,5 +0,0 @@
1
- # Type Alias: NonNegativeIntegerType
2
-
3
- > **NonNegativeIntegerType** = `number`
4
-
5
- Non-negative integer values (xsd:nonNegativeInteger).