@twin.org/standards-gaia-x 0.0.1-next.25
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/LICENSE +201 -0
- package/README.md +21 -0
- package/dist/cjs/index.cjs +82 -0
- package/dist/esm/index.mjs +79 -0
- package/dist/types/index.d.ts +9 -0
- package/dist/types/models/IAddress.d.ts +16 -0
- package/dist/types/models/IDataExchangeComponent.d.ts +12 -0
- package/dist/types/models/IDataResource.d.ts +55 -0
- package/dist/types/models/IEndpoint.d.ts +27 -0
- package/dist/types/models/IParticipant.d.ts +35 -0
- package/dist/types/models/IRegistrationNumber.d.ts +49 -0
- package/dist/types/models/IServiceOffering.d.ts +55 -0
- package/dist/types/models/gaiaXContexts.d.ts +17 -0
- package/dist/types/models/gaiaXTypes.d.ts +61 -0
- package/docs/changelog.md +5 -0
- package/docs/examples.md +1 -0
- package/docs/reference/index.md +21 -0
- package/docs/reference/interfaces/IAddress.md +28 -0
- package/docs/reference/interfaces/IDataExchangeComponent.md +20 -0
- package/docs/reference/interfaces/IDataResource.md +98 -0
- package/docs/reference/interfaces/IEndpoint.md +44 -0
- package/docs/reference/interfaces/IParticipant.md +63 -0
- package/docs/reference/interfaces/IRegistrationNumber.md +93 -0
- package/docs/reference/interfaces/IServiceOffering.md +89 -0
- package/docs/reference/type-aliases/GaiaXContexts.md +5 -0
- package/docs/reference/type-aliases/GaiaXTypes.md +5 -0
- package/docs/reference/variables/GaiaXContexts.md +19 -0
- package/docs/reference/variables/GaiaXTypes.md +85 -0
- package/locales/en.json +1 -0
- package/package.json +37 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The types concerning Gaia-X.
|
|
3
|
+
*/
|
|
4
|
+
export declare const GaiaXTypes: {
|
|
5
|
+
/**
|
|
6
|
+
* Data Resource
|
|
7
|
+
*/
|
|
8
|
+
readonly DataResource: "DataResource";
|
|
9
|
+
/**
|
|
10
|
+
* Service Offering Type
|
|
11
|
+
*/
|
|
12
|
+
readonly ServiceOffering: "ServiceOffering";
|
|
13
|
+
/**
|
|
14
|
+
* Participant
|
|
15
|
+
*/
|
|
16
|
+
readonly Participant: "LegalPerson";
|
|
17
|
+
/**
|
|
18
|
+
* Data Exchange Component
|
|
19
|
+
*/
|
|
20
|
+
readonly DataExchangeComponent: "DataExchangeComponent";
|
|
21
|
+
/**
|
|
22
|
+
* Address
|
|
23
|
+
*/
|
|
24
|
+
readonly Address: "Address";
|
|
25
|
+
/**
|
|
26
|
+
* Endpoint
|
|
27
|
+
*/
|
|
28
|
+
readonly Endpoint: "Endpoint";
|
|
29
|
+
/**
|
|
30
|
+
* Registration number
|
|
31
|
+
*/
|
|
32
|
+
readonly RegistrationNumber: "RegistrationNumber";
|
|
33
|
+
/**
|
|
34
|
+
* Local Registration number
|
|
35
|
+
*/
|
|
36
|
+
readonly LocalRegistrationNumber: "LocalRegistrationNumber";
|
|
37
|
+
/**
|
|
38
|
+
* EORI
|
|
39
|
+
*/
|
|
40
|
+
readonly EORI: "EORI";
|
|
41
|
+
/**
|
|
42
|
+
* VAT ID
|
|
43
|
+
*/
|
|
44
|
+
readonly VatID: "VatID";
|
|
45
|
+
/**
|
|
46
|
+
* EU ID
|
|
47
|
+
*/
|
|
48
|
+
readonly EUID: "EUID";
|
|
49
|
+
/**
|
|
50
|
+
* GLEIF LEI code.
|
|
51
|
+
*/
|
|
52
|
+
readonly LeiCode: "LeiCode";
|
|
53
|
+
/**
|
|
54
|
+
* Tax Id.
|
|
55
|
+
*/
|
|
56
|
+
readonly TaxID: "TaxID";
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* The types concerning Gaia-X.
|
|
60
|
+
*/
|
|
61
|
+
export type GaiaXTypes = (typeof GaiaXTypes)[keyof typeof GaiaXTypes];
|
package/docs/examples.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# @twin.org/standards-gaia-x - Examples
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# @twin.org/standards-gaia-x
|
|
2
|
+
|
|
3
|
+
## Interfaces
|
|
4
|
+
|
|
5
|
+
- [IAddress](interfaces/IAddress.md)
|
|
6
|
+
- [IDataExchangeComponent](interfaces/IDataExchangeComponent.md)
|
|
7
|
+
- [IDataResource](interfaces/IDataResource.md)
|
|
8
|
+
- [IEndpoint](interfaces/IEndpoint.md)
|
|
9
|
+
- [IParticipant](interfaces/IParticipant.md)
|
|
10
|
+
- [IRegistrationNumber](interfaces/IRegistrationNumber.md)
|
|
11
|
+
- [IServiceOffering](interfaces/IServiceOffering.md)
|
|
12
|
+
|
|
13
|
+
## Type Aliases
|
|
14
|
+
|
|
15
|
+
- [GaiaXContexts](type-aliases/GaiaXContexts.md)
|
|
16
|
+
- [GaiaXTypes](type-aliases/GaiaXTypes.md)
|
|
17
|
+
|
|
18
|
+
## Variables
|
|
19
|
+
|
|
20
|
+
- [GaiaXContexts](variables/GaiaXContexts.md)
|
|
21
|
+
- [GaiaXTypes](variables/GaiaXTypes.md)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Interface: IAddress
|
|
2
|
+
|
|
3
|
+
Address as defined by Gaia-X
|
|
4
|
+
https://docs.gaia-x.eu/ontology/development/classes/Address/
|
|
5
|
+
|
|
6
|
+
## Extends
|
|
7
|
+
|
|
8
|
+
- `IJsonLdNodeObject`
|
|
9
|
+
|
|
10
|
+
## Indexable
|
|
11
|
+
|
|
12
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdIdMap` \| `IJsonLdNodeObject` \| `IJsonLdListObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdSetObject` \| `IJsonLdJsonObject` \| `IJsonLdIndexMap` \| `IJsonLdLanguageMap` \| `IJsonLdGraphObject` \| `IJsonLdNodeObject`[] \| `IJsonLdJsonObject`[] \| \{\} \| `IJsonLdTypeMap` \| `IJsonLdNodePrimitive`[]
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### type
|
|
17
|
+
|
|
18
|
+
> **type**: `undefined` \| `"Address"`
|
|
19
|
+
|
|
20
|
+
JSON-LD @ type. In this case it is allowed to be omitted as it is usually a child node.
|
|
21
|
+
|
|
22
|
+
***
|
|
23
|
+
|
|
24
|
+
### countryCode
|
|
25
|
+
|
|
26
|
+
> **countryCode**: `string` \| `number`
|
|
27
|
+
|
|
28
|
+
Country code in ISO 3166-1 alpha2, alpha-3 or numeric format
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Interface: IDataExchangeComponent
|
|
2
|
+
|
|
3
|
+
Data Exchange component as defined by Gaia-X
|
|
4
|
+
https://docs.gaia-x.eu/ontology/development/classes/DataExchangeComponent
|
|
5
|
+
|
|
6
|
+
## Extends
|
|
7
|
+
|
|
8
|
+
- `IJsonLdNodeObject`
|
|
9
|
+
|
|
10
|
+
## Indexable
|
|
11
|
+
|
|
12
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdIdMap` \| `IJsonLdNodeObject` \| `IJsonLdListObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdSetObject` \| `IJsonLdJsonObject` \| `IJsonLdIndexMap` \| `IJsonLdLanguageMap` \| `IJsonLdGraphObject` \| `IJsonLdNodeObject`[] \| `IJsonLdJsonObject`[] \| \{\} \| `IJsonLdTypeMap` \| `IJsonLdNodePrimitive`[]
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### type
|
|
17
|
+
|
|
18
|
+
> **type**: `"DataExchangeComponent"` \| \[`"DataExchangeComponent"`, `...string[]`\]
|
|
19
|
+
|
|
20
|
+
The type of JSON-LD node
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# Interface: IDataResource
|
|
2
|
+
|
|
3
|
+
A Data Resource as defined by Gaia-X.
|
|
4
|
+
See also W3C DCAT Dataset https://www.w3.org/TR/vocab-dcat-3/.
|
|
5
|
+
|
|
6
|
+
## Extends
|
|
7
|
+
|
|
8
|
+
- `IJsonLdNodeObject`
|
|
9
|
+
|
|
10
|
+
## Indexable
|
|
11
|
+
|
|
12
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdIdMap` \| `IJsonLdNodeObject` \| `IJsonLdListObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdSetObject` \| `IJsonLdJsonObject` \| `IJsonLdIndexMap` \| `IJsonLdLanguageMap` \| `IJsonLdGraphObject` \| `IJsonLdNodeObject`[] \| `IJsonLdJsonObject`[] \| \{\} \| `IJsonLdTypeMap` \| `IJsonLdNodePrimitive`[]
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### @context
|
|
17
|
+
|
|
18
|
+
> **@context**: `"https://w3id.org/gaia-x/development"` \| \[`"https://w3id.org/gaia-x/development"`, `...IJsonLdContextDefinitionElement[]`\]
|
|
19
|
+
|
|
20
|
+
The LD Context
|
|
21
|
+
|
|
22
|
+
#### Overrides
|
|
23
|
+
|
|
24
|
+
`IJsonLdNodeObject.@context`
|
|
25
|
+
|
|
26
|
+
***
|
|
27
|
+
|
|
28
|
+
### id
|
|
29
|
+
|
|
30
|
+
> **id**: `string`
|
|
31
|
+
|
|
32
|
+
Subject Id
|
|
33
|
+
|
|
34
|
+
***
|
|
35
|
+
|
|
36
|
+
### type
|
|
37
|
+
|
|
38
|
+
> **type**: `"DataResource"`
|
|
39
|
+
|
|
40
|
+
Subject type
|
|
41
|
+
|
|
42
|
+
***
|
|
43
|
+
|
|
44
|
+
### description?
|
|
45
|
+
|
|
46
|
+
> `optional` **description**: `string`
|
|
47
|
+
|
|
48
|
+
Description
|
|
49
|
+
|
|
50
|
+
***
|
|
51
|
+
|
|
52
|
+
### name
|
|
53
|
+
|
|
54
|
+
> **name**: `string`
|
|
55
|
+
|
|
56
|
+
The Resource Name
|
|
57
|
+
|
|
58
|
+
***
|
|
59
|
+
|
|
60
|
+
### exposedThrough
|
|
61
|
+
|
|
62
|
+
> **exposedThrough**: `string` \| [`IDataExchangeComponent`](IDataExchangeComponent.md) \| `IJsonLdNodeObject` & `object`
|
|
63
|
+
|
|
64
|
+
Exposed through a Data Exchange Component.
|
|
65
|
+
'string' in case just an Id pointing to the Data Exchange Component is supplied
|
|
66
|
+
the third case covers the idiom where a JSON-LD Node is supplied with id and type.
|
|
67
|
+
|
|
68
|
+
***
|
|
69
|
+
|
|
70
|
+
### producedBy
|
|
71
|
+
|
|
72
|
+
> **producedBy**: `string`
|
|
73
|
+
|
|
74
|
+
Who is the data producer
|
|
75
|
+
|
|
76
|
+
***
|
|
77
|
+
|
|
78
|
+
### license
|
|
79
|
+
|
|
80
|
+
> **license**: `string`
|
|
81
|
+
|
|
82
|
+
Pointer (URL) to the license
|
|
83
|
+
|
|
84
|
+
***
|
|
85
|
+
|
|
86
|
+
### copyrightOwnedBy
|
|
87
|
+
|
|
88
|
+
> **copyrightOwnedBy**: `string`
|
|
89
|
+
|
|
90
|
+
Copyright owner
|
|
91
|
+
|
|
92
|
+
***
|
|
93
|
+
|
|
94
|
+
### resourcePolicy
|
|
95
|
+
|
|
96
|
+
> **resourcePolicy**: `IJsonLdNodeObject`
|
|
97
|
+
|
|
98
|
+
ODRL Policy
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Interface: IEndpoint
|
|
2
|
+
|
|
3
|
+
Endpoint as defined by the Gaia-X ontology.
|
|
4
|
+
https://docs.gaia-x.eu/ontology/development/classes/Endpoint
|
|
5
|
+
|
|
6
|
+
## Extends
|
|
7
|
+
|
|
8
|
+
- `IJsonLdNodeObject`
|
|
9
|
+
|
|
10
|
+
## Indexable
|
|
11
|
+
|
|
12
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdIdMap` \| `IJsonLdNodeObject` \| `IJsonLdListObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdSetObject` \| `IJsonLdJsonObject` \| `IJsonLdIndexMap` \| `IJsonLdLanguageMap` \| `IJsonLdGraphObject` \| `IJsonLdNodeObject`[] \| `IJsonLdJsonObject`[] \| \{\} \| `IJsonLdTypeMap` \| `IJsonLdNodePrimitive`[]
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### type
|
|
17
|
+
|
|
18
|
+
> **type**: `undefined` \| `"Endpoint"`
|
|
19
|
+
|
|
20
|
+
The type of JSON-LD node. In this case it is allowed to be omitted as it is usually a child node.
|
|
21
|
+
|
|
22
|
+
***
|
|
23
|
+
|
|
24
|
+
### endpointURL
|
|
25
|
+
|
|
26
|
+
> **endpointURL**: `string`
|
|
27
|
+
|
|
28
|
+
The endpoint URL
|
|
29
|
+
|
|
30
|
+
***
|
|
31
|
+
|
|
32
|
+
### formalDescription?
|
|
33
|
+
|
|
34
|
+
> `optional` **formalDescription**: `string`
|
|
35
|
+
|
|
36
|
+
The formal description
|
|
37
|
+
|
|
38
|
+
***
|
|
39
|
+
|
|
40
|
+
### standardConformity?
|
|
41
|
+
|
|
42
|
+
> `optional` **standardConformity**: `IJsonLdNodeObject`
|
|
43
|
+
|
|
44
|
+
Standards conformity
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Interface: IParticipant
|
|
2
|
+
|
|
3
|
+
A Legal Person participating in the ecosystem
|
|
4
|
+
|
|
5
|
+
## Extends
|
|
6
|
+
|
|
7
|
+
- `IJsonLdNodeObject`
|
|
8
|
+
|
|
9
|
+
## Indexable
|
|
10
|
+
|
|
11
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdIdMap` \| `IJsonLdNodeObject` \| `IJsonLdListObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdSetObject` \| `IJsonLdJsonObject` \| `IJsonLdIndexMap` \| `IJsonLdLanguageMap` \| `IJsonLdGraphObject` \| `IJsonLdNodeObject`[] \| `IJsonLdJsonObject`[] \| \{\} \| `IJsonLdTypeMap` \| `IJsonLdNodePrimitive`[]
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
### @context
|
|
16
|
+
|
|
17
|
+
> **@context**: `"https://w3id.org/gaia-x/development"` \| \[`"https://w3id.org/gaia-x/development"`, `...IJsonLdContextDefinitionElement[]`\]
|
|
18
|
+
|
|
19
|
+
The LD context
|
|
20
|
+
|
|
21
|
+
#### Overrides
|
|
22
|
+
|
|
23
|
+
`IJsonLdNodeObject.@context`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### id
|
|
28
|
+
|
|
29
|
+
> **id**: `string`
|
|
30
|
+
|
|
31
|
+
The participant Id.
|
|
32
|
+
|
|
33
|
+
***
|
|
34
|
+
|
|
35
|
+
### type
|
|
36
|
+
|
|
37
|
+
> **type**: `"LegalPerson"`
|
|
38
|
+
|
|
39
|
+
JSON-LD type.
|
|
40
|
+
|
|
41
|
+
***
|
|
42
|
+
|
|
43
|
+
### registrationNumber
|
|
44
|
+
|
|
45
|
+
> **registrationNumber**: [`IRegistrationNumber`](IRegistrationNumber.md)
|
|
46
|
+
|
|
47
|
+
The legal registration number.
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### legalName
|
|
52
|
+
|
|
53
|
+
> **legalName**: `string`
|
|
54
|
+
|
|
55
|
+
The legal name.
|
|
56
|
+
|
|
57
|
+
***
|
|
58
|
+
|
|
59
|
+
### legalAddress
|
|
60
|
+
|
|
61
|
+
> **legalAddress**: [`IAddress`](IAddress.md)
|
|
62
|
+
|
|
63
|
+
Legal Address
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# Interface: IRegistrationNumber
|
|
2
|
+
|
|
3
|
+
Registration Number as defined by the Gaia-X ontology.
|
|
4
|
+
https://docs.gaia-x.eu/ontology/development/classes/RegistrationNumber/
|
|
5
|
+
|
|
6
|
+
## Extends
|
|
7
|
+
|
|
8
|
+
- `IJsonLdNodeObject`
|
|
9
|
+
|
|
10
|
+
## Indexable
|
|
11
|
+
|
|
12
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdIdMap` \| `IJsonLdNodeObject` \| `IJsonLdListObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdSetObject` \| `IJsonLdJsonObject` \| `IJsonLdIndexMap` \| `IJsonLdLanguageMap` \| `IJsonLdGraphObject` \| `IJsonLdNodeObject`[] \| `IJsonLdJsonObject`[] \| \{\} \| `IJsonLdTypeMap` \| `IJsonLdNodePrimitive`[]
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### type
|
|
17
|
+
|
|
18
|
+
> **type**: `"RegistrationNumber"` \| `"LocalRegistrationNumber"` \| `"EORI"` \| `"VatID"` \| `"EUID"` \| `"LeiCode"` \| `"TaxID"`
|
|
19
|
+
|
|
20
|
+
JSON-LD Type.
|
|
21
|
+
|
|
22
|
+
***
|
|
23
|
+
|
|
24
|
+
### local?
|
|
25
|
+
|
|
26
|
+
> `optional` **local**: `string`
|
|
27
|
+
|
|
28
|
+
Local Registration.
|
|
29
|
+
|
|
30
|
+
***
|
|
31
|
+
|
|
32
|
+
### countryCode?
|
|
33
|
+
|
|
34
|
+
> `optional` **countryCode**: `string`
|
|
35
|
+
|
|
36
|
+
Country code. See https://docs.gaia-x.eu/ontology/development/enums/CountryNameAlpha2/
|
|
37
|
+
|
|
38
|
+
***
|
|
39
|
+
|
|
40
|
+
### subdivisionCountryCode?
|
|
41
|
+
|
|
42
|
+
> `optional` **subdivisionCountryCode**: `string`
|
|
43
|
+
|
|
44
|
+
Subdivision country code.
|
|
45
|
+
See https://docs.gaia-x.eu/ontology/development/enums/RegionCode/
|
|
46
|
+
|
|
47
|
+
***
|
|
48
|
+
|
|
49
|
+
### vatID?
|
|
50
|
+
|
|
51
|
+
> `optional` **vatID**: `string`
|
|
52
|
+
|
|
53
|
+
The VAT identification number.
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### leiCode?
|
|
58
|
+
|
|
59
|
+
> `optional` **leiCode**: `string`
|
|
60
|
+
|
|
61
|
+
Unique LEI number as defined by GLEIF.
|
|
62
|
+
|
|
63
|
+
***
|
|
64
|
+
|
|
65
|
+
### eori?
|
|
66
|
+
|
|
67
|
+
> `optional` **eori**: `string`
|
|
68
|
+
|
|
69
|
+
The Economic Operators Registration and Identification number (EORI).
|
|
70
|
+
|
|
71
|
+
***
|
|
72
|
+
|
|
73
|
+
### country?
|
|
74
|
+
|
|
75
|
+
> `optional` **country**: `string`
|
|
76
|
+
|
|
77
|
+
The country where the EORI is registered written in plain english
|
|
78
|
+
|
|
79
|
+
***
|
|
80
|
+
|
|
81
|
+
### euid?
|
|
82
|
+
|
|
83
|
+
> `optional` **euid**: `string`
|
|
84
|
+
|
|
85
|
+
The European Unique Identifier (EUID) for business located in the European Ec.
|
|
86
|
+
|
|
87
|
+
***
|
|
88
|
+
|
|
89
|
+
### taxId?
|
|
90
|
+
|
|
91
|
+
> `optional` **taxId**: `string`
|
|
92
|
+
|
|
93
|
+
The company tax ID.
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# Interface: IServiceOffering
|
|
2
|
+
|
|
3
|
+
A Service offering
|
|
4
|
+
|
|
5
|
+
## Extends
|
|
6
|
+
|
|
7
|
+
- `IJsonLdNodeObject`
|
|
8
|
+
|
|
9
|
+
## Indexable
|
|
10
|
+
|
|
11
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdIdMap` \| `IJsonLdNodeObject` \| `IJsonLdListObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdSetObject` \| `IJsonLdJsonObject` \| `IJsonLdIndexMap` \| `IJsonLdLanguageMap` \| `IJsonLdGraphObject` \| `IJsonLdNodeObject`[] \| `IJsonLdJsonObject`[] \| \{\} \| `IJsonLdTypeMap` \| `IJsonLdNodePrimitive`[]
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
### @context
|
|
16
|
+
|
|
17
|
+
> **@context**: `"https://w3id.org/gaia-x/development"` \| \[`"https://w3id.org/gaia-x/development"`, `...IJsonLdContextDefinitionElement[]`\]
|
|
18
|
+
|
|
19
|
+
The LD context
|
|
20
|
+
|
|
21
|
+
#### Overrides
|
|
22
|
+
|
|
23
|
+
`IJsonLdNodeObject.@context`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### id
|
|
28
|
+
|
|
29
|
+
> **id**: `string`
|
|
30
|
+
|
|
31
|
+
Id
|
|
32
|
+
|
|
33
|
+
***
|
|
34
|
+
|
|
35
|
+
### type
|
|
36
|
+
|
|
37
|
+
> **type**: `"ServiceOffering"`
|
|
38
|
+
|
|
39
|
+
Type
|
|
40
|
+
|
|
41
|
+
***
|
|
42
|
+
|
|
43
|
+
### description?
|
|
44
|
+
|
|
45
|
+
> `optional` **description**: `string`
|
|
46
|
+
|
|
47
|
+
Description
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### name
|
|
52
|
+
|
|
53
|
+
> **name**: `string`
|
|
54
|
+
|
|
55
|
+
Name
|
|
56
|
+
|
|
57
|
+
***
|
|
58
|
+
|
|
59
|
+
### providedBy
|
|
60
|
+
|
|
61
|
+
> **providedBy**: `string` \| [`IParticipant`](IParticipant.md) \| `IJsonLdNodeObject` & `object`
|
|
62
|
+
|
|
63
|
+
Participant that provides the offering
|
|
64
|
+
|
|
65
|
+
***
|
|
66
|
+
|
|
67
|
+
### servicePolicy
|
|
68
|
+
|
|
69
|
+
> **servicePolicy**: `IJsonLdNodeObject`
|
|
70
|
+
|
|
71
|
+
ODRL policy associated to the service offering
|
|
72
|
+
|
|
73
|
+
***
|
|
74
|
+
|
|
75
|
+
### aggregationOfResources?
|
|
76
|
+
|
|
77
|
+
> `optional` **aggregationOfResources**: `string`[] \| [`IDataResource`](IDataResource.md)[] \| `IJsonLdNodeObject` & `object`
|
|
78
|
+
|
|
79
|
+
Resources aggregated
|
|
80
|
+
It is supported different representations, inline,
|
|
81
|
+
by reference both providing the URI or a partial JSON-LD Node object
|
|
82
|
+
|
|
83
|
+
***
|
|
84
|
+
|
|
85
|
+
### endpoint
|
|
86
|
+
|
|
87
|
+
> **endpoint**: [`IEndpoint`](IEndpoint.md)
|
|
88
|
+
|
|
89
|
+
The endpoint
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Variable: GaiaXContexts
|
|
2
|
+
|
|
3
|
+
> `const` **GaiaXContexts**: `object`
|
|
4
|
+
|
|
5
|
+
The LD Contexts concerning Gaia-X.
|
|
6
|
+
|
|
7
|
+
## Type declaration
|
|
8
|
+
|
|
9
|
+
### GaiaXLdContext
|
|
10
|
+
|
|
11
|
+
> `readonly` **GaiaXLdContext**: `"https://w3id.org/gaia-x/development"` = `"https://w3id.org/gaia-x/development"`
|
|
12
|
+
|
|
13
|
+
The Gaia-X LD Context
|
|
14
|
+
|
|
15
|
+
### W3IdSecurityJwsLdContext
|
|
16
|
+
|
|
17
|
+
> `readonly` **W3IdSecurityJwsLdContext**: `"https://w3id.org/security/suites/jws-2020/v1"` = `"https://w3id.org/security/suites/jws-2020/v1"`
|
|
18
|
+
|
|
19
|
+
The W3id security LD Context
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# Variable: GaiaXTypes
|
|
2
|
+
|
|
3
|
+
> `const` **GaiaXTypes**: `object`
|
|
4
|
+
|
|
5
|
+
The types concerning Gaia-X.
|
|
6
|
+
|
|
7
|
+
## Type declaration
|
|
8
|
+
|
|
9
|
+
### DataResource
|
|
10
|
+
|
|
11
|
+
> `readonly` **DataResource**: `"DataResource"` = `"DataResource"`
|
|
12
|
+
|
|
13
|
+
Data Resource
|
|
14
|
+
|
|
15
|
+
### ServiceOffering
|
|
16
|
+
|
|
17
|
+
> `readonly` **ServiceOffering**: `"ServiceOffering"` = `"ServiceOffering"`
|
|
18
|
+
|
|
19
|
+
Service Offering Type
|
|
20
|
+
|
|
21
|
+
### Participant
|
|
22
|
+
|
|
23
|
+
> `readonly` **Participant**: `"LegalPerson"` = `"LegalPerson"`
|
|
24
|
+
|
|
25
|
+
Participant
|
|
26
|
+
|
|
27
|
+
### DataExchangeComponent
|
|
28
|
+
|
|
29
|
+
> `readonly` **DataExchangeComponent**: `"DataExchangeComponent"` = `"DataExchangeComponent"`
|
|
30
|
+
|
|
31
|
+
Data Exchange Component
|
|
32
|
+
|
|
33
|
+
### Address
|
|
34
|
+
|
|
35
|
+
> `readonly` **Address**: `"Address"` = `"Address"`
|
|
36
|
+
|
|
37
|
+
Address
|
|
38
|
+
|
|
39
|
+
### Endpoint
|
|
40
|
+
|
|
41
|
+
> `readonly` **Endpoint**: `"Endpoint"` = `"Endpoint"`
|
|
42
|
+
|
|
43
|
+
Endpoint
|
|
44
|
+
|
|
45
|
+
### RegistrationNumber
|
|
46
|
+
|
|
47
|
+
> `readonly` **RegistrationNumber**: `"RegistrationNumber"` = `"RegistrationNumber"`
|
|
48
|
+
|
|
49
|
+
Registration number
|
|
50
|
+
|
|
51
|
+
### LocalRegistrationNumber
|
|
52
|
+
|
|
53
|
+
> `readonly` **LocalRegistrationNumber**: `"LocalRegistrationNumber"` = `"LocalRegistrationNumber"`
|
|
54
|
+
|
|
55
|
+
Local Registration number
|
|
56
|
+
|
|
57
|
+
### EORI
|
|
58
|
+
|
|
59
|
+
> `readonly` **EORI**: `"EORI"` = `"EORI"`
|
|
60
|
+
|
|
61
|
+
EORI
|
|
62
|
+
|
|
63
|
+
### VatID
|
|
64
|
+
|
|
65
|
+
> `readonly` **VatID**: `"VatID"` = `"VatID"`
|
|
66
|
+
|
|
67
|
+
VAT ID
|
|
68
|
+
|
|
69
|
+
### EUID
|
|
70
|
+
|
|
71
|
+
> `readonly` **EUID**: `"EUID"` = `"EUID"`
|
|
72
|
+
|
|
73
|
+
EU ID
|
|
74
|
+
|
|
75
|
+
### LeiCode
|
|
76
|
+
|
|
77
|
+
> `readonly` **LeiCode**: `"LeiCode"` = `"LeiCode"`
|
|
78
|
+
|
|
79
|
+
GLEIF LEI code.
|
|
80
|
+
|
|
81
|
+
### TaxID
|
|
82
|
+
|
|
83
|
+
> `readonly` **TaxID**: `"TaxID"` = `"TaxID"`
|
|
84
|
+
|
|
85
|
+
Tax Id.
|
package/locales/en.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
package/package.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@twin.org/standards-gaia-x",
|
|
3
|
+
"version": "0.0.1-next.25",
|
|
4
|
+
"description": "Models which define the structure of Gaia-x",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/twinfoundation/standards.git",
|
|
8
|
+
"directory": "packages/standards-gaia-x"
|
|
9
|
+
},
|
|
10
|
+
"author": "jose.cantera@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
|
+
},
|
|
19
|
+
"main": "./dist/cjs/index.cjs",
|
|
20
|
+
"module": "./dist/esm/index.mjs",
|
|
21
|
+
"types": "./dist/types/index.d.ts",
|
|
22
|
+
"exports": {
|
|
23
|
+
".": {
|
|
24
|
+
"types": "./dist/types/index.d.ts",
|
|
25
|
+
"require": "./dist/cjs/index.cjs",
|
|
26
|
+
"import": "./dist/esm/index.mjs"
|
|
27
|
+
},
|
|
28
|
+
"./locales/*.json": "./locales/*.json"
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"dist/cjs",
|
|
32
|
+
"dist/esm",
|
|
33
|
+
"dist/types",
|
|
34
|
+
"locales",
|
|
35
|
+
"docs"
|
|
36
|
+
]
|
|
37
|
+
}
|