@twin.org/standards-gaia-x 0.0.3-next.6 → 0.0.3-next.8
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/es/index.js +7 -7
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/IGaiaXAddress.js +2 -0
- package/dist/es/models/IGaiaXAddress.js.map +1 -0
- package/dist/es/models/IGaiaXDataExchangeComponent.js +2 -0
- package/dist/es/models/IGaiaXDataExchangeComponent.js.map +1 -0
- package/dist/es/models/IGaiaXDataResource.js +2 -0
- package/dist/es/models/IGaiaXDataResource.js.map +1 -0
- package/dist/es/models/IGaiaXEndpoint.js +2 -0
- package/dist/es/models/IGaiaXEndpoint.js.map +1 -0
- package/dist/es/models/IGaiaXLegalPerson.js +2 -0
- package/dist/es/models/IGaiaXLegalPerson.js.map +1 -0
- package/dist/es/models/IGaiaXRegistrationNumber.js +2 -0
- package/dist/es/models/IGaiaXRegistrationNumber.js.map +1 -0
- package/dist/es/models/IGaiaXServiceOffering.js +2 -0
- package/dist/es/models/IGaiaXServiceOffering.js.map +1 -0
- package/dist/types/index.d.ts +7 -7
- package/dist/types/models/{IAddress.d.ts → IGaiaXAddress.d.ts} +1 -1
- package/dist/types/models/{IDataExchangeComponent.d.ts → IGaiaXDataExchangeComponent.d.ts} +1 -1
- package/dist/types/models/{IDataResource.d.ts → IGaiaXDataResource.d.ts} +6 -6
- package/dist/types/models/{IEndpoint.d.ts → IGaiaXEndpoint.d.ts} +1 -1
- package/dist/types/models/{ILegalPerson.d.ts → IGaiaXLegalPerson.d.ts} +6 -6
- package/dist/types/models/{IRegistrationNumber.d.ts → IGaiaXRegistrationNumber.d.ts} +1 -1
- package/dist/types/models/{IServiceOffering.d.ts → IGaiaXServiceOffering.d.ts} +7 -7
- package/docs/changelog.md +28 -0
- package/docs/reference/index.md +7 -7
- package/docs/reference/interfaces/{IAddress.md → IGaiaXAddress.md} +1 -1
- package/docs/reference/interfaces/{IDataExchangeComponent.md → IGaiaXDataExchangeComponent.md} +1 -1
- package/docs/reference/interfaces/{IDataResource.md → IGaiaXDataResource.md} +4 -4
- package/docs/reference/interfaces/{IEndpoint.md → IGaiaXEndpoint.md} +1 -1
- package/docs/reference/interfaces/{ILegalPerson.md → IGaiaXLegalPerson.md} +4 -4
- package/docs/reference/interfaces/{IRegistrationNumber.md → IGaiaXRegistrationNumber.md} +1 -1
- package/docs/reference/interfaces/{IServiceOffering.md → IGaiaXServiceOffering.md} +4 -4
- package/package.json +2 -2
- package/dist/es/models/IAddress.js +0 -2
- package/dist/es/models/IAddress.js.map +0 -1
- package/dist/es/models/IDataExchangeComponent.js +0 -2
- package/dist/es/models/IDataExchangeComponent.js.map +0 -1
- package/dist/es/models/IDataResource.js +0 -2
- package/dist/es/models/IDataResource.js.map +0 -1
- package/dist/es/models/IEndpoint.js +0 -2
- package/dist/es/models/IEndpoint.js.map +0 -1
- package/dist/es/models/ILegalPerson.js +0 -2
- package/dist/es/models/ILegalPerson.js.map +0 -1
- package/dist/es/models/IRegistrationNumber.js +0 -2
- package/dist/es/models/IRegistrationNumber.js.map +0 -1
- package/dist/es/models/IServiceOffering.js +0 -2
- package/dist/es/models/IServiceOffering.js.map +0 -1
package/dist/es/index.js
CHANGED
|
@@ -4,11 +4,11 @@ export * from "./dataTypes/gaiaXDataTypes.js";
|
|
|
4
4
|
export * from "./models/gaiaXContexts.js";
|
|
5
5
|
export * from "./models/gaiaXContextType.js";
|
|
6
6
|
export * from "./models/gaiaXTypes.js";
|
|
7
|
-
export * from "./models/
|
|
8
|
-
export * from "./models/
|
|
9
|
-
export * from "./models/
|
|
10
|
-
export * from "./models/
|
|
11
|
-
export * from "./models/
|
|
12
|
-
export * from "./models/
|
|
13
|
-
export * from "./models/
|
|
7
|
+
export * from "./models/IGaiaXAddress.js";
|
|
8
|
+
export * from "./models/IGaiaXDataExchangeComponent.js";
|
|
9
|
+
export * from "./models/IGaiaXDataResource.js";
|
|
10
|
+
export * from "./models/IGaiaXEndpoint.js";
|
|
11
|
+
export * from "./models/IGaiaXLegalPerson.js";
|
|
12
|
+
export * from "./models/IGaiaXRegistrationNumber.js";
|
|
13
|
+
export * from "./models/IGaiaXServiceOffering.js";
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
package/dist/es/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yCAAyC,CAAC;AACxD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nexport * from \"./dataTypes/gaiaXDataTypes.js\";\nexport * from \"./models/gaiaXContexts.js\";\nexport * from \"./models/gaiaXContextType.js\";\nexport * from \"./models/gaiaXTypes.js\";\nexport * from \"./models/IGaiaXAddress.js\";\nexport * from \"./models/IGaiaXDataExchangeComponent.js\";\nexport * from \"./models/IGaiaXDataResource.js\";\nexport * from \"./models/IGaiaXEndpoint.js\";\nexport * from \"./models/IGaiaXLegalPerson.js\";\nexport * from \"./models/IGaiaXRegistrationNumber.js\";\nexport * from \"./models/IGaiaXServiceOffering.js\";\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IGaiaXAddress.js","sourceRoot":"","sources":["../../../src/models/IGaiaXAddress.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { GaiaXTypes } from \"./gaiaXTypes.js\";\n\n/**\n * Address as defined by Gaia-X\n * https://docs.gaia-x.eu/ontology/development/classes/Address/\n */\nexport interface IGaiaXAddress extends IJsonLdNodeObject {\n\t/**\n\t * JSON-LD @ type. In this case it is allowed to be omitted as it is usually a child node.\n\t */\n\ttype: typeof GaiaXTypes.Address | undefined;\n\n\t/**\n\t * Country code in ISO 3166-1 alpha2, alpha-3 or numeric format\n\t */\n\tcountryCode: string | number;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IGaiaXDataExchangeComponent.js","sourceRoot":"","sources":["../../../src/models/IGaiaXDataExchangeComponent.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { GaiaXContextType } from \"./gaiaXContextType.js\";\nimport type { GaiaXTypes } from \"./gaiaXTypes.js\";\n\n/**\n * Data Exchange component as defined by Gaia-X\n * https://docs.gaia-x.eu/ontology/development/classes/DataExchangeComponent\n */\nexport interface IGaiaXDataExchangeComponent extends IJsonLdNodeObject {\n\t/**\n\t * The LD Context\n\t */\n\t\"@context\": GaiaXContextType;\n\n\t/**\n\t * The type of JSON-LD node\n\t */\n\ttype:\n\t\t| typeof GaiaXTypes.DataExchangeComponent\n\t\t| [typeof GaiaXTypes.DataExchangeComponent, ...string[]];\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IGaiaXDataResource.js","sourceRoot":"","sources":["../../../src/models/IGaiaXDataResource.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { IOdrlPolicy } from \"@twin.org/standards-w3c-odrl\";\nimport type { GaiaXContextType } from \"./gaiaXContextType.js\";\nimport type { GaiaXTypes } from \"./gaiaXTypes.js\";\nimport type { IGaiaXDataExchangeComponent } from \"./IGaiaXDataExchangeComponent.js\";\nimport type { IGaiaXEntity } from \"./IGaiaXEntity.js\";\nimport type { IGaiaXLegalPerson } from \"./IGaiaXLegalPerson.js\";\n\n/**\n * A Data Resource as defined by Gaia-X.\n * See also W3C DCAT Dataset https://www.w3.org/TR/vocab-dcat-3/.\n */\nexport interface IGaiaXDataResource extends IGaiaXEntity {\n\t/**\n\t * The LD Context\n\t */\n\t\"@context\": GaiaXContextType;\n\n\t/**\n\t * Subject Id\n\t */\n\tid: string;\n\n\t/**\n\t * Subject type\n\t */\n\ttype: typeof GaiaXTypes.DataResource;\n\n\t/**\n\t * The Resource Name\n\t */\n\tname: string;\n\n\t/**\n\t * Exposed through a Data Exchange Component.\n\t * 'string' in case just an Id pointing to the Data Exchange Component is supplied\n\t * the third case covers the idiom where a JSON-LD Node is supplied with id and type.\n\t */\n\texposedThrough:\n\t\t| IGaiaXDataExchangeComponent\n\t\t| string\n\t\t| (IJsonLdNodeObject & { id: string; type: typeof GaiaXTypes.DataExchangeComponent });\n\n\t/**\n\t * Who is the data producer\n\t */\n\tproducedBy: IGaiaXLegalPerson | string;\n\n\t/**\n\t * Pointer (URL) to the license\n\t */\n\tlicense: string;\n\n\t/**\n\t * Copyright owner\n\t */\n\tcopyrightOwnedBy: IGaiaXLegalPerson | string;\n\n\t/**\n\t * ODRL Policy\n\t */\n\tresourcePolicy: ObjectOrArray<IOdrlPolicy>;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IGaiaXEndpoint.js","sourceRoot":"","sources":["../../../src/models/IGaiaXEndpoint.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { GaiaXTypes } from \"./gaiaXTypes.js\";\n\n/**\n * Endpoint as defined by the Gaia-X ontology.\n * https://docs.gaia-x.eu/ontology/development/classes/Endpoint\n */\nexport interface IGaiaXEndpoint extends IJsonLdNodeObject {\n\t/**\n\t * The type of JSON-LD node. In this case it is allowed to be omitted as it is usually a child node.\n\t */\n\ttype: typeof GaiaXTypes.Endpoint | undefined;\n\n\t/**\n\t * The endpoint URL\n\t */\n\tendpointURL: string;\n\n\t/**\n\t * The formal description\n\t */\n\tformalDescription?: string;\n\n\t/**\n\t * Standards conformity\n\t */\n\tstandardConformity?: IJsonLdNodeObject;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IGaiaXLegalPerson.js","sourceRoot":"","sources":["../../../src/models/IGaiaXLegalPerson.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { GaiaXTypes } from \"./gaiaXTypes.js\";\nimport type { IGaiaXAddress } from \"./IGaiaXAddress.js\";\nimport type { IGaiaXEntity } from \"./IGaiaXEntity.js\";\nimport type { IGaiaXRegistrationNumber } from \"./IGaiaXRegistrationNumber.js\";\n\n/**\n * A Legal Person as defined by Gaia-X.\n * @see https://docs.gaia-x.eu/ontology/development/classes/LegalPerson/.\n */\nexport interface IGaiaXLegalPerson extends IGaiaXEntity {\n\t/**\n\t * JSON-LD type.\n\t */\n\ttype: typeof GaiaXTypes.LegalPerson;\n\n\t/**\n\t * The legal registration number.\n\t * @see https://docs.gaia-x.eu/ontology/development/slots/registrationNumber/\n\t */\n\tregistrationNumber: IGaiaXRegistrationNumber;\n\n\t/**\n\t * The legal name.\n\t */\n\tlegalName: string;\n\n\t/**\n\t * Legal Address\n\t * @see https://docs.gaia-x.eu/ontology/development/slots/legalAddress/\n\t */\n\tlegalAddress: IGaiaXAddress;\n\n\t/**\n\t * Headquarters address.\n\t * @see https://docs.gaia-x.eu/ontology/development/slots/headquartersAddress/\n\t */\n\theadquartersAddress?: IGaiaXAddress;\n\n\t/**\n\t * Parent organization.\n\t * @see https://docs.gaia-x.eu/ontology/development/slots/parentOrganizationOf/\n\t */\n\tparentOrganizationOf?: (IJsonLdNodeObject & {\n\t\tid: string;\n\t\ttype: typeof GaiaXTypes.LegalPerson;\n\t})[];\n\n\t/**\n\t * Sub organization of.\n\t * @see https://docs.gaia-x.eu/ontology/development/slots/parentSubOrganizationOf\n\t */\n\tsubOrganizationOf?: (IJsonLdNodeObject & {\n\t\tid: string;\n\t\ttype: typeof GaiaXTypes.LegalPerson;\n\t})[];\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IGaiaXRegistrationNumber.js","sourceRoot":"","sources":["../../../src/models/IGaiaXRegistrationNumber.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { GaiaXTypes } from \"./gaiaXTypes.js\";\n\n/**\n * Registration Number as defined by the Gaia-X ontology.\n * https://docs.gaia-x.eu/ontology/development/classes/RegistrationNumber/\n */\nexport interface IGaiaXRegistrationNumber extends IJsonLdNodeObject {\n\t/**\n\t * JSON-LD Type.\n\t */\n\ttype:\n\t\t| typeof GaiaXTypes.RegistrationNumber\n\t\t| typeof GaiaXTypes.LocalRegistrationNumber\n\t\t| typeof GaiaXTypes.EORI\n\t\t| typeof GaiaXTypes.EUID\n\t\t| typeof GaiaXTypes.LeiCode\n\t\t| typeof GaiaXTypes.TaxID\n\t\t| typeof GaiaXTypes.VatID;\n\n\t/**\n\t * Local Registration.\n\t */\n\tlocal?: string;\n\n\t/**\n\t * Country code. See https://docs.gaia-x.eu/ontology/development/enums/CountryNameAlpha2/\n\t */\n\tcountryCode?: string;\n\n\t/**\n\t * Subdivision country code.\n\t * See https://docs.gaia-x.eu/ontology/development/enums/RegionCode/\n\t */\n\tsubdivisionCountryCode?: string;\n\n\t/**\n\t * The VAT identification number.\n\t */\n\tvatID?: string;\n\n\t/**\n\t * Unique LEI number as defined by GLEIF.\n\t */\n\tleiCode?: string;\n\n\t/**\n\t * The Economic Operators Registration and Identification number (EORI).\n\t */\n\teori?: string;\n\n\t/**\n\t * The country where the EORI is registered written in plain english\n\t */\n\tcountry?: string;\n\n\t/**\n\t * The European Unique Identifier (EUID) for business located in the European Ec.\n\t */\n\teuid?: string;\n\n\t/**\n\t * The company tax ID.\n\t */\n\ttaxId?: string;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IGaiaXServiceOffering.js","sourceRoot":"","sources":["../../../src/models/IGaiaXServiceOffering.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { IOdrlPolicy } from \"@twin.org/standards-w3c-odrl\";\nimport type { GaiaXTypes } from \"./gaiaXTypes.js\";\nimport type { IGaiaXDataResource } from \"./IGaiaXDataResource.js\";\nimport type { IGaiaXEndpoint } from \"./IGaiaXEndpoint.js\";\nimport type { IGaiaXEntity } from \"./IGaiaXEntity.js\";\nimport type { IGaiaXLegalPerson } from \"./IGaiaXLegalPerson.js\";\n\n/**\n * A Service offering\n */\nexport interface IGaiaXServiceOffering extends IGaiaXEntity {\n\t/**\n\t * Type\n\t */\n\ttype: typeof GaiaXTypes.ServiceOffering;\n\n\t/**\n\t * Name of the Service Offering.\n\t */\n\tname: string;\n\n\t/**\n\t * Participant that provides the offering\n\t */\n\tprovidedBy:\n\t\t| string\n\t\t| IGaiaXLegalPerson\n\t\t| (IJsonLdNodeObject & { id: string; type: typeof GaiaXTypes.LegalPerson });\n\n\t/**\n\t * ODRL policy associated to the service offering\n\t */\n\tservicePolicy: ObjectOrArray<IOdrlPolicy>;\n\n\t/**\n\t * Resources aggregated\n\t * It is supported different representations, inline,\n\t * by reference both providing the URI or a partial JSON-LD Node object\n\t */\n\taggregationOfResources?:\n\t\t| string[]\n\t\t| IGaiaXDataResource[]\n\t\t| (IJsonLdNodeObject & { id: string; type: typeof GaiaXTypes.DataResource });\n\n\t/**\n\t * The endpoint\n\t */\n\tendpoint?: IGaiaXEndpoint;\n}\n"]}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -2,10 +2,10 @@ export * from "./dataTypes/gaiaXDataTypes.js";
|
|
|
2
2
|
export * from "./models/gaiaXContexts.js";
|
|
3
3
|
export * from "./models/gaiaXContextType.js";
|
|
4
4
|
export * from "./models/gaiaXTypes.js";
|
|
5
|
-
export * from "./models/
|
|
6
|
-
export * from "./models/
|
|
7
|
-
export * from "./models/
|
|
8
|
-
export * from "./models/
|
|
9
|
-
export * from "./models/
|
|
10
|
-
export * from "./models/
|
|
11
|
-
export * from "./models/
|
|
5
|
+
export * from "./models/IGaiaXAddress.js";
|
|
6
|
+
export * from "./models/IGaiaXDataExchangeComponent.js";
|
|
7
|
+
export * from "./models/IGaiaXDataResource.js";
|
|
8
|
+
export * from "./models/IGaiaXEndpoint.js";
|
|
9
|
+
export * from "./models/IGaiaXLegalPerson.js";
|
|
10
|
+
export * from "./models/IGaiaXRegistrationNumber.js";
|
|
11
|
+
export * from "./models/IGaiaXServiceOffering.js";
|
|
@@ -4,7 +4,7 @@ import type { GaiaXTypes } from "./gaiaXTypes.js";
|
|
|
4
4
|
* Address as defined by Gaia-X
|
|
5
5
|
* https://docs.gaia-x.eu/ontology/development/classes/Address/
|
|
6
6
|
*/
|
|
7
|
-
export interface
|
|
7
|
+
export interface IGaiaXAddress extends IJsonLdNodeObject {
|
|
8
8
|
/**
|
|
9
9
|
* JSON-LD @ type. In this case it is allowed to be omitted as it is usually a child node.
|
|
10
10
|
*/
|
|
@@ -5,7 +5,7 @@ import type { GaiaXTypes } from "./gaiaXTypes.js";
|
|
|
5
5
|
* Data Exchange component as defined by Gaia-X
|
|
6
6
|
* https://docs.gaia-x.eu/ontology/development/classes/DataExchangeComponent
|
|
7
7
|
*/
|
|
8
|
-
export interface
|
|
8
|
+
export interface IGaiaXDataExchangeComponent extends IJsonLdNodeObject {
|
|
9
9
|
/**
|
|
10
10
|
* The LD Context
|
|
11
11
|
*/
|
|
@@ -3,14 +3,14 @@ import type { IJsonLdNodeObject } from "@twin.org/data-json-ld";
|
|
|
3
3
|
import type { IOdrlPolicy } from "@twin.org/standards-w3c-odrl";
|
|
4
4
|
import type { GaiaXContextType } from "./gaiaXContextType.js";
|
|
5
5
|
import type { GaiaXTypes } from "./gaiaXTypes.js";
|
|
6
|
-
import type {
|
|
6
|
+
import type { IGaiaXDataExchangeComponent } from "./IGaiaXDataExchangeComponent.js";
|
|
7
7
|
import type { IGaiaXEntity } from "./IGaiaXEntity.js";
|
|
8
|
-
import type {
|
|
8
|
+
import type { IGaiaXLegalPerson } from "./IGaiaXLegalPerson.js";
|
|
9
9
|
/**
|
|
10
10
|
* A Data Resource as defined by Gaia-X.
|
|
11
11
|
* See also W3C DCAT Dataset https://www.w3.org/TR/vocab-dcat-3/.
|
|
12
12
|
*/
|
|
13
|
-
export interface
|
|
13
|
+
export interface IGaiaXDataResource extends IGaiaXEntity {
|
|
14
14
|
/**
|
|
15
15
|
* The LD Context
|
|
16
16
|
*/
|
|
@@ -32,14 +32,14 @@ export interface IDataResource extends IGaiaXEntity {
|
|
|
32
32
|
* 'string' in case just an Id pointing to the Data Exchange Component is supplied
|
|
33
33
|
* the third case covers the idiom where a JSON-LD Node is supplied with id and type.
|
|
34
34
|
*/
|
|
35
|
-
exposedThrough:
|
|
35
|
+
exposedThrough: IGaiaXDataExchangeComponent | string | (IJsonLdNodeObject & {
|
|
36
36
|
id: string;
|
|
37
37
|
type: typeof GaiaXTypes.DataExchangeComponent;
|
|
38
38
|
});
|
|
39
39
|
/**
|
|
40
40
|
* Who is the data producer
|
|
41
41
|
*/
|
|
42
|
-
producedBy:
|
|
42
|
+
producedBy: IGaiaXLegalPerson | string;
|
|
43
43
|
/**
|
|
44
44
|
* Pointer (URL) to the license
|
|
45
45
|
*/
|
|
@@ -47,7 +47,7 @@ export interface IDataResource extends IGaiaXEntity {
|
|
|
47
47
|
/**
|
|
48
48
|
* Copyright owner
|
|
49
49
|
*/
|
|
50
|
-
copyrightOwnedBy:
|
|
50
|
+
copyrightOwnedBy: IGaiaXLegalPerson | string;
|
|
51
51
|
/**
|
|
52
52
|
* ODRL Policy
|
|
53
53
|
*/
|
|
@@ -4,7 +4,7 @@ import type { GaiaXTypes } from "./gaiaXTypes.js";
|
|
|
4
4
|
* Endpoint as defined by the Gaia-X ontology.
|
|
5
5
|
* https://docs.gaia-x.eu/ontology/development/classes/Endpoint
|
|
6
6
|
*/
|
|
7
|
-
export interface
|
|
7
|
+
export interface IGaiaXEndpoint extends IJsonLdNodeObject {
|
|
8
8
|
/**
|
|
9
9
|
* The type of JSON-LD node. In this case it is allowed to be omitted as it is usually a child node.
|
|
10
10
|
*/
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { IJsonLdNodeObject } from "@twin.org/data-json-ld";
|
|
2
2
|
import type { GaiaXTypes } from "./gaiaXTypes.js";
|
|
3
|
-
import type {
|
|
3
|
+
import type { IGaiaXAddress } from "./IGaiaXAddress.js";
|
|
4
4
|
import type { IGaiaXEntity } from "./IGaiaXEntity.js";
|
|
5
|
-
import type {
|
|
5
|
+
import type { IGaiaXRegistrationNumber } from "./IGaiaXRegistrationNumber.js";
|
|
6
6
|
/**
|
|
7
7
|
* A Legal Person as defined by Gaia-X.
|
|
8
8
|
* @see https://docs.gaia-x.eu/ontology/development/classes/LegalPerson/.
|
|
9
9
|
*/
|
|
10
|
-
export interface
|
|
10
|
+
export interface IGaiaXLegalPerson extends IGaiaXEntity {
|
|
11
11
|
/**
|
|
12
12
|
* JSON-LD type.
|
|
13
13
|
*/
|
|
@@ -16,7 +16,7 @@ export interface ILegalPerson extends IGaiaXEntity {
|
|
|
16
16
|
* The legal registration number.
|
|
17
17
|
* @see https://docs.gaia-x.eu/ontology/development/slots/registrationNumber/
|
|
18
18
|
*/
|
|
19
|
-
registrationNumber:
|
|
19
|
+
registrationNumber: IGaiaXRegistrationNumber;
|
|
20
20
|
/**
|
|
21
21
|
* The legal name.
|
|
22
22
|
*/
|
|
@@ -25,12 +25,12 @@ export interface ILegalPerson extends IGaiaXEntity {
|
|
|
25
25
|
* Legal Address
|
|
26
26
|
* @see https://docs.gaia-x.eu/ontology/development/slots/legalAddress/
|
|
27
27
|
*/
|
|
28
|
-
legalAddress:
|
|
28
|
+
legalAddress: IGaiaXAddress;
|
|
29
29
|
/**
|
|
30
30
|
* Headquarters address.
|
|
31
31
|
* @see https://docs.gaia-x.eu/ontology/development/slots/headquartersAddress/
|
|
32
32
|
*/
|
|
33
|
-
headquartersAddress?:
|
|
33
|
+
headquartersAddress?: IGaiaXAddress;
|
|
34
34
|
/**
|
|
35
35
|
* Parent organization.
|
|
36
36
|
* @see https://docs.gaia-x.eu/ontology/development/slots/parentOrganizationOf/
|
|
@@ -4,7 +4,7 @@ import type { GaiaXTypes } from "./gaiaXTypes.js";
|
|
|
4
4
|
* Registration Number as defined by the Gaia-X ontology.
|
|
5
5
|
* https://docs.gaia-x.eu/ontology/development/classes/RegistrationNumber/
|
|
6
6
|
*/
|
|
7
|
-
export interface
|
|
7
|
+
export interface IGaiaXRegistrationNumber extends IJsonLdNodeObject {
|
|
8
8
|
/**
|
|
9
9
|
* JSON-LD Type.
|
|
10
10
|
*/
|
|
@@ -2,14 +2,14 @@ import type { ObjectOrArray } from "@twin.org/core";
|
|
|
2
2
|
import type { IJsonLdNodeObject } from "@twin.org/data-json-ld";
|
|
3
3
|
import type { IOdrlPolicy } from "@twin.org/standards-w3c-odrl";
|
|
4
4
|
import type { GaiaXTypes } from "./gaiaXTypes.js";
|
|
5
|
-
import type {
|
|
6
|
-
import type {
|
|
5
|
+
import type { IGaiaXDataResource } from "./IGaiaXDataResource.js";
|
|
6
|
+
import type { IGaiaXEndpoint } from "./IGaiaXEndpoint.js";
|
|
7
7
|
import type { IGaiaXEntity } from "./IGaiaXEntity.js";
|
|
8
|
-
import type {
|
|
8
|
+
import type { IGaiaXLegalPerson } from "./IGaiaXLegalPerson.js";
|
|
9
9
|
/**
|
|
10
10
|
* A Service offering
|
|
11
11
|
*/
|
|
12
|
-
export interface
|
|
12
|
+
export interface IGaiaXServiceOffering extends IGaiaXEntity {
|
|
13
13
|
/**
|
|
14
14
|
* Type
|
|
15
15
|
*/
|
|
@@ -21,7 +21,7 @@ export interface IServiceOffering extends IGaiaXEntity {
|
|
|
21
21
|
/**
|
|
22
22
|
* Participant that provides the offering
|
|
23
23
|
*/
|
|
24
|
-
providedBy: string |
|
|
24
|
+
providedBy: string | IGaiaXLegalPerson | (IJsonLdNodeObject & {
|
|
25
25
|
id: string;
|
|
26
26
|
type: typeof GaiaXTypes.LegalPerson;
|
|
27
27
|
});
|
|
@@ -34,12 +34,12 @@ export interface IServiceOffering extends IGaiaXEntity {
|
|
|
34
34
|
* It is supported different representations, inline,
|
|
35
35
|
* by reference both providing the URI or a partial JSON-LD Node object
|
|
36
36
|
*/
|
|
37
|
-
aggregationOfResources?: string[] |
|
|
37
|
+
aggregationOfResources?: string[] | IGaiaXDataResource[] | (IJsonLdNodeObject & {
|
|
38
38
|
id: string;
|
|
39
39
|
type: typeof GaiaXTypes.DataResource;
|
|
40
40
|
});
|
|
41
41
|
/**
|
|
42
42
|
* The endpoint
|
|
43
43
|
*/
|
|
44
|
-
endpoint?:
|
|
44
|
+
endpoint?: IGaiaXEndpoint;
|
|
45
45
|
}
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @twin.org/standards-gaia-x - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.3-next.8](https://github.com/twinfoundation/standards/compare/standards-gaia-x-v0.0.3-next.7...standards-gaia-x-v0.0.3-next.8) (2026-01-08)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **standards-gaia-x:** Synchronize repo versions
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/standards-w3c-odrl bumped from 0.0.3-next.7 to 0.0.3-next.8
|
|
16
|
+
|
|
17
|
+
## [0.0.3-next.7](https://github.com/twinfoundation/standards/compare/standards-gaia-x-v0.0.3-next.6...standards-gaia-x-v0.0.3-next.7) (2026-01-06)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* update type names ([#89](https://github.com/twinfoundation/standards/issues/89)) ([6fdef47](https://github.com/twinfoundation/standards/commit/6fdef4792151f89d1a95a07da8309d05a7b6de3d))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Dependencies
|
|
26
|
+
|
|
27
|
+
* The following workspace dependencies were updated
|
|
28
|
+
* dependencies
|
|
29
|
+
* @twin.org/standards-w3c-odrl bumped from 0.0.3-next.6 to 0.0.3-next.7
|
|
30
|
+
|
|
3
31
|
## [0.0.3-next.6](https://github.com/twinfoundation/standards/compare/standards-gaia-x-v0.0.3-next.5...standards-gaia-x-v0.0.3-next.6) (2025-12-03)
|
|
4
32
|
|
|
5
33
|
|
package/docs/reference/index.md
CHANGED
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
|
|
7
7
|
## Interfaces
|
|
8
8
|
|
|
9
|
-
- [
|
|
10
|
-
- [
|
|
11
|
-
- [
|
|
12
|
-
- [
|
|
13
|
-
- [
|
|
14
|
-
- [
|
|
15
|
-
- [
|
|
9
|
+
- [IGaiaXAddress](interfaces/IGaiaXAddress.md)
|
|
10
|
+
- [IGaiaXDataExchangeComponent](interfaces/IGaiaXDataExchangeComponent.md)
|
|
11
|
+
- [IGaiaXDataResource](interfaces/IGaiaXDataResource.md)
|
|
12
|
+
- [IGaiaXEndpoint](interfaces/IGaiaXEndpoint.md)
|
|
13
|
+
- [IGaiaXLegalPerson](interfaces/IGaiaXLegalPerson.md)
|
|
14
|
+
- [IGaiaXRegistrationNumber](interfaces/IGaiaXRegistrationNumber.md)
|
|
15
|
+
- [IGaiaXServiceOffering](interfaces/IGaiaXServiceOffering.md)
|
|
16
16
|
|
|
17
17
|
## Type Aliases
|
|
18
18
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Interface:
|
|
1
|
+
# Interface: IGaiaXDataResource
|
|
2
2
|
|
|
3
3
|
A Data Resource as defined by Gaia-X.
|
|
4
4
|
See also W3C DCAT Dataset https://www.w3.org/TR/vocab-dcat-3/.
|
|
@@ -59,7 +59,7 @@ The Resource Name
|
|
|
59
59
|
|
|
60
60
|
### exposedThrough
|
|
61
61
|
|
|
62
|
-
> **exposedThrough**: `string` \| [`
|
|
62
|
+
> **exposedThrough**: `string` \| [`IGaiaXDataExchangeComponent`](IGaiaXDataExchangeComponent.md) \| `IJsonLdNodeObject` & `object`
|
|
63
63
|
|
|
64
64
|
Exposed through a Data Exchange Component.
|
|
65
65
|
'string' in case just an Id pointing to the Data Exchange Component is supplied
|
|
@@ -69,7 +69,7 @@ the third case covers the idiom where a JSON-LD Node is supplied with id and typ
|
|
|
69
69
|
|
|
70
70
|
### producedBy
|
|
71
71
|
|
|
72
|
-
> **producedBy**: `string` \| [`
|
|
72
|
+
> **producedBy**: `string` \| [`IGaiaXLegalPerson`](IGaiaXLegalPerson.md)
|
|
73
73
|
|
|
74
74
|
Who is the data producer
|
|
75
75
|
|
|
@@ -85,7 +85,7 @@ Pointer (URL) to the license
|
|
|
85
85
|
|
|
86
86
|
### copyrightOwnedBy
|
|
87
87
|
|
|
88
|
-
> **copyrightOwnedBy**: `string` \| [`
|
|
88
|
+
> **copyrightOwnedBy**: `string` \| [`IGaiaXLegalPerson`](IGaiaXLegalPerson.md)
|
|
89
89
|
|
|
90
90
|
Copyright owner
|
|
91
91
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Interface:
|
|
1
|
+
# Interface: IGaiaXLegalPerson
|
|
2
2
|
|
|
3
3
|
A Legal Person as defined by Gaia-X.
|
|
4
4
|
|
|
@@ -74,7 +74,7 @@ JSON-LD type.
|
|
|
74
74
|
|
|
75
75
|
### registrationNumber
|
|
76
76
|
|
|
77
|
-
> **registrationNumber**: [`
|
|
77
|
+
> **registrationNumber**: [`IGaiaXRegistrationNumber`](IGaiaXRegistrationNumber.md)
|
|
78
78
|
|
|
79
79
|
The legal registration number.
|
|
80
80
|
|
|
@@ -94,7 +94,7 @@ The legal name.
|
|
|
94
94
|
|
|
95
95
|
### legalAddress
|
|
96
96
|
|
|
97
|
-
> **legalAddress**: [`
|
|
97
|
+
> **legalAddress**: [`IGaiaXAddress`](IGaiaXAddress.md)
|
|
98
98
|
|
|
99
99
|
Legal Address
|
|
100
100
|
|
|
@@ -106,7 +106,7 @@ https://docs.gaia-x.eu/ontology/development/slots/legalAddress/
|
|
|
106
106
|
|
|
107
107
|
### headquartersAddress?
|
|
108
108
|
|
|
109
|
-
> `optional` **headquartersAddress**: [`
|
|
109
|
+
> `optional` **headquartersAddress**: [`IGaiaXAddress`](IGaiaXAddress.md)
|
|
110
110
|
|
|
111
111
|
Headquarters address.
|
|
112
112
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Interface:
|
|
1
|
+
# Interface: IGaiaXServiceOffering
|
|
2
2
|
|
|
3
3
|
A Service offering
|
|
4
4
|
|
|
@@ -70,7 +70,7 @@ Name of the Service Offering.
|
|
|
70
70
|
|
|
71
71
|
### providedBy
|
|
72
72
|
|
|
73
|
-
> **providedBy**: `string` \| [`
|
|
73
|
+
> **providedBy**: `string` \| [`IGaiaXLegalPerson`](IGaiaXLegalPerson.md) \| `IJsonLdNodeObject` & `object`
|
|
74
74
|
|
|
75
75
|
Participant that provides the offering
|
|
76
76
|
|
|
@@ -86,7 +86,7 @@ ODRL policy associated to the service offering
|
|
|
86
86
|
|
|
87
87
|
### aggregationOfResources?
|
|
88
88
|
|
|
89
|
-
> `optional` **aggregationOfResources**: `string`[] \| [`
|
|
89
|
+
> `optional` **aggregationOfResources**: `string`[] \| [`IGaiaXDataResource`](IGaiaXDataResource.md)[] \| `IJsonLdNodeObject` & `object`
|
|
90
90
|
|
|
91
91
|
Resources aggregated
|
|
92
92
|
It is supported different representations, inline,
|
|
@@ -96,6 +96,6 @@ by reference both providing the URI or a partial JSON-LD Node object
|
|
|
96
96
|
|
|
97
97
|
### endpoint?
|
|
98
98
|
|
|
99
|
-
> `optional` **endpoint**: [`
|
|
99
|
+
> `optional` **endpoint**: [`IGaiaXEndpoint`](IGaiaXEndpoint.md)
|
|
100
100
|
|
|
101
101
|
The endpoint
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/standards-gaia-x",
|
|
3
|
-
"version": "0.0.3-next.
|
|
3
|
+
"version": "0.0.3-next.8",
|
|
4
4
|
"description": "Models which define the structure of Gaia-x",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"@twin.org/core": "next",
|
|
18
18
|
"@twin.org/data-core": "next",
|
|
19
19
|
"@twin.org/data-json-ld": "next",
|
|
20
|
-
"@twin.org/standards-w3c-odrl": "0.0.3-next.
|
|
20
|
+
"@twin.org/standards-w3c-odrl": "0.0.3-next.8"
|
|
21
21
|
},
|
|
22
22
|
"main": "./dist/es/index.js",
|
|
23
23
|
"types": "./dist/types/index.d.ts",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IAddress.js","sourceRoot":"","sources":["../../../src/models/IAddress.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { GaiaXTypes } from \"./gaiaXTypes.js\";\n\n/**\n * Address as defined by Gaia-X\n * https://docs.gaia-x.eu/ontology/development/classes/Address/\n */\nexport interface IAddress extends IJsonLdNodeObject {\n\t/**\n\t * JSON-LD @ type. In this case it is allowed to be omitted as it is usually a child node.\n\t */\n\ttype: typeof GaiaXTypes.Address | undefined;\n\n\t/**\n\t * Country code in ISO 3166-1 alpha2, alpha-3 or numeric format\n\t */\n\tcountryCode: string | number;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IDataExchangeComponent.js","sourceRoot":"","sources":["../../../src/models/IDataExchangeComponent.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { GaiaXContextType } from \"./gaiaXContextType.js\";\nimport type { GaiaXTypes } from \"./gaiaXTypes.js\";\n\n/**\n * Data Exchange component as defined by Gaia-X\n * https://docs.gaia-x.eu/ontology/development/classes/DataExchangeComponent\n */\nexport interface IDataExchangeComponent extends IJsonLdNodeObject {\n\t/**\n\t * The LD Context\n\t */\n\t\"@context\": GaiaXContextType;\n\n\t/**\n\t * The type of JSON-LD node\n\t */\n\ttype:\n\t\t| typeof GaiaXTypes.DataExchangeComponent\n\t\t| [typeof GaiaXTypes.DataExchangeComponent, ...string[]];\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IDataResource.js","sourceRoot":"","sources":["../../../src/models/IDataResource.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { IOdrlPolicy } from \"@twin.org/standards-w3c-odrl\";\nimport type { GaiaXContextType } from \"./gaiaXContextType.js\";\nimport type { GaiaXTypes } from \"./gaiaXTypes.js\";\nimport type { IDataExchangeComponent } from \"./IDataExchangeComponent.js\";\nimport type { IGaiaXEntity } from \"./IGaiaXEntity.js\";\nimport type { ILegalPerson } from \"./ILegalPerson.js\";\n\n/**\n * A Data Resource as defined by Gaia-X.\n * See also W3C DCAT Dataset https://www.w3.org/TR/vocab-dcat-3/.\n */\nexport interface IDataResource extends IGaiaXEntity {\n\t/**\n\t * The LD Context\n\t */\n\t\"@context\": GaiaXContextType;\n\n\t/**\n\t * Subject Id\n\t */\n\tid: string;\n\n\t/**\n\t * Subject type\n\t */\n\ttype: typeof GaiaXTypes.DataResource;\n\n\t/**\n\t * The Resource Name\n\t */\n\tname: string;\n\n\t/**\n\t * Exposed through a Data Exchange Component.\n\t * 'string' in case just an Id pointing to the Data Exchange Component is supplied\n\t * the third case covers the idiom where a JSON-LD Node is supplied with id and type.\n\t */\n\texposedThrough:\n\t\t| IDataExchangeComponent\n\t\t| string\n\t\t| (IJsonLdNodeObject & { id: string; type: typeof GaiaXTypes.DataExchangeComponent });\n\n\t/**\n\t * Who is the data producer\n\t */\n\tproducedBy: ILegalPerson | string;\n\n\t/**\n\t * Pointer (URL) to the license\n\t */\n\tlicense: string;\n\n\t/**\n\t * Copyright owner\n\t */\n\tcopyrightOwnedBy: ILegalPerson | string;\n\n\t/**\n\t * ODRL Policy\n\t */\n\tresourcePolicy: ObjectOrArray<IOdrlPolicy>;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IEndpoint.js","sourceRoot":"","sources":["../../../src/models/IEndpoint.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { GaiaXTypes } from \"./gaiaXTypes.js\";\n\n/**\n * Endpoint as defined by the Gaia-X ontology.\n * https://docs.gaia-x.eu/ontology/development/classes/Endpoint\n */\nexport interface IEndpoint extends IJsonLdNodeObject {\n\t/**\n\t * The type of JSON-LD node. In this case it is allowed to be omitted as it is usually a child node.\n\t */\n\ttype: typeof GaiaXTypes.Endpoint | undefined;\n\n\t/**\n\t * The endpoint URL\n\t */\n\tendpointURL: string;\n\n\t/**\n\t * The formal description\n\t */\n\tformalDescription?: string;\n\n\t/**\n\t * Standards conformity\n\t */\n\tstandardConformity?: IJsonLdNodeObject;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ILegalPerson.js","sourceRoot":"","sources":["../../../src/models/ILegalPerson.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { GaiaXTypes } from \"./gaiaXTypes.js\";\nimport type { IAddress } from \"./IAddress.js\";\nimport type { IGaiaXEntity } from \"./IGaiaXEntity.js\";\nimport type { IRegistrationNumber } from \"./IRegistrationNumber.js\";\n\n/**\n * A Legal Person as defined by Gaia-X.\n * @see https://docs.gaia-x.eu/ontology/development/classes/LegalPerson/.\n */\nexport interface ILegalPerson extends IGaiaXEntity {\n\t/**\n\t * JSON-LD type.\n\t */\n\ttype: typeof GaiaXTypes.LegalPerson;\n\n\t/**\n\t * The legal registration number.\n\t * @see https://docs.gaia-x.eu/ontology/development/slots/registrationNumber/\n\t */\n\tregistrationNumber: IRegistrationNumber;\n\n\t/**\n\t * The legal name.\n\t */\n\tlegalName: string;\n\n\t/**\n\t * Legal Address\n\t * @see https://docs.gaia-x.eu/ontology/development/slots/legalAddress/\n\t */\n\tlegalAddress: IAddress;\n\n\t/**\n\t * Headquarters address.\n\t * @see https://docs.gaia-x.eu/ontology/development/slots/headquartersAddress/\n\t */\n\theadquartersAddress?: IAddress;\n\n\t/**\n\t * Parent organization.\n\t * @see https://docs.gaia-x.eu/ontology/development/slots/parentOrganizationOf/\n\t */\n\tparentOrganizationOf?: (IJsonLdNodeObject & {\n\t\tid: string;\n\t\ttype: typeof GaiaXTypes.LegalPerson;\n\t})[];\n\n\t/**\n\t * Sub organization of.\n\t * @see https://docs.gaia-x.eu/ontology/development/slots/parentSubOrganizationOf\n\t */\n\tsubOrganizationOf?: (IJsonLdNodeObject & {\n\t\tid: string;\n\t\ttype: typeof GaiaXTypes.LegalPerson;\n\t})[];\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IRegistrationNumber.js","sourceRoot":"","sources":["../../../src/models/IRegistrationNumber.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { GaiaXTypes } from \"./gaiaXTypes.js\";\n\n/**\n * Registration Number as defined by the Gaia-X ontology.\n * https://docs.gaia-x.eu/ontology/development/classes/RegistrationNumber/\n */\nexport interface IRegistrationNumber extends IJsonLdNodeObject {\n\t/**\n\t * JSON-LD Type.\n\t */\n\ttype:\n\t\t| typeof GaiaXTypes.RegistrationNumber\n\t\t| typeof GaiaXTypes.LocalRegistrationNumber\n\t\t| typeof GaiaXTypes.EORI\n\t\t| typeof GaiaXTypes.EUID\n\t\t| typeof GaiaXTypes.LeiCode\n\t\t| typeof GaiaXTypes.TaxID\n\t\t| typeof GaiaXTypes.VatID;\n\n\t/**\n\t * Local Registration.\n\t */\n\tlocal?: string;\n\n\t/**\n\t * Country code. See https://docs.gaia-x.eu/ontology/development/enums/CountryNameAlpha2/\n\t */\n\tcountryCode?: string;\n\n\t/**\n\t * Subdivision country code.\n\t * See https://docs.gaia-x.eu/ontology/development/enums/RegionCode/\n\t */\n\tsubdivisionCountryCode?: string;\n\n\t/**\n\t * The VAT identification number.\n\t */\n\tvatID?: string;\n\n\t/**\n\t * Unique LEI number as defined by GLEIF.\n\t */\n\tleiCode?: string;\n\n\t/**\n\t * The Economic Operators Registration and Identification number (EORI).\n\t */\n\teori?: string;\n\n\t/**\n\t * The country where the EORI is registered written in plain english\n\t */\n\tcountry?: string;\n\n\t/**\n\t * The European Unique Identifier (EUID) for business located in the European Ec.\n\t */\n\teuid?: string;\n\n\t/**\n\t * The company tax ID.\n\t */\n\ttaxId?: string;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IServiceOffering.js","sourceRoot":"","sources":["../../../src/models/IServiceOffering.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { IOdrlPolicy } from \"@twin.org/standards-w3c-odrl\";\nimport type { GaiaXTypes } from \"./gaiaXTypes.js\";\nimport type { IDataResource } from \"./IDataResource.js\";\nimport type { IEndpoint } from \"./IEndpoint.js\";\nimport type { IGaiaXEntity } from \"./IGaiaXEntity.js\";\nimport type { ILegalPerson } from \"./ILegalPerson.js\";\n\n/**\n * A Service offering\n */\nexport interface IServiceOffering extends IGaiaXEntity {\n\t/**\n\t * Type\n\t */\n\ttype: typeof GaiaXTypes.ServiceOffering;\n\n\t/**\n\t * Name of the Service Offering.\n\t */\n\tname: string;\n\n\t/**\n\t * Participant that provides the offering\n\t */\n\tprovidedBy:\n\t\t| string\n\t\t| ILegalPerson\n\t\t| (IJsonLdNodeObject & { id: string; type: typeof GaiaXTypes.LegalPerson });\n\n\t/**\n\t * ODRL policy associated to the service offering\n\t */\n\tservicePolicy: ObjectOrArray<IOdrlPolicy>;\n\n\t/**\n\t * Resources aggregated\n\t * It is supported different representations, inline,\n\t * by reference both providing the URI or a partial JSON-LD Node object\n\t */\n\taggregationOfResources?:\n\t\t| string[]\n\t\t| IDataResource[]\n\t\t| (IJsonLdNodeObject & { id: string; type: typeof GaiaXTypes.DataResource });\n\n\t/**\n\t * The endpoint\n\t */\n\tendpoint?: IEndpoint;\n}\n"]}
|