@twin.org/standards-w3c-dcat 0.0.3-next.7 → 0.0.3-next.9

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 (57) hide show
  1. package/dist/es/dataTypes/dcatDataTypes.js +18 -18
  2. package/dist/es/dataTypes/dcatDataTypes.js.map +1 -1
  3. package/dist/es/index.js +1 -0
  4. package/dist/es/index.js.map +1 -1
  5. package/dist/es/models/IDcatCatalog.js.map +1 -1
  6. package/dist/es/models/IDcatCatalogRecord.js.map +1 -1
  7. package/dist/es/models/IDcatDataset.js.map +1 -1
  8. package/dist/es/models/IDcatDistribution.js.map +1 -1
  9. package/dist/es/models/IDcatResource.js.map +1 -1
  10. package/dist/es/models/IDcatRole.js.map +1 -1
  11. package/dist/es/models/dcatClasses.js +9 -9
  12. package/dist/es/models/dcatClasses.js.map +1 -1
  13. package/dist/es/models/dcatContextType.js.map +1 -1
  14. package/dist/es/models/dcatContexts.js +4 -0
  15. package/dist/es/models/dcatContexts.js.map +1 -1
  16. package/dist/es/models/types/dcatContextFreeTypes.js +4 -0
  17. package/dist/es/models/types/dcatContextFreeTypes.js.map +1 -0
  18. package/dist/es/schemas/DcatCatalog.json +20 -11
  19. package/dist/es/schemas/DcatCatalogRecord.json +10 -1
  20. package/dist/es/schemas/DcatDataService.json +10 -1
  21. package/dist/es/schemas/DcatDataset.json +14 -5
  22. package/dist/es/schemas/DcatDatasetSeries.json +12 -3
  23. package/dist/es/schemas/DcatDistribution.json +10 -1
  24. package/dist/es/schemas/DcatRelationship.json +9 -1
  25. package/dist/es/schemas/DcatResource.json +14 -5
  26. package/dist/es/schemas/DcatRole.json +10 -1
  27. package/dist/types/index.d.ts +1 -0
  28. package/dist/types/models/IDcatCatalog.d.ts +5 -6
  29. package/dist/types/models/IDcatCatalogRecord.d.ts +1 -1
  30. package/dist/types/models/IDcatDataset.d.ts +2 -2
  31. package/dist/types/models/IDcatDistribution.d.ts +1 -1
  32. package/dist/types/models/IDcatResource.d.ts +1 -1
  33. package/dist/types/models/IDcatRole.d.ts +1 -1
  34. package/dist/types/models/dcatClasses.d.ts +9 -9
  35. package/dist/types/models/dcatContextType.d.ts +4 -0
  36. package/dist/types/models/dcatContexts.d.ts +4 -0
  37. package/dist/types/models/types/dcatContextFreeTypes.d.ts +40 -0
  38. package/docs/changelog.md +39 -0
  39. package/docs/reference/index.md +5 -0
  40. package/docs/reference/interfaces/IDcatCatalog.md +8 -8
  41. package/docs/reference/interfaces/IDcatCatalogRecord.md +3 -3
  42. package/docs/reference/interfaces/IDcatDataService.md +3 -3
  43. package/docs/reference/interfaces/IDcatDataset.md +4 -4
  44. package/docs/reference/interfaces/IDcatDatasetSeries.md +4 -4
  45. package/docs/reference/interfaces/IDcatDistribution.md +3 -3
  46. package/docs/reference/interfaces/IDcatRelationship.md +1 -1
  47. package/docs/reference/interfaces/IDcatResource.md +3 -3
  48. package/docs/reference/interfaces/IDcatRole.md +3 -3
  49. package/docs/reference/type-aliases/CatalogOptionalContext.md +11 -0
  50. package/docs/reference/type-aliases/CatalogRecordOptionalContext.md +11 -0
  51. package/docs/reference/type-aliases/DataServiceOptionalContext.md +11 -0
  52. package/docs/reference/type-aliases/DatasetOptionalContext.md +11 -0
  53. package/docs/reference/type-aliases/DcatContextType.md +8 -0
  54. package/docs/reference/type-aliases/DistributionOptionalContext.md +11 -0
  55. package/docs/reference/variables/DcatClasses.md +9 -9
  56. package/docs/reference/variables/DcatContexts.md +6 -0
  57. package/package.json +5 -5
@@ -32,7 +32,7 @@ The JSON-LD context for the resource.
32
32
 
33
33
  ### @type
34
34
 
35
- > **@type**: `"Relationship"`
35
+ > **@type**: `"dcat:Relationship"`
36
36
 
37
37
  The type identifier, typically "Relationship".
38
38
 
@@ -22,9 +22,9 @@ https://www.w3.org/TR/vocab-dcat-3/#Class:Resource
22
22
 
23
23
  ## Properties
24
24
 
25
- ### @context?
25
+ ### @context
26
26
 
27
- > `optional` **@context**: [`DcatContextType`](../type-aliases/DcatContextType.md)
27
+ > **@context**: [`DcatContextType`](../type-aliases/DcatContextType.md)
28
28
 
29
29
  The JSON-LD context for the resource.
30
30
 
@@ -36,7 +36,7 @@ The JSON-LD context for the resource.
36
36
 
37
37
  ### @type
38
38
 
39
- > **@type**: `"Catalog"` \| `"Resource"` \| `"Dataset"` \| `"DataService"` \| `"DatasetSeries"`
39
+ > **@type**: `"dcat:Catalog"` \| `"dcat:Resource"` \| `"dcat:Dataset"` \| `"dcat:DataService"` \| `"dcat:DatasetSeries"`
40
40
 
41
41
  The type of the resource.
42
42
  Typically "Catalog", "Dataset", "DataService", "DatasetSeries", or the base "Resource".
@@ -18,9 +18,9 @@ https://www.w3.org/TR/vocab-dcat-3/#Class:Role
18
18
 
19
19
  ## Properties
20
20
 
21
- ### @context?
21
+ ### @context
22
22
 
23
- > `optional` **@context**: [`DcatContextType`](../type-aliases/DcatContextType.md)
23
+ > **@context**: [`DcatContextType`](../type-aliases/DcatContextType.md)
24
24
 
25
25
  The JSON-LD context for the resource.
26
26
 
@@ -32,7 +32,7 @@ The JSON-LD context for the resource.
32
32
 
33
33
  ### @type
34
34
 
35
- > **@type**: `"Role"`
35
+ > **@type**: `"dcat:Role"`
36
36
 
37
37
  The type identifier, typically "Role".
38
38
 
@@ -0,0 +1,11 @@
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)
@@ -0,0 +1,11 @@
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)
@@ -0,0 +1,11 @@
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)
@@ -0,0 +1,11 @@
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)
@@ -14,3 +14,11 @@ Supports the DCAT context URL or arrays with additional context definitions.
14
14
  ### dcterms
15
15
 
16
16
  > **dcterms**: *typeof* `DublinCoreContexts.ContextTerms`
17
+
18
+ ### odrl?
19
+
20
+ > `optional` **odrl**: *typeof* `OdrlContexts.OdrlNamespace`
21
+
22
+ ### foaf?
23
+
24
+ > `optional` **foaf**: *typeof* `FoafContexts.ContextRoot`
@@ -0,0 +1,11 @@
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)
@@ -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.7",
3
+ "version": "0.0.3-next.9",
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.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",
18
+ "@twin.org/standards-dublin-core": "0.0.3-next.9",
19
+ "@twin.org/standards-foaf": "0.0.3-next.9",
20
+ "@twin.org/standards-w3c-odrl": "0.0.3-next.9",
21
+ "@twin.org/standards-w3c-vcard": "0.0.3-next.9",
22
22
  "@twin.org/web": "next"
23
23
  },
24
24
  "main": "./dist/es/index.js",