@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.
Files changed (87) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +21 -0
  3. package/dist/es/dataTypes/dcatDataTypes.js +77 -0
  4. package/dist/es/dataTypes/dcatDataTypes.js.map +1 -0
  5. package/dist/es/index.js +18 -0
  6. package/dist/es/index.js.map +1 -0
  7. package/dist/es/models/ICatalog.js +2 -0
  8. package/dist/es/models/ICatalog.js.map +1 -0
  9. package/dist/es/models/ICatalogRecord.js +2 -0
  10. package/dist/es/models/ICatalogRecord.js.map +1 -0
  11. package/dist/es/models/IDataService.js +2 -0
  12. package/dist/es/models/IDataService.js.map +1 -0
  13. package/dist/es/models/IDataset.js +2 -0
  14. package/dist/es/models/IDataset.js.map +1 -0
  15. package/dist/es/models/IDatasetSeries.js +2 -0
  16. package/dist/es/models/IDatasetSeries.js.map +1 -0
  17. package/dist/es/models/IDistribution.js +2 -0
  18. package/dist/es/models/IDistribution.js.map +1 -0
  19. package/dist/es/models/IRelationship.js +2 -0
  20. package/dist/es/models/IRelationship.js.map +1 -0
  21. package/dist/es/models/IResource.js +2 -0
  22. package/dist/es/models/IResource.js.map +1 -0
  23. package/dist/es/models/IRole.js +2 -0
  24. package/dist/es/models/IRole.js.map +1 -0
  25. package/dist/es/models/dcatClasses.js +56 -0
  26. package/dist/es/models/dcatClasses.js.map +1 -0
  27. package/dist/es/models/dcatContextType.js +2 -0
  28. package/dist/es/models/dcatContextType.js.map +1 -0
  29. package/dist/es/models/dcatContexts.js +38 -0
  30. package/dist/es/models/dcatContexts.js.map +1 -0
  31. package/dist/es/models/dcatRelationshipTypes.js +57 -0
  32. package/dist/es/models/dcatRelationshipTypes.js.map +1 -0
  33. package/dist/es/models/types/dcatPropertyTypes.js +4 -0
  34. package/dist/es/models/types/dcatPropertyTypes.js.map +1 -0
  35. package/dist/es/schemas/Catalog.json +491 -0
  36. package/dist/es/schemas/CatalogRecord.json +212 -0
  37. package/dist/es/schemas/DataService.json +358 -0
  38. package/dist/es/schemas/Dataset.json +407 -0
  39. package/dist/es/schemas/DatasetSeries.json +425 -0
  40. package/dist/es/schemas/Distribution.json +268 -0
  41. package/dist/es/schemas/Relationship.json +187 -0
  42. package/dist/es/schemas/Resource.json +342 -0
  43. package/dist/es/schemas/Role.json +182 -0
  44. package/dist/types/dataTypes/dcatDataTypes.d.ts +14 -0
  45. package/dist/types/index.d.ts +15 -0
  46. package/dist/types/models/ICatalog.d.ts +53 -0
  47. package/dist/types/models/ICatalogRecord.d.ts +52 -0
  48. package/dist/types/models/IDataService.d.ts +31 -0
  49. package/dist/types/models/IDataset.d.ts +60 -0
  50. package/dist/types/models/IDatasetSeries.d.ts +30 -0
  51. package/dist/types/models/IDistribution.d.ts +122 -0
  52. package/dist/types/models/IRelationship.d.ts +30 -0
  53. package/dist/types/models/IResource.d.ts +119 -0
  54. package/dist/types/models/IRole.d.ts +25 -0
  55. package/dist/types/models/dcatClasses.d.ts +56 -0
  56. package/dist/types/models/dcatContextType.d.ts +11 -0
  57. package/dist/types/models/dcatContexts.d.ts +38 -0
  58. package/dist/types/models/dcatRelationshipTypes.d.ts +57 -0
  59. package/dist/types/models/types/dcatPropertyTypes.d.ts +29 -0
  60. package/docs/changelog.md +22 -0
  61. package/docs/examples.md +1 -0
  62. package/docs/reference/classes/DcatDataTypes.md +38 -0
  63. package/docs/reference/index.md +36 -0
  64. package/docs/reference/interfaces/ICatalog.md +557 -0
  65. package/docs/reference/interfaces/ICatalogRecord.md +113 -0
  66. package/docs/reference/interfaces/IDataService.md +382 -0
  67. package/docs/reference/interfaces/IDataset.md +447 -0
  68. package/docs/reference/interfaces/IDatasetSeries.md +509 -0
  69. package/docs/reference/interfaces/IDistribution.md +281 -0
  70. package/docs/reference/interfaces/IRelationship.md +65 -0
  71. package/docs/reference/interfaces/IResource.md +274 -0
  72. package/docs/reference/interfaces/IRole.md +53 -0
  73. package/docs/reference/type-aliases/DateTimeType.md +6 -0
  74. package/docs/reference/type-aliases/DcatClasses.md +5 -0
  75. package/docs/reference/type-aliases/DcatContextType.md +16 -0
  76. package/docs/reference/type-aliases/DcatContexts.md +5 -0
  77. package/docs/reference/type-aliases/DcatRelationshipType.md +5 -0
  78. package/docs/reference/type-aliases/DecimalType.md +5 -0
  79. package/docs/reference/type-aliases/DurationType.md +5 -0
  80. package/docs/reference/type-aliases/IriType.md +5 -0
  81. package/docs/reference/type-aliases/LiteralType.md +5 -0
  82. package/docs/reference/type-aliases/NonNegativeIntegerType.md +5 -0
  83. package/docs/reference/variables/DcatClasses.md +102 -0
  84. package/docs/reference/variables/DcatContexts.md +63 -0
  85. package/docs/reference/variables/DcatRelationshipType.md +103 -0
  86. package/locales/en.json +1 -0
  87. package/package.json +57 -0
@@ -0,0 +1,5 @@
1
+ # Type Alias: DecimalType
2
+
3
+ > **DecimalType** = `number`
4
+
5
+ Decimal number values (xsd:decimal).
@@ -0,0 +1,5 @@
1
+ # Type Alias: DurationType
2
+
3
+ > **DurationType** = `string`
4
+
5
+ Duration values in ISO 8601 duration format (xsd:duration).
@@ -0,0 +1,5 @@
1
+ # Type Alias: IriType
2
+
3
+ > **IriType** = `string` \| `string`[]
4
+
5
+ IRI references - can be a single IRI or array of IRIs.
@@ -0,0 +1,5 @@
1
+ # Type Alias: LiteralType
2
+
3
+ > **LiteralType** = `string` \| `string`[]
4
+
5
+ Literal values can be strings or arrays of strings (for multi-valued properties).
@@ -0,0 +1,5 @@
1
+ # Type Alias: NonNegativeIntegerType
2
+
3
+ > **NonNegativeIntegerType** = `number`
4
+
5
+ Non-negative integer values (xsd:nonNegativeInteger).
@@ -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
@@ -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
+ }