@twin.org/standards-gaia-x 0.0.3-next.53 → 0.0.3-next.55
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/dataTypes/gaiaXDataTypes.js +5 -0
- package/dist/es/dataTypes/gaiaXDataTypes.js.map +1 -1
- package/dist/es/models/IGaiaXDataResource.js.map +1 -1
- package/dist/es/models/IGaiaXServiceOffering.js.map +1 -1
- package/dist/es/models/gaiaXContextType.js.map +1 -1
- package/dist/es/schemas/GaiaXContextType.json +30 -0
- package/dist/types/models/IGaiaXDataResource.d.ts +2 -1
- package/dist/types/models/IGaiaXServiceOffering.d.ts +2 -1
- package/dist/types/models/gaiaXContextType.d.ts +2 -9
- package/docs/changelog.md +28 -0
- package/docs/reference/classes/GaiaXDataTypes.md +1 -1
- package/docs/reference/interfaces/IGaiaXAddress.md +2 -2
- package/docs/reference/interfaces/IGaiaXDataExchangeComponent.md +2 -2
- package/docs/reference/interfaces/IGaiaXDataResource.md +11 -11
- package/docs/reference/interfaces/IGaiaXEndpoint.md +4 -4
- package/docs/reference/interfaces/IGaiaXLegalPerson.md +11 -11
- package/docs/reference/interfaces/IGaiaXRegistrationNumber.md +10 -10
- package/docs/reference/interfaces/IGaiaXServiceOffering.md +10 -10
- package/docs/reference/type-aliases/GaiaXContextType.md +1 -1
- package/docs/reference/variables/GaiaXContexts.md +3 -3
- package/docs/reference/variables/GaiaXTypes.md +13 -13
- package/package.json +2 -2
|
@@ -7,6 +7,7 @@ import AddressSchema from "../schemas/Address.json" with { type: "json" };
|
|
|
7
7
|
import DataExchangeComponentSchema from "../schemas/DataExchangeComponent.json" with { type: "json" };
|
|
8
8
|
import DataResourceSchema from "../schemas/DataResource.json" with { type: "json" };
|
|
9
9
|
import EndpointSchema from "../schemas/Endpoint.json" with { type: "json" };
|
|
10
|
+
import ContextTypeSchema from "../schemas/GaiaXContextType.json" with { type: "json" };
|
|
10
11
|
import LegalPersonSchema from "../schemas/LegalPerson.json" with { type: "json" };
|
|
11
12
|
import RegistrationNumberSchema from "../schemas/RegistrationNumber.json" with { type: "json" };
|
|
12
13
|
import ServiceOfferingSchema from "../schemas/ServiceOffering.json" with { type: "json" };
|
|
@@ -46,6 +47,10 @@ export class GaiaXDataTypes {
|
|
|
46
47
|
{
|
|
47
48
|
type: GaiaXTypes.RegistrationNumber,
|
|
48
49
|
schema: RegistrationNumberSchema
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
type: "ContextType",
|
|
53
|
+
schema: ContextTypeSchema
|
|
49
54
|
}
|
|
50
55
|
];
|
|
51
56
|
DataTypeHelper.registerTypes(GaiaXContexts.Namespace, GaiaXContexts.JsonLdContext, types);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gaiaXDataTypes.js","sourceRoot":"","sources":["../../../src/dataTypes/gaiaXDataTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,aAAa,MAAM,yBAAyB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC1E,OAAO,2BAA2B,MAAM,uCAAuC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACtG,OAAO,kBAAkB,MAAM,8BAA8B,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACpF,OAAO,cAAc,MAAM,0BAA0B,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC5E,OAAO,iBAAiB,MAAM,6BAA6B,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAClF,OAAO,wBAAwB,MAAM,oCAAoC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAChG,OAAO,qBAAqB,MAAM,iCAAiC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAE1F;;GAEG;AACH,MAAM,OAAO,cAAc;IAC1B;;OAEG;IACI,MAAM,CAAC,aAAa;QAC1B,MAAM,KAAK,GAAG;YACb;gBACC,IAAI,EAAE,UAAU,CAAC,qBAAqB;gBACtC,MAAM,EAAE,2BAA2B;aACnC;YACD;gBACC,IAAI,EAAE,UAAU,CAAC,YAAY;gBAC7B,MAAM,EAAE,kBAAkB;aAC1B;YACD;gBACC,IAAI,EAAE,UAAU,CAAC,QAAQ;gBACzB,MAAM,EAAE,cAAc;aACtB;YACD;gBACC,IAAI,EAAE,UAAU,CAAC,OAAO;gBACxB,MAAM,EAAE,aAAa;aACrB;YACD;gBACC,IAAI,EAAE,UAAU,CAAC,eAAe;gBAChC,MAAM,EAAE,qBAAqB;aAC7B;YACD;gBACC,IAAI,EAAE,UAAU,CAAC,WAAW;gBAC5B,MAAM,EAAE,iBAAiB;aACzB;YACD;gBACC,IAAI,EAAE,UAAU,CAAC,kBAAkB;gBACnC,MAAM,EAAE,wBAAwB;aAChC;SACD,CAAC;QAEF,cAAc,CAAC,aAAa,CAAC,aAAa,CAAC,SAAS,EAAE,aAAa,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;IAC3F,CAAC;CACD","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { DataTypeHelper } from \"@twin.org/data-core\";\nimport { GaiaXContexts } from \"../models/gaiaXContexts.js\";\nimport { GaiaXTypes } from \"../models/gaiaXTypes.js\";\nimport AddressSchema from \"../schemas/Address.json\" with { type: \"json\" };\nimport DataExchangeComponentSchema from \"../schemas/DataExchangeComponent.json\" with { type: \"json\" };\nimport DataResourceSchema from \"../schemas/DataResource.json\" with { type: \"json\" };\nimport EndpointSchema from \"../schemas/Endpoint.json\" with { type: \"json\" };\nimport LegalPersonSchema from \"../schemas/LegalPerson.json\" with { type: \"json\" };\nimport RegistrationNumberSchema from \"../schemas/RegistrationNumber.json\" with { type: \"json\" };\nimport ServiceOfferingSchema from \"../schemas/ServiceOffering.json\" with { type: \"json\" };\n\n/**\n * Handle all the data types for Gaia-X.\n */\nexport class GaiaXDataTypes {\n\t/**\n\t * Register all the data types.\n\t */\n\tpublic static registerTypes(): void {\n\t\tconst types = [\n\t\t\t{\n\t\t\t\ttype: GaiaXTypes.DataExchangeComponent,\n\t\t\t\tschema: DataExchangeComponentSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: GaiaXTypes.DataResource,\n\t\t\t\tschema: DataResourceSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: GaiaXTypes.Endpoint,\n\t\t\t\tschema: EndpointSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: GaiaXTypes.Address,\n\t\t\t\tschema: AddressSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: GaiaXTypes.ServiceOffering,\n\t\t\t\tschema: ServiceOfferingSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: GaiaXTypes.LegalPerson,\n\t\t\t\tschema: LegalPersonSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: GaiaXTypes.RegistrationNumber,\n\t\t\t\tschema: RegistrationNumberSchema\n\t\t\t}\n\t\t];\n\n\t\tDataTypeHelper.registerTypes(GaiaXContexts.Namespace, GaiaXContexts.JsonLdContext, types);\n\t}\n}\n"]}
|
|
1
|
+
{"version":3,"file":"gaiaXDataTypes.js","sourceRoot":"","sources":["../../../src/dataTypes/gaiaXDataTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,aAAa,MAAM,yBAAyB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC1E,OAAO,2BAA2B,MAAM,uCAAuC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACtG,OAAO,kBAAkB,MAAM,8BAA8B,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACpF,OAAO,cAAc,MAAM,0BAA0B,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC5E,OAAO,iBAAiB,MAAM,kCAAkC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACvF,OAAO,iBAAiB,MAAM,6BAA6B,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAClF,OAAO,wBAAwB,MAAM,oCAAoC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAChG,OAAO,qBAAqB,MAAM,iCAAiC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAE1F;;GAEG;AACH,MAAM,OAAO,cAAc;IAC1B;;OAEG;IACI,MAAM,CAAC,aAAa;QAC1B,MAAM,KAAK,GAAG;YACb;gBACC,IAAI,EAAE,UAAU,CAAC,qBAAqB;gBACtC,MAAM,EAAE,2BAA2B;aACnC;YACD;gBACC,IAAI,EAAE,UAAU,CAAC,YAAY;gBAC7B,MAAM,EAAE,kBAAkB;aAC1B;YACD;gBACC,IAAI,EAAE,UAAU,CAAC,QAAQ;gBACzB,MAAM,EAAE,cAAc;aACtB;YACD;gBACC,IAAI,EAAE,UAAU,CAAC,OAAO;gBACxB,MAAM,EAAE,aAAa;aACrB;YACD;gBACC,IAAI,EAAE,UAAU,CAAC,eAAe;gBAChC,MAAM,EAAE,qBAAqB;aAC7B;YACD;gBACC,IAAI,EAAE,UAAU,CAAC,WAAW;gBAC5B,MAAM,EAAE,iBAAiB;aACzB;YACD;gBACC,IAAI,EAAE,UAAU,CAAC,kBAAkB;gBACnC,MAAM,EAAE,wBAAwB;aAChC;YACD;gBACC,IAAI,EAAE,aAAa;gBACnB,MAAM,EAAE,iBAAiB;aACzB;SACD,CAAC;QAEF,cAAc,CAAC,aAAa,CAAC,aAAa,CAAC,SAAS,EAAE,aAAa,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;IAC3F,CAAC;CACD","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { DataTypeHelper } from \"@twin.org/data-core\";\nimport { GaiaXContexts } from \"../models/gaiaXContexts.js\";\nimport { GaiaXTypes } from \"../models/gaiaXTypes.js\";\nimport AddressSchema from \"../schemas/Address.json\" with { type: \"json\" };\nimport DataExchangeComponentSchema from \"../schemas/DataExchangeComponent.json\" with { type: \"json\" };\nimport DataResourceSchema from \"../schemas/DataResource.json\" with { type: \"json\" };\nimport EndpointSchema from \"../schemas/Endpoint.json\" with { type: \"json\" };\nimport ContextTypeSchema from \"../schemas/GaiaXContextType.json\" with { type: \"json\" };\nimport LegalPersonSchema from \"../schemas/LegalPerson.json\" with { type: \"json\" };\nimport RegistrationNumberSchema from \"../schemas/RegistrationNumber.json\" with { type: \"json\" };\nimport ServiceOfferingSchema from \"../schemas/ServiceOffering.json\" with { type: \"json\" };\n\n/**\n * Handle all the data types for Gaia-X.\n */\nexport class GaiaXDataTypes {\n\t/**\n\t * Register all the data types.\n\t */\n\tpublic static registerTypes(): void {\n\t\tconst types = [\n\t\t\t{\n\t\t\t\ttype: GaiaXTypes.DataExchangeComponent,\n\t\t\t\tschema: DataExchangeComponentSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: GaiaXTypes.DataResource,\n\t\t\t\tschema: DataResourceSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: GaiaXTypes.Endpoint,\n\t\t\t\tschema: EndpointSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: GaiaXTypes.Address,\n\t\t\t\tschema: AddressSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: GaiaXTypes.ServiceOffering,\n\t\t\t\tschema: ServiceOfferingSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: GaiaXTypes.LegalPerson,\n\t\t\t\tschema: LegalPersonSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: GaiaXTypes.RegistrationNumber,\n\t\t\t\tschema: RegistrationNumberSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: \"ContextType\",\n\t\t\t\tschema: ContextTypeSchema\n\t\t\t}\n\t\t];\n\n\t\tDataTypeHelper.registerTypes(GaiaXContexts.Namespace, GaiaXContexts.JsonLdContext, types);\n\t}\n}\n"]}
|
|
@@ -1 +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 { 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: IOdrlPolicy
|
|
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"]}
|
|
@@ -1 +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 { 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: IOdrlPolicy
|
|
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"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gaiaXContextType.js","sourceRoot":"","sources":["../../../src/models/gaiaXContextType.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement } from \"@twin.org/data-json-ld\";\nimport type { GaiaXContexts } from \"./gaiaXContexts.js\";\n\n/**\n * The Gaia-X JSON-LD context type.\n */\nexport type GaiaXContextType =\n\t| typeof GaiaXContexts.Context\n\t|
|
|
1
|
+
{"version":3,"file":"gaiaXContextType.js","sourceRoot":"","sources":["../../../src/models/gaiaXContextType.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { SingleOccurrenceArray } from \"@twin.org/core\";\nimport type { IJsonLdContextDefinitionElement } from \"@twin.org/data-json-ld\";\nimport type { GaiaXContexts } from \"./gaiaXContexts.js\";\n\n/**\n * The Gaia-X JSON-LD context type.\n */\nexport type GaiaXContextType =\n\t| typeof GaiaXContexts.Context\n\t| SingleOccurrenceArray<IJsonLdContextDefinitionElement, typeof GaiaXContexts.Context>;\n"]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schema.twindev.org/gaia-x-loire/GaiaXContextType",
|
|
4
|
+
"title": "GaiaXContextType",
|
|
5
|
+
"description": "The Gaia-X JSON-LD context type.",
|
|
6
|
+
"anyOf": [
|
|
7
|
+
{
|
|
8
|
+
"const": "https://schema.twindev.org/gaia-x-loire/"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"type": "array",
|
|
12
|
+
"items": {
|
|
13
|
+
"anyOf": [
|
|
14
|
+
{
|
|
15
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"const": "https://schema.twindev.org/gaia-x-loire/"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"contains": {
|
|
23
|
+
"const": "https://schema.twindev.org/gaia-x-loire/"
|
|
24
|
+
},
|
|
25
|
+
"minContains": 1,
|
|
26
|
+
"maxContains": 1,
|
|
27
|
+
"minItems": 1
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
@@ -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 { IOdrlPolicy } from "@twin.org/standards-w3c-odrl";
|
|
3
4
|
import type { GaiaXContextType } from "./gaiaXContextType.js";
|
|
@@ -50,5 +51,5 @@ export interface IGaiaXDataResource extends IGaiaXEntity {
|
|
|
50
51
|
/**
|
|
51
52
|
* ODRL Policy
|
|
52
53
|
*/
|
|
53
|
-
resourcePolicy: IOdrlPolicy
|
|
54
|
+
resourcePolicy: ObjectOrArray<IOdrlPolicy>;
|
|
54
55
|
}
|
|
@@ -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 { IOdrlPolicy } from "@twin.org/standards-w3c-odrl";
|
|
3
4
|
import type { GaiaXTypes } from "./gaiaXTypes.js";
|
|
@@ -27,7 +28,7 @@ export interface IGaiaXServiceOffering extends IGaiaXEntity {
|
|
|
27
28
|
/**
|
|
28
29
|
* ODRL policy associated to the service offering
|
|
29
30
|
*/
|
|
30
|
-
servicePolicy: IOdrlPolicy
|
|
31
|
+
servicePolicy: ObjectOrArray<IOdrlPolicy>;
|
|
31
32
|
/**
|
|
32
33
|
* Resources aggregated
|
|
33
34
|
* It is supported different representations, inline,
|
|
@@ -1,14 +1,7 @@
|
|
|
1
|
+
import type { SingleOccurrenceArray } from "@twin.org/core";
|
|
1
2
|
import type { IJsonLdContextDefinitionElement } from "@twin.org/data-json-ld";
|
|
2
3
|
import type { GaiaXContexts } from "./gaiaXContexts.js";
|
|
3
4
|
/**
|
|
4
5
|
* The Gaia-X JSON-LD context type.
|
|
5
6
|
*/
|
|
6
|
-
export type GaiaXContextType = typeof GaiaXContexts.Context |
|
|
7
|
-
...IJsonLdContextDefinitionElement[],
|
|
8
|
-
typeof GaiaXContexts.Context,
|
|
9
|
-
IJsonLdContextDefinitionElement
|
|
10
|
-
] | [
|
|
11
|
-
IJsonLdContextDefinitionElement,
|
|
12
|
-
typeof GaiaXContexts.Context,
|
|
13
|
-
...IJsonLdContextDefinitionElement[]
|
|
14
|
-
];
|
|
7
|
+
export type GaiaXContextType = typeof GaiaXContexts.Context | SingleOccurrenceArray<IJsonLdContextDefinitionElement, typeof GaiaXContexts.Context>;
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.3-next.55](https://github.com/twinfoundation/standards/compare/standards-gaia-x-v0.0.3-next.54...standards-gaia-x-v0.0.3-next.55) (2026-03-19)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* update to new ts-ts-schema and generic constructs ([4dff991](https://github.com/twinfoundation/standards/commit/4dff991fb70de4320668641ed94abf8e9b06acad))
|
|
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.54 to 0.0.3-next.55
|
|
16
|
+
|
|
17
|
+
## [0.0.3-next.54](https://github.com/twinfoundation/standards/compare/standards-gaia-x-v0.0.3-next.53...standards-gaia-x-v0.0.3-next.54) (2026-03-12)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Miscellaneous Chores
|
|
21
|
+
|
|
22
|
+
* **standards-gaia-x:** Synchronize repo versions
|
|
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.53 to 0.0.3-next.54
|
|
30
|
+
|
|
3
31
|
## [0.0.3-next.53](https://github.com/twinfoundation/standards/compare/standards-gaia-x-v0.0.3-next.52...standards-gaia-x-v0.0.3-next.53) (2026-03-11)
|
|
4
32
|
|
|
5
33
|
|
|
@@ -5,7 +5,7 @@ https://docs.gaia-x.eu/ontology/development/classes/Address/
|
|
|
5
5
|
|
|
6
6
|
## Properties
|
|
7
7
|
|
|
8
|
-
### type
|
|
8
|
+
### type {#type}
|
|
9
9
|
|
|
10
10
|
> **type**: `"Address"` \| `undefined`
|
|
11
11
|
|
|
@@ -13,7 +13,7 @@ JSON-LD @ type. In this case it is allowed to be omitted as it is usually a chil
|
|
|
13
13
|
|
|
14
14
|
***
|
|
15
15
|
|
|
16
|
-
### countryCode
|
|
16
|
+
### countryCode {#countrycode}
|
|
17
17
|
|
|
18
18
|
> **countryCode**: `string` \| `number`
|
|
19
19
|
|
|
@@ -5,7 +5,7 @@ https://docs.gaia-x.eu/ontology/development/classes/DataExchangeComponent
|
|
|
5
5
|
|
|
6
6
|
## Properties
|
|
7
7
|
|
|
8
|
-
### @context
|
|
8
|
+
### @context {#context}
|
|
9
9
|
|
|
10
10
|
> **@context**: [`GaiaXContextType`](../type-aliases/GaiaXContextType.md)
|
|
11
11
|
|
|
@@ -13,7 +13,7 @@ The LD Context
|
|
|
13
13
|
|
|
14
14
|
***
|
|
15
15
|
|
|
16
|
-
### type
|
|
16
|
+
### type {#type}
|
|
17
17
|
|
|
18
18
|
> **type**: `"DataExchangeComponent"` \| \[`"DataExchangeComponent"`, `...string[]`\]
|
|
19
19
|
|
|
@@ -9,7 +9,7 @@ See also W3C DCAT Dataset https://www.w3.org/TR/vocab-dcat-3/.
|
|
|
9
9
|
|
|
10
10
|
## Properties
|
|
11
11
|
|
|
12
|
-
### @context
|
|
12
|
+
### @context {#context}
|
|
13
13
|
|
|
14
14
|
> **@context**: [`GaiaXContextType`](../type-aliases/GaiaXContextType.md)
|
|
15
15
|
|
|
@@ -21,7 +21,7 @@ The LD Context
|
|
|
21
21
|
|
|
22
22
|
***
|
|
23
23
|
|
|
24
|
-
### id
|
|
24
|
+
### id {#id}
|
|
25
25
|
|
|
26
26
|
> **id**: `string`
|
|
27
27
|
|
|
@@ -33,7 +33,7 @@ Subject Id
|
|
|
33
33
|
|
|
34
34
|
***
|
|
35
35
|
|
|
36
|
-
### type
|
|
36
|
+
### type {#type}
|
|
37
37
|
|
|
38
38
|
> **type**: `"DataResource"`
|
|
39
39
|
|
|
@@ -41,7 +41,7 @@ Subject type
|
|
|
41
41
|
|
|
42
42
|
***
|
|
43
43
|
|
|
44
|
-
### name
|
|
44
|
+
### name {#name}
|
|
45
45
|
|
|
46
46
|
> **name**: `string`
|
|
47
47
|
|
|
@@ -53,7 +53,7 @@ The Resource Name
|
|
|
53
53
|
|
|
54
54
|
***
|
|
55
55
|
|
|
56
|
-
### exposedThrough
|
|
56
|
+
### exposedThrough {#exposedthrough}
|
|
57
57
|
|
|
58
58
|
> **exposedThrough**: `string` \| [`IGaiaXDataExchangeComponent`](IGaiaXDataExchangeComponent.md) \| `IJsonLdNodeObject` & `object`
|
|
59
59
|
|
|
@@ -63,7 +63,7 @@ the third case covers the idiom where a JSON-LD Node is supplied with id and typ
|
|
|
63
63
|
|
|
64
64
|
***
|
|
65
65
|
|
|
66
|
-
### producedBy
|
|
66
|
+
### producedBy {#producedby}
|
|
67
67
|
|
|
68
68
|
> **producedBy**: `string` \| [`IGaiaXLegalPerson`](IGaiaXLegalPerson.md)
|
|
69
69
|
|
|
@@ -71,7 +71,7 @@ Who is the data producer
|
|
|
71
71
|
|
|
72
72
|
***
|
|
73
73
|
|
|
74
|
-
### license
|
|
74
|
+
### license {#license}
|
|
75
75
|
|
|
76
76
|
> **license**: `string`
|
|
77
77
|
|
|
@@ -79,7 +79,7 @@ Pointer (URL) to the license
|
|
|
79
79
|
|
|
80
80
|
***
|
|
81
81
|
|
|
82
|
-
### copyrightOwnedBy
|
|
82
|
+
### copyrightOwnedBy {#copyrightownedby}
|
|
83
83
|
|
|
84
84
|
> **copyrightOwnedBy**: `string` \| [`IGaiaXLegalPerson`](IGaiaXLegalPerson.md)
|
|
85
85
|
|
|
@@ -87,15 +87,15 @@ Copyright owner
|
|
|
87
87
|
|
|
88
88
|
***
|
|
89
89
|
|
|
90
|
-
### resourcePolicy
|
|
90
|
+
### resourcePolicy {#resourcepolicy}
|
|
91
91
|
|
|
92
|
-
> **resourcePolicy**: `IOdrlPolicy
|
|
92
|
+
> **resourcePolicy**: `ObjectOrArray`\<`IOdrlPolicy`\>
|
|
93
93
|
|
|
94
94
|
ODRL Policy
|
|
95
95
|
|
|
96
96
|
***
|
|
97
97
|
|
|
98
|
-
### description?
|
|
98
|
+
### description? {#description}
|
|
99
99
|
|
|
100
100
|
> `optional` **description**: `string`
|
|
101
101
|
|
|
@@ -5,7 +5,7 @@ https://docs.gaia-x.eu/ontology/development/classes/Endpoint
|
|
|
5
5
|
|
|
6
6
|
## Properties
|
|
7
7
|
|
|
8
|
-
### type
|
|
8
|
+
### type {#type}
|
|
9
9
|
|
|
10
10
|
> **type**: `"Endpoint"` \| `undefined`
|
|
11
11
|
|
|
@@ -13,7 +13,7 @@ The type of JSON-LD node. In this case it is allowed to be omitted as it is usua
|
|
|
13
13
|
|
|
14
14
|
***
|
|
15
15
|
|
|
16
|
-
### endpointURL
|
|
16
|
+
### endpointURL {#endpointurl}
|
|
17
17
|
|
|
18
18
|
> **endpointURL**: `string`
|
|
19
19
|
|
|
@@ -21,7 +21,7 @@ The endpoint URL
|
|
|
21
21
|
|
|
22
22
|
***
|
|
23
23
|
|
|
24
|
-
### formalDescription?
|
|
24
|
+
### formalDescription? {#formaldescription}
|
|
25
25
|
|
|
26
26
|
> `optional` **formalDescription**: `string`
|
|
27
27
|
|
|
@@ -29,7 +29,7 @@ The formal description
|
|
|
29
29
|
|
|
30
30
|
***
|
|
31
31
|
|
|
32
|
-
### standardConformity?
|
|
32
|
+
### standardConformity? {#standardconformity}
|
|
33
33
|
|
|
34
34
|
> `optional` **standardConformity**: `IJsonLdNodeObject`
|
|
35
35
|
|
|
@@ -12,7 +12,7 @@ https://docs.gaia-x.eu/ontology/development/classes/LegalPerson/.
|
|
|
12
12
|
|
|
13
13
|
## Properties
|
|
14
14
|
|
|
15
|
-
### @context
|
|
15
|
+
### @context {#context}
|
|
16
16
|
|
|
17
17
|
> **@context**: [`GaiaXContextType`](../type-aliases/GaiaXContextType.md)
|
|
18
18
|
|
|
@@ -24,7 +24,7 @@ The LD context.
|
|
|
24
24
|
|
|
25
25
|
***
|
|
26
26
|
|
|
27
|
-
### id
|
|
27
|
+
### id {#id}
|
|
28
28
|
|
|
29
29
|
> **id**: `string`
|
|
30
30
|
|
|
@@ -36,7 +36,7 @@ The Id.
|
|
|
36
36
|
|
|
37
37
|
***
|
|
38
38
|
|
|
39
|
-
### name?
|
|
39
|
+
### name? {#name}
|
|
40
40
|
|
|
41
41
|
> `optional` **name**: `string`
|
|
42
42
|
|
|
@@ -48,7 +48,7 @@ Human readable Name.
|
|
|
48
48
|
|
|
49
49
|
***
|
|
50
50
|
|
|
51
|
-
### description?
|
|
51
|
+
### description? {#description}
|
|
52
52
|
|
|
53
53
|
> `optional` **description**: `string`
|
|
54
54
|
|
|
@@ -60,7 +60,7 @@ Description of the Gaia-X entity.
|
|
|
60
60
|
|
|
61
61
|
***
|
|
62
62
|
|
|
63
|
-
### type
|
|
63
|
+
### type {#type}
|
|
64
64
|
|
|
65
65
|
> **type**: `"LegalPerson"`
|
|
66
66
|
|
|
@@ -68,7 +68,7 @@ JSON-LD type.
|
|
|
68
68
|
|
|
69
69
|
***
|
|
70
70
|
|
|
71
|
-
### registrationNumber
|
|
71
|
+
### registrationNumber {#registrationnumber}
|
|
72
72
|
|
|
73
73
|
> **registrationNumber**: [`IGaiaXRegistrationNumber`](IGaiaXRegistrationNumber.md)
|
|
74
74
|
|
|
@@ -80,7 +80,7 @@ https://docs.gaia-x.eu/ontology/development/slots/registrationNumber/
|
|
|
80
80
|
|
|
81
81
|
***
|
|
82
82
|
|
|
83
|
-
### legalName
|
|
83
|
+
### legalName {#legalname}
|
|
84
84
|
|
|
85
85
|
> **legalName**: `string`
|
|
86
86
|
|
|
@@ -88,7 +88,7 @@ The legal name.
|
|
|
88
88
|
|
|
89
89
|
***
|
|
90
90
|
|
|
91
|
-
### legalAddress
|
|
91
|
+
### legalAddress {#legaladdress}
|
|
92
92
|
|
|
93
93
|
> **legalAddress**: [`IGaiaXAddress`](IGaiaXAddress.md)
|
|
94
94
|
|
|
@@ -100,7 +100,7 @@ https://docs.gaia-x.eu/ontology/development/slots/legalAddress/
|
|
|
100
100
|
|
|
101
101
|
***
|
|
102
102
|
|
|
103
|
-
### headquartersAddress?
|
|
103
|
+
### headquartersAddress? {#headquartersaddress}
|
|
104
104
|
|
|
105
105
|
> `optional` **headquartersAddress**: [`IGaiaXAddress`](IGaiaXAddress.md)
|
|
106
106
|
|
|
@@ -112,7 +112,7 @@ https://docs.gaia-x.eu/ontology/development/slots/headquartersAddress/
|
|
|
112
112
|
|
|
113
113
|
***
|
|
114
114
|
|
|
115
|
-
### parentOrganizationOf?
|
|
115
|
+
### parentOrganizationOf? {#parentorganizationof}
|
|
116
116
|
|
|
117
117
|
> `optional` **parentOrganizationOf**: `IJsonLdNodeObject` & `object`[]
|
|
118
118
|
|
|
@@ -124,7 +124,7 @@ https://docs.gaia-x.eu/ontology/development/slots/parentOrganizationOf/
|
|
|
124
124
|
|
|
125
125
|
***
|
|
126
126
|
|
|
127
|
-
### subOrganizationOf?
|
|
127
|
+
### subOrganizationOf? {#suborganizationof}
|
|
128
128
|
|
|
129
129
|
> `optional` **subOrganizationOf**: `IJsonLdNodeObject` & `object`[]
|
|
130
130
|
|
|
@@ -5,7 +5,7 @@ https://docs.gaia-x.eu/ontology/development/classes/RegistrationNumber/
|
|
|
5
5
|
|
|
6
6
|
## Properties
|
|
7
7
|
|
|
8
|
-
### type
|
|
8
|
+
### type {#type}
|
|
9
9
|
|
|
10
10
|
> **type**: `"RegistrationNumber"` \| `"LocalRegistrationNumber"` \| `"EORI"` \| `"VatID"` \| `"EUID"` \| `"LeiCode"` \| `"TaxID"`
|
|
11
11
|
|
|
@@ -13,7 +13,7 @@ JSON-LD Type.
|
|
|
13
13
|
|
|
14
14
|
***
|
|
15
15
|
|
|
16
|
-
### local?
|
|
16
|
+
### local? {#local}
|
|
17
17
|
|
|
18
18
|
> `optional` **local**: `string`
|
|
19
19
|
|
|
@@ -21,7 +21,7 @@ Local Registration.
|
|
|
21
21
|
|
|
22
22
|
***
|
|
23
23
|
|
|
24
|
-
### countryCode?
|
|
24
|
+
### countryCode? {#countrycode}
|
|
25
25
|
|
|
26
26
|
> `optional` **countryCode**: `string`
|
|
27
27
|
|
|
@@ -29,7 +29,7 @@ Country code. See https://docs.gaia-x.eu/ontology/development/enums/CountryNameA
|
|
|
29
29
|
|
|
30
30
|
***
|
|
31
31
|
|
|
32
|
-
### subdivisionCountryCode?
|
|
32
|
+
### subdivisionCountryCode? {#subdivisioncountrycode}
|
|
33
33
|
|
|
34
34
|
> `optional` **subdivisionCountryCode**: `string`
|
|
35
35
|
|
|
@@ -38,7 +38,7 @@ See https://docs.gaia-x.eu/ontology/development/enums/RegionCode/
|
|
|
38
38
|
|
|
39
39
|
***
|
|
40
40
|
|
|
41
|
-
### vatID?
|
|
41
|
+
### vatID? {#vatid}
|
|
42
42
|
|
|
43
43
|
> `optional` **vatID**: `string`
|
|
44
44
|
|
|
@@ -46,7 +46,7 @@ The VAT identification number.
|
|
|
46
46
|
|
|
47
47
|
***
|
|
48
48
|
|
|
49
|
-
### leiCode?
|
|
49
|
+
### leiCode? {#leicode}
|
|
50
50
|
|
|
51
51
|
> `optional` **leiCode**: `string`
|
|
52
52
|
|
|
@@ -54,7 +54,7 @@ Unique LEI number as defined by GLEIF.
|
|
|
54
54
|
|
|
55
55
|
***
|
|
56
56
|
|
|
57
|
-
### eori?
|
|
57
|
+
### eori? {#eori}
|
|
58
58
|
|
|
59
59
|
> `optional` **eori**: `string`
|
|
60
60
|
|
|
@@ -62,7 +62,7 @@ The Economic Operators Registration and Identification number (EORI).
|
|
|
62
62
|
|
|
63
63
|
***
|
|
64
64
|
|
|
65
|
-
### country?
|
|
65
|
+
### country? {#country}
|
|
66
66
|
|
|
67
67
|
> `optional` **country**: `string`
|
|
68
68
|
|
|
@@ -70,7 +70,7 @@ The country where the EORI is registered written in plain english
|
|
|
70
70
|
|
|
71
71
|
***
|
|
72
72
|
|
|
73
|
-
### euid?
|
|
73
|
+
### euid? {#euid}
|
|
74
74
|
|
|
75
75
|
> `optional` **euid**: `string`
|
|
76
76
|
|
|
@@ -78,7 +78,7 @@ The European Unique Identifier (EUID) for business located in the European Ec.
|
|
|
78
78
|
|
|
79
79
|
***
|
|
80
80
|
|
|
81
|
-
### taxId?
|
|
81
|
+
### taxId? {#taxid}
|
|
82
82
|
|
|
83
83
|
> `optional` **taxId**: `string`
|
|
84
84
|
|
|
@@ -8,7 +8,7 @@ A Service offering
|
|
|
8
8
|
|
|
9
9
|
## Properties
|
|
10
10
|
|
|
11
|
-
### @context
|
|
11
|
+
### @context {#context}
|
|
12
12
|
|
|
13
13
|
> **@context**: [`GaiaXContextType`](../type-aliases/GaiaXContextType.md)
|
|
14
14
|
|
|
@@ -20,7 +20,7 @@ The LD context.
|
|
|
20
20
|
|
|
21
21
|
***
|
|
22
22
|
|
|
23
|
-
### id
|
|
23
|
+
### id {#id}
|
|
24
24
|
|
|
25
25
|
> **id**: `string`
|
|
26
26
|
|
|
@@ -32,7 +32,7 @@ The Id.
|
|
|
32
32
|
|
|
33
33
|
***
|
|
34
34
|
|
|
35
|
-
### description?
|
|
35
|
+
### description? {#description}
|
|
36
36
|
|
|
37
37
|
> `optional` **description**: `string`
|
|
38
38
|
|
|
@@ -44,7 +44,7 @@ Description of the Gaia-X entity.
|
|
|
44
44
|
|
|
45
45
|
***
|
|
46
46
|
|
|
47
|
-
### type
|
|
47
|
+
### type {#type}
|
|
48
48
|
|
|
49
49
|
> **type**: `"ServiceOffering"`
|
|
50
50
|
|
|
@@ -52,7 +52,7 @@ Type
|
|
|
52
52
|
|
|
53
53
|
***
|
|
54
54
|
|
|
55
|
-
### name
|
|
55
|
+
### name {#name}
|
|
56
56
|
|
|
57
57
|
> **name**: `string`
|
|
58
58
|
|
|
@@ -64,7 +64,7 @@ Name of the Service Offering.
|
|
|
64
64
|
|
|
65
65
|
***
|
|
66
66
|
|
|
67
|
-
### providedBy
|
|
67
|
+
### providedBy {#providedby}
|
|
68
68
|
|
|
69
69
|
> **providedBy**: `string` \| [`IGaiaXLegalPerson`](IGaiaXLegalPerson.md) \| `IJsonLdNodeObject` & `object`
|
|
70
70
|
|
|
@@ -72,15 +72,15 @@ Participant that provides the offering
|
|
|
72
72
|
|
|
73
73
|
***
|
|
74
74
|
|
|
75
|
-
### servicePolicy
|
|
75
|
+
### servicePolicy {#servicepolicy}
|
|
76
76
|
|
|
77
|
-
> **servicePolicy**: `IOdrlPolicy
|
|
77
|
+
> **servicePolicy**: `ObjectOrArray`\<`IOdrlPolicy`\>
|
|
78
78
|
|
|
79
79
|
ODRL policy associated to the service offering
|
|
80
80
|
|
|
81
81
|
***
|
|
82
82
|
|
|
83
|
-
### aggregationOfResources?
|
|
83
|
+
### aggregationOfResources? {#aggregationofresources}
|
|
84
84
|
|
|
85
85
|
> `optional` **aggregationOfResources**: `string`[] \| `IJsonLdNodeObject` & `object` \| [`IGaiaXDataResource`](IGaiaXDataResource.md)[]
|
|
86
86
|
|
|
@@ -90,7 +90,7 @@ by reference both providing the URI or a partial JSON-LD Node object
|
|
|
90
90
|
|
|
91
91
|
***
|
|
92
92
|
|
|
93
|
-
### endpoint?
|
|
93
|
+
### endpoint? {#endpoint}
|
|
94
94
|
|
|
95
95
|
> `optional` **endpoint**: [`IGaiaXEndpoint`](IGaiaXEndpoint.md)
|
|
96
96
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Type Alias: GaiaXContextType
|
|
2
2
|
|
|
3
|
-
> **GaiaXContextType** = *typeof* [`Context`](../variables/GaiaXContexts.md#context) \|
|
|
3
|
+
> **GaiaXContextType** = *typeof* [`Context`](../variables/GaiaXContexts.md#context) \| `SingleOccurrenceArray`\<`IJsonLdContextDefinitionElement`, *typeof* [`Context`](../variables/GaiaXContexts.md#context)\>
|
|
4
4
|
|
|
5
5
|
The Gaia-X JSON-LD context type.
|
|
@@ -6,13 +6,13 @@ The Contexts concerning Gaia-X.
|
|
|
6
6
|
|
|
7
7
|
## Type Declaration
|
|
8
8
|
|
|
9
|
-
### Namespace
|
|
9
|
+
### Namespace {#namespace}
|
|
10
10
|
|
|
11
11
|
> `readonly` **Namespace**: `"https://schema.twindev.org/gaia-x-loire/"` = `"https://schema.twindev.org/gaia-x-loire/"`
|
|
12
12
|
|
|
13
13
|
The canonical RDF namespace URI.
|
|
14
14
|
|
|
15
|
-
### Context
|
|
15
|
+
### Context {#context}
|
|
16
16
|
|
|
17
17
|
> `readonly` **Context**: `"https://schema.twindev.org/gaia-x-loire/"` = `"https://schema.twindev.org/gaia-x-loire/"`
|
|
18
18
|
|
|
@@ -20,7 +20,7 @@ The value to use in @context.
|
|
|
20
20
|
Note: Context matches Namespace (both include trailing slash) as per Gaia-X specification.
|
|
21
21
|
The Gaia-X JSON-LD context URL format includes a trailing slash.
|
|
22
22
|
|
|
23
|
-
### JsonLdContext
|
|
23
|
+
### JsonLdContext {#jsonldcontext}
|
|
24
24
|
|
|
25
25
|
> `readonly` **JsonLdContext**: `"https://schema.twindev.org/gaia-x-loire/types.jsonld"` = `"https://schema.twindev.org/gaia-x-loire/types.jsonld"`
|
|
26
26
|
|
|
@@ -6,79 +6,79 @@ The types concerning Gaia-X.
|
|
|
6
6
|
|
|
7
7
|
## Type Declaration
|
|
8
8
|
|
|
9
|
-
### DataResource
|
|
9
|
+
### DataResource {#dataresource}
|
|
10
10
|
|
|
11
11
|
> `readonly` **DataResource**: `"DataResource"` = `"DataResource"`
|
|
12
12
|
|
|
13
13
|
Data Resource
|
|
14
14
|
|
|
15
|
-
### ServiceOffering
|
|
15
|
+
### ServiceOffering {#serviceoffering}
|
|
16
16
|
|
|
17
17
|
> `readonly` **ServiceOffering**: `"ServiceOffering"` = `"ServiceOffering"`
|
|
18
18
|
|
|
19
19
|
Service Offering Type
|
|
20
20
|
|
|
21
|
-
### LegalPerson
|
|
21
|
+
### LegalPerson {#legalperson}
|
|
22
22
|
|
|
23
23
|
> `readonly` **LegalPerson**: `"LegalPerson"` = `"LegalPerson"`
|
|
24
24
|
|
|
25
25
|
Legal Person
|
|
26
26
|
|
|
27
|
-
### DataExchangeComponent
|
|
27
|
+
### DataExchangeComponent {#dataexchangecomponent}
|
|
28
28
|
|
|
29
29
|
> `readonly` **DataExchangeComponent**: `"DataExchangeComponent"` = `"DataExchangeComponent"`
|
|
30
30
|
|
|
31
31
|
Data Exchange Component
|
|
32
32
|
|
|
33
|
-
### Address
|
|
33
|
+
### Address {#address}
|
|
34
34
|
|
|
35
35
|
> `readonly` **Address**: `"Address"` = `"Address"`
|
|
36
36
|
|
|
37
37
|
Address
|
|
38
38
|
|
|
39
|
-
### Endpoint
|
|
39
|
+
### Endpoint {#endpoint}
|
|
40
40
|
|
|
41
41
|
> `readonly` **Endpoint**: `"Endpoint"` = `"Endpoint"`
|
|
42
42
|
|
|
43
43
|
Endpoint
|
|
44
44
|
|
|
45
|
-
### RegistrationNumber
|
|
45
|
+
### RegistrationNumber {#registrationnumber}
|
|
46
46
|
|
|
47
47
|
> `readonly` **RegistrationNumber**: `"RegistrationNumber"` = `"RegistrationNumber"`
|
|
48
48
|
|
|
49
49
|
Registration number
|
|
50
50
|
|
|
51
|
-
### LocalRegistrationNumber
|
|
51
|
+
### LocalRegistrationNumber {#localregistrationnumber}
|
|
52
52
|
|
|
53
53
|
> `readonly` **LocalRegistrationNumber**: `"LocalRegistrationNumber"` = `"LocalRegistrationNumber"`
|
|
54
54
|
|
|
55
55
|
Local Registration number
|
|
56
56
|
|
|
57
|
-
### EORI
|
|
57
|
+
### EORI {#eori}
|
|
58
58
|
|
|
59
59
|
> `readonly` **EORI**: `"EORI"` = `"EORI"`
|
|
60
60
|
|
|
61
61
|
EORI
|
|
62
62
|
|
|
63
|
-
### VatID
|
|
63
|
+
### VatID {#vatid}
|
|
64
64
|
|
|
65
65
|
> `readonly` **VatID**: `"VatID"` = `"VatID"`
|
|
66
66
|
|
|
67
67
|
VAT ID
|
|
68
68
|
|
|
69
|
-
### EUID
|
|
69
|
+
### EUID {#euid}
|
|
70
70
|
|
|
71
71
|
> `readonly` **EUID**: `"EUID"` = `"EUID"`
|
|
72
72
|
|
|
73
73
|
EU ID
|
|
74
74
|
|
|
75
|
-
### LeiCode
|
|
75
|
+
### LeiCode {#leicode}
|
|
76
76
|
|
|
77
77
|
> `readonly` **LeiCode**: `"LeiCode"` = `"LeiCode"`
|
|
78
78
|
|
|
79
79
|
GLEIF LEI code.
|
|
80
80
|
|
|
81
|
-
### TaxID
|
|
81
|
+
### TaxID {#taxid}
|
|
82
82
|
|
|
83
83
|
> `readonly` **TaxID**: `"TaxID"` = `"TaxID"`
|
|
84
84
|
|
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.55",
|
|
4
4
|
"description": "Data models for Gaia-X ontology concepts.",
|
|
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.55"
|
|
21
21
|
},
|
|
22
22
|
"main": "./dist/es/index.js",
|
|
23
23
|
"types": "./dist/types/index.d.ts",
|