@twin.org/federated-catalogue-models 0.0.1-next.9 → 0.0.2-next.1
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 +257 -15
- package/dist/esm/index.mjs +257 -15
- package/dist/types/models/IComplianceCredential.d.ts +1 -1
- package/dist/types/models/api/IDataResourceListRequest.d.ts +2 -2
- package/dist/types/models/api/IDataSpaceConnectorListRequest.d.ts +2 -2
- package/dist/types/models/api/IParticipantListRequest.d.ts +2 -2
- package/dist/types/models/api/IServiceOfferingListRequest.d.ts +2 -2
- package/dist/types/models/federatedCatalogueContextType.d.ts +1 -1
- package/dist/types/models/federatedCatalogueEntryType.d.ts +1 -1
- package/dist/types/models/participant/IParticipantCredential.d.ts +2 -2
- package/dist/types/models/participant/IParticipantEntry.d.ts +2 -2
- package/docs/changelog.md +41 -0
- package/docs/reference/interfaces/IDataResourceListRequest.md +3 -3
- package/docs/reference/interfaces/IDataSpaceConnectorListRequest.md +3 -3
- package/docs/reference/interfaces/IParticipantCredential.md +1 -1
- package/docs/reference/interfaces/IParticipantEntry.md +2 -2
- package/docs/reference/interfaces/IParticipantListRequest.md +3 -3
- package/docs/reference/interfaces/IServiceOfferingListRequest.md +3 -3
- package/docs/reference/type-aliases/FederatedCatalogueContextType.md +1 -1
- package/docs/reference/type-aliases/FederatedCatalogueEntryType.md +1 -1
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -82,7 +82,7 @@ class FederatedCatalogueContextInstances {
|
|
|
82
82
|
*/
|
|
83
83
|
static DEFAULT_LD_CONTEXT_ENTRY_LIST = [
|
|
84
84
|
standardsSchemaOrg.SchemaOrgContexts.ContextRoot,
|
|
85
|
-
standardsGaiaX.GaiaXContexts.
|
|
85
|
+
standardsGaiaX.GaiaXContexts.ContextRoot,
|
|
86
86
|
FederatedCatalogueContexts.ContextRoot
|
|
87
87
|
];
|
|
88
88
|
/**
|
|
@@ -233,18 +233,18 @@ var properties$7 = {
|
|
|
233
233
|
type: "string",
|
|
234
234
|
description: "Subject Id"
|
|
235
235
|
},
|
|
236
|
-
|
|
236
|
+
name: {
|
|
237
237
|
type: "string",
|
|
238
|
-
|
|
239
|
-
description: "Subject type"
|
|
238
|
+
description: "The Resource Name"
|
|
240
239
|
},
|
|
241
240
|
description: {
|
|
242
241
|
type: "string",
|
|
243
|
-
description: "Description"
|
|
242
|
+
description: "Description of the Gaia-X entity."
|
|
244
243
|
},
|
|
245
|
-
|
|
244
|
+
type: {
|
|
246
245
|
type: "string",
|
|
247
|
-
|
|
246
|
+
"const": "DataResource",
|
|
247
|
+
description: "Subject type"
|
|
248
248
|
},
|
|
249
249
|
exposedThrough: {
|
|
250
250
|
type: "string",
|
|
@@ -780,7 +780,15 @@ var properties$3 = {
|
|
|
780
780
|
},
|
|
781
781
|
id: {
|
|
782
782
|
type: "string",
|
|
783
|
-
description: "The
|
|
783
|
+
description: "The Id."
|
|
784
|
+
},
|
|
785
|
+
name: {
|
|
786
|
+
type: "string",
|
|
787
|
+
description: "Human readable Name."
|
|
788
|
+
},
|
|
789
|
+
description: {
|
|
790
|
+
type: "string",
|
|
791
|
+
description: "Description of the Gaia-X entity."
|
|
784
792
|
},
|
|
785
793
|
type: {
|
|
786
794
|
type: "string",
|
|
@@ -798,6 +806,240 @@ var properties$3 = {
|
|
|
798
806
|
legalAddress: {
|
|
799
807
|
$ref: "https://schema.twindev.org/federated-catalogue/Address",
|
|
800
808
|
description: "Legal Address"
|
|
809
|
+
},
|
|
810
|
+
headquartersAddress: {
|
|
811
|
+
$ref: "https://schema.twindev.org/federated-catalogue/Address",
|
|
812
|
+
description: "Headquarters address."
|
|
813
|
+
},
|
|
814
|
+
parentOrganizationOf: {
|
|
815
|
+
type: "array",
|
|
816
|
+
items: false,
|
|
817
|
+
description: "Parent organization.",
|
|
818
|
+
prefixItems: [
|
|
819
|
+
{
|
|
820
|
+
type: "object",
|
|
821
|
+
additionalProperties: {
|
|
822
|
+
anyOf: [
|
|
823
|
+
{
|
|
824
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIndexMap"
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIdMap"
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdTypeMap"
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
type: "array"
|
|
843
|
+
}
|
|
844
|
+
]
|
|
845
|
+
},
|
|
846
|
+
properties: {
|
|
847
|
+
id: {
|
|
848
|
+
type: "string"
|
|
849
|
+
},
|
|
850
|
+
type: {
|
|
851
|
+
type: "string",
|
|
852
|
+
"const": "LegalPerson"
|
|
853
|
+
},
|
|
854
|
+
"@context": {
|
|
855
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
|
|
856
|
+
},
|
|
857
|
+
"@id": {
|
|
858
|
+
anyOf: [
|
|
859
|
+
{
|
|
860
|
+
type: "string"
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
type: "array",
|
|
864
|
+
items: {
|
|
865
|
+
type: "string"
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
]
|
|
869
|
+
},
|
|
870
|
+
"@included": {
|
|
871
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
872
|
+
},
|
|
873
|
+
"@graph": {
|
|
874
|
+
anyOf: [
|
|
875
|
+
{
|
|
876
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
type: "array",
|
|
880
|
+
items: {
|
|
881
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
]
|
|
885
|
+
},
|
|
886
|
+
"@nest": {
|
|
887
|
+
anyOf: [
|
|
888
|
+
{
|
|
889
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
type: "array",
|
|
893
|
+
items: {
|
|
894
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
]
|
|
898
|
+
},
|
|
899
|
+
"@type": {
|
|
900
|
+
anyOf: [
|
|
901
|
+
{
|
|
902
|
+
type: "string"
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
type: "array",
|
|
906
|
+
items: {
|
|
907
|
+
type: "string"
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
]
|
|
911
|
+
},
|
|
912
|
+
"@reverse": {
|
|
913
|
+
type: "object",
|
|
914
|
+
additionalProperties: {
|
|
915
|
+
type: "string"
|
|
916
|
+
}
|
|
917
|
+
},
|
|
918
|
+
"@index": {
|
|
919
|
+
type: "string"
|
|
920
|
+
}
|
|
921
|
+
},
|
|
922
|
+
required: [
|
|
923
|
+
"id",
|
|
924
|
+
"type"
|
|
925
|
+
]
|
|
926
|
+
}
|
|
927
|
+
]
|
|
928
|
+
},
|
|
929
|
+
subOrganizationOf: {
|
|
930
|
+
type: "array",
|
|
931
|
+
items: false,
|
|
932
|
+
description: "Sub organization of.",
|
|
933
|
+
prefixItems: [
|
|
934
|
+
{
|
|
935
|
+
type: "object",
|
|
936
|
+
additionalProperties: {
|
|
937
|
+
anyOf: [
|
|
938
|
+
{
|
|
939
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
|
|
943
|
+
},
|
|
944
|
+
{
|
|
945
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIndexMap"
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIdMap"
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdTypeMap"
|
|
955
|
+
},
|
|
956
|
+
{
|
|
957
|
+
type: "array"
|
|
958
|
+
}
|
|
959
|
+
]
|
|
960
|
+
},
|
|
961
|
+
properties: {
|
|
962
|
+
id: {
|
|
963
|
+
type: "string"
|
|
964
|
+
},
|
|
965
|
+
type: {
|
|
966
|
+
type: "string",
|
|
967
|
+
"const": "LegalPerson"
|
|
968
|
+
},
|
|
969
|
+
"@context": {
|
|
970
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
|
|
971
|
+
},
|
|
972
|
+
"@id": {
|
|
973
|
+
anyOf: [
|
|
974
|
+
{
|
|
975
|
+
type: "string"
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
type: "array",
|
|
979
|
+
items: {
|
|
980
|
+
type: "string"
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
]
|
|
984
|
+
},
|
|
985
|
+
"@included": {
|
|
986
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
987
|
+
},
|
|
988
|
+
"@graph": {
|
|
989
|
+
anyOf: [
|
|
990
|
+
{
|
|
991
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
type: "array",
|
|
995
|
+
items: {
|
|
996
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
]
|
|
1000
|
+
},
|
|
1001
|
+
"@nest": {
|
|
1002
|
+
anyOf: [
|
|
1003
|
+
{
|
|
1004
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
type: "array",
|
|
1008
|
+
items: {
|
|
1009
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
]
|
|
1013
|
+
},
|
|
1014
|
+
"@type": {
|
|
1015
|
+
anyOf: [
|
|
1016
|
+
{
|
|
1017
|
+
type: "string"
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
type: "array",
|
|
1021
|
+
items: {
|
|
1022
|
+
type: "string"
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1025
|
+
]
|
|
1026
|
+
},
|
|
1027
|
+
"@reverse": {
|
|
1028
|
+
type: "object",
|
|
1029
|
+
additionalProperties: {
|
|
1030
|
+
type: "string"
|
|
1031
|
+
}
|
|
1032
|
+
},
|
|
1033
|
+
"@index": {
|
|
1034
|
+
type: "string"
|
|
1035
|
+
}
|
|
1036
|
+
},
|
|
1037
|
+
required: [
|
|
1038
|
+
"id",
|
|
1039
|
+
"type"
|
|
1040
|
+
]
|
|
1041
|
+
}
|
|
1042
|
+
]
|
|
801
1043
|
}
|
|
802
1044
|
};
|
|
803
1045
|
var required$3 = [
|
|
@@ -980,20 +1222,20 @@ var properties$1 = {
|
|
|
980
1222
|
},
|
|
981
1223
|
id: {
|
|
982
1224
|
type: "string",
|
|
983
|
-
description: "Id"
|
|
1225
|
+
description: "The Id."
|
|
984
1226
|
},
|
|
985
|
-
|
|
1227
|
+
name: {
|
|
986
1228
|
type: "string",
|
|
987
|
-
|
|
988
|
-
description: "Type"
|
|
1229
|
+
description: "Name of the Service Offering."
|
|
989
1230
|
},
|
|
990
1231
|
description: {
|
|
991
1232
|
type: "string",
|
|
992
|
-
description: "Description"
|
|
1233
|
+
description: "Description of the Gaia-X entity."
|
|
993
1234
|
},
|
|
994
|
-
|
|
1235
|
+
type: {
|
|
995
1236
|
type: "string",
|
|
996
|
-
|
|
1237
|
+
"const": "ServiceOffering",
|
|
1238
|
+
description: "Type"
|
|
997
1239
|
},
|
|
998
1240
|
providedBy: {
|
|
999
1241
|
type: "string",
|
package/dist/esm/index.mjs
CHANGED
|
@@ -80,7 +80,7 @@ class FederatedCatalogueContextInstances {
|
|
|
80
80
|
*/
|
|
81
81
|
static DEFAULT_LD_CONTEXT_ENTRY_LIST = [
|
|
82
82
|
SchemaOrgContexts.ContextRoot,
|
|
83
|
-
GaiaXContexts.
|
|
83
|
+
GaiaXContexts.ContextRoot,
|
|
84
84
|
FederatedCatalogueContexts.ContextRoot
|
|
85
85
|
];
|
|
86
86
|
/**
|
|
@@ -231,18 +231,18 @@ var properties$7 = {
|
|
|
231
231
|
type: "string",
|
|
232
232
|
description: "Subject Id"
|
|
233
233
|
},
|
|
234
|
-
|
|
234
|
+
name: {
|
|
235
235
|
type: "string",
|
|
236
|
-
|
|
237
|
-
description: "Subject type"
|
|
236
|
+
description: "The Resource Name"
|
|
238
237
|
},
|
|
239
238
|
description: {
|
|
240
239
|
type: "string",
|
|
241
|
-
description: "Description"
|
|
240
|
+
description: "Description of the Gaia-X entity."
|
|
242
241
|
},
|
|
243
|
-
|
|
242
|
+
type: {
|
|
244
243
|
type: "string",
|
|
245
|
-
|
|
244
|
+
"const": "DataResource",
|
|
245
|
+
description: "Subject type"
|
|
246
246
|
},
|
|
247
247
|
exposedThrough: {
|
|
248
248
|
type: "string",
|
|
@@ -778,7 +778,15 @@ var properties$3 = {
|
|
|
778
778
|
},
|
|
779
779
|
id: {
|
|
780
780
|
type: "string",
|
|
781
|
-
description: "The
|
|
781
|
+
description: "The Id."
|
|
782
|
+
},
|
|
783
|
+
name: {
|
|
784
|
+
type: "string",
|
|
785
|
+
description: "Human readable Name."
|
|
786
|
+
},
|
|
787
|
+
description: {
|
|
788
|
+
type: "string",
|
|
789
|
+
description: "Description of the Gaia-X entity."
|
|
782
790
|
},
|
|
783
791
|
type: {
|
|
784
792
|
type: "string",
|
|
@@ -796,6 +804,240 @@ var properties$3 = {
|
|
|
796
804
|
legalAddress: {
|
|
797
805
|
$ref: "https://schema.twindev.org/federated-catalogue/Address",
|
|
798
806
|
description: "Legal Address"
|
|
807
|
+
},
|
|
808
|
+
headquartersAddress: {
|
|
809
|
+
$ref: "https://schema.twindev.org/federated-catalogue/Address",
|
|
810
|
+
description: "Headquarters address."
|
|
811
|
+
},
|
|
812
|
+
parentOrganizationOf: {
|
|
813
|
+
type: "array",
|
|
814
|
+
items: false,
|
|
815
|
+
description: "Parent organization.",
|
|
816
|
+
prefixItems: [
|
|
817
|
+
{
|
|
818
|
+
type: "object",
|
|
819
|
+
additionalProperties: {
|
|
820
|
+
anyOf: [
|
|
821
|
+
{
|
|
822
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIndexMap"
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIdMap"
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdTypeMap"
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
type: "array"
|
|
841
|
+
}
|
|
842
|
+
]
|
|
843
|
+
},
|
|
844
|
+
properties: {
|
|
845
|
+
id: {
|
|
846
|
+
type: "string"
|
|
847
|
+
},
|
|
848
|
+
type: {
|
|
849
|
+
type: "string",
|
|
850
|
+
"const": "LegalPerson"
|
|
851
|
+
},
|
|
852
|
+
"@context": {
|
|
853
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
|
|
854
|
+
},
|
|
855
|
+
"@id": {
|
|
856
|
+
anyOf: [
|
|
857
|
+
{
|
|
858
|
+
type: "string"
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
type: "array",
|
|
862
|
+
items: {
|
|
863
|
+
type: "string"
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
]
|
|
867
|
+
},
|
|
868
|
+
"@included": {
|
|
869
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
870
|
+
},
|
|
871
|
+
"@graph": {
|
|
872
|
+
anyOf: [
|
|
873
|
+
{
|
|
874
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
type: "array",
|
|
878
|
+
items: {
|
|
879
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
]
|
|
883
|
+
},
|
|
884
|
+
"@nest": {
|
|
885
|
+
anyOf: [
|
|
886
|
+
{
|
|
887
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
type: "array",
|
|
891
|
+
items: {
|
|
892
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
]
|
|
896
|
+
},
|
|
897
|
+
"@type": {
|
|
898
|
+
anyOf: [
|
|
899
|
+
{
|
|
900
|
+
type: "string"
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
type: "array",
|
|
904
|
+
items: {
|
|
905
|
+
type: "string"
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
]
|
|
909
|
+
},
|
|
910
|
+
"@reverse": {
|
|
911
|
+
type: "object",
|
|
912
|
+
additionalProperties: {
|
|
913
|
+
type: "string"
|
|
914
|
+
}
|
|
915
|
+
},
|
|
916
|
+
"@index": {
|
|
917
|
+
type: "string"
|
|
918
|
+
}
|
|
919
|
+
},
|
|
920
|
+
required: [
|
|
921
|
+
"id",
|
|
922
|
+
"type"
|
|
923
|
+
]
|
|
924
|
+
}
|
|
925
|
+
]
|
|
926
|
+
},
|
|
927
|
+
subOrganizationOf: {
|
|
928
|
+
type: "array",
|
|
929
|
+
items: false,
|
|
930
|
+
description: "Sub organization of.",
|
|
931
|
+
prefixItems: [
|
|
932
|
+
{
|
|
933
|
+
type: "object",
|
|
934
|
+
additionalProperties: {
|
|
935
|
+
anyOf: [
|
|
936
|
+
{
|
|
937
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIndexMap"
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIdMap"
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdTypeMap"
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
type: "array"
|
|
956
|
+
}
|
|
957
|
+
]
|
|
958
|
+
},
|
|
959
|
+
properties: {
|
|
960
|
+
id: {
|
|
961
|
+
type: "string"
|
|
962
|
+
},
|
|
963
|
+
type: {
|
|
964
|
+
type: "string",
|
|
965
|
+
"const": "LegalPerson"
|
|
966
|
+
},
|
|
967
|
+
"@context": {
|
|
968
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
|
|
969
|
+
},
|
|
970
|
+
"@id": {
|
|
971
|
+
anyOf: [
|
|
972
|
+
{
|
|
973
|
+
type: "string"
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
type: "array",
|
|
977
|
+
items: {
|
|
978
|
+
type: "string"
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
]
|
|
982
|
+
},
|
|
983
|
+
"@included": {
|
|
984
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
985
|
+
},
|
|
986
|
+
"@graph": {
|
|
987
|
+
anyOf: [
|
|
988
|
+
{
|
|
989
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
990
|
+
},
|
|
991
|
+
{
|
|
992
|
+
type: "array",
|
|
993
|
+
items: {
|
|
994
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
995
|
+
}
|
|
996
|
+
}
|
|
997
|
+
]
|
|
998
|
+
},
|
|
999
|
+
"@nest": {
|
|
1000
|
+
anyOf: [
|
|
1001
|
+
{
|
|
1002
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
type: "array",
|
|
1006
|
+
items: {
|
|
1007
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
]
|
|
1011
|
+
},
|
|
1012
|
+
"@type": {
|
|
1013
|
+
anyOf: [
|
|
1014
|
+
{
|
|
1015
|
+
type: "string"
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
type: "array",
|
|
1019
|
+
items: {
|
|
1020
|
+
type: "string"
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
]
|
|
1024
|
+
},
|
|
1025
|
+
"@reverse": {
|
|
1026
|
+
type: "object",
|
|
1027
|
+
additionalProperties: {
|
|
1028
|
+
type: "string"
|
|
1029
|
+
}
|
|
1030
|
+
},
|
|
1031
|
+
"@index": {
|
|
1032
|
+
type: "string"
|
|
1033
|
+
}
|
|
1034
|
+
},
|
|
1035
|
+
required: [
|
|
1036
|
+
"id",
|
|
1037
|
+
"type"
|
|
1038
|
+
]
|
|
1039
|
+
}
|
|
1040
|
+
]
|
|
799
1041
|
}
|
|
800
1042
|
};
|
|
801
1043
|
var required$3 = [
|
|
@@ -978,20 +1220,20 @@ var properties$1 = {
|
|
|
978
1220
|
},
|
|
979
1221
|
id: {
|
|
980
1222
|
type: "string",
|
|
981
|
-
description: "Id"
|
|
1223
|
+
description: "The Id."
|
|
982
1224
|
},
|
|
983
|
-
|
|
1225
|
+
name: {
|
|
984
1226
|
type: "string",
|
|
985
|
-
|
|
986
|
-
description: "Type"
|
|
1227
|
+
description: "Name of the Service Offering."
|
|
987
1228
|
},
|
|
988
1229
|
description: {
|
|
989
1230
|
type: "string",
|
|
990
|
-
description: "Description"
|
|
1231
|
+
description: "Description of the Gaia-X entity."
|
|
991
1232
|
},
|
|
992
|
-
|
|
1233
|
+
type: {
|
|
993
1234
|
type: "string",
|
|
994
|
-
|
|
1235
|
+
"const": "ServiceOffering",
|
|
1236
|
+
description: "Type"
|
|
995
1237
|
},
|
|
996
1238
|
providedBy: {
|
|
997
1239
|
type: "string",
|
|
@@ -13,7 +13,7 @@ export interface IComplianceCredential extends ICredential {
|
|
|
13
13
|
*/
|
|
14
14
|
"@context": [
|
|
15
15
|
typeof DidContexts.ContextVCv2,
|
|
16
|
-
typeof GaiaXContexts.
|
|
16
|
+
typeof GaiaXContexts.ContextRoot,
|
|
17
17
|
typeof DidContexts.ContextSecurityJws2020,
|
|
18
18
|
...IJsonLdContextDefinitionElement[]
|
|
19
19
|
];
|
|
@@ -6,7 +6,7 @@ export interface IDataResourceListRequest extends IFederatedCatalogueGetRequest
|
|
|
6
6
|
/**
|
|
7
7
|
* The query parameters.
|
|
8
8
|
*/
|
|
9
|
-
query
|
|
9
|
+
query?: {
|
|
10
10
|
/**
|
|
11
11
|
* The Id of the Data Resource.
|
|
12
12
|
*/
|
|
@@ -22,6 +22,6 @@ export interface IDataResourceListRequest extends IFederatedCatalogueGetRequest
|
|
|
22
22
|
/**
|
|
23
23
|
* The maximum number of entities in a page.
|
|
24
24
|
*/
|
|
25
|
-
pageSize?: number;
|
|
25
|
+
pageSize?: number | string;
|
|
26
26
|
};
|
|
27
27
|
}
|
|
@@ -6,7 +6,7 @@ export interface IDataSpaceConnectorListRequest extends IFederatedCatalogueGetRe
|
|
|
6
6
|
/**
|
|
7
7
|
* The query parameters.
|
|
8
8
|
*/
|
|
9
|
-
query
|
|
9
|
+
query?: {
|
|
10
10
|
/**
|
|
11
11
|
* The id of the Data Space Connector.
|
|
12
12
|
*/
|
|
@@ -22,6 +22,6 @@ export interface IDataSpaceConnectorListRequest extends IFederatedCatalogueGetRe
|
|
|
22
22
|
/**
|
|
23
23
|
* The maximum number of entities in a page.
|
|
24
24
|
*/
|
|
25
|
-
pageSize?: number;
|
|
25
|
+
pageSize?: number | string;
|
|
26
26
|
};
|
|
27
27
|
}
|
|
@@ -6,7 +6,7 @@ export interface IParticipantListRequest extends IFederatedCatalogueGetRequest {
|
|
|
6
6
|
/**
|
|
7
7
|
* The query parameters.
|
|
8
8
|
*/
|
|
9
|
-
query
|
|
9
|
+
query?: {
|
|
10
10
|
/**
|
|
11
11
|
* The participant Id.
|
|
12
12
|
*/
|
|
@@ -26,6 +26,6 @@ export interface IParticipantListRequest extends IFederatedCatalogueGetRequest {
|
|
|
26
26
|
/**
|
|
27
27
|
* The maximum number of entities in a page.
|
|
28
28
|
*/
|
|
29
|
-
pageSize?: number;
|
|
29
|
+
pageSize?: number | string;
|
|
30
30
|
};
|
|
31
31
|
}
|
|
@@ -6,7 +6,7 @@ export interface IServiceOfferingListRequest extends IFederatedCatalogueGetReque
|
|
|
6
6
|
/**
|
|
7
7
|
* The query parameters.
|
|
8
8
|
*/
|
|
9
|
-
query
|
|
9
|
+
query?: {
|
|
10
10
|
/**
|
|
11
11
|
* The Service Offering Id.
|
|
12
12
|
*/
|
|
@@ -22,6 +22,6 @@ export interface IServiceOfferingListRequest extends IFederatedCatalogueGetReque
|
|
|
22
22
|
/**
|
|
23
23
|
* The maximum number of entities in a page.
|
|
24
24
|
*/
|
|
25
|
-
pageSize?: number;
|
|
25
|
+
pageSize?: number | string;
|
|
26
26
|
};
|
|
27
27
|
}
|
|
@@ -6,6 +6,6 @@ import type { FederatedCatalogueContexts } from "./federatedCatalogueContexts";
|
|
|
6
6
|
*/
|
|
7
7
|
export type FederatedCatalogueContextType = [
|
|
8
8
|
typeof SchemaOrgContexts.ContextRoot,
|
|
9
|
-
typeof GaiaXContexts.
|
|
9
|
+
typeof GaiaXContexts.ContextRoot,
|
|
10
10
|
typeof FederatedCatalogueContexts.ContextRoot
|
|
11
11
|
];
|
|
@@ -4,4 +4,4 @@ import type { FederatedCatalogueTypes } from "./federatedCatalogueTypes";
|
|
|
4
4
|
* Types of entries in the Federated Catalogue
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
|
-
export type FederatedCatalogueEntryType = typeof GaiaXTypes.
|
|
7
|
+
export type FederatedCatalogueEntryType = typeof GaiaXTypes.LegalPerson | typeof GaiaXTypes.DataExchangeComponent | typeof GaiaXTypes.DataResource | typeof GaiaXTypes.ServiceOffering | typeof FederatedCatalogueTypes.DataSpaceConnector;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ILegalPerson } from "@twin.org/standards-gaia-x";
|
|
2
2
|
import type { ICredential } from "../ICredential";
|
|
3
3
|
/**
|
|
4
4
|
* Participant Credential.
|
|
@@ -7,5 +7,5 @@ export interface IParticipantCredential extends ICredential {
|
|
|
7
7
|
/**
|
|
8
8
|
* The Credential Subject
|
|
9
9
|
*/
|
|
10
|
-
credentialSubject:
|
|
10
|
+
credentialSubject: ILegalPerson;
|
|
11
11
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ILegalPerson } from "@twin.org/standards-gaia-x";
|
|
2
2
|
import type { FederatedCatalogueContextType } from "../federatedCatalogueContextType";
|
|
3
3
|
import type { ICatalogueBase } from "../ICatalogueBase";
|
|
4
4
|
/**
|
|
5
5
|
* Interface describing a participant.
|
|
6
6
|
*/
|
|
7
|
-
export interface IParticipantEntry extends
|
|
7
|
+
export interface IParticipantEntry extends ILegalPerson, ICatalogueBase {
|
|
8
8
|
/**
|
|
9
9
|
* The LD Context
|
|
10
10
|
*/
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,46 @@
|
|
|
1
1
|
# @twin.org/federated-catalogue-models - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.2-next.1](https://github.com/twinfoundation/federated-catalogue/compare/federated-catalogue-models-v0.0.2-next.0...federated-catalogue-models-v0.0.2-next.1) (2025-07-15)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add data types with fully qualified names ([993eb09](https://github.com/twinfoundation/federated-catalogue/commit/993eb09e25f6caad5d82a3908a2ba648900f5ca7))
|
|
9
|
+
* consistent component naming with other repos ([83fc03d](https://github.com/twinfoundation/federated-catalogue/commit/83fc03dee3846600ae6a45d710248a0ae60af570))
|
|
10
|
+
* synchronise with gaia-x types ([3e0d7f2](https://github.com/twinfoundation/federated-catalogue/commit/3e0d7f2f277ec0adef79d71165b6db778e15e315))
|
|
11
|
+
* update dependencies ([24ff3d7](https://github.com/twinfoundation/federated-catalogue/commit/24ff3d772cf7bd7f60547c5b314355e75ba55424))
|
|
12
|
+
* update schemas ([58d8581](https://github.com/twinfoundation/federated-catalogue/commit/58d85813231f6576490937d4394e7be0f6d8c58d))
|
|
13
|
+
* update ts-to-schema generation ([41bdde7](https://github.com/twinfoundation/federated-catalogue/commit/41bdde7ff9f0cfa1ea4376b7a952bbaed9988d0a))
|
|
14
|
+
* version 0 federated catalogue ([#2](https://github.com/twinfoundation/federated-catalogue/issues/2)) ([93fb8bd](https://github.com/twinfoundation/federated-catalogue/commit/93fb8bdbb03aa781ef9e8dc4053beea1b397cc36))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* broken docs ([4588d86](https://github.com/twinfoundation/federated-catalogue/commit/4588d861575522da5374291167d57bacd1b21867))
|
|
20
|
+
* query params force coercion ([a532329](https://github.com/twinfoundation/federated-catalogue/commit/a532329089b2b95c7f18cd8bd56ee47482755dc0))
|
|
21
|
+
|
|
22
|
+
## 0.0.1 (2025-07-10)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* release to production ([c9b5702](https://github.com/twinfoundation/federated-catalogue/commit/c9b570207fae4b31d43fa99e4df99be4baa34db2))
|
|
28
|
+
* version 0 federated catalogue ([#2](https://github.com/twinfoundation/federated-catalogue/issues/2)) ([93fb8bd](https://github.com/twinfoundation/federated-catalogue/commit/93fb8bdbb03aa781ef9e8dc4053beea1b397cc36))
|
|
29
|
+
|
|
30
|
+
## [0.0.1-next.11](https://github.com/twinfoundation/federated-catalogue/compare/federated-catalogue-models-v0.0.1-next.10...federated-catalogue-models-v0.0.1-next.11) (2025-06-20)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Bug Fixes
|
|
34
|
+
|
|
35
|
+
* query params force coercion ([a532329](https://github.com/twinfoundation/federated-catalogue/commit/a532329089b2b95c7f18cd8bd56ee47482755dc0))
|
|
36
|
+
|
|
37
|
+
## [0.0.1-next.10](https://github.com/twinfoundation/federated-catalogue/compare/federated-catalogue-models-v0.0.1-next.9...federated-catalogue-models-v0.0.1-next.10) (2025-06-18)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Features
|
|
41
|
+
|
|
42
|
+
* update schemas ([58d8581](https://github.com/twinfoundation/federated-catalogue/commit/58d85813231f6576490937d4394e7be0f6d8c58d))
|
|
43
|
+
|
|
3
44
|
## [0.0.1-next.9](https://github.com/twinfoundation/federated-catalogue/compare/federated-catalogue-models-v0.0.1-next.8...federated-catalogue-models-v0.0.1-next.9) (2025-06-12)
|
|
4
45
|
|
|
5
46
|
|
|
@@ -8,9 +8,9 @@ Get the a list of the data resource entries.
|
|
|
8
8
|
|
|
9
9
|
## Properties
|
|
10
10
|
|
|
11
|
-
### query
|
|
11
|
+
### query?
|
|
12
12
|
|
|
13
|
-
> **query**: `object`
|
|
13
|
+
> `optional` **query**: `object`
|
|
14
14
|
|
|
15
15
|
The query parameters.
|
|
16
16
|
|
|
@@ -34,7 +34,7 @@ The optional cursor to get next chunk.
|
|
|
34
34
|
|
|
35
35
|
#### pageSize?
|
|
36
36
|
|
|
37
|
-
> `optional` **pageSize**: `number`
|
|
37
|
+
> `optional` **pageSize**: `string` \| `number`
|
|
38
38
|
|
|
39
39
|
The maximum number of entities in a page.
|
|
40
40
|
|
|
@@ -8,9 +8,9 @@ Get the a list of the data space connector entries.
|
|
|
8
8
|
|
|
9
9
|
## Properties
|
|
10
10
|
|
|
11
|
-
### query
|
|
11
|
+
### query?
|
|
12
12
|
|
|
13
|
-
> **query**: `object`
|
|
13
|
+
> `optional` **query**: `object`
|
|
14
14
|
|
|
15
15
|
The query parameters.
|
|
16
16
|
|
|
@@ -34,7 +34,7 @@ The optional cursor to get next chunk.
|
|
|
34
34
|
|
|
35
35
|
#### pageSize?
|
|
36
36
|
|
|
37
|
-
> `optional` **pageSize**: `number`
|
|
37
|
+
> `optional` **pageSize**: `string` \| `number`
|
|
38
38
|
|
|
39
39
|
The maximum number of entities in a page.
|
|
40
40
|
|
|
@@ -4,7 +4,7 @@ Interface describing a participant.
|
|
|
4
4
|
|
|
5
5
|
## Extends
|
|
6
6
|
|
|
7
|
-
- `
|
|
7
|
+
- `ILegalPerson`.`ICatalogueBase`
|
|
8
8
|
|
|
9
9
|
## Indexable
|
|
10
10
|
|
|
@@ -80,4 +80,4 @@ The LD Context
|
|
|
80
80
|
|
|
81
81
|
#### Overrides
|
|
82
82
|
|
|
83
|
-
`
|
|
83
|
+
`ILegalPerson.@context`
|
|
@@ -24,9 +24,9 @@ The headers which can be used to determine the response data type.
|
|
|
24
24
|
|
|
25
25
|
***
|
|
26
26
|
|
|
27
|
-
### query
|
|
27
|
+
### query?
|
|
28
28
|
|
|
29
|
-
> **query**: `object`
|
|
29
|
+
> `optional` **query**: `object`
|
|
30
30
|
|
|
31
31
|
The query parameters.
|
|
32
32
|
|
|
@@ -56,6 +56,6 @@ The optional cursor to get next chunk.
|
|
|
56
56
|
|
|
57
57
|
#### pageSize?
|
|
58
58
|
|
|
59
|
-
> `optional` **pageSize**: `number`
|
|
59
|
+
> `optional` **pageSize**: `string` \| `number`
|
|
60
60
|
|
|
61
61
|
The maximum number of entities in a page.
|
|
@@ -24,9 +24,9 @@ The headers which can be used to determine the response data type.
|
|
|
24
24
|
|
|
25
25
|
***
|
|
26
26
|
|
|
27
|
-
### query
|
|
27
|
+
### query?
|
|
28
28
|
|
|
29
|
-
> **query**: `object`
|
|
29
|
+
> `optional` **query**: `object`
|
|
30
30
|
|
|
31
31
|
The query parameters.
|
|
32
32
|
|
|
@@ -50,6 +50,6 @@ The optional cursor to get next chunk.
|
|
|
50
50
|
|
|
51
51
|
#### pageSize?
|
|
52
52
|
|
|
53
|
-
> `optional` **pageSize**: `number`
|
|
53
|
+
> `optional` **pageSize**: `string` \| `number`
|
|
54
54
|
|
|
55
55
|
The maximum number of entities in a page.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Type Alias: FederatedCatalogueContextType
|
|
2
2
|
|
|
3
|
-
> **FederatedCatalogueContextType** = \[*typeof* `SchemaOrgContexts.ContextRoot`, *typeof* `GaiaXContexts.
|
|
3
|
+
> **FederatedCatalogueContextType** = \[*typeof* `SchemaOrgContexts.ContextRoot`, *typeof* `GaiaXContexts.ContextRoot`, *typeof* [`ContextRoot`](../variables/FederatedCatalogueContexts.md#contextroot)\]
|
|
4
4
|
|
|
5
5
|
Type that defines the LD Context for the Federated Catalogue entities and entries.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Type Alias: FederatedCatalogueEntryType
|
|
2
2
|
|
|
3
|
-
> **FederatedCatalogueEntryType** = *typeof* `GaiaXTypes.
|
|
3
|
+
> **FederatedCatalogueEntryType** = *typeof* `GaiaXTypes.LegalPerson` \| *typeof* `GaiaXTypes.DataExchangeComponent` \| *typeof* `GaiaXTypes.DataResource` \| *typeof* `GaiaXTypes.ServiceOffering` \| *typeof* [`DataSpaceConnector`](../variables/FederatedCatalogueTypes.md#dataspaceconnector)
|
|
4
4
|
|
|
5
5
|
Types of entries in the Federated Catalogue
|