@twin.org/standards-w3c-dcat 0.0.3-next.9 → 0.9.0
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/README.md +1 -1
- package/dist/es/dataTypes/dcatDataTypes.js +80 -49
- package/dist/es/dataTypes/dcatDataTypes.js.map +1 -1
- package/dist/es/index.js +6 -2
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/IDcatCatalog.js.map +1 -1
- package/dist/es/models/IDcatCatalogBase.js +2 -0
- package/dist/es/models/IDcatCatalogBase.js.map +1 -0
- package/dist/es/models/IDcatCatalogRecord.js.map +1 -1
- package/dist/es/models/IDcatCatalogRecordBase.js +2 -0
- package/dist/es/models/IDcatCatalogRecordBase.js.map +1 -0
- package/dist/es/models/IDcatDataService.js.map +1 -1
- package/dist/es/models/IDcatDataServiceBase.js +2 -0
- package/dist/es/models/IDcatDataServiceBase.js.map +1 -0
- package/dist/es/models/IDcatDataset.js.map +1 -1
- package/dist/es/models/IDcatDatasetBase.js +2 -0
- package/dist/es/models/IDcatDatasetBase.js.map +1 -0
- package/dist/es/models/IDcatDatasetSeries.js.map +1 -1
- package/dist/es/models/IDcatDistribution.js.map +1 -1
- package/dist/es/models/IDcatDistributionBase.js +2 -0
- package/dist/es/models/IDcatDistributionBase.js.map +1 -0
- package/dist/es/models/IDcatRelationship.js.map +1 -1
- package/dist/es/models/IDcatResource.js.map +1 -1
- package/dist/es/models/IDcatResourceBase.js +2 -0
- package/dist/es/models/IDcatResourceBase.js.map +1 -0
- package/dist/es/models/IDcatRole.js.map +1 -1
- package/dist/es/models/dcatContextType.js.map +1 -1
- package/dist/es/models/dcatContexts.js +15 -19
- package/dist/es/models/dcatContexts.js.map +1 -1
- package/dist/es/schemas/DcatCatalog.json +10 -489
- package/dist/es/schemas/DcatCatalogBase.json +109 -0
- package/dist/es/schemas/DcatCatalogRecord.json +10 -210
- package/dist/es/schemas/DcatCatalogRecordBase.json +76 -0
- package/dist/es/schemas/DcatContextType.json +30 -0
- package/dist/es/schemas/DcatDataService.json +10 -356
- package/dist/es/schemas/DcatDataServiceBase.json +43 -0
- package/dist/es/schemas/DcatDataset.json +10 -405
- package/dist/es/schemas/DcatDatasetBase.json +94 -0
- package/dist/es/schemas/DcatDatasetSeries.json +17 -394
- package/dist/es/schemas/DcatDistribution.json +10 -266
- package/dist/es/schemas/DcatDistributionBase.json +134 -0
- package/dist/es/schemas/DcatRelationship.json +11 -170
- package/dist/es/schemas/DcatResource.json +10 -340
- package/dist/es/schemas/DcatResourceBase.json +663 -0
- package/dist/es/schemas/DcatRole.json +15 -167
- package/dist/types/dataTypes/dcatDataTypes.d.ts +0 -1
- package/dist/types/index.d.ts +6 -2
- package/dist/types/models/IDcatCatalog.d.ts +5 -43
- package/dist/types/models/IDcatCatalogBase.d.ts +54 -0
- package/dist/types/models/IDcatCatalogRecord.d.ts +2 -40
- package/dist/types/models/IDcatCatalogRecordBase.d.ts +51 -0
- package/dist/types/models/IDcatDataService.d.ts +5 -22
- package/dist/types/models/IDcatDataServiceBase.d.ts +31 -0
- package/dist/types/models/IDcatDataset.d.ts +5 -51
- package/dist/types/models/IDcatDatasetBase.d.ts +60 -0
- package/dist/types/models/IDcatDatasetSeries.d.ts +6 -0
- package/dist/types/models/IDcatDistribution.d.ts +2 -110
- package/dist/types/models/IDcatDistributionBase.d.ts +123 -0
- package/dist/types/models/IDcatRelationship.d.ts +2 -2
- package/dist/types/models/IDcatResource.d.ts +3 -109
- package/dist/types/models/IDcatResourceBase.d.ts +120 -0
- package/dist/types/models/IDcatRole.d.ts +8 -5
- package/dist/types/models/dcatContextType.d.ts +4 -4
- package/dist/types/models/dcatContexts.d.ts +15 -19
- package/docs/changelog.md +1125 -11
- package/docs/examples.md +25 -1
- package/docs/reference/classes/DcatDataTypes.md +2 -3
- package/docs/reference/index.md +6 -11
- package/docs/reference/interfaces/IDcatCatalog.md +138 -106
- package/docs/reference/interfaces/IDcatCatalogBase.md +558 -0
- package/docs/reference/interfaces/IDcatCatalogRecord.md +53 -25
- package/docs/reference/interfaces/IDcatCatalogRecordBase.md +101 -0
- package/docs/reference/interfaces/IDcatDataService.md +90 -74
- package/docs/reference/interfaces/IDcatDataServiceBase.md +382 -0
- package/docs/reference/interfaces/IDcatDataset.md +120 -85
- package/docs/reference/interfaces/IDcatDatasetBase.md +443 -0
- package/docs/reference/interfaces/IDcatDatasetSeries.md +88 -68
- package/docs/reference/interfaces/IDcatDistribution.md +137 -53
- package/docs/reference/interfaces/IDcatDistributionBase.md +269 -0
- package/docs/reference/interfaces/IDcatRelationship.md +6 -22
- package/docs/reference/interfaces/IDcatResource.md +132 -57
- package/docs/reference/interfaces/IDcatResourceBase.md +260 -0
- package/docs/reference/interfaces/IDcatRole.md +11 -19
- package/docs/reference/type-aliases/DcatContextType.md +4 -4
- package/docs/reference/variables/DcatClasses.md +9 -9
- package/docs/reference/variables/DcatContexts.md +21 -33
- package/docs/reference/variables/DcatRelationshipType.md +9 -9
- package/package.json +10 -10
- package/dist/es/models/types/dcatContextFreeTypes.js +0 -4
- package/dist/es/models/types/dcatContextFreeTypes.js.map +0 -1
- package/dist/es/models/types/dcatPropertyTypes.js +0 -4
- package/dist/es/models/types/dcatPropertyTypes.js.map +0 -1
- package/dist/types/models/types/dcatContextFreeTypes.d.ts +0 -40
- package/dist/types/models/types/dcatPropertyTypes.d.ts +0 -29
- package/docs/reference/type-aliases/CatalogOptionalContext.md +0 -11
- package/docs/reference/type-aliases/CatalogRecordOptionalContext.md +0 -11
- package/docs/reference/type-aliases/DataServiceOptionalContext.md +0 -11
- package/docs/reference/type-aliases/DatasetOptionalContext.md +0 -11
- package/docs/reference/type-aliases/DcatDateTimeType.md +0 -6
- package/docs/reference/type-aliases/DcatDecimalType.md +0 -5
- package/docs/reference/type-aliases/DcatDurationType.md +0 -5
- package/docs/reference/type-aliases/DcatIriType.md +0 -5
- package/docs/reference/type-aliases/DcatLiteralType.md +0 -5
- package/docs/reference/type-aliases/DcatNonNegativeIntegerType.md +0 -5
- package/docs/reference/type-aliases/DistributionOptionalContext.md +0 -11
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import type { DcatContextType } from "../dcatContextType.js";
|
|
2
|
-
import type { IDcatCatalog } from "../IDcatCatalog.js";
|
|
3
|
-
import type { IDcatCatalogRecord } from "../IDcatCatalogRecord.js";
|
|
4
|
-
import type { IDcatDataService } from "../IDcatDataService.js";
|
|
5
|
-
import type { IDcatDataset } from "../IDcatDataset.js";
|
|
6
|
-
import type { IDcatDistribution } from "../IDcatDistribution.js";
|
|
7
|
-
/**
|
|
8
|
-
* Type aliases for DCAT entities when LD Context is omitted
|
|
9
|
-
* These provide type safety while maintaining flexibility for JSON-LD data.
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
* Dataset omitting LD Context
|
|
13
|
-
*/
|
|
14
|
-
export type DatasetOptionalContext = Omit<IDcatDataset, "@context"> & {
|
|
15
|
-
"@context"?: DcatContextType;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* DataService omitting LD Context
|
|
19
|
-
*/
|
|
20
|
-
export type DataServiceOptionalContext = Omit<IDcatDataService, "@context"> & {
|
|
21
|
-
"@context"?: DcatContextType;
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* Catalog omitting LD Context
|
|
25
|
-
*/
|
|
26
|
-
export type CatalogOptionalContext = Omit<IDcatCatalog, "@context"> & {
|
|
27
|
-
"@context"?: DcatContextType;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Record omitting LD Context
|
|
31
|
-
*/
|
|
32
|
-
export type CatalogRecordOptionalContext = Omit<IDcatCatalogRecord, "@context"> & {
|
|
33
|
-
"@context"?: DcatContextType;
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* Distribution omitting LD Context
|
|
37
|
-
*/
|
|
38
|
-
export type DistributionOptionalContext = Omit<IDcatDistribution, "@context"> & {
|
|
39
|
-
"@context"?: DcatContextType;
|
|
40
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Common type aliases for DCAT properties.
|
|
3
|
-
* These provide type safety while maintaining flexibility for JSON-LD data.
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Literal values can be strings or arrays of strings (for multi-valued properties).
|
|
7
|
-
*/
|
|
8
|
-
export type DcatLiteralType = string | string[];
|
|
9
|
-
/**
|
|
10
|
-
* IRI references - can be a single IRI or array of IRIs.
|
|
11
|
-
*/
|
|
12
|
-
export type DcatIriType = string | string[];
|
|
13
|
-
/**
|
|
14
|
-
* Date/time values in ISO 8601 format.
|
|
15
|
-
* Can be xsd:date, xsd:dateTime, or xsd:gYear.
|
|
16
|
-
*/
|
|
17
|
-
export type DcatDateTimeType = string;
|
|
18
|
-
/**
|
|
19
|
-
* Duration values in ISO 8601 duration format (xsd:duration).
|
|
20
|
-
*/
|
|
21
|
-
export type DcatDurationType = string;
|
|
22
|
-
/**
|
|
23
|
-
* Decimal number values (xsd:decimal).
|
|
24
|
-
*/
|
|
25
|
-
export type DcatDecimalType = number;
|
|
26
|
-
/**
|
|
27
|
-
* Non-negative integer values (xsd:nonNegativeInteger).
|
|
28
|
-
*/
|
|
29
|
-
export type DcatNonNegativeIntegerType = number;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# Type Alias: CatalogOptionalContext
|
|
2
|
-
|
|
3
|
-
> **CatalogOptionalContext** = `Omit`\<[`IDcatCatalog`](../interfaces/IDcatCatalog.md), `"@context"`\> & `object`
|
|
4
|
-
|
|
5
|
-
Catalog omitting LD Context
|
|
6
|
-
|
|
7
|
-
## Type Declaration
|
|
8
|
-
|
|
9
|
-
### @context?
|
|
10
|
-
|
|
11
|
-
> `optional` **@context**: [`DcatContextType`](DcatContextType.md)
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# Type Alias: CatalogRecordOptionalContext
|
|
2
|
-
|
|
3
|
-
> **CatalogRecordOptionalContext** = `Omit`\<[`IDcatCatalogRecord`](../interfaces/IDcatCatalogRecord.md), `"@context"`\> & `object`
|
|
4
|
-
|
|
5
|
-
Record omitting LD Context
|
|
6
|
-
|
|
7
|
-
## Type Declaration
|
|
8
|
-
|
|
9
|
-
### @context?
|
|
10
|
-
|
|
11
|
-
> `optional` **@context**: [`DcatContextType`](DcatContextType.md)
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# Type Alias: DataServiceOptionalContext
|
|
2
|
-
|
|
3
|
-
> **DataServiceOptionalContext** = `Omit`\<[`IDcatDataService`](../interfaces/IDcatDataService.md), `"@context"`\> & `object`
|
|
4
|
-
|
|
5
|
-
DataService omitting LD Context
|
|
6
|
-
|
|
7
|
-
## Type Declaration
|
|
8
|
-
|
|
9
|
-
### @context?
|
|
10
|
-
|
|
11
|
-
> `optional` **@context**: [`DcatContextType`](DcatContextType.md)
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# Type Alias: DatasetOptionalContext
|
|
2
|
-
|
|
3
|
-
> **DatasetOptionalContext** = `Omit`\<[`IDcatDataset`](../interfaces/IDcatDataset.md), `"@context"`\> & `object`
|
|
4
|
-
|
|
5
|
-
Dataset omitting LD Context
|
|
6
|
-
|
|
7
|
-
## Type Declaration
|
|
8
|
-
|
|
9
|
-
### @context?
|
|
10
|
-
|
|
11
|
-
> `optional` **@context**: [`DcatContextType`](DcatContextType.md)
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# Type Alias: DistributionOptionalContext
|
|
2
|
-
|
|
3
|
-
> **DistributionOptionalContext** = `Omit`\<[`IDcatDistribution`](../interfaces/IDcatDistribution.md), `"@context"`\> & `object`
|
|
4
|
-
|
|
5
|
-
Distribution omitting LD Context
|
|
6
|
-
|
|
7
|
-
## Type Declaration
|
|
8
|
-
|
|
9
|
-
### @context?
|
|
10
|
-
|
|
11
|
-
> `optional` **@context**: [`DcatContextType`](DcatContextType.md)
|