@twin.org/standards-gaia-x 0.0.2-next.11 → 0.0.2-next.13

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.
@@ -80,9 +80,9 @@ const GaiaXTypes = {
80
80
  TaxID: "TaxID"
81
81
  };
82
82
 
83
- var $schema$7 = "https://json-schema.org/draft/2020-12/schema";
84
- var $id$7 = "https://schema.twindev.org/gaia-x/Address";
85
- var description$7 = "Address as defined by Gaia-X https://docs.gaia-x.eu/ontology/development/classes/Address/";
83
+ var $schema$6 = "https://json-schema.org/draft/2020-12/schema";
84
+ var $id$6 = "https://schema.twindev.org/gaia-x/Address";
85
+ var description$6 = "Address as defined by Gaia-X https://docs.gaia-x.eu/ontology/development/classes/Address/";
86
86
  var type$6 = "object";
87
87
  var properties$6 = {
88
88
  "@context": {
@@ -206,23 +206,60 @@ var additionalProperties$6 = {
206
206
  ]
207
207
  };
208
208
  var AddressSchema = {
209
- $schema: $schema$7,
210
- $id: $id$7,
211
- description: description$7,
209
+ $schema: $schema$6,
210
+ $id: $id$6,
211
+ description: description$6,
212
212
  type: type$6,
213
213
  properties: properties$6,
214
214
  required: required$6,
215
215
  additionalProperties: additionalProperties$6
216
216
  };
217
217
 
218
- var $schema$6 = "https://json-schema.org/draft/2020-12/schema";
219
- var $id$6 = "https://schema.twindev.org/gaia-x/DataExchangeComponent";
220
- var description$6 = "Data Exchange component as defined by Gaia-X https://docs.gaia-x.eu/ontology/development/classes/DataExchangeComponent";
218
+ var $schema$5 = "https://json-schema.org/draft/2020-12/schema";
219
+ var $id$5 = "https://schema.twindev.org/gaia-x/DataExchangeComponent";
220
+ var description$5 = "Data Exchange component as defined by Gaia-X https://docs.gaia-x.eu/ontology/development/classes/DataExchangeComponent";
221
221
  var type$5 = "object";
222
222
  var properties$5 = {
223
223
  "@context": {
224
- $ref: "https://schema.twindev.org/gaia-x/GaiaXContextType",
225
- description: "The LD Context"
224
+ description: "The Gaia-X JSON-LD context type.",
225
+ anyOf: [
226
+ {
227
+ type: "string",
228
+ "const": "https://w3id.org/gaia-x/development"
229
+ },
230
+ {
231
+ type: "array",
232
+ minItems: 2,
233
+ items: {
234
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
235
+ },
236
+ prefixItems: [
237
+ {
238
+ type: "string",
239
+ "const": "https://w3id.org/gaia-x/development"
240
+ },
241
+ {
242
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
243
+ }
244
+ ]
245
+ },
246
+ {
247
+ type: "array",
248
+ minItems: 2,
249
+ items: {
250
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
251
+ },
252
+ prefixItems: [
253
+ {
254
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
255
+ },
256
+ {
257
+ type: "string",
258
+ "const": "https://w3id.org/gaia-x/development"
259
+ }
260
+ ]
261
+ }
262
+ ]
226
263
  },
227
264
  "@id": {
228
265
  anyOf: [
@@ -353,23 +390,60 @@ var additionalProperties$5 = {
353
390
  ]
354
391
  };
355
392
  var DataExchangeComponentSchema = {
356
- $schema: $schema$6,
357
- $id: $id$6,
358
- description: description$6,
393
+ $schema: $schema$5,
394
+ $id: $id$5,
395
+ description: description$5,
359
396
  type: type$5,
360
397
  properties: properties$5,
361
398
  required: required$5,
362
399
  additionalProperties: additionalProperties$5
363
400
  };
364
401
 
365
- var $schema$5 = "https://json-schema.org/draft/2020-12/schema";
366
- var $id$5 = "https://schema.twindev.org/gaia-x/DataResource";
367
- var description$5 = "A Data Resource as defined by Gaia-X. See also W3C DCAT Dataset https://www.w3.org/TR/vocab-dcat-3/.";
402
+ var $schema$4 = "https://json-schema.org/draft/2020-12/schema";
403
+ var $id$4 = "https://schema.twindev.org/gaia-x/DataResource";
404
+ var description$4 = "A Data Resource as defined by Gaia-X. See also W3C DCAT Dataset https://www.w3.org/TR/vocab-dcat-3/.";
368
405
  var type$4 = "object";
369
406
  var properties$4 = {
370
407
  "@context": {
371
- $ref: "https://schema.twindev.org/gaia-x/GaiaXContextType",
372
- description: "The LD Context"
408
+ description: "The Gaia-X JSON-LD context type.",
409
+ anyOf: [
410
+ {
411
+ type: "string",
412
+ "const": "https://w3id.org/gaia-x/development"
413
+ },
414
+ {
415
+ type: "array",
416
+ minItems: 2,
417
+ items: {
418
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
419
+ },
420
+ prefixItems: [
421
+ {
422
+ type: "string",
423
+ "const": "https://w3id.org/gaia-x/development"
424
+ },
425
+ {
426
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
427
+ }
428
+ ]
429
+ },
430
+ {
431
+ type: "array",
432
+ minItems: 2,
433
+ items: {
434
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
435
+ },
436
+ prefixItems: [
437
+ {
438
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
439
+ },
440
+ {
441
+ type: "string",
442
+ "const": "https://w3id.org/gaia-x/development"
443
+ }
444
+ ]
445
+ }
446
+ ]
373
447
  },
374
448
  "@id": {
375
449
  anyOf: [
@@ -676,18 +750,18 @@ var additionalProperties$4 = {
676
750
  ]
677
751
  };
678
752
  var DataResourceSchema = {
679
- $schema: $schema$5,
680
- $id: $id$5,
681
- description: description$5,
753
+ $schema: $schema$4,
754
+ $id: $id$4,
755
+ description: description$4,
682
756
  type: type$4,
683
757
  properties: properties$4,
684
758
  required: required$4,
685
759
  additionalProperties: additionalProperties$4
686
760
  };
687
761
 
688
- var $schema$4 = "https://json-schema.org/draft/2020-12/schema";
689
- var $id$4 = "https://schema.twindev.org/gaia-x/Endpoint";
690
- var description$4 = "Endpoint as defined by the Gaia-X ontology. https://docs.gaia-x.eu/ontology/development/classes/Endpoint";
762
+ var $schema$3 = "https://json-schema.org/draft/2020-12/schema";
763
+ var $id$3 = "https://schema.twindev.org/gaia-x/Endpoint";
764
+ var description$3 = "Endpoint as defined by the Gaia-X ontology. https://docs.gaia-x.eu/ontology/development/classes/Endpoint";
691
765
  var type$3 = "object";
692
766
  var properties$3 = {
693
767
  "@context": {
@@ -816,71 +890,60 @@ var additionalProperties$3 = {
816
890
  ]
817
891
  };
818
892
  var EndpointSchema = {
819
- $schema: $schema$4,
820
- $id: $id$4,
821
- description: description$4,
893
+ $schema: $schema$3,
894
+ $id: $id$3,
895
+ description: description$3,
822
896
  type: type$3,
823
897
  properties: properties$3,
824
898
  required: required$3,
825
899
  additionalProperties: additionalProperties$3
826
900
  };
827
901
 
828
- var $schema$3 = "https://json-schema.org/draft/2020-12/schema";
829
- var $id$3 = "https://schema.twindev.org/gaia-x/GaiaXContextType";
830
- var description$3 = "The Gaia-X JSON-LD context type.";
831
- var anyOf = [
832
- {
833
- type: "string",
834
- "const": "https://w3id.org/gaia-x/development"
835
- },
836
- {
837
- type: "array",
838
- minItems: 2,
839
- items: {
840
- $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
841
- },
842
- prefixItems: [
902
+ var $schema$2 = "https://json-schema.org/draft/2020-12/schema";
903
+ var $id$2 = "https://schema.twindev.org/gaia-x/LegalPerson";
904
+ var description$2 = "A Legal Person as defined by Gaia-X.";
905
+ var type$2 = "object";
906
+ var properties$2 = {
907
+ "@context": {
908
+ description: "The Gaia-X JSON-LD context type.",
909
+ anyOf: [
843
910
  {
844
911
  type: "string",
845
912
  "const": "https://w3id.org/gaia-x/development"
846
913
  },
847
914
  {
848
- $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
849
- }
850
- ]
851
- },
852
- {
853
- type: "array",
854
- minItems: 2,
855
- items: {
856
- $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
857
- },
858
- prefixItems: [
859
- {
860
- $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
915
+ type: "array",
916
+ minItems: 2,
917
+ items: {
918
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
919
+ },
920
+ prefixItems: [
921
+ {
922
+ type: "string",
923
+ "const": "https://w3id.org/gaia-x/development"
924
+ },
925
+ {
926
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
927
+ }
928
+ ]
861
929
  },
862
930
  {
863
- type: "string",
864
- "const": "https://w3id.org/gaia-x/development"
931
+ type: "array",
932
+ minItems: 2,
933
+ items: {
934
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
935
+ },
936
+ prefixItems: [
937
+ {
938
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
939
+ },
940
+ {
941
+ type: "string",
942
+ "const": "https://w3id.org/gaia-x/development"
943
+ }
944
+ ]
865
945
  }
866
946
  ]
867
- }
868
- ];
869
- var GaiaXContextTypeSchema = {
870
- $schema: $schema$3,
871
- $id: $id$3,
872
- description: description$3,
873
- anyOf: anyOf
874
- };
875
-
876
- var $schema$2 = "https://json-schema.org/draft/2020-12/schema";
877
- var $id$2 = "https://schema.twindev.org/gaia-x/LegalPerson";
878
- var description$2 = "A Legal Person as defined by Gaia-X.";
879
- var type$2 = "object";
880
- var properties$2 = {
881
- "@context": {
882
- $ref: "https://schema.twindev.org/gaia-x/GaiaXContextType",
883
- description: "The LD context."
884
947
  },
885
948
  "@id": {
886
949
  anyOf: [
@@ -1443,8 +1506,45 @@ var description = "A Service offering";
1443
1506
  var type = "object";
1444
1507
  var properties = {
1445
1508
  "@context": {
1446
- $ref: "https://schema.twindev.org/gaia-x/GaiaXContextType",
1447
- description: "The LD context."
1509
+ description: "The Gaia-X JSON-LD context type.",
1510
+ anyOf: [
1511
+ {
1512
+ type: "string",
1513
+ "const": "https://w3id.org/gaia-x/development"
1514
+ },
1515
+ {
1516
+ type: "array",
1517
+ minItems: 2,
1518
+ items: {
1519
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
1520
+ },
1521
+ prefixItems: [
1522
+ {
1523
+ type: "string",
1524
+ "const": "https://w3id.org/gaia-x/development"
1525
+ },
1526
+ {
1527
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
1528
+ }
1529
+ ]
1530
+ },
1531
+ {
1532
+ type: "array",
1533
+ minItems: 2,
1534
+ items: {
1535
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
1536
+ },
1537
+ prefixItems: [
1538
+ {
1539
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
1540
+ },
1541
+ {
1542
+ type: "string",
1543
+ "const": "https://w3id.org/gaia-x/development"
1544
+ }
1545
+ ]
1546
+ }
1547
+ ]
1448
1548
  },
1449
1549
  "@id": {
1450
1550
  anyOf: [
@@ -1837,7 +1937,6 @@ var properties = {
1837
1937
  };
1838
1938
  var required = [
1839
1939
  "@context",
1840
- "endpoint",
1841
1940
  "id",
1842
1941
  "name",
1843
1942
  "providedBy",
@@ -1887,11 +1986,6 @@ class GaiaXDataTypes {
1887
1986
  * Register all the data types.
1888
1987
  */
1889
1988
  static registerTypes() {
1890
- dataCore.DataTypeHandlerFactory.register(`${GaiaXContexts.TwinContext}/${"GaiaXContextType"}`, () => ({
1891
- context: GaiaXContexts.TwinContext,
1892
- type: "GaiaXContextType",
1893
- jsonSchema: async () => GaiaXContextTypeSchema
1894
- }));
1895
1989
  dataCore.DataTypeHandlerFactory.register(`${GaiaXContexts.ContextRoot}${GaiaXTypes.DataExchangeComponent}`, () => ({
1896
1990
  context: GaiaXContexts.ContextRoot,
1897
1991
  type: GaiaXTypes.DataExchangeComponent,
@@ -78,9 +78,9 @@ const GaiaXTypes = {
78
78
  TaxID: "TaxID"
79
79
  };
80
80
 
81
- var $schema$7 = "https://json-schema.org/draft/2020-12/schema";
82
- var $id$7 = "https://schema.twindev.org/gaia-x/Address";
83
- var description$7 = "Address as defined by Gaia-X https://docs.gaia-x.eu/ontology/development/classes/Address/";
81
+ var $schema$6 = "https://json-schema.org/draft/2020-12/schema";
82
+ var $id$6 = "https://schema.twindev.org/gaia-x/Address";
83
+ var description$6 = "Address as defined by Gaia-X https://docs.gaia-x.eu/ontology/development/classes/Address/";
84
84
  var type$6 = "object";
85
85
  var properties$6 = {
86
86
  "@context": {
@@ -204,23 +204,60 @@ var additionalProperties$6 = {
204
204
  ]
205
205
  };
206
206
  var AddressSchema = {
207
- $schema: $schema$7,
208
- $id: $id$7,
209
- description: description$7,
207
+ $schema: $schema$6,
208
+ $id: $id$6,
209
+ description: description$6,
210
210
  type: type$6,
211
211
  properties: properties$6,
212
212
  required: required$6,
213
213
  additionalProperties: additionalProperties$6
214
214
  };
215
215
 
216
- var $schema$6 = "https://json-schema.org/draft/2020-12/schema";
217
- var $id$6 = "https://schema.twindev.org/gaia-x/DataExchangeComponent";
218
- var description$6 = "Data Exchange component as defined by Gaia-X https://docs.gaia-x.eu/ontology/development/classes/DataExchangeComponent";
216
+ var $schema$5 = "https://json-schema.org/draft/2020-12/schema";
217
+ var $id$5 = "https://schema.twindev.org/gaia-x/DataExchangeComponent";
218
+ var description$5 = "Data Exchange component as defined by Gaia-X https://docs.gaia-x.eu/ontology/development/classes/DataExchangeComponent";
219
219
  var type$5 = "object";
220
220
  var properties$5 = {
221
221
  "@context": {
222
- $ref: "https://schema.twindev.org/gaia-x/GaiaXContextType",
223
- description: "The LD Context"
222
+ description: "The Gaia-X JSON-LD context type.",
223
+ anyOf: [
224
+ {
225
+ type: "string",
226
+ "const": "https://w3id.org/gaia-x/development"
227
+ },
228
+ {
229
+ type: "array",
230
+ minItems: 2,
231
+ items: {
232
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
233
+ },
234
+ prefixItems: [
235
+ {
236
+ type: "string",
237
+ "const": "https://w3id.org/gaia-x/development"
238
+ },
239
+ {
240
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
241
+ }
242
+ ]
243
+ },
244
+ {
245
+ type: "array",
246
+ minItems: 2,
247
+ items: {
248
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
249
+ },
250
+ prefixItems: [
251
+ {
252
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
253
+ },
254
+ {
255
+ type: "string",
256
+ "const": "https://w3id.org/gaia-x/development"
257
+ }
258
+ ]
259
+ }
260
+ ]
224
261
  },
225
262
  "@id": {
226
263
  anyOf: [
@@ -351,23 +388,60 @@ var additionalProperties$5 = {
351
388
  ]
352
389
  };
353
390
  var DataExchangeComponentSchema = {
354
- $schema: $schema$6,
355
- $id: $id$6,
356
- description: description$6,
391
+ $schema: $schema$5,
392
+ $id: $id$5,
393
+ description: description$5,
357
394
  type: type$5,
358
395
  properties: properties$5,
359
396
  required: required$5,
360
397
  additionalProperties: additionalProperties$5
361
398
  };
362
399
 
363
- var $schema$5 = "https://json-schema.org/draft/2020-12/schema";
364
- var $id$5 = "https://schema.twindev.org/gaia-x/DataResource";
365
- var description$5 = "A Data Resource as defined by Gaia-X. See also W3C DCAT Dataset https://www.w3.org/TR/vocab-dcat-3/.";
400
+ var $schema$4 = "https://json-schema.org/draft/2020-12/schema";
401
+ var $id$4 = "https://schema.twindev.org/gaia-x/DataResource";
402
+ var description$4 = "A Data Resource as defined by Gaia-X. See also W3C DCAT Dataset https://www.w3.org/TR/vocab-dcat-3/.";
366
403
  var type$4 = "object";
367
404
  var properties$4 = {
368
405
  "@context": {
369
- $ref: "https://schema.twindev.org/gaia-x/GaiaXContextType",
370
- description: "The LD Context"
406
+ description: "The Gaia-X JSON-LD context type.",
407
+ anyOf: [
408
+ {
409
+ type: "string",
410
+ "const": "https://w3id.org/gaia-x/development"
411
+ },
412
+ {
413
+ type: "array",
414
+ minItems: 2,
415
+ items: {
416
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
417
+ },
418
+ prefixItems: [
419
+ {
420
+ type: "string",
421
+ "const": "https://w3id.org/gaia-x/development"
422
+ },
423
+ {
424
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
425
+ }
426
+ ]
427
+ },
428
+ {
429
+ type: "array",
430
+ minItems: 2,
431
+ items: {
432
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
433
+ },
434
+ prefixItems: [
435
+ {
436
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
437
+ },
438
+ {
439
+ type: "string",
440
+ "const": "https://w3id.org/gaia-x/development"
441
+ }
442
+ ]
443
+ }
444
+ ]
371
445
  },
372
446
  "@id": {
373
447
  anyOf: [
@@ -674,18 +748,18 @@ var additionalProperties$4 = {
674
748
  ]
675
749
  };
676
750
  var DataResourceSchema = {
677
- $schema: $schema$5,
678
- $id: $id$5,
679
- description: description$5,
751
+ $schema: $schema$4,
752
+ $id: $id$4,
753
+ description: description$4,
680
754
  type: type$4,
681
755
  properties: properties$4,
682
756
  required: required$4,
683
757
  additionalProperties: additionalProperties$4
684
758
  };
685
759
 
686
- var $schema$4 = "https://json-schema.org/draft/2020-12/schema";
687
- var $id$4 = "https://schema.twindev.org/gaia-x/Endpoint";
688
- var description$4 = "Endpoint as defined by the Gaia-X ontology. https://docs.gaia-x.eu/ontology/development/classes/Endpoint";
760
+ var $schema$3 = "https://json-schema.org/draft/2020-12/schema";
761
+ var $id$3 = "https://schema.twindev.org/gaia-x/Endpoint";
762
+ var description$3 = "Endpoint as defined by the Gaia-X ontology. https://docs.gaia-x.eu/ontology/development/classes/Endpoint";
689
763
  var type$3 = "object";
690
764
  var properties$3 = {
691
765
  "@context": {
@@ -814,71 +888,60 @@ var additionalProperties$3 = {
814
888
  ]
815
889
  };
816
890
  var EndpointSchema = {
817
- $schema: $schema$4,
818
- $id: $id$4,
819
- description: description$4,
891
+ $schema: $schema$3,
892
+ $id: $id$3,
893
+ description: description$3,
820
894
  type: type$3,
821
895
  properties: properties$3,
822
896
  required: required$3,
823
897
  additionalProperties: additionalProperties$3
824
898
  };
825
899
 
826
- var $schema$3 = "https://json-schema.org/draft/2020-12/schema";
827
- var $id$3 = "https://schema.twindev.org/gaia-x/GaiaXContextType";
828
- var description$3 = "The Gaia-X JSON-LD context type.";
829
- var anyOf = [
830
- {
831
- type: "string",
832
- "const": "https://w3id.org/gaia-x/development"
833
- },
834
- {
835
- type: "array",
836
- minItems: 2,
837
- items: {
838
- $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
839
- },
840
- prefixItems: [
900
+ var $schema$2 = "https://json-schema.org/draft/2020-12/schema";
901
+ var $id$2 = "https://schema.twindev.org/gaia-x/LegalPerson";
902
+ var description$2 = "A Legal Person as defined by Gaia-X.";
903
+ var type$2 = "object";
904
+ var properties$2 = {
905
+ "@context": {
906
+ description: "The Gaia-X JSON-LD context type.",
907
+ anyOf: [
841
908
  {
842
909
  type: "string",
843
910
  "const": "https://w3id.org/gaia-x/development"
844
911
  },
845
912
  {
846
- $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
847
- }
848
- ]
849
- },
850
- {
851
- type: "array",
852
- minItems: 2,
853
- items: {
854
- $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
855
- },
856
- prefixItems: [
857
- {
858
- $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
913
+ type: "array",
914
+ minItems: 2,
915
+ items: {
916
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
917
+ },
918
+ prefixItems: [
919
+ {
920
+ type: "string",
921
+ "const": "https://w3id.org/gaia-x/development"
922
+ },
923
+ {
924
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
925
+ }
926
+ ]
859
927
  },
860
928
  {
861
- type: "string",
862
- "const": "https://w3id.org/gaia-x/development"
929
+ type: "array",
930
+ minItems: 2,
931
+ items: {
932
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
933
+ },
934
+ prefixItems: [
935
+ {
936
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
937
+ },
938
+ {
939
+ type: "string",
940
+ "const": "https://w3id.org/gaia-x/development"
941
+ }
942
+ ]
863
943
  }
864
944
  ]
865
- }
866
- ];
867
- var GaiaXContextTypeSchema = {
868
- $schema: $schema$3,
869
- $id: $id$3,
870
- description: description$3,
871
- anyOf: anyOf
872
- };
873
-
874
- var $schema$2 = "https://json-schema.org/draft/2020-12/schema";
875
- var $id$2 = "https://schema.twindev.org/gaia-x/LegalPerson";
876
- var description$2 = "A Legal Person as defined by Gaia-X.";
877
- var type$2 = "object";
878
- var properties$2 = {
879
- "@context": {
880
- $ref: "https://schema.twindev.org/gaia-x/GaiaXContextType",
881
- description: "The LD context."
882
945
  },
883
946
  "@id": {
884
947
  anyOf: [
@@ -1441,8 +1504,45 @@ var description = "A Service offering";
1441
1504
  var type = "object";
1442
1505
  var properties = {
1443
1506
  "@context": {
1444
- $ref: "https://schema.twindev.org/gaia-x/GaiaXContextType",
1445
- description: "The LD context."
1507
+ description: "The Gaia-X JSON-LD context type.",
1508
+ anyOf: [
1509
+ {
1510
+ type: "string",
1511
+ "const": "https://w3id.org/gaia-x/development"
1512
+ },
1513
+ {
1514
+ type: "array",
1515
+ minItems: 2,
1516
+ items: {
1517
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
1518
+ },
1519
+ prefixItems: [
1520
+ {
1521
+ type: "string",
1522
+ "const": "https://w3id.org/gaia-x/development"
1523
+ },
1524
+ {
1525
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
1526
+ }
1527
+ ]
1528
+ },
1529
+ {
1530
+ type: "array",
1531
+ minItems: 2,
1532
+ items: {
1533
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
1534
+ },
1535
+ prefixItems: [
1536
+ {
1537
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
1538
+ },
1539
+ {
1540
+ type: "string",
1541
+ "const": "https://w3id.org/gaia-x/development"
1542
+ }
1543
+ ]
1544
+ }
1545
+ ]
1446
1546
  },
1447
1547
  "@id": {
1448
1548
  anyOf: [
@@ -1835,7 +1935,6 @@ var properties = {
1835
1935
  };
1836
1936
  var required = [
1837
1937
  "@context",
1838
- "endpoint",
1839
1938
  "id",
1840
1939
  "name",
1841
1940
  "providedBy",
@@ -1885,11 +1984,6 @@ class GaiaXDataTypes {
1885
1984
  * Register all the data types.
1886
1985
  */
1887
1986
  static registerTypes() {
1888
- DataTypeHandlerFactory.register(`${GaiaXContexts.TwinContext}/${"GaiaXContextType"}`, () => ({
1889
- context: GaiaXContexts.TwinContext,
1890
- type: "GaiaXContextType",
1891
- jsonSchema: async () => GaiaXContextTypeSchema
1892
- }));
1893
1987
  DataTypeHandlerFactory.register(`${GaiaXContexts.ContextRoot}${GaiaXTypes.DataExchangeComponent}`, () => ({
1894
1988
  context: GaiaXContexts.ContextRoot,
1895
1989
  type: GaiaXTypes.DataExchangeComponent,
@@ -40,5 +40,5 @@ export interface IServiceOffering extends IGaiaXEntity {
40
40
  /**
41
41
  * The endpoint
42
42
  */
43
- endpoint: IEndpoint;
43
+ endpoint?: IEndpoint;
44
44
  }
package/docs/changelog.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @twin.org/standards-gaia-x - Changelog
2
2
 
3
+ ## [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
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * service offering endpoint is optional ([#56](https://github.com/twinfoundation/standards/issues/56)) ([788ae71](https://github.com/twinfoundation/standards/commit/788ae716052782f1e5361ba9e81c326b1b982494))
9
+
10
+ ## [0.0.2-next.12](https://github.com/twinfoundation/standards/compare/standards-gaia-x-v0.0.2-next.11...standards-gaia-x-v0.0.2-next.12) (2025-09-16)
11
+
12
+
13
+ ### Features
14
+
15
+ * inline context types in schemas ([11f8377](https://github.com/twinfoundation/standards/commit/11f8377b129d459a4596ff30a86651beacd7f743))
16
+
3
17
  ## [0.0.2-next.11](https://github.com/twinfoundation/standards/compare/standards-gaia-x-v0.0.2-next.10...standards-gaia-x-v0.0.2-next.11) (2025-09-16)
4
18
 
5
19
 
@@ -9,7 +9,7 @@ https://docs.gaia-x.eu/ontology/development/classes/Address/
9
9
 
10
10
  ## Indexable
11
11
 
12
- \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `IJsonLdContextDefinition` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
12
+ \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
13
13
 
14
14
  ## Properties
15
15
 
@@ -9,7 +9,7 @@ https://docs.gaia-x.eu/ontology/development/classes/DataExchangeComponent
9
9
 
10
10
  ## Indexable
11
11
 
12
- \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `IJsonLdContextDefinition` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
12
+ \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
13
13
 
14
14
  ## Properties
15
15
 
@@ -9,7 +9,7 @@ See also W3C DCAT Dataset https://www.w3.org/TR/vocab-dcat-3/.
9
9
 
10
10
  ## Indexable
11
11
 
12
- \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `IJsonLdContextDefinition` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
12
+ \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
13
13
 
14
14
  ## Properties
15
15
 
@@ -9,7 +9,7 @@ https://docs.gaia-x.eu/ontology/development/classes/Endpoint
9
9
 
10
10
  ## Indexable
11
11
 
12
- \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `IJsonLdContextDefinition` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
12
+ \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
13
13
 
14
14
  ## Properties
15
15
 
@@ -12,7 +12,7 @@ https://docs.gaia-x.eu/ontology/development/classes/LegalPerson/.
12
12
 
13
13
  ## Indexable
14
14
 
15
- \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `IJsonLdContextDefinition` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
15
+ \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
16
16
 
17
17
  ## Properties
18
18
 
@@ -9,7 +9,7 @@ https://docs.gaia-x.eu/ontology/development/classes/RegistrationNumber/
9
9
 
10
10
  ## Indexable
11
11
 
12
- \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `IJsonLdContextDefinition` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
12
+ \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
13
13
 
14
14
  ## Properties
15
15
 
@@ -8,7 +8,7 @@ A Service offering
8
8
 
9
9
  ## Indexable
10
10
 
11
- \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `IJsonLdContextDefinition` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
11
+ \[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
12
12
 
13
13
  ## Properties
14
14
 
@@ -94,8 +94,8 @@ by reference both providing the URI or a partial JSON-LD Node object
94
94
 
95
95
  ***
96
96
 
97
- ### endpoint
97
+ ### endpoint?
98
98
 
99
- > **endpoint**: [`IEndpoint`](IEndpoint.md)
99
+ > `optional` **endpoint**: [`IEndpoint`](IEndpoint.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.2-next.11",
3
+ "version": "0.0.2-next.13",
4
4
  "description": "Models which define the structure of Gaia-x",
5
5
  "repository": {
6
6
  "type": "git",