@twin.org/standards-gaia-x 0.0.2-next.13 → 0.0.2-next.15
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/cjs/index.cjs +33 -37
- package/dist/esm/index.mjs +33 -37
- package/dist/types/models/IDataResource.d.ts +2 -1
- package/dist/types/models/IServiceOffering.d.ts +2 -1
- package/dist/types/models/gaiaXContexts.d.ts +1 -5
- package/docs/changelog.md +22 -0
- package/docs/reference/interfaces/IDataResource.md +1 -1
- package/docs/reference/interfaces/IServiceOffering.md +1 -1
- package/docs/reference/variables/GaiaXContexts.md +1 -7
- package/package.json +18 -3
package/dist/cjs/index.cjs
CHANGED
|
@@ -12,11 +12,7 @@ const GaiaXContexts = {
|
|
|
12
12
|
/**
|
|
13
13
|
* The Gaia-X LD Context
|
|
14
14
|
*/
|
|
15
|
-
ContextRoot: "https://
|
|
16
|
-
/**
|
|
17
|
-
* The Gaia-X custom context.
|
|
18
|
-
*/
|
|
19
|
-
TwinContext: "https://schema.twindev.org/gaia-x"
|
|
15
|
+
ContextRoot: "https://schema.twindev.org/gaia-x-loire/"
|
|
20
16
|
};
|
|
21
17
|
|
|
22
18
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -81,7 +77,7 @@ const GaiaXTypes = {
|
|
|
81
77
|
};
|
|
82
78
|
|
|
83
79
|
var $schema$6 = "https://json-schema.org/draft/2020-12/schema";
|
|
84
|
-
var $id$6 = "https://schema.twindev.org/gaia-x/Address";
|
|
80
|
+
var $id$6 = "https://schema.twindev.org/gaia-x-loire/Address";
|
|
85
81
|
var description$6 = "Address as defined by Gaia-X https://docs.gaia-x.eu/ontology/development/classes/Address/";
|
|
86
82
|
var type$6 = "object";
|
|
87
83
|
var properties$6 = {
|
|
@@ -216,7 +212,7 @@ var AddressSchema = {
|
|
|
216
212
|
};
|
|
217
213
|
|
|
218
214
|
var $schema$5 = "https://json-schema.org/draft/2020-12/schema";
|
|
219
|
-
var $id$5 = "https://schema.twindev.org/gaia-x/DataExchangeComponent";
|
|
215
|
+
var $id$5 = "https://schema.twindev.org/gaia-x-loire/DataExchangeComponent";
|
|
220
216
|
var description$5 = "Data Exchange component as defined by Gaia-X https://docs.gaia-x.eu/ontology/development/classes/DataExchangeComponent";
|
|
221
217
|
var type$5 = "object";
|
|
222
218
|
var properties$5 = {
|
|
@@ -225,7 +221,7 @@ var properties$5 = {
|
|
|
225
221
|
anyOf: [
|
|
226
222
|
{
|
|
227
223
|
type: "string",
|
|
228
|
-
"const": "https://
|
|
224
|
+
"const": "https://schema.twindev.org/gaia-x-loire/"
|
|
229
225
|
},
|
|
230
226
|
{
|
|
231
227
|
type: "array",
|
|
@@ -236,7 +232,7 @@ var properties$5 = {
|
|
|
236
232
|
prefixItems: [
|
|
237
233
|
{
|
|
238
234
|
type: "string",
|
|
239
|
-
"const": "https://
|
|
235
|
+
"const": "https://schema.twindev.org/gaia-x-loire/"
|
|
240
236
|
},
|
|
241
237
|
{
|
|
242
238
|
$ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
@@ -255,7 +251,7 @@ var properties$5 = {
|
|
|
255
251
|
},
|
|
256
252
|
{
|
|
257
253
|
type: "string",
|
|
258
|
-
"const": "https://
|
|
254
|
+
"const": "https://schema.twindev.org/gaia-x-loire/"
|
|
259
255
|
}
|
|
260
256
|
]
|
|
261
257
|
}
|
|
@@ -400,7 +396,7 @@ var DataExchangeComponentSchema = {
|
|
|
400
396
|
};
|
|
401
397
|
|
|
402
398
|
var $schema$4 = "https://json-schema.org/draft/2020-12/schema";
|
|
403
|
-
var $id$4 = "https://schema.twindev.org/gaia-x/DataResource";
|
|
399
|
+
var $id$4 = "https://schema.twindev.org/gaia-x-loire/DataResource";
|
|
404
400
|
var description$4 = "A Data Resource as defined by Gaia-X. See also W3C DCAT Dataset https://www.w3.org/TR/vocab-dcat-3/.";
|
|
405
401
|
var type$4 = "object";
|
|
406
402
|
var properties$4 = {
|
|
@@ -409,7 +405,7 @@ var properties$4 = {
|
|
|
409
405
|
anyOf: [
|
|
410
406
|
{
|
|
411
407
|
type: "string",
|
|
412
|
-
"const": "https://
|
|
408
|
+
"const": "https://schema.twindev.org/gaia-x-loire/"
|
|
413
409
|
},
|
|
414
410
|
{
|
|
415
411
|
type: "array",
|
|
@@ -420,7 +416,7 @@ var properties$4 = {
|
|
|
420
416
|
prefixItems: [
|
|
421
417
|
{
|
|
422
418
|
type: "string",
|
|
423
|
-
"const": "https://
|
|
419
|
+
"const": "https://schema.twindev.org/gaia-x-loire/"
|
|
424
420
|
},
|
|
425
421
|
{
|
|
426
422
|
$ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
@@ -439,7 +435,7 @@ var properties$4 = {
|
|
|
439
435
|
},
|
|
440
436
|
{
|
|
441
437
|
type: "string",
|
|
442
|
-
"const": "https://
|
|
438
|
+
"const": "https://schema.twindev.org/gaia-x-loire/"
|
|
443
439
|
}
|
|
444
440
|
]
|
|
445
441
|
}
|
|
@@ -541,7 +537,7 @@ var properties$4 = {
|
|
|
541
537
|
exposedThrough: {
|
|
542
538
|
anyOf: [
|
|
543
539
|
{
|
|
544
|
-
$ref: "https://schema.twindev.org/gaia-x/DataExchangeComponent"
|
|
540
|
+
$ref: "https://schema.twindev.org/gaia-x-loire/DataExchangeComponent"
|
|
545
541
|
},
|
|
546
542
|
{
|
|
547
543
|
type: "string"
|
|
@@ -672,7 +668,7 @@ var properties$4 = {
|
|
|
672
668
|
producedBy: {
|
|
673
669
|
anyOf: [
|
|
674
670
|
{
|
|
675
|
-
$ref: "https://schema.twindev.org/gaia-x/LegalPerson"
|
|
671
|
+
$ref: "https://schema.twindev.org/gaia-x-loire/LegalPerson"
|
|
676
672
|
},
|
|
677
673
|
{
|
|
678
674
|
type: "string"
|
|
@@ -687,7 +683,7 @@ var properties$4 = {
|
|
|
687
683
|
copyrightOwnedBy: {
|
|
688
684
|
anyOf: [
|
|
689
685
|
{
|
|
690
|
-
$ref: "https://schema.twindev.org/gaia-x/LegalPerson"
|
|
686
|
+
$ref: "https://schema.twindev.org/gaia-x-loire/LegalPerson"
|
|
691
687
|
},
|
|
692
688
|
{
|
|
693
689
|
type: "string"
|
|
@@ -699,14 +695,14 @@ var properties$4 = {
|
|
|
699
695
|
description: "Object or array data type",
|
|
700
696
|
anyOf: [
|
|
701
697
|
{
|
|
702
|
-
$ref: "https://schema.twindev.org/
|
|
698
|
+
$ref: "https://schema.twindev.org/w3c-odrl/OdrlPolicy"
|
|
703
699
|
},
|
|
704
700
|
{
|
|
705
701
|
type: "array",
|
|
706
702
|
items: false,
|
|
707
703
|
prefixItems: [
|
|
708
704
|
{
|
|
709
|
-
$ref: "https://schema.twindev.org/
|
|
705
|
+
$ref: "https://schema.twindev.org/w3c-odrl/OdrlPolicy"
|
|
710
706
|
}
|
|
711
707
|
]
|
|
712
708
|
}
|
|
@@ -760,7 +756,7 @@ var DataResourceSchema = {
|
|
|
760
756
|
};
|
|
761
757
|
|
|
762
758
|
var $schema$3 = "https://json-schema.org/draft/2020-12/schema";
|
|
763
|
-
var $id$3 = "https://schema.twindev.org/gaia-x/Endpoint";
|
|
759
|
+
var $id$3 = "https://schema.twindev.org/gaia-x-loire/Endpoint";
|
|
764
760
|
var description$3 = "Endpoint as defined by the Gaia-X ontology. https://docs.gaia-x.eu/ontology/development/classes/Endpoint";
|
|
765
761
|
var type$3 = "object";
|
|
766
762
|
var properties$3 = {
|
|
@@ -900,7 +896,7 @@ var EndpointSchema = {
|
|
|
900
896
|
};
|
|
901
897
|
|
|
902
898
|
var $schema$2 = "https://json-schema.org/draft/2020-12/schema";
|
|
903
|
-
var $id$2 = "https://schema.twindev.org/gaia-x/LegalPerson";
|
|
899
|
+
var $id$2 = "https://schema.twindev.org/gaia-x-loire/LegalPerson";
|
|
904
900
|
var description$2 = "A Legal Person as defined by Gaia-X.";
|
|
905
901
|
var type$2 = "object";
|
|
906
902
|
var properties$2 = {
|
|
@@ -909,7 +905,7 @@ var properties$2 = {
|
|
|
909
905
|
anyOf: [
|
|
910
906
|
{
|
|
911
907
|
type: "string",
|
|
912
|
-
"const": "https://
|
|
908
|
+
"const": "https://schema.twindev.org/gaia-x-loire/"
|
|
913
909
|
},
|
|
914
910
|
{
|
|
915
911
|
type: "array",
|
|
@@ -920,7 +916,7 @@ var properties$2 = {
|
|
|
920
916
|
prefixItems: [
|
|
921
917
|
{
|
|
922
918
|
type: "string",
|
|
923
|
-
"const": "https://
|
|
919
|
+
"const": "https://schema.twindev.org/gaia-x-loire/"
|
|
924
920
|
},
|
|
925
921
|
{
|
|
926
922
|
$ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
@@ -939,7 +935,7 @@ var properties$2 = {
|
|
|
939
935
|
},
|
|
940
936
|
{
|
|
941
937
|
type: "string",
|
|
942
|
-
"const": "https://
|
|
938
|
+
"const": "https://schema.twindev.org/gaia-x-loire/"
|
|
943
939
|
}
|
|
944
940
|
]
|
|
945
941
|
}
|
|
@@ -1039,7 +1035,7 @@ var properties$2 = {
|
|
|
1039
1035
|
description: "JSON-LD type."
|
|
1040
1036
|
},
|
|
1041
1037
|
registrationNumber: {
|
|
1042
|
-
$ref: "https://schema.twindev.org/gaia-x/RegistrationNumber",
|
|
1038
|
+
$ref: "https://schema.twindev.org/gaia-x-loire/RegistrationNumber",
|
|
1043
1039
|
description: "The legal registration number."
|
|
1044
1040
|
},
|
|
1045
1041
|
legalName: {
|
|
@@ -1047,11 +1043,11 @@ var properties$2 = {
|
|
|
1047
1043
|
description: "The legal name."
|
|
1048
1044
|
},
|
|
1049
1045
|
legalAddress: {
|
|
1050
|
-
$ref: "https://schema.twindev.org/gaia-x/Address",
|
|
1046
|
+
$ref: "https://schema.twindev.org/gaia-x-loire/Address",
|
|
1051
1047
|
description: "Legal Address"
|
|
1052
1048
|
},
|
|
1053
1049
|
headquartersAddress: {
|
|
1054
|
-
$ref: "https://schema.twindev.org/gaia-x/Address",
|
|
1050
|
+
$ref: "https://schema.twindev.org/gaia-x-loire/Address",
|
|
1055
1051
|
description: "Headquarters address."
|
|
1056
1052
|
},
|
|
1057
1053
|
parentOrganizationOf: {
|
|
@@ -1329,7 +1325,7 @@ var LegalPersonSchema = {
|
|
|
1329
1325
|
};
|
|
1330
1326
|
|
|
1331
1327
|
var $schema$1 = "https://json-schema.org/draft/2020-12/schema";
|
|
1332
|
-
var $id$1 = "https://schema.twindev.org/gaia-x/RegistrationNumber";
|
|
1328
|
+
var $id$1 = "https://schema.twindev.org/gaia-x-loire/RegistrationNumber";
|
|
1333
1329
|
var description$1 = "Registration Number as defined by the Gaia-X ontology. https://docs.gaia-x.eu/ontology/development/classes/RegistrationNumber/";
|
|
1334
1330
|
var type$1 = "object";
|
|
1335
1331
|
var properties$1 = {
|
|
@@ -1501,7 +1497,7 @@ var RegistrationNumberSchema = {
|
|
|
1501
1497
|
};
|
|
1502
1498
|
|
|
1503
1499
|
var $schema = "https://json-schema.org/draft/2020-12/schema";
|
|
1504
|
-
var $id = "https://schema.twindev.org/gaia-x/ServiceOffering";
|
|
1500
|
+
var $id = "https://schema.twindev.org/gaia-x-loire/ServiceOffering";
|
|
1505
1501
|
var description = "A Service offering";
|
|
1506
1502
|
var type = "object";
|
|
1507
1503
|
var properties = {
|
|
@@ -1510,7 +1506,7 @@ var properties = {
|
|
|
1510
1506
|
anyOf: [
|
|
1511
1507
|
{
|
|
1512
1508
|
type: "string",
|
|
1513
|
-
"const": "https://
|
|
1509
|
+
"const": "https://schema.twindev.org/gaia-x-loire/"
|
|
1514
1510
|
},
|
|
1515
1511
|
{
|
|
1516
1512
|
type: "array",
|
|
@@ -1521,7 +1517,7 @@ var properties = {
|
|
|
1521
1517
|
prefixItems: [
|
|
1522
1518
|
{
|
|
1523
1519
|
type: "string",
|
|
1524
|
-
"const": "https://
|
|
1520
|
+
"const": "https://schema.twindev.org/gaia-x-loire/"
|
|
1525
1521
|
},
|
|
1526
1522
|
{
|
|
1527
1523
|
$ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
@@ -1540,7 +1536,7 @@ var properties = {
|
|
|
1540
1536
|
},
|
|
1541
1537
|
{
|
|
1542
1538
|
type: "string",
|
|
1543
|
-
"const": "https://
|
|
1539
|
+
"const": "https://schema.twindev.org/gaia-x-loire/"
|
|
1544
1540
|
}
|
|
1545
1541
|
]
|
|
1546
1542
|
}
|
|
@@ -1645,7 +1641,7 @@ var properties = {
|
|
|
1645
1641
|
type: "string"
|
|
1646
1642
|
},
|
|
1647
1643
|
{
|
|
1648
|
-
$ref: "https://schema.twindev.org/gaia-x/LegalPerson"
|
|
1644
|
+
$ref: "https://schema.twindev.org/gaia-x-loire/LegalPerson"
|
|
1649
1645
|
},
|
|
1650
1646
|
{
|
|
1651
1647
|
type: "object",
|
|
@@ -1774,14 +1770,14 @@ var properties = {
|
|
|
1774
1770
|
description: "Object or array data type",
|
|
1775
1771
|
anyOf: [
|
|
1776
1772
|
{
|
|
1777
|
-
$ref: "https://schema.twindev.org/
|
|
1773
|
+
$ref: "https://schema.twindev.org/w3c-odrl/OdrlPolicy"
|
|
1778
1774
|
},
|
|
1779
1775
|
{
|
|
1780
1776
|
type: "array",
|
|
1781
1777
|
items: false,
|
|
1782
1778
|
prefixItems: [
|
|
1783
1779
|
{
|
|
1784
|
-
$ref: "https://schema.twindev.org/
|
|
1780
|
+
$ref: "https://schema.twindev.org/w3c-odrl/OdrlPolicy"
|
|
1785
1781
|
}
|
|
1786
1782
|
]
|
|
1787
1783
|
}
|
|
@@ -1803,7 +1799,7 @@ var properties = {
|
|
|
1803
1799
|
items: false,
|
|
1804
1800
|
prefixItems: [
|
|
1805
1801
|
{
|
|
1806
|
-
$ref: "https://schema.twindev.org/gaia-x/DataResource"
|
|
1802
|
+
$ref: "https://schema.twindev.org/gaia-x-loire/DataResource"
|
|
1807
1803
|
}
|
|
1808
1804
|
]
|
|
1809
1805
|
},
|
|
@@ -1931,7 +1927,7 @@ var properties = {
|
|
|
1931
1927
|
description: "Resources aggregated It is supported different representations, inline, by reference both providing the URI or a partial JSON-LD Node object"
|
|
1932
1928
|
},
|
|
1933
1929
|
endpoint: {
|
|
1934
|
-
$ref: "https://schema.twindev.org/gaia-x/Endpoint",
|
|
1930
|
+
$ref: "https://schema.twindev.org/gaia-x-loire/Endpoint",
|
|
1935
1931
|
description: "The endpoint"
|
|
1936
1932
|
}
|
|
1937
1933
|
};
|
package/dist/esm/index.mjs
CHANGED
|
@@ -10,11 +10,7 @@ const GaiaXContexts = {
|
|
|
10
10
|
/**
|
|
11
11
|
* The Gaia-X LD Context
|
|
12
12
|
*/
|
|
13
|
-
ContextRoot: "https://
|
|
14
|
-
/**
|
|
15
|
-
* The Gaia-X custom context.
|
|
16
|
-
*/
|
|
17
|
-
TwinContext: "https://schema.twindev.org/gaia-x"
|
|
13
|
+
ContextRoot: "https://schema.twindev.org/gaia-x-loire/"
|
|
18
14
|
};
|
|
19
15
|
|
|
20
16
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -79,7 +75,7 @@ const GaiaXTypes = {
|
|
|
79
75
|
};
|
|
80
76
|
|
|
81
77
|
var $schema$6 = "https://json-schema.org/draft/2020-12/schema";
|
|
82
|
-
var $id$6 = "https://schema.twindev.org/gaia-x/Address";
|
|
78
|
+
var $id$6 = "https://schema.twindev.org/gaia-x-loire/Address";
|
|
83
79
|
var description$6 = "Address as defined by Gaia-X https://docs.gaia-x.eu/ontology/development/classes/Address/";
|
|
84
80
|
var type$6 = "object";
|
|
85
81
|
var properties$6 = {
|
|
@@ -214,7 +210,7 @@ var AddressSchema = {
|
|
|
214
210
|
};
|
|
215
211
|
|
|
216
212
|
var $schema$5 = "https://json-schema.org/draft/2020-12/schema";
|
|
217
|
-
var $id$5 = "https://schema.twindev.org/gaia-x/DataExchangeComponent";
|
|
213
|
+
var $id$5 = "https://schema.twindev.org/gaia-x-loire/DataExchangeComponent";
|
|
218
214
|
var description$5 = "Data Exchange component as defined by Gaia-X https://docs.gaia-x.eu/ontology/development/classes/DataExchangeComponent";
|
|
219
215
|
var type$5 = "object";
|
|
220
216
|
var properties$5 = {
|
|
@@ -223,7 +219,7 @@ var properties$5 = {
|
|
|
223
219
|
anyOf: [
|
|
224
220
|
{
|
|
225
221
|
type: "string",
|
|
226
|
-
"const": "https://
|
|
222
|
+
"const": "https://schema.twindev.org/gaia-x-loire/"
|
|
227
223
|
},
|
|
228
224
|
{
|
|
229
225
|
type: "array",
|
|
@@ -234,7 +230,7 @@ var properties$5 = {
|
|
|
234
230
|
prefixItems: [
|
|
235
231
|
{
|
|
236
232
|
type: "string",
|
|
237
|
-
"const": "https://
|
|
233
|
+
"const": "https://schema.twindev.org/gaia-x-loire/"
|
|
238
234
|
},
|
|
239
235
|
{
|
|
240
236
|
$ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
@@ -253,7 +249,7 @@ var properties$5 = {
|
|
|
253
249
|
},
|
|
254
250
|
{
|
|
255
251
|
type: "string",
|
|
256
|
-
"const": "https://
|
|
252
|
+
"const": "https://schema.twindev.org/gaia-x-loire/"
|
|
257
253
|
}
|
|
258
254
|
]
|
|
259
255
|
}
|
|
@@ -398,7 +394,7 @@ var DataExchangeComponentSchema = {
|
|
|
398
394
|
};
|
|
399
395
|
|
|
400
396
|
var $schema$4 = "https://json-schema.org/draft/2020-12/schema";
|
|
401
|
-
var $id$4 = "https://schema.twindev.org/gaia-x/DataResource";
|
|
397
|
+
var $id$4 = "https://schema.twindev.org/gaia-x-loire/DataResource";
|
|
402
398
|
var description$4 = "A Data Resource as defined by Gaia-X. See also W3C DCAT Dataset https://www.w3.org/TR/vocab-dcat-3/.";
|
|
403
399
|
var type$4 = "object";
|
|
404
400
|
var properties$4 = {
|
|
@@ -407,7 +403,7 @@ var properties$4 = {
|
|
|
407
403
|
anyOf: [
|
|
408
404
|
{
|
|
409
405
|
type: "string",
|
|
410
|
-
"const": "https://
|
|
406
|
+
"const": "https://schema.twindev.org/gaia-x-loire/"
|
|
411
407
|
},
|
|
412
408
|
{
|
|
413
409
|
type: "array",
|
|
@@ -418,7 +414,7 @@ var properties$4 = {
|
|
|
418
414
|
prefixItems: [
|
|
419
415
|
{
|
|
420
416
|
type: "string",
|
|
421
|
-
"const": "https://
|
|
417
|
+
"const": "https://schema.twindev.org/gaia-x-loire/"
|
|
422
418
|
},
|
|
423
419
|
{
|
|
424
420
|
$ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
@@ -437,7 +433,7 @@ var properties$4 = {
|
|
|
437
433
|
},
|
|
438
434
|
{
|
|
439
435
|
type: "string",
|
|
440
|
-
"const": "https://
|
|
436
|
+
"const": "https://schema.twindev.org/gaia-x-loire/"
|
|
441
437
|
}
|
|
442
438
|
]
|
|
443
439
|
}
|
|
@@ -539,7 +535,7 @@ var properties$4 = {
|
|
|
539
535
|
exposedThrough: {
|
|
540
536
|
anyOf: [
|
|
541
537
|
{
|
|
542
|
-
$ref: "https://schema.twindev.org/gaia-x/DataExchangeComponent"
|
|
538
|
+
$ref: "https://schema.twindev.org/gaia-x-loire/DataExchangeComponent"
|
|
543
539
|
},
|
|
544
540
|
{
|
|
545
541
|
type: "string"
|
|
@@ -670,7 +666,7 @@ var properties$4 = {
|
|
|
670
666
|
producedBy: {
|
|
671
667
|
anyOf: [
|
|
672
668
|
{
|
|
673
|
-
$ref: "https://schema.twindev.org/gaia-x/LegalPerson"
|
|
669
|
+
$ref: "https://schema.twindev.org/gaia-x-loire/LegalPerson"
|
|
674
670
|
},
|
|
675
671
|
{
|
|
676
672
|
type: "string"
|
|
@@ -685,7 +681,7 @@ var properties$4 = {
|
|
|
685
681
|
copyrightOwnedBy: {
|
|
686
682
|
anyOf: [
|
|
687
683
|
{
|
|
688
|
-
$ref: "https://schema.twindev.org/gaia-x/LegalPerson"
|
|
684
|
+
$ref: "https://schema.twindev.org/gaia-x-loire/LegalPerson"
|
|
689
685
|
},
|
|
690
686
|
{
|
|
691
687
|
type: "string"
|
|
@@ -697,14 +693,14 @@ var properties$4 = {
|
|
|
697
693
|
description: "Object or array data type",
|
|
698
694
|
anyOf: [
|
|
699
695
|
{
|
|
700
|
-
$ref: "https://schema.twindev.org/
|
|
696
|
+
$ref: "https://schema.twindev.org/w3c-odrl/OdrlPolicy"
|
|
701
697
|
},
|
|
702
698
|
{
|
|
703
699
|
type: "array",
|
|
704
700
|
items: false,
|
|
705
701
|
prefixItems: [
|
|
706
702
|
{
|
|
707
|
-
$ref: "https://schema.twindev.org/
|
|
703
|
+
$ref: "https://schema.twindev.org/w3c-odrl/OdrlPolicy"
|
|
708
704
|
}
|
|
709
705
|
]
|
|
710
706
|
}
|
|
@@ -758,7 +754,7 @@ var DataResourceSchema = {
|
|
|
758
754
|
};
|
|
759
755
|
|
|
760
756
|
var $schema$3 = "https://json-schema.org/draft/2020-12/schema";
|
|
761
|
-
var $id$3 = "https://schema.twindev.org/gaia-x/Endpoint";
|
|
757
|
+
var $id$3 = "https://schema.twindev.org/gaia-x-loire/Endpoint";
|
|
762
758
|
var description$3 = "Endpoint as defined by the Gaia-X ontology. https://docs.gaia-x.eu/ontology/development/classes/Endpoint";
|
|
763
759
|
var type$3 = "object";
|
|
764
760
|
var properties$3 = {
|
|
@@ -898,7 +894,7 @@ var EndpointSchema = {
|
|
|
898
894
|
};
|
|
899
895
|
|
|
900
896
|
var $schema$2 = "https://json-schema.org/draft/2020-12/schema";
|
|
901
|
-
var $id$2 = "https://schema.twindev.org/gaia-x/LegalPerson";
|
|
897
|
+
var $id$2 = "https://schema.twindev.org/gaia-x-loire/LegalPerson";
|
|
902
898
|
var description$2 = "A Legal Person as defined by Gaia-X.";
|
|
903
899
|
var type$2 = "object";
|
|
904
900
|
var properties$2 = {
|
|
@@ -907,7 +903,7 @@ var properties$2 = {
|
|
|
907
903
|
anyOf: [
|
|
908
904
|
{
|
|
909
905
|
type: "string",
|
|
910
|
-
"const": "https://
|
|
906
|
+
"const": "https://schema.twindev.org/gaia-x-loire/"
|
|
911
907
|
},
|
|
912
908
|
{
|
|
913
909
|
type: "array",
|
|
@@ -918,7 +914,7 @@ var properties$2 = {
|
|
|
918
914
|
prefixItems: [
|
|
919
915
|
{
|
|
920
916
|
type: "string",
|
|
921
|
-
"const": "https://
|
|
917
|
+
"const": "https://schema.twindev.org/gaia-x-loire/"
|
|
922
918
|
},
|
|
923
919
|
{
|
|
924
920
|
$ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
@@ -937,7 +933,7 @@ var properties$2 = {
|
|
|
937
933
|
},
|
|
938
934
|
{
|
|
939
935
|
type: "string",
|
|
940
|
-
"const": "https://
|
|
936
|
+
"const": "https://schema.twindev.org/gaia-x-loire/"
|
|
941
937
|
}
|
|
942
938
|
]
|
|
943
939
|
}
|
|
@@ -1037,7 +1033,7 @@ var properties$2 = {
|
|
|
1037
1033
|
description: "JSON-LD type."
|
|
1038
1034
|
},
|
|
1039
1035
|
registrationNumber: {
|
|
1040
|
-
$ref: "https://schema.twindev.org/gaia-x/RegistrationNumber",
|
|
1036
|
+
$ref: "https://schema.twindev.org/gaia-x-loire/RegistrationNumber",
|
|
1041
1037
|
description: "The legal registration number."
|
|
1042
1038
|
},
|
|
1043
1039
|
legalName: {
|
|
@@ -1045,11 +1041,11 @@ var properties$2 = {
|
|
|
1045
1041
|
description: "The legal name."
|
|
1046
1042
|
},
|
|
1047
1043
|
legalAddress: {
|
|
1048
|
-
$ref: "https://schema.twindev.org/gaia-x/Address",
|
|
1044
|
+
$ref: "https://schema.twindev.org/gaia-x-loire/Address",
|
|
1049
1045
|
description: "Legal Address"
|
|
1050
1046
|
},
|
|
1051
1047
|
headquartersAddress: {
|
|
1052
|
-
$ref: "https://schema.twindev.org/gaia-x/Address",
|
|
1048
|
+
$ref: "https://schema.twindev.org/gaia-x-loire/Address",
|
|
1053
1049
|
description: "Headquarters address."
|
|
1054
1050
|
},
|
|
1055
1051
|
parentOrganizationOf: {
|
|
@@ -1327,7 +1323,7 @@ var LegalPersonSchema = {
|
|
|
1327
1323
|
};
|
|
1328
1324
|
|
|
1329
1325
|
var $schema$1 = "https://json-schema.org/draft/2020-12/schema";
|
|
1330
|
-
var $id$1 = "https://schema.twindev.org/gaia-x/RegistrationNumber";
|
|
1326
|
+
var $id$1 = "https://schema.twindev.org/gaia-x-loire/RegistrationNumber";
|
|
1331
1327
|
var description$1 = "Registration Number as defined by the Gaia-X ontology. https://docs.gaia-x.eu/ontology/development/classes/RegistrationNumber/";
|
|
1332
1328
|
var type$1 = "object";
|
|
1333
1329
|
var properties$1 = {
|
|
@@ -1499,7 +1495,7 @@ var RegistrationNumberSchema = {
|
|
|
1499
1495
|
};
|
|
1500
1496
|
|
|
1501
1497
|
var $schema = "https://json-schema.org/draft/2020-12/schema";
|
|
1502
|
-
var $id = "https://schema.twindev.org/gaia-x/ServiceOffering";
|
|
1498
|
+
var $id = "https://schema.twindev.org/gaia-x-loire/ServiceOffering";
|
|
1503
1499
|
var description = "A Service offering";
|
|
1504
1500
|
var type = "object";
|
|
1505
1501
|
var properties = {
|
|
@@ -1508,7 +1504,7 @@ var properties = {
|
|
|
1508
1504
|
anyOf: [
|
|
1509
1505
|
{
|
|
1510
1506
|
type: "string",
|
|
1511
|
-
"const": "https://
|
|
1507
|
+
"const": "https://schema.twindev.org/gaia-x-loire/"
|
|
1512
1508
|
},
|
|
1513
1509
|
{
|
|
1514
1510
|
type: "array",
|
|
@@ -1519,7 +1515,7 @@ var properties = {
|
|
|
1519
1515
|
prefixItems: [
|
|
1520
1516
|
{
|
|
1521
1517
|
type: "string",
|
|
1522
|
-
"const": "https://
|
|
1518
|
+
"const": "https://schema.twindev.org/gaia-x-loire/"
|
|
1523
1519
|
},
|
|
1524
1520
|
{
|
|
1525
1521
|
$ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
@@ -1538,7 +1534,7 @@ var properties = {
|
|
|
1538
1534
|
},
|
|
1539
1535
|
{
|
|
1540
1536
|
type: "string",
|
|
1541
|
-
"const": "https://
|
|
1537
|
+
"const": "https://schema.twindev.org/gaia-x-loire/"
|
|
1542
1538
|
}
|
|
1543
1539
|
]
|
|
1544
1540
|
}
|
|
@@ -1643,7 +1639,7 @@ var properties = {
|
|
|
1643
1639
|
type: "string"
|
|
1644
1640
|
},
|
|
1645
1641
|
{
|
|
1646
|
-
$ref: "https://schema.twindev.org/gaia-x/LegalPerson"
|
|
1642
|
+
$ref: "https://schema.twindev.org/gaia-x-loire/LegalPerson"
|
|
1647
1643
|
},
|
|
1648
1644
|
{
|
|
1649
1645
|
type: "object",
|
|
@@ -1772,14 +1768,14 @@ var properties = {
|
|
|
1772
1768
|
description: "Object or array data type",
|
|
1773
1769
|
anyOf: [
|
|
1774
1770
|
{
|
|
1775
|
-
$ref: "https://schema.twindev.org/
|
|
1771
|
+
$ref: "https://schema.twindev.org/w3c-odrl/OdrlPolicy"
|
|
1776
1772
|
},
|
|
1777
1773
|
{
|
|
1778
1774
|
type: "array",
|
|
1779
1775
|
items: false,
|
|
1780
1776
|
prefixItems: [
|
|
1781
1777
|
{
|
|
1782
|
-
$ref: "https://schema.twindev.org/
|
|
1778
|
+
$ref: "https://schema.twindev.org/w3c-odrl/OdrlPolicy"
|
|
1783
1779
|
}
|
|
1784
1780
|
]
|
|
1785
1781
|
}
|
|
@@ -1801,7 +1797,7 @@ var properties = {
|
|
|
1801
1797
|
items: false,
|
|
1802
1798
|
prefixItems: [
|
|
1803
1799
|
{
|
|
1804
|
-
$ref: "https://schema.twindev.org/gaia-x/DataResource"
|
|
1800
|
+
$ref: "https://schema.twindev.org/gaia-x-loire/DataResource"
|
|
1805
1801
|
}
|
|
1806
1802
|
]
|
|
1807
1803
|
},
|
|
@@ -1929,7 +1925,7 @@ var properties = {
|
|
|
1929
1925
|
description: "Resources aggregated It is supported different representations, inline, by reference both providing the URI or a partial JSON-LD Node object"
|
|
1930
1926
|
},
|
|
1931
1927
|
endpoint: {
|
|
1932
|
-
$ref: "https://schema.twindev.org/gaia-x/Endpoint",
|
|
1928
|
+
$ref: "https://schema.twindev.org/gaia-x-loire/Endpoint",
|
|
1933
1929
|
description: "The endpoint"
|
|
1934
1930
|
}
|
|
1935
1931
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ObjectOrArray } from "@twin.org/core";
|
|
2
2
|
import type { IJsonLdNodeObject } from "@twin.org/data-json-ld";
|
|
3
|
+
import type { IOdrlPolicy } from "@twin.org/standards-w3c-odrl";
|
|
3
4
|
import type { GaiaXContextType } from "./gaiaXContextType";
|
|
4
5
|
import type { GaiaXTypes } from "./gaiaXTypes";
|
|
5
6
|
import type { IDataExchangeComponent } from "./IDataExchangeComponent";
|
|
@@ -50,5 +51,5 @@ export interface IDataResource extends IGaiaXEntity {
|
|
|
50
51
|
/**
|
|
51
52
|
* ODRL Policy
|
|
52
53
|
*/
|
|
53
|
-
resourcePolicy: ObjectOrArray<
|
|
54
|
+
resourcePolicy: ObjectOrArray<IOdrlPolicy>;
|
|
54
55
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ObjectOrArray } from "@twin.org/core";
|
|
2
2
|
import type { IJsonLdNodeObject } from "@twin.org/data-json-ld";
|
|
3
|
+
import type { IOdrlPolicy } from "@twin.org/standards-w3c-odrl";
|
|
3
4
|
import type { GaiaXTypes } from "./gaiaXTypes";
|
|
4
5
|
import type { IDataResource } from "./IDataResource";
|
|
5
6
|
import type { IEndpoint } from "./IEndpoint";
|
|
@@ -27,7 +28,7 @@ export interface IServiceOffering extends IGaiaXEntity {
|
|
|
27
28
|
/**
|
|
28
29
|
* ODRL policy associated to the service offering
|
|
29
30
|
*/
|
|
30
|
-
servicePolicy: ObjectOrArray<
|
|
31
|
+
servicePolicy: ObjectOrArray<IOdrlPolicy>;
|
|
31
32
|
/**
|
|
32
33
|
* Resources aggregated
|
|
33
34
|
* It is supported different representations, inline,
|
|
@@ -5,11 +5,7 @@ export declare const GaiaXContexts: {
|
|
|
5
5
|
/**
|
|
6
6
|
* The Gaia-X LD Context
|
|
7
7
|
*/
|
|
8
|
-
readonly ContextRoot: "https://
|
|
9
|
-
/**
|
|
10
|
-
* The Gaia-X custom context.
|
|
11
|
-
*/
|
|
12
|
-
readonly TwinContext: "https://schema.twindev.org/gaia-x";
|
|
8
|
+
readonly ContextRoot: "https://schema.twindev.org/gaia-x-loire/";
|
|
13
9
|
};
|
|
14
10
|
/**
|
|
15
11
|
* The LD Contexts concerning Gaia-X.
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @twin.org/standards-gaia-x - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.2-next.15](https://github.com/twinfoundation/standards/compare/standards-gaia-x-v0.0.2-next.14...standards-gaia-x-v0.0.2-next.15) (2025-10-09)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add validate-locales ([838389c](https://github.com/twinfoundation/standards/commit/838389c1daf62ed42397d5758d267c3d1a37fa4d))
|
|
9
|
+
* use full ODRL objects in gaia-x ([5d532cf](https://github.com/twinfoundation/standards/commit/5d532cf519810251407c755efd41385a6f348825))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Dependencies
|
|
13
|
+
|
|
14
|
+
* The following workspace dependencies were updated
|
|
15
|
+
* dependencies
|
|
16
|
+
* @twin.org/standards-w3c-odrl bumped from 0.0.2-next.14 to 0.0.2-next.15
|
|
17
|
+
|
|
18
|
+
## [0.0.2-next.14](https://github.com/twinfoundation/standards/compare/standards-gaia-x-v0.0.2-next.13...standards-gaia-x-v0.0.2-next.14) (2025-10-02)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* gaia-x pinned LD Context ([#59](https://github.com/twinfoundation/standards/issues/59)) ([7572616](https://github.com/twinfoundation/standards/commit/7572616a2e853e8f6f6234763e675edb96e54005))
|
|
24
|
+
|
|
3
25
|
## [0.0.2-next.13](https://github.com/twinfoundation/standards/compare/standards-gaia-x-v0.0.2-next.12...standards-gaia-x-v0.0.2-next.13) (2025-09-22)
|
|
4
26
|
|
|
5
27
|
|
|
@@ -8,12 +8,6 @@ The LD Contexts concerning Gaia-X.
|
|
|
8
8
|
|
|
9
9
|
### ContextRoot
|
|
10
10
|
|
|
11
|
-
> `readonly` **ContextRoot**: `"https://
|
|
11
|
+
> `readonly` **ContextRoot**: `"https://schema.twindev.org/gaia-x-loire/"` = `"https://schema.twindev.org/gaia-x-loire/"`
|
|
12
12
|
|
|
13
13
|
The Gaia-X LD Context
|
|
14
|
-
|
|
15
|
-
### TwinContext
|
|
16
|
-
|
|
17
|
-
> `readonly` **TwinContext**: `"https://schema.twindev.org/gaia-x"` = `"https://schema.twindev.org/gaia-x"`
|
|
18
|
-
|
|
19
|
-
The Gaia-X custom context.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/standards-gaia-x",
|
|
3
|
-
"version": "0.0.2-next.
|
|
3
|
+
"version": "0.0.2-next.15",
|
|
4
4
|
"description": "Models which define the structure of Gaia-x",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@twin.org/core": "next",
|
|
18
18
|
"@twin.org/data-core": "next",
|
|
19
|
-
"@twin.org/data-json-ld": "next"
|
|
19
|
+
"@twin.org/data-json-ld": "next",
|
|
20
|
+
"@twin.org/standards-w3c-odrl": "0.0.2-next.15"
|
|
20
21
|
},
|
|
21
22
|
"main": "./dist/cjs/index.cjs",
|
|
22
23
|
"module": "./dist/esm/index.mjs",
|
|
@@ -35,5 +36,19 @@
|
|
|
35
36
|
"dist/types",
|
|
36
37
|
"locales",
|
|
37
38
|
"docs"
|
|
38
|
-
]
|
|
39
|
+
],
|
|
40
|
+
"keywords": [
|
|
41
|
+
"twin",
|
|
42
|
+
"trade",
|
|
43
|
+
"iota",
|
|
44
|
+
"framework",
|
|
45
|
+
"blockchain",
|
|
46
|
+
"standards",
|
|
47
|
+
"schema",
|
|
48
|
+
"specification"
|
|
49
|
+
],
|
|
50
|
+
"bugs": {
|
|
51
|
+
"url": "git+https://github.com/twinfoundation/standards/issues"
|
|
52
|
+
},
|
|
53
|
+
"homepage": "https://twindev.org"
|
|
39
54
|
}
|