@twin.org/standards-gaia-x 0.0.1-next.40 → 0.0.1-next.42
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/dist/types/index.d.ts +1 -0
- package/dist/types/models/IDataExchangeComponent.d.ts +5 -0
- package/dist/types/models/IDataResource.d.ts +3 -3
- package/dist/types/models/IParticipant.d.ts +3 -3
- package/dist/types/models/IServiceOffering.d.ts +3 -3
- package/dist/types/models/gaiaXContextType.d.ts +14 -0
- package/docs/changelog.md +14 -0
- package/docs/reference/index.md +1 -0
- package/docs/reference/interfaces/IDataExchangeComponent.md +12 -0
- package/docs/reference/interfaces/IDataResource.md +1 -1
- package/docs/reference/interfaces/IParticipant.md +1 -1
- package/docs/reference/interfaces/IServiceOffering.md +1 -1
- package/docs/reference/type-aliases/GaiaXContextType.md +5 -0
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import type { IJsonLdKeyword, IJsonLdNodeObject } from "@twin.org/data-json-ld";
|
|
2
|
+
import type { GaiaXContextType } from "./gaiaXContextType";
|
|
2
3
|
import type { GaiaXTypes } from "./gaiaXTypes";
|
|
3
4
|
/**
|
|
4
5
|
* Data Exchange component as defined by Gaia-X
|
|
5
6
|
* https://docs.gaia-x.eu/ontology/development/classes/DataExchangeComponent
|
|
6
7
|
*/
|
|
7
8
|
export interface IDataExchangeComponent extends IJsonLdNodeObject {
|
|
9
|
+
/**
|
|
10
|
+
* The LD Context
|
|
11
|
+
*/
|
|
12
|
+
"@context": GaiaXContextType;
|
|
8
13
|
/**
|
|
9
14
|
* The type of JSON-LD node
|
|
10
15
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { IJsonLdNodeObject } from "@twin.org/data-json-ld";
|
|
2
|
+
import type { GaiaXContextType } from "./gaiaXContextType";
|
|
3
3
|
import type { GaiaXTypes } from "./gaiaXTypes";
|
|
4
4
|
import type { IDataExchangeComponent } from "./IDataExchangeComponent";
|
|
5
5
|
import type { IParticipant } from "./IParticipant";
|
|
@@ -11,7 +11,7 @@ export interface IDataResource extends IJsonLdNodeObject {
|
|
|
11
11
|
/**
|
|
12
12
|
* The LD Context
|
|
13
13
|
*/
|
|
14
|
-
"@context":
|
|
14
|
+
"@context": GaiaXContextType;
|
|
15
15
|
/**
|
|
16
16
|
* Subject Id
|
|
17
17
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { IJsonLdNodeObject } from "@twin.org/data-json-ld";
|
|
2
|
+
import type { GaiaXContextType } from "./gaiaXContextType";
|
|
3
3
|
import type { GaiaXTypes } from "./gaiaXTypes";
|
|
4
4
|
import type { IAddress } from "./IAddress";
|
|
5
5
|
import type { IRegistrationNumber } from "./IRegistrationNumber";
|
|
@@ -10,7 +10,7 @@ export interface IParticipant extends IJsonLdNodeObject {
|
|
|
10
10
|
/**
|
|
11
11
|
* The LD context
|
|
12
12
|
*/
|
|
13
|
-
"@context":
|
|
13
|
+
"@context": GaiaXContextType;
|
|
14
14
|
/**
|
|
15
15
|
* The participant Id.
|
|
16
16
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { IJsonLdNodeObject } from "@twin.org/data-json-ld";
|
|
2
|
+
import type { GaiaXContextType } from "./gaiaXContextType";
|
|
3
3
|
import type { GaiaXTypes } from "./gaiaXTypes";
|
|
4
4
|
import type { IDataResource } from "./IDataResource";
|
|
5
5
|
import type { IEndpoint } from "./IEndpoint";
|
|
@@ -11,7 +11,7 @@ export interface IServiceOffering extends IJsonLdNodeObject {
|
|
|
11
11
|
/**
|
|
12
12
|
* The LD context
|
|
13
13
|
*/
|
|
14
|
-
"@context":
|
|
14
|
+
"@context": GaiaXContextType;
|
|
15
15
|
/**
|
|
16
16
|
* Id
|
|
17
17
|
*/
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { IJsonLdContextDefinitionElement } from "@twin.org/data-json-ld";
|
|
2
|
+
import type { GaiaXContexts } from "./gaiaXContexts";
|
|
3
|
+
/**
|
|
4
|
+
* The Gaia-X JSON-LD context type.
|
|
5
|
+
*/
|
|
6
|
+
export type GaiaXContextType = typeof GaiaXContexts.GaiaXLdContext | [
|
|
7
|
+
...IJsonLdContextDefinitionElement[],
|
|
8
|
+
typeof GaiaXContexts.GaiaXLdContext,
|
|
9
|
+
IJsonLdContextDefinitionElement
|
|
10
|
+
] | [
|
|
11
|
+
IJsonLdContextDefinitionElement,
|
|
12
|
+
typeof GaiaXContexts.GaiaXLdContext,
|
|
13
|
+
...IJsonLdContextDefinitionElement[]
|
|
14
|
+
];
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @twin.org/standards-gaia-x - Changelog
|
|
2
2
|
|
|
3
|
+
## [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
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* refine the LD Context of Gaia-X entities ([#24](https://github.com/twinfoundation/standards/issues/24)) ([151c7f9](https://github.com/twinfoundation/standards/commit/151c7f940c900daac6c98a6f89ea5f708b25a1bd))
|
|
9
|
+
|
|
10
|
+
## [0.0.1-next.41](https://github.com/twinfoundation/standards/compare/standards-gaia-x-v0.0.1-next.40...standards-gaia-x-v0.0.1-next.41) (2025-05-08)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Miscellaneous Chores
|
|
14
|
+
|
|
15
|
+
* **standards-gaia-x:** Synchronize repo versions
|
|
16
|
+
|
|
3
17
|
## [0.0.1-next.40](https://github.com/twinfoundation/standards/compare/standards-gaia-x-v0.0.1-next.39...standards-gaia-x-v0.0.1-next.40) (2025-05-08)
|
|
4
18
|
|
|
5
19
|
|
package/docs/reference/index.md
CHANGED
|
@@ -13,6 +13,18 @@ https://docs.gaia-x.eu/ontology/development/classes/DataExchangeComponent
|
|
|
13
13
|
|
|
14
14
|
## Properties
|
|
15
15
|
|
|
16
|
+
### @context
|
|
17
|
+
|
|
18
|
+
> **@context**: [`GaiaXContextType`](../type-aliases/GaiaXContextType.md)
|
|
19
|
+
|
|
20
|
+
The LD Context
|
|
21
|
+
|
|
22
|
+
#### Overrides
|
|
23
|
+
|
|
24
|
+
`IJsonLdNodeObject.@context`
|
|
25
|
+
|
|
26
|
+
***
|
|
27
|
+
|
|
16
28
|
### type
|
|
17
29
|
|
|
18
30
|
> **type**: `"DataExchangeComponent"` \| \[`"DataExchangeComponent"`, `...string[]`\]
|
|
@@ -15,7 +15,7 @@ See also W3C DCAT Dataset https://www.w3.org/TR/vocab-dcat-3/.
|
|
|
15
15
|
|
|
16
16
|
### @context
|
|
17
17
|
|
|
18
|
-
> **@context**: `
|
|
18
|
+
> **@context**: [`GaiaXContextType`](../type-aliases/GaiaXContextType.md)
|
|
19
19
|
|
|
20
20
|
The LD Context
|
|
21
21
|
|
|
@@ -14,7 +14,7 @@ A Legal Person participating in the ecosystem
|
|
|
14
14
|
|
|
15
15
|
### @context
|
|
16
16
|
|
|
17
|
-
> **@context**: `
|
|
17
|
+
> **@context**: [`GaiaXContextType`](../type-aliases/GaiaXContextType.md)
|
|
18
18
|
|
|
19
19
|
The LD context
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ A Service offering
|
|
|
14
14
|
|
|
15
15
|
### @context
|
|
16
16
|
|
|
17
|
-
> **@context**: `
|
|
17
|
+
> **@context**: [`GaiaXContextType`](../type-aliases/GaiaXContextType.md)
|
|
18
18
|
|
|
19
19
|
The LD context
|
|
20
20
|
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Type Alias: GaiaXContextType
|
|
2
|
+
|
|
3
|
+
> **GaiaXContextType** = *typeof* [`GaiaXLdContext`](../variables/GaiaXContexts.md#gaiaxldcontext) \| \[`...IJsonLdContextDefinitionElement[]`, *typeof* [`GaiaXLdContext`](../variables/GaiaXContexts.md#gaiaxldcontext), `IJsonLdContextDefinitionElement`\] \| \[`IJsonLdContextDefinitionElement`, *typeof* [`GaiaXLdContext`](../variables/GaiaXContexts.md#gaiaxldcontext), `...IJsonLdContextDefinitionElement[]`\]
|
|
4
|
+
|
|
5
|
+
The Gaia-X JSON-LD context type.
|