@twin.org/standards-w3c-dcat 0.0.3-next.3
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/LICENSE +201 -0
- package/README.md +21 -0
- package/dist/es/dataTypes/dcatDataTypes.js +77 -0
- package/dist/es/dataTypes/dcatDataTypes.js.map +1 -0
- package/dist/es/index.js +18 -0
- package/dist/es/index.js.map +1 -0
- package/dist/es/models/ICatalog.js +2 -0
- package/dist/es/models/ICatalog.js.map +1 -0
- package/dist/es/models/ICatalogRecord.js +2 -0
- package/dist/es/models/ICatalogRecord.js.map +1 -0
- package/dist/es/models/IDataService.js +2 -0
- package/dist/es/models/IDataService.js.map +1 -0
- package/dist/es/models/IDataset.js +2 -0
- package/dist/es/models/IDataset.js.map +1 -0
- package/dist/es/models/IDatasetSeries.js +2 -0
- package/dist/es/models/IDatasetSeries.js.map +1 -0
- package/dist/es/models/IDistribution.js +2 -0
- package/dist/es/models/IDistribution.js.map +1 -0
- package/dist/es/models/IRelationship.js +2 -0
- package/dist/es/models/IRelationship.js.map +1 -0
- package/dist/es/models/IResource.js +2 -0
- package/dist/es/models/IResource.js.map +1 -0
- package/dist/es/models/IRole.js +2 -0
- package/dist/es/models/IRole.js.map +1 -0
- package/dist/es/models/dcatClasses.js +56 -0
- package/dist/es/models/dcatClasses.js.map +1 -0
- package/dist/es/models/dcatContextType.js +2 -0
- package/dist/es/models/dcatContextType.js.map +1 -0
- package/dist/es/models/dcatContexts.js +38 -0
- package/dist/es/models/dcatContexts.js.map +1 -0
- package/dist/es/models/dcatRelationshipTypes.js +57 -0
- package/dist/es/models/dcatRelationshipTypes.js.map +1 -0
- package/dist/es/models/types/dcatPropertyTypes.js +4 -0
- package/dist/es/models/types/dcatPropertyTypes.js.map +1 -0
- package/dist/es/schemas/Catalog.json +491 -0
- package/dist/es/schemas/CatalogRecord.json +212 -0
- package/dist/es/schemas/DataService.json +358 -0
- package/dist/es/schemas/Dataset.json +407 -0
- package/dist/es/schemas/DatasetSeries.json +425 -0
- package/dist/es/schemas/Distribution.json +268 -0
- package/dist/es/schemas/Relationship.json +187 -0
- package/dist/es/schemas/Resource.json +342 -0
- package/dist/es/schemas/Role.json +182 -0
- package/dist/types/dataTypes/dcatDataTypes.d.ts +14 -0
- package/dist/types/index.d.ts +15 -0
- package/dist/types/models/ICatalog.d.ts +53 -0
- package/dist/types/models/ICatalogRecord.d.ts +52 -0
- package/dist/types/models/IDataService.d.ts +31 -0
- package/dist/types/models/IDataset.d.ts +60 -0
- package/dist/types/models/IDatasetSeries.d.ts +30 -0
- package/dist/types/models/IDistribution.d.ts +122 -0
- package/dist/types/models/IRelationship.d.ts +30 -0
- package/dist/types/models/IResource.d.ts +119 -0
- package/dist/types/models/IRole.d.ts +25 -0
- package/dist/types/models/dcatClasses.d.ts +56 -0
- package/dist/types/models/dcatContextType.d.ts +11 -0
- package/dist/types/models/dcatContexts.d.ts +38 -0
- package/dist/types/models/dcatRelationshipTypes.d.ts +57 -0
- package/dist/types/models/types/dcatPropertyTypes.d.ts +29 -0
- package/docs/changelog.md +22 -0
- package/docs/examples.md +1 -0
- package/docs/reference/classes/DcatDataTypes.md +38 -0
- package/docs/reference/index.md +36 -0
- package/docs/reference/interfaces/ICatalog.md +557 -0
- package/docs/reference/interfaces/ICatalogRecord.md +113 -0
- package/docs/reference/interfaces/IDataService.md +382 -0
- package/docs/reference/interfaces/IDataset.md +447 -0
- package/docs/reference/interfaces/IDatasetSeries.md +509 -0
- package/docs/reference/interfaces/IDistribution.md +281 -0
- package/docs/reference/interfaces/IRelationship.md +65 -0
- package/docs/reference/interfaces/IResource.md +274 -0
- package/docs/reference/interfaces/IRole.md +53 -0
- package/docs/reference/type-aliases/DateTimeType.md +6 -0
- package/docs/reference/type-aliases/DcatClasses.md +5 -0
- package/docs/reference/type-aliases/DcatContextType.md +16 -0
- package/docs/reference/type-aliases/DcatContexts.md +5 -0
- package/docs/reference/type-aliases/DcatRelationshipType.md +5 -0
- package/docs/reference/type-aliases/DecimalType.md +5 -0
- package/docs/reference/type-aliases/DurationType.md +5 -0
- package/docs/reference/type-aliases/IriType.md +5 -0
- package/docs/reference/type-aliases/LiteralType.md +5 -0
- package/docs/reference/type-aliases/NonNegativeIntegerType.md +5 -0
- package/docs/reference/variables/DcatClasses.md +102 -0
- package/docs/reference/variables/DcatContexts.md +63 -0
- package/docs/reference/variables/DcatRelationshipType.md +103 -0
- package/locales/en.json +1 -0
- package/package.json +57 -0
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# Variable: DcatClasses
|
|
2
|
+
|
|
3
|
+
> `const` **DcatClasses**: `object`
|
|
4
|
+
|
|
5
|
+
DCAT core classes representing the main entities in the Data Catalog Vocabulary.
|
|
6
|
+
|
|
7
|
+
## Type Declaration
|
|
8
|
+
|
|
9
|
+
### Catalog
|
|
10
|
+
|
|
11
|
+
> `readonly` **Catalog**: `"Catalog"` = `"Catalog"`
|
|
12
|
+
|
|
13
|
+
A curated collection of metadata about resources (e.g., datasets and data services in the context of a data catalog).
|
|
14
|
+
|
|
15
|
+
#### See
|
|
16
|
+
|
|
17
|
+
https://www.w3.org/TR/vocab-dcat-3/#Class:Catalog
|
|
18
|
+
|
|
19
|
+
### Resource
|
|
20
|
+
|
|
21
|
+
> `readonly` **Resource**: `"Resource"` = `"Resource"`
|
|
22
|
+
|
|
23
|
+
Resource published or curated by a single agent.
|
|
24
|
+
This is an abstract class and should not be used directly.
|
|
25
|
+
|
|
26
|
+
#### See
|
|
27
|
+
|
|
28
|
+
https://www.w3.org/TR/vocab-dcat-3/#Class:Resource
|
|
29
|
+
|
|
30
|
+
### Dataset
|
|
31
|
+
|
|
32
|
+
> `readonly` **Dataset**: `"Dataset"` = `"Dataset"`
|
|
33
|
+
|
|
34
|
+
A collection of data, published or curated by a single agent, and available for access or download in one or more representations.
|
|
35
|
+
|
|
36
|
+
#### See
|
|
37
|
+
|
|
38
|
+
https://www.w3.org/TR/vocab-dcat-3/#Class:Dataset
|
|
39
|
+
|
|
40
|
+
### Distribution
|
|
41
|
+
|
|
42
|
+
> `readonly` **Distribution**: `"Distribution"` = `"Distribution"`
|
|
43
|
+
|
|
44
|
+
A specific representation of a dataset. A dataset might be available in multiple serializations that may differ in various ways.
|
|
45
|
+
|
|
46
|
+
#### See
|
|
47
|
+
|
|
48
|
+
https://www.w3.org/TR/vocab-dcat-3/#Class:Distribution
|
|
49
|
+
|
|
50
|
+
### DataService
|
|
51
|
+
|
|
52
|
+
> `readonly` **DataService**: `"DataService"` = `"DataService"`
|
|
53
|
+
|
|
54
|
+
A collection of operations that provides access to one or more datasets or data processing functions.
|
|
55
|
+
|
|
56
|
+
#### See
|
|
57
|
+
|
|
58
|
+
https://www.w3.org/TR/vocab-dcat-3/#Class:Data_Service
|
|
59
|
+
|
|
60
|
+
### DatasetSeries
|
|
61
|
+
|
|
62
|
+
> `readonly` **DatasetSeries**: `"DatasetSeries"` = `"DatasetSeries"`
|
|
63
|
+
|
|
64
|
+
A collection of datasets that are published separately, but share some common characteristics.
|
|
65
|
+
|
|
66
|
+
#### See
|
|
67
|
+
|
|
68
|
+
https://www.w3.org/TR/vocab-dcat-3/#Class:Dataset_Series
|
|
69
|
+
|
|
70
|
+
### CatalogRecord
|
|
71
|
+
|
|
72
|
+
> `readonly` **CatalogRecord**: `"CatalogRecord"` = `"CatalogRecord"`
|
|
73
|
+
|
|
74
|
+
A record in a data catalog, describing the registration of a single dataset or data service.
|
|
75
|
+
|
|
76
|
+
#### See
|
|
77
|
+
|
|
78
|
+
https://www.w3.org/TR/vocab-dcat-3/#Class:Catalog_Record
|
|
79
|
+
|
|
80
|
+
### Relationship
|
|
81
|
+
|
|
82
|
+
> `readonly` **Relationship**: `"Relationship"` = `"Relationship"`
|
|
83
|
+
|
|
84
|
+
An association class for attaching additional information to a relationship between DCAT Resources.
|
|
85
|
+
|
|
86
|
+
#### See
|
|
87
|
+
|
|
88
|
+
https://www.w3.org/TR/vocab-dcat-3/#Class:Relationship
|
|
89
|
+
|
|
90
|
+
### Role
|
|
91
|
+
|
|
92
|
+
> `readonly` **Role**: `"Role"` = `"Role"`
|
|
93
|
+
|
|
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
|
+
|
|
96
|
+
#### See
|
|
97
|
+
|
|
98
|
+
https://www.w3.org/TR/vocab-dcat-3/#Class:Role
|
|
99
|
+
|
|
100
|
+
## See
|
|
101
|
+
|
|
102
|
+
https://www.w3.org/TR/vocab-dcat-3/#classes
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Variable: DcatContexts
|
|
2
|
+
|
|
3
|
+
> `const` **DcatContexts**: `object`
|
|
4
|
+
|
|
5
|
+
DCAT (Data Catalog Vocabulary) namespace contexts.
|
|
6
|
+
|
|
7
|
+
## Type Declaration
|
|
8
|
+
|
|
9
|
+
### ContextRoot
|
|
10
|
+
|
|
11
|
+
> `readonly` **ContextRoot**: `"http://www.w3.org/ns/dcat#"` = `"http://www.w3.org/ns/dcat#"`
|
|
12
|
+
|
|
13
|
+
The context root for DCAT vocabulary.
|
|
14
|
+
|
|
15
|
+
### ContextRedirect
|
|
16
|
+
|
|
17
|
+
> `readonly` **ContextRedirect**: `"https://www.w3.org/ns/dcat.jsonld"` = `"https://www.w3.org/ns/dcat.jsonld"`
|
|
18
|
+
|
|
19
|
+
The redirect URL for the DCAT context, used for JSON-LD processing.
|
|
20
|
+
|
|
21
|
+
### ContextRdf
|
|
22
|
+
|
|
23
|
+
> `readonly` **ContextRdf**: `"http://www.w3.org/2000/01/rdf-schema#"` = `"http://www.w3.org/2000/01/rdf-schema#"`
|
|
24
|
+
|
|
25
|
+
The context for RDF vocabulary.
|
|
26
|
+
|
|
27
|
+
#### See
|
|
28
|
+
|
|
29
|
+
https://www.w3.org/TR/rdf-schema/
|
|
30
|
+
|
|
31
|
+
### ContextRdfRedirect
|
|
32
|
+
|
|
33
|
+
> `readonly` **ContextRdfRedirect**: `"https://schema.twindev.org/w3c-rdf/types.jsonld"` = `"https://schema.twindev.org/w3c-rdf/types.jsonld"`
|
|
34
|
+
|
|
35
|
+
The context for RDF vocabulary Json-LD.
|
|
36
|
+
|
|
37
|
+
#### See
|
|
38
|
+
|
|
39
|
+
https://www.w3.org/TR/rdf-schema/
|
|
40
|
+
|
|
41
|
+
### ContextSpdx
|
|
42
|
+
|
|
43
|
+
> `readonly` **ContextSpdx**: `"http://spdx.org/rdf/terms#"` = `"http://spdx.org/rdf/terms#"`
|
|
44
|
+
|
|
45
|
+
The context for SPDX (Software Package Data Exchange) vocabulary.
|
|
46
|
+
|
|
47
|
+
#### See
|
|
48
|
+
|
|
49
|
+
https://spdx.org/rdf/terms
|
|
50
|
+
|
|
51
|
+
### ContextProv
|
|
52
|
+
|
|
53
|
+
> `readonly` **ContextProv**: `"http://www.w3.org/ns/prov#"` = `"http://www.w3.org/ns/prov#"`
|
|
54
|
+
|
|
55
|
+
The context for PROV (Provenance) vocabulary.
|
|
56
|
+
|
|
57
|
+
#### See
|
|
58
|
+
|
|
59
|
+
https://www.w3.org/ns/prov
|
|
60
|
+
|
|
61
|
+
## See
|
|
62
|
+
|
|
63
|
+
https://www.w3.org/TR/vocab-dcat-3/
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# Variable: DcatRelationshipType
|
|
2
|
+
|
|
3
|
+
> `const` **DcatRelationshipType**: `object`
|
|
4
|
+
|
|
5
|
+
DCAT relationship types for describing qualified relationships between resources.
|
|
6
|
+
These are used with the dcat:qualifiedRelation property.
|
|
7
|
+
|
|
8
|
+
## Type Declaration
|
|
9
|
+
|
|
10
|
+
### HadRole
|
|
11
|
+
|
|
12
|
+
> `readonly` **HadRole**: `"hadRole"` = `"hadRole"`
|
|
13
|
+
|
|
14
|
+
The function of an entity with respect to another resource.
|
|
15
|
+
Used in qualified relationships to specify the role.
|
|
16
|
+
|
|
17
|
+
#### See
|
|
18
|
+
|
|
19
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:relationship_had_role
|
|
20
|
+
|
|
21
|
+
### Replaces
|
|
22
|
+
|
|
23
|
+
> `readonly` **Replaces**: `"replaces"` = `"replaces"`
|
|
24
|
+
|
|
25
|
+
A related resource that is supplanted, displaced, or superseded by the described resource.
|
|
26
|
+
|
|
27
|
+
#### See
|
|
28
|
+
|
|
29
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_replaces
|
|
30
|
+
|
|
31
|
+
### IsReplacedBy
|
|
32
|
+
|
|
33
|
+
> `readonly` **IsReplacedBy**: `"isReplacedBy"` = `"isReplacedBy"`
|
|
34
|
+
|
|
35
|
+
A related resource that supplants, displaces, or supersedes the described resource.
|
|
36
|
+
|
|
37
|
+
#### See
|
|
38
|
+
|
|
39
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_is_replaced_by
|
|
40
|
+
|
|
41
|
+
### HasVersion
|
|
42
|
+
|
|
43
|
+
> `readonly` **HasVersion**: `"hasVersion"` = `"hasVersion"`
|
|
44
|
+
|
|
45
|
+
A related resource that is a version, edition, or adaptation of the described resource.
|
|
46
|
+
|
|
47
|
+
#### See
|
|
48
|
+
|
|
49
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_has_version
|
|
50
|
+
|
|
51
|
+
### IsVersionOf
|
|
52
|
+
|
|
53
|
+
> `readonly` **IsVersionOf**: `"isVersionOf"` = `"isVersionOf"`
|
|
54
|
+
|
|
55
|
+
A related resource of which the described resource is a version, edition, or adaptation.
|
|
56
|
+
|
|
57
|
+
#### See
|
|
58
|
+
|
|
59
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_is_version_of
|
|
60
|
+
|
|
61
|
+
### IsReferencedBy
|
|
62
|
+
|
|
63
|
+
> `readonly` **IsReferencedBy**: `"isReferencedBy"` = `"isReferencedBy"`
|
|
64
|
+
|
|
65
|
+
A related resource that references, cites, or otherwise points to the described resource.
|
|
66
|
+
|
|
67
|
+
#### See
|
|
68
|
+
|
|
69
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_is_referenced_by
|
|
70
|
+
|
|
71
|
+
### References
|
|
72
|
+
|
|
73
|
+
> `readonly` **References**: `"references"` = `"references"`
|
|
74
|
+
|
|
75
|
+
A related resource that is referenced, cited, or otherwise pointed to by the described resource.
|
|
76
|
+
|
|
77
|
+
#### See
|
|
78
|
+
|
|
79
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_references
|
|
80
|
+
|
|
81
|
+
### Requires
|
|
82
|
+
|
|
83
|
+
> `readonly` **Requires**: `"requires"` = `"requires"`
|
|
84
|
+
|
|
85
|
+
A related resource that requires the described resource to support its function, delivery, or coherence.
|
|
86
|
+
|
|
87
|
+
#### See
|
|
88
|
+
|
|
89
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_requires
|
|
90
|
+
|
|
91
|
+
### IsRequiredBy
|
|
92
|
+
|
|
93
|
+
> `readonly` **IsRequiredBy**: `"isRequiredBy"` = `"isRequiredBy"`
|
|
94
|
+
|
|
95
|
+
A related resource that is required by the described resource to support its function, delivery, or coherence.
|
|
96
|
+
|
|
97
|
+
#### See
|
|
98
|
+
|
|
99
|
+
https://www.w3.org/TR/vocab-dcat-3/#Property:resource_is_required_by
|
|
100
|
+
|
|
101
|
+
## See
|
|
102
|
+
|
|
103
|
+
https://www.w3.org/TR/vocab-dcat-3/#qualified-forms
|
package/locales/en.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
package/package.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@twin.org/standards-w3c-dcat",
|
|
3
|
+
"version": "0.0.3-next.3",
|
|
4
|
+
"description": "Models which define the structure of W3C DCAT Standard",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/twinfoundation/standards.git",
|
|
8
|
+
"directory": "packages/standards-w3c-dcat"
|
|
9
|
+
},
|
|
10
|
+
"author": "cornel.filip@iota.org",
|
|
11
|
+
"license": "Apache-2.0",
|
|
12
|
+
"type": "module",
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": ">=20.0.0"
|
|
15
|
+
},
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@twin.org/data-json-ld": "next",
|
|
18
|
+
"@twin.org/standards-dublin-core": "0.0.3-next.3",
|
|
19
|
+
"@twin.org/standards-foaf": "0.0.3-next.3",
|
|
20
|
+
"@twin.org/standards-w3c-odrl": "0.0.3-next.3",
|
|
21
|
+
"@twin.org/standards-w3c-vcard": "0.0.3-next.3",
|
|
22
|
+
"@twin.org/web": "next"
|
|
23
|
+
},
|
|
24
|
+
"main": "./dist/es/index.js",
|
|
25
|
+
"types": "./dist/types/index.d.ts",
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"types": "./dist/types/index.d.ts",
|
|
29
|
+
"import": "./dist/es/index.js",
|
|
30
|
+
"default": "./dist/es/index.js"
|
|
31
|
+
},
|
|
32
|
+
"./locales/*.json": "./locales/*.json"
|
|
33
|
+
},
|
|
34
|
+
"files": [
|
|
35
|
+
"dist/es",
|
|
36
|
+
"dist/types",
|
|
37
|
+
"locales",
|
|
38
|
+
"docs"
|
|
39
|
+
],
|
|
40
|
+
"keywords": [
|
|
41
|
+
"twin",
|
|
42
|
+
"trade",
|
|
43
|
+
"iota",
|
|
44
|
+
"framework",
|
|
45
|
+
"blockchain",
|
|
46
|
+
"standards",
|
|
47
|
+
"dcat",
|
|
48
|
+
"catalog",
|
|
49
|
+
"w3c",
|
|
50
|
+
"data-catalog",
|
|
51
|
+
"metadata"
|
|
52
|
+
],
|
|
53
|
+
"bugs": {
|
|
54
|
+
"url": "git+https://github.com/twinfoundation/standards/issues"
|
|
55
|
+
},
|
|
56
|
+
"homepage": "https://twindev.org"
|
|
57
|
+
}
|