@twin.org/standards-gaia-x 0.0.1-next.42 → 0.0.1-next.43

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.
@@ -1,3 +1,4 @@
1
+ import type { ObjectOrArray } from "@twin.org/core";
1
2
  import type { IJsonLdNodeObject } from "@twin.org/data-json-ld";
2
3
  import type { GaiaXContextType } from "./gaiaXContextType";
3
4
  import type { GaiaXTypes } from "./gaiaXTypes";
@@ -52,5 +53,5 @@ export interface IDataResource extends IJsonLdNodeObject {
52
53
  /**
53
54
  * ODRL Policy
54
55
  */
55
- resourcePolicy: IJsonLdNodeObject;
56
+ resourcePolicy: ObjectOrArray<IJsonLdNodeObject>;
56
57
  }
@@ -1,3 +1,4 @@
1
+ import type { ObjectOrArray } from "@twin.org/core";
1
2
  import type { IJsonLdNodeObject } from "@twin.org/data-json-ld";
2
3
  import type { GaiaXContextType } from "./gaiaXContextType";
3
4
  import type { GaiaXTypes } from "./gaiaXTypes";
@@ -38,7 +39,7 @@ export interface IServiceOffering extends IJsonLdNodeObject {
38
39
  /**
39
40
  * ODRL policy associated to the service offering
40
41
  */
41
- servicePolicy: IJsonLdNodeObject;
42
+ servicePolicy: ObjectOrArray<IJsonLdNodeObject>;
42
43
  /**
43
44
  * Resources aggregated
44
45
  * It is supported different representations, inline,
package/docs/changelog.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @twin.org/standards-gaia-x - Changelog
2
2
 
3
+ ## [0.0.1-next.43](https://github.com/twinfoundation/standards/compare/standards-gaia-x-v0.0.1-next.42...standards-gaia-x-v0.0.1-next.43) (2025-05-20)
4
+
5
+
6
+ ### Features
7
+
8
+ * align Data Resource and Service Offering definition (ODRL polic… ([#27](https://github.com/twinfoundation/standards/issues/27)) ([20797be](https://github.com/twinfoundation/standards/commit/20797beff059c6fb253401d49b654cd7a57762d5))
9
+
3
10
  ## [0.0.1-next.42](https://github.com/twinfoundation/standards/compare/standards-gaia-x-v0.0.1-next.41...standards-gaia-x-v0.0.1-next.42) (2025-05-09)
4
11
 
5
12
 
@@ -93,6 +93,6 @@ Copyright owner
93
93
 
94
94
  ### resourcePolicy
95
95
 
96
- > **resourcePolicy**: `IJsonLdNodeObject`
96
+ > **resourcePolicy**: `ObjectOrArray`\<`IJsonLdNodeObject`\>
97
97
 
98
98
  ODRL Policy
@@ -66,7 +66,7 @@ Participant that provides the offering
66
66
 
67
67
  ### servicePolicy
68
68
 
69
- > **servicePolicy**: `IJsonLdNodeObject`
69
+ > **servicePolicy**: `ObjectOrArray`\<`IJsonLdNodeObject`\>
70
70
 
71
71
  ODRL policy associated to the service offering
72
72
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/standards-gaia-x",
3
- "version": "0.0.1-next.42",
3
+ "version": "0.0.1-next.43",
4
4
  "description": "Models which define the structure of Gaia-x",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,6 +14,7 @@
14
14
  "node": ">=20.0.0"
15
15
  },
16
16
  "dependencies": {
17
+ "@twin.org/core": "next",
17
18
  "@twin.org/data-json-ld": "next"
18
19
  },
19
20
  "main": "./dist/cjs/index.cjs",