@twin.org/standards-gaia-x 0.0.1-next.48 → 0.0.1-next.49

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.
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Handle all the data types for Gaia-X.
3
+ */
4
+ export declare class GaiaXDataTypes {
5
+ /**
6
+ * Register all the data types.
7
+ */
8
+ static registerTypes(): void;
9
+ }
@@ -1,4 +1,6 @@
1
+ export * from "./dataTypes/gaiaXDataTypes";
1
2
  export * from "./models/gaiaXContexts";
3
+ export * from "./models/gaiaXContextType";
2
4
  export * from "./models/gaiaXTypes";
3
5
  export * from "./models/IAddress";
4
6
  export * from "./models/IDataExchangeComponent";
@@ -7,4 +9,3 @@ export * from "./models/IEndpoint";
7
9
  export * from "./models/IParticipant";
8
10
  export * from "./models/IRegistrationNumber";
9
11
  export * from "./models/IServiceOffering";
10
- export * from "./models/gaiaXContextType";
@@ -3,12 +3,12 @@ import type { GaiaXContexts } from "./gaiaXContexts";
3
3
  /**
4
4
  * The Gaia-X JSON-LD context type.
5
5
  */
6
- export type GaiaXContextType = typeof GaiaXContexts.GaiaXLdContext | [
6
+ export type GaiaXContextType = typeof GaiaXContexts.ContextRoot | [
7
7
  ...IJsonLdContextDefinitionElement[],
8
- typeof GaiaXContexts.GaiaXLdContext,
8
+ typeof GaiaXContexts.ContextRoot,
9
9
  IJsonLdContextDefinitionElement
10
10
  ] | [
11
11
  IJsonLdContextDefinitionElement,
12
- typeof GaiaXContexts.GaiaXLdContext,
12
+ typeof GaiaXContexts.ContextRoot,
13
13
  ...IJsonLdContextDefinitionElement[]
14
14
  ];
@@ -5,7 +5,7 @@ export declare const GaiaXContexts: {
5
5
  /**
6
6
  * The Gaia-X LD Context
7
7
  */
8
- readonly GaiaXLdContext: "https://w3id.org/gaia-x/development";
8
+ readonly ContextRoot: "https://w3id.org/gaia-x/development";
9
9
  };
10
10
  /**
11
11
  * The LD Contexts concerning Gaia-X.
package/docs/changelog.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @twin.org/standards-gaia-x - Changelog
2
2
 
3
+ ## [0.0.1-next.49](https://github.com/twinfoundation/standards/compare/standards-gaia-x-v0.0.1-next.48...standards-gaia-x-v0.0.1-next.49) (2025-06-18)
4
+
5
+
6
+ ### Features
7
+
8
+ * add gaia-x schemas ([54c48df](https://github.com/twinfoundation/standards/commit/54c48df8c3eb0ce74d9b9a887ea81c10110fce76))
9
+
3
10
  ## [0.0.1-next.48](https://github.com/twinfoundation/standards/compare/standards-gaia-x-v0.0.1-next.47...standards-gaia-x-v0.0.1-next.48) (2025-06-11)
4
11
 
5
12
 
@@ -0,0 +1,25 @@
1
+ # Class: GaiaXDataTypes
2
+
3
+ Handle all the data types for Gaia-X.
4
+
5
+ ## Constructors
6
+
7
+ ### Constructor
8
+
9
+ > **new GaiaXDataTypes**(): `GaiaXDataTypes`
10
+
11
+ #### Returns
12
+
13
+ `GaiaXDataTypes`
14
+
15
+ ## Methods
16
+
17
+ ### registerTypes()
18
+
19
+ > `static` **registerTypes**(): `void`
20
+
21
+ Register all the data types.
22
+
23
+ #### Returns
24
+
25
+ `void`
@@ -1,5 +1,9 @@
1
1
  # @twin.org/standards-gaia-x
2
2
 
3
+ ## Classes
4
+
5
+ - [GaiaXDataTypes](classes/GaiaXDataTypes.md)
6
+
3
7
  ## Interfaces
4
8
 
5
9
  - [IAddress](interfaces/IAddress.md)
@@ -9,7 +9,7 @@ https://docs.gaia-x.eu/ontology/development/classes/Address/
9
9
 
10
10
  ## Indexable
11
11
 
12
- \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `string`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string`]: `string`; \}
12
+ \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string`]: `string`; \}
13
13
 
14
14
  ## Properties
15
15
 
@@ -9,7 +9,7 @@ https://docs.gaia-x.eu/ontology/development/classes/DataExchangeComponent
9
9
 
10
10
  ## Indexable
11
11
 
12
- \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `string`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string`]: `string`; \}
12
+ \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string`]: `string`; \}
13
13
 
14
14
  ## Properties
15
15
 
@@ -9,7 +9,7 @@ See also W3C DCAT Dataset https://www.w3.org/TR/vocab-dcat-3/.
9
9
 
10
10
  ## Indexable
11
11
 
12
- \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `string`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string`]: `string`; \}
12
+ \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string`]: `string`; \}
13
13
 
14
14
  ## Properties
15
15
 
@@ -9,7 +9,7 @@ https://docs.gaia-x.eu/ontology/development/classes/Endpoint
9
9
 
10
10
  ## Indexable
11
11
 
12
- \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `string`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string`]: `string`; \}
12
+ \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string`]: `string`; \}
13
13
 
14
14
  ## Properties
15
15
 
@@ -8,7 +8,7 @@ A Legal Person participating in the ecosystem
8
8
 
9
9
  ## Indexable
10
10
 
11
- \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `string`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string`]: `string`; \}
11
+ \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string`]: `string`; \}
12
12
 
13
13
  ## Properties
14
14
 
@@ -9,7 +9,7 @@ https://docs.gaia-x.eu/ontology/development/classes/RegistrationNumber/
9
9
 
10
10
  ## Indexable
11
11
 
12
- \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `string`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string`]: `string`; \}
12
+ \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string`]: `string`; \}
13
13
 
14
14
  ## Properties
15
15
 
@@ -8,7 +8,7 @@ A Service offering
8
8
 
9
9
  ## Indexable
10
10
 
11
- \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `string`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string`]: `string`; \}
11
+ \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string`]: `string`; \}
12
12
 
13
13
  ## Properties
14
14
 
@@ -1,5 +1,5 @@
1
1
  # Type Alias: GaiaXContextType
2
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[]`\]
3
+ > **GaiaXContextType** = *typeof* [`ContextRoot`](../variables/GaiaXContexts.md#contextroot) \| \[`...IJsonLdContextDefinitionElement[]`, *typeof* [`ContextRoot`](../variables/GaiaXContexts.md#contextroot), `IJsonLdContextDefinitionElement`\] \| \[`IJsonLdContextDefinitionElement`, *typeof* [`ContextRoot`](../variables/GaiaXContexts.md#contextroot), `...IJsonLdContextDefinitionElement[]`\]
4
4
 
5
5
  The Gaia-X JSON-LD context type.
@@ -6,8 +6,8 @@ The LD Contexts concerning Gaia-X.
6
6
 
7
7
  ## Type declaration
8
8
 
9
- ### GaiaXLdContext
9
+ ### ContextRoot
10
10
 
11
- > `readonly` **GaiaXLdContext**: `"https://w3id.org/gaia-x/development"` = `"https://w3id.org/gaia-x/development"`
11
+ > `readonly` **ContextRoot**: `"https://w3id.org/gaia-x/development"` = `"https://w3id.org/gaia-x/development"`
12
12
 
13
13
  The Gaia-X LD Context
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/standards-gaia-x",
3
- "version": "0.0.1-next.48",
3
+ "version": "0.0.1-next.49",
4
4
  "description": "Models which define the structure of Gaia-x",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,6 +15,7 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@twin.org/core": "next",
18
+ "@twin.org/data-core": "next",
18
19
  "@twin.org/data-json-ld": "next"
19
20
  },
20
21
  "main": "./dist/cjs/index.cjs",