@twin.org/federated-catalogue-models 0.0.1 → 0.0.2-next.2
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 +344 -102
- package/dist/esm/index.mjs +344 -102
- package/dist/types/index.d.ts +26 -26
- 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 +26 -0
- package/docs/reference/classes/FederatedCatalogueContextInstances.md +1 -1
- package/docs/reference/interfaces/IComplianceEvidence.md +1 -1
- package/docs/reference/interfaces/ICredential.md +2 -2
- package/docs/reference/interfaces/IDataResourceEntry.md +1 -1
- package/docs/reference/interfaces/IDataSpaceConnector.md +2 -2
- package/docs/reference/interfaces/IDataSpaceConnectorEntry.md +1 -1
- package/docs/reference/interfaces/IFederatedCatalogueGetRequest.md +3 -3
- package/docs/reference/interfaces/IParticipantCredential.md +1 -1
- package/docs/reference/interfaces/IParticipantEntry.md +3 -3
- package/docs/reference/interfaces/IServiceOfferingEntry.md +1 -1
- package/docs/reference/type-aliases/FederatedCatalogueEntryType.md +1 -1
- package/package.json +10 -10
package/dist/cjs/index.cjs
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var dataCore = require('@twin.org/data-core');
|
|
3
4
|
var standardsGaiaX = require('@twin.org/standards-gaia-x');
|
|
4
5
|
var standardsSchemaOrg = require('@twin.org/standards-schema-org');
|
|
5
|
-
|
|
6
|
+
|
|
7
|
+
// Copyright 2024 IOTA Stiftung.
|
|
8
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
9
|
+
/**
|
|
10
|
+
* The LD context concerning the Federated Catalogue.
|
|
11
|
+
*/
|
|
12
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
13
|
+
const FederatedCatalogueContexts = {
|
|
14
|
+
/**
|
|
15
|
+
* The context root for the federated catalogue types.
|
|
16
|
+
*/
|
|
17
|
+
ContextRoot: "https://schema.twindev.org/federated-catalogue/"
|
|
18
|
+
};
|
|
6
19
|
|
|
7
20
|
// Copyright 2024 IOTA Stiftung.
|
|
8
21
|
// SPDX-License-Identifier: Apache-2.0.
|
|
@@ -57,93 +70,6 @@ const FederatedCatalogueTypes = {
|
|
|
57
70
|
ServiceOfferingList: "ServiceOfferingList"
|
|
58
71
|
};
|
|
59
72
|
|
|
60
|
-
// Copyright 2024 IOTA Stiftung.
|
|
61
|
-
// SPDX-License-Identifier: Apache-2.0.
|
|
62
|
-
/**
|
|
63
|
-
* The LD context concerning the Federated Catalogue.
|
|
64
|
-
*/
|
|
65
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
66
|
-
const FederatedCatalogueContexts = {
|
|
67
|
-
/**
|
|
68
|
-
* The context root for the federated catalogue types.
|
|
69
|
-
*/
|
|
70
|
-
ContextRoot: "https://schema.twindev.org/federated-catalogue/"
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
// Copyright 2024 IOTA Stiftung.
|
|
74
|
-
// SPDX-License-Identifier: Apache-2.0.
|
|
75
|
-
/**
|
|
76
|
-
* The LD context instances concerning the Federated Catalogue.
|
|
77
|
-
*/
|
|
78
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
79
|
-
class FederatedCatalogueContextInstances {
|
|
80
|
-
/**
|
|
81
|
-
* The LD Context of a list of Catalogue entries.
|
|
82
|
-
*/
|
|
83
|
-
static DEFAULT_LD_CONTEXT_ENTRY_LIST = [
|
|
84
|
-
standardsSchemaOrg.SchemaOrgContexts.ContextRoot,
|
|
85
|
-
standardsGaiaX.GaiaXContexts.ContextRoot,
|
|
86
|
-
FederatedCatalogueContexts.ContextRoot
|
|
87
|
-
];
|
|
88
|
-
/**
|
|
89
|
-
* The LD Context of a Catalogue entry.
|
|
90
|
-
*/
|
|
91
|
-
static DEFAULT_LD_CONTEXT_ENTRY = this.DEFAULT_LD_CONTEXT_ENTRY_LIST;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Copyright 2024 IOTA Stiftung.
|
|
95
|
-
// SPDX-License-Identifier: Apache-2.0.
|
|
96
|
-
/**
|
|
97
|
-
* The verification failure reasons.
|
|
98
|
-
*/
|
|
99
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
100
|
-
const VerificationFailureReasons = {
|
|
101
|
-
/**
|
|
102
|
-
* Credential type is invalid.
|
|
103
|
-
*/
|
|
104
|
-
InvalidCredentialType: "invalidCredentialType",
|
|
105
|
-
/**
|
|
106
|
-
* The issuer is invalid.
|
|
107
|
-
*/
|
|
108
|
-
InvalidIssuer: "invalidIssuer",
|
|
109
|
-
/**
|
|
110
|
-
* Credential is not valid yet.
|
|
111
|
-
*/
|
|
112
|
-
NotValidYet: "notValidYet",
|
|
113
|
-
/**
|
|
114
|
-
* Credential ahs expired.
|
|
115
|
-
*/
|
|
116
|
-
Expired: "expired",
|
|
117
|
-
/**
|
|
118
|
-
* Credential's evidence cannot be verified.
|
|
119
|
-
*/
|
|
120
|
-
EvidenceCannotBeVerified: "evidenceCannotBeVerified",
|
|
121
|
-
/**
|
|
122
|
-
* Credential has no expiration.
|
|
123
|
-
*/
|
|
124
|
-
NoValidityEndPeriod: "noValidityEndPeriod",
|
|
125
|
-
/**
|
|
126
|
-
* Credential's subject is missing.
|
|
127
|
-
*/
|
|
128
|
-
MissingSubject: "missingSubject",
|
|
129
|
-
/**
|
|
130
|
-
* Credential's evidences are missing.
|
|
131
|
-
*/
|
|
132
|
-
MissingEvidences: "missingEvidences",
|
|
133
|
-
/**
|
|
134
|
-
* General error happened while verifying and the credential cannot be deemed as verified.
|
|
135
|
-
*/
|
|
136
|
-
GeneralVerificationError: "generalVerificationError",
|
|
137
|
-
/**
|
|
138
|
-
* Credential's integrity check has failed
|
|
139
|
-
*/
|
|
140
|
-
IntegrityCheckFailed: "integrityCheckFailed",
|
|
141
|
-
/**
|
|
142
|
-
* Credential's Evidence cannot be retrieved.
|
|
143
|
-
*/
|
|
144
|
-
EvidenceCannotBeRetrieved: "evidenceCannotBeRetrieved"
|
|
145
|
-
};
|
|
146
|
-
|
|
147
73
|
var $schema$7 = "https://json-schema.org/draft/2020-12/schema";
|
|
148
74
|
var $id$7 = "https://schema.twindev.org/federated-catalogue/DataResourceEntry";
|
|
149
75
|
var description$7 = "Interface describing a Data Resource entry.";
|
|
@@ -233,18 +159,18 @@ var properties$7 = {
|
|
|
233
159
|
type: "string",
|
|
234
160
|
description: "Subject Id"
|
|
235
161
|
},
|
|
236
|
-
|
|
162
|
+
name: {
|
|
237
163
|
type: "string",
|
|
238
|
-
|
|
239
|
-
description: "Subject type"
|
|
164
|
+
description: "The Resource Name"
|
|
240
165
|
},
|
|
241
166
|
description: {
|
|
242
167
|
type: "string",
|
|
243
|
-
description: "Description"
|
|
168
|
+
description: "Description of the Gaia-X entity."
|
|
244
169
|
},
|
|
245
|
-
|
|
170
|
+
type: {
|
|
246
171
|
type: "string",
|
|
247
|
-
|
|
172
|
+
"const": "DataResource",
|
|
173
|
+
description: "Subject type"
|
|
248
174
|
},
|
|
249
175
|
exposedThrough: {
|
|
250
176
|
type: "string",
|
|
@@ -780,7 +706,15 @@ var properties$3 = {
|
|
|
780
706
|
},
|
|
781
707
|
id: {
|
|
782
708
|
type: "string",
|
|
783
|
-
description: "The
|
|
709
|
+
description: "The Id."
|
|
710
|
+
},
|
|
711
|
+
name: {
|
|
712
|
+
type: "string",
|
|
713
|
+
description: "Human readable Name."
|
|
714
|
+
},
|
|
715
|
+
description: {
|
|
716
|
+
type: "string",
|
|
717
|
+
description: "Description of the Gaia-X entity."
|
|
784
718
|
},
|
|
785
719
|
type: {
|
|
786
720
|
type: "string",
|
|
@@ -798,6 +732,240 @@ var properties$3 = {
|
|
|
798
732
|
legalAddress: {
|
|
799
733
|
$ref: "https://schema.twindev.org/federated-catalogue/Address",
|
|
800
734
|
description: "Legal Address"
|
|
735
|
+
},
|
|
736
|
+
headquartersAddress: {
|
|
737
|
+
$ref: "https://schema.twindev.org/federated-catalogue/Address",
|
|
738
|
+
description: "Headquarters address."
|
|
739
|
+
},
|
|
740
|
+
parentOrganizationOf: {
|
|
741
|
+
type: "array",
|
|
742
|
+
items: false,
|
|
743
|
+
description: "Parent organization.",
|
|
744
|
+
prefixItems: [
|
|
745
|
+
{
|
|
746
|
+
type: "object",
|
|
747
|
+
additionalProperties: {
|
|
748
|
+
anyOf: [
|
|
749
|
+
{
|
|
750
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIndexMap"
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIdMap"
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdTypeMap"
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
type: "array"
|
|
769
|
+
}
|
|
770
|
+
]
|
|
771
|
+
},
|
|
772
|
+
properties: {
|
|
773
|
+
id: {
|
|
774
|
+
type: "string"
|
|
775
|
+
},
|
|
776
|
+
type: {
|
|
777
|
+
type: "string",
|
|
778
|
+
"const": "LegalPerson"
|
|
779
|
+
},
|
|
780
|
+
"@context": {
|
|
781
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
|
|
782
|
+
},
|
|
783
|
+
"@id": {
|
|
784
|
+
anyOf: [
|
|
785
|
+
{
|
|
786
|
+
type: "string"
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
type: "array",
|
|
790
|
+
items: {
|
|
791
|
+
type: "string"
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
]
|
|
795
|
+
},
|
|
796
|
+
"@included": {
|
|
797
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
798
|
+
},
|
|
799
|
+
"@graph": {
|
|
800
|
+
anyOf: [
|
|
801
|
+
{
|
|
802
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
type: "array",
|
|
806
|
+
items: {
|
|
807
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
]
|
|
811
|
+
},
|
|
812
|
+
"@nest": {
|
|
813
|
+
anyOf: [
|
|
814
|
+
{
|
|
815
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
type: "array",
|
|
819
|
+
items: {
|
|
820
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
]
|
|
824
|
+
},
|
|
825
|
+
"@type": {
|
|
826
|
+
anyOf: [
|
|
827
|
+
{
|
|
828
|
+
type: "string"
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
type: "array",
|
|
832
|
+
items: {
|
|
833
|
+
type: "string"
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
]
|
|
837
|
+
},
|
|
838
|
+
"@reverse": {
|
|
839
|
+
type: "object",
|
|
840
|
+
additionalProperties: {
|
|
841
|
+
type: "string"
|
|
842
|
+
}
|
|
843
|
+
},
|
|
844
|
+
"@index": {
|
|
845
|
+
type: "string"
|
|
846
|
+
}
|
|
847
|
+
},
|
|
848
|
+
required: [
|
|
849
|
+
"id",
|
|
850
|
+
"type"
|
|
851
|
+
]
|
|
852
|
+
}
|
|
853
|
+
]
|
|
854
|
+
},
|
|
855
|
+
subOrganizationOf: {
|
|
856
|
+
type: "array",
|
|
857
|
+
items: false,
|
|
858
|
+
description: "Sub organization of.",
|
|
859
|
+
prefixItems: [
|
|
860
|
+
{
|
|
861
|
+
type: "object",
|
|
862
|
+
additionalProperties: {
|
|
863
|
+
anyOf: [
|
|
864
|
+
{
|
|
865
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIndexMap"
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIdMap"
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdTypeMap"
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
type: "array"
|
|
884
|
+
}
|
|
885
|
+
]
|
|
886
|
+
},
|
|
887
|
+
properties: {
|
|
888
|
+
id: {
|
|
889
|
+
type: "string"
|
|
890
|
+
},
|
|
891
|
+
type: {
|
|
892
|
+
type: "string",
|
|
893
|
+
"const": "LegalPerson"
|
|
894
|
+
},
|
|
895
|
+
"@context": {
|
|
896
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
|
|
897
|
+
},
|
|
898
|
+
"@id": {
|
|
899
|
+
anyOf: [
|
|
900
|
+
{
|
|
901
|
+
type: "string"
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
type: "array",
|
|
905
|
+
items: {
|
|
906
|
+
type: "string"
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
]
|
|
910
|
+
},
|
|
911
|
+
"@included": {
|
|
912
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
913
|
+
},
|
|
914
|
+
"@graph": {
|
|
915
|
+
anyOf: [
|
|
916
|
+
{
|
|
917
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
type: "array",
|
|
921
|
+
items: {
|
|
922
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
]
|
|
926
|
+
},
|
|
927
|
+
"@nest": {
|
|
928
|
+
anyOf: [
|
|
929
|
+
{
|
|
930
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
type: "array",
|
|
934
|
+
items: {
|
|
935
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
]
|
|
939
|
+
},
|
|
940
|
+
"@type": {
|
|
941
|
+
anyOf: [
|
|
942
|
+
{
|
|
943
|
+
type: "string"
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
type: "array",
|
|
947
|
+
items: {
|
|
948
|
+
type: "string"
|
|
949
|
+
}
|
|
950
|
+
}
|
|
951
|
+
]
|
|
952
|
+
},
|
|
953
|
+
"@reverse": {
|
|
954
|
+
type: "object",
|
|
955
|
+
additionalProperties: {
|
|
956
|
+
type: "string"
|
|
957
|
+
}
|
|
958
|
+
},
|
|
959
|
+
"@index": {
|
|
960
|
+
type: "string"
|
|
961
|
+
}
|
|
962
|
+
},
|
|
963
|
+
required: [
|
|
964
|
+
"id",
|
|
965
|
+
"type"
|
|
966
|
+
]
|
|
967
|
+
}
|
|
968
|
+
]
|
|
801
969
|
}
|
|
802
970
|
};
|
|
803
971
|
var required$3 = [
|
|
@@ -980,20 +1148,20 @@ var properties$1 = {
|
|
|
980
1148
|
},
|
|
981
1149
|
id: {
|
|
982
1150
|
type: "string",
|
|
983
|
-
description: "Id"
|
|
1151
|
+
description: "The Id."
|
|
984
1152
|
},
|
|
985
|
-
|
|
1153
|
+
name: {
|
|
986
1154
|
type: "string",
|
|
987
|
-
|
|
988
|
-
description: "Type"
|
|
1155
|
+
description: "Name of the Service Offering."
|
|
989
1156
|
},
|
|
990
1157
|
description: {
|
|
991
1158
|
type: "string",
|
|
992
|
-
description: "Description"
|
|
1159
|
+
description: "Description of the Gaia-X entity."
|
|
993
1160
|
},
|
|
994
|
-
|
|
1161
|
+
type: {
|
|
995
1162
|
type: "string",
|
|
996
|
-
|
|
1163
|
+
"const": "ServiceOffering",
|
|
1164
|
+
description: "Type"
|
|
997
1165
|
},
|
|
998
1166
|
providedBy: {
|
|
999
1167
|
type: "string",
|
|
@@ -1205,6 +1373,80 @@ class FederatedCatalogueDataTypes {
|
|
|
1205
1373
|
}
|
|
1206
1374
|
}
|
|
1207
1375
|
|
|
1376
|
+
// Copyright 2024 IOTA Stiftung.
|
|
1377
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
1378
|
+
/**
|
|
1379
|
+
* The LD context instances concerning the Federated Catalogue.
|
|
1380
|
+
*/
|
|
1381
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
1382
|
+
class FederatedCatalogueContextInstances {
|
|
1383
|
+
/**
|
|
1384
|
+
* The LD Context of a list of Catalogue entries.
|
|
1385
|
+
*/
|
|
1386
|
+
static DEFAULT_LD_CONTEXT_ENTRY_LIST = [
|
|
1387
|
+
standardsSchemaOrg.SchemaOrgContexts.ContextRoot,
|
|
1388
|
+
standardsGaiaX.GaiaXContexts.ContextRoot,
|
|
1389
|
+
FederatedCatalogueContexts.ContextRoot
|
|
1390
|
+
];
|
|
1391
|
+
/**
|
|
1392
|
+
* The LD Context of a Catalogue entry.
|
|
1393
|
+
*/
|
|
1394
|
+
static DEFAULT_LD_CONTEXT_ENTRY = this.DEFAULT_LD_CONTEXT_ENTRY_LIST;
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1397
|
+
// Copyright 2024 IOTA Stiftung.
|
|
1398
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
1399
|
+
/**
|
|
1400
|
+
* The verification failure reasons.
|
|
1401
|
+
*/
|
|
1402
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
1403
|
+
const VerificationFailureReasons = {
|
|
1404
|
+
/**
|
|
1405
|
+
* Credential type is invalid.
|
|
1406
|
+
*/
|
|
1407
|
+
InvalidCredentialType: "invalidCredentialType",
|
|
1408
|
+
/**
|
|
1409
|
+
* The issuer is invalid.
|
|
1410
|
+
*/
|
|
1411
|
+
InvalidIssuer: "invalidIssuer",
|
|
1412
|
+
/**
|
|
1413
|
+
* Credential is not valid yet.
|
|
1414
|
+
*/
|
|
1415
|
+
NotValidYet: "notValidYet",
|
|
1416
|
+
/**
|
|
1417
|
+
* Credential ahs expired.
|
|
1418
|
+
*/
|
|
1419
|
+
Expired: "expired",
|
|
1420
|
+
/**
|
|
1421
|
+
* Credential's evidence cannot be verified.
|
|
1422
|
+
*/
|
|
1423
|
+
EvidenceCannotBeVerified: "evidenceCannotBeVerified",
|
|
1424
|
+
/**
|
|
1425
|
+
* Credential has no expiration.
|
|
1426
|
+
*/
|
|
1427
|
+
NoValidityEndPeriod: "noValidityEndPeriod",
|
|
1428
|
+
/**
|
|
1429
|
+
* Credential's subject is missing.
|
|
1430
|
+
*/
|
|
1431
|
+
MissingSubject: "missingSubject",
|
|
1432
|
+
/**
|
|
1433
|
+
* Credential's evidences are missing.
|
|
1434
|
+
*/
|
|
1435
|
+
MissingEvidences: "missingEvidences",
|
|
1436
|
+
/**
|
|
1437
|
+
* General error happened while verifying and the credential cannot be deemed as verified.
|
|
1438
|
+
*/
|
|
1439
|
+
GeneralVerificationError: "generalVerificationError",
|
|
1440
|
+
/**
|
|
1441
|
+
* Credential's integrity check has failed
|
|
1442
|
+
*/
|
|
1443
|
+
IntegrityCheckFailed: "integrityCheckFailed",
|
|
1444
|
+
/**
|
|
1445
|
+
* Credential's Evidence cannot be retrieved.
|
|
1446
|
+
*/
|
|
1447
|
+
EvidenceCannotBeRetrieved: "evidenceCannotBeRetrieved"
|
|
1448
|
+
};
|
|
1449
|
+
|
|
1208
1450
|
exports.FederatedCatalogueContextInstances = FederatedCatalogueContextInstances;
|
|
1209
1451
|
exports.FederatedCatalogueContexts = FederatedCatalogueContexts;
|
|
1210
1452
|
exports.FederatedCatalogueDataTypes = FederatedCatalogueDataTypes;
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
|
+
import { DataTypeHandlerFactory } from '@twin.org/data-core';
|
|
1
2
|
import { GaiaXContexts } from '@twin.org/standards-gaia-x';
|
|
2
3
|
import { SchemaOrgContexts } from '@twin.org/standards-schema-org';
|
|
3
|
-
|
|
4
|
+
|
|
5
|
+
// Copyright 2024 IOTA Stiftung.
|
|
6
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
7
|
+
/**
|
|
8
|
+
* The LD context concerning the Federated Catalogue.
|
|
9
|
+
*/
|
|
10
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
11
|
+
const FederatedCatalogueContexts = {
|
|
12
|
+
/**
|
|
13
|
+
* The context root for the federated catalogue types.
|
|
14
|
+
*/
|
|
15
|
+
ContextRoot: "https://schema.twindev.org/federated-catalogue/"
|
|
16
|
+
};
|
|
4
17
|
|
|
5
18
|
// Copyright 2024 IOTA Stiftung.
|
|
6
19
|
// SPDX-License-Identifier: Apache-2.0.
|
|
@@ -55,93 +68,6 @@ const FederatedCatalogueTypes = {
|
|
|
55
68
|
ServiceOfferingList: "ServiceOfferingList"
|
|
56
69
|
};
|
|
57
70
|
|
|
58
|
-
// Copyright 2024 IOTA Stiftung.
|
|
59
|
-
// SPDX-License-Identifier: Apache-2.0.
|
|
60
|
-
/**
|
|
61
|
-
* The LD context concerning the Federated Catalogue.
|
|
62
|
-
*/
|
|
63
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
64
|
-
const FederatedCatalogueContexts = {
|
|
65
|
-
/**
|
|
66
|
-
* The context root for the federated catalogue types.
|
|
67
|
-
*/
|
|
68
|
-
ContextRoot: "https://schema.twindev.org/federated-catalogue/"
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
// Copyright 2024 IOTA Stiftung.
|
|
72
|
-
// SPDX-License-Identifier: Apache-2.0.
|
|
73
|
-
/**
|
|
74
|
-
* The LD context instances concerning the Federated Catalogue.
|
|
75
|
-
*/
|
|
76
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
77
|
-
class FederatedCatalogueContextInstances {
|
|
78
|
-
/**
|
|
79
|
-
* The LD Context of a list of Catalogue entries.
|
|
80
|
-
*/
|
|
81
|
-
static DEFAULT_LD_CONTEXT_ENTRY_LIST = [
|
|
82
|
-
SchemaOrgContexts.ContextRoot,
|
|
83
|
-
GaiaXContexts.ContextRoot,
|
|
84
|
-
FederatedCatalogueContexts.ContextRoot
|
|
85
|
-
];
|
|
86
|
-
/**
|
|
87
|
-
* The LD Context of a Catalogue entry.
|
|
88
|
-
*/
|
|
89
|
-
static DEFAULT_LD_CONTEXT_ENTRY = this.DEFAULT_LD_CONTEXT_ENTRY_LIST;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Copyright 2024 IOTA Stiftung.
|
|
93
|
-
// SPDX-License-Identifier: Apache-2.0.
|
|
94
|
-
/**
|
|
95
|
-
* The verification failure reasons.
|
|
96
|
-
*/
|
|
97
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
98
|
-
const VerificationFailureReasons = {
|
|
99
|
-
/**
|
|
100
|
-
* Credential type is invalid.
|
|
101
|
-
*/
|
|
102
|
-
InvalidCredentialType: "invalidCredentialType",
|
|
103
|
-
/**
|
|
104
|
-
* The issuer is invalid.
|
|
105
|
-
*/
|
|
106
|
-
InvalidIssuer: "invalidIssuer",
|
|
107
|
-
/**
|
|
108
|
-
* Credential is not valid yet.
|
|
109
|
-
*/
|
|
110
|
-
NotValidYet: "notValidYet",
|
|
111
|
-
/**
|
|
112
|
-
* Credential ahs expired.
|
|
113
|
-
*/
|
|
114
|
-
Expired: "expired",
|
|
115
|
-
/**
|
|
116
|
-
* Credential's evidence cannot be verified.
|
|
117
|
-
*/
|
|
118
|
-
EvidenceCannotBeVerified: "evidenceCannotBeVerified",
|
|
119
|
-
/**
|
|
120
|
-
* Credential has no expiration.
|
|
121
|
-
*/
|
|
122
|
-
NoValidityEndPeriod: "noValidityEndPeriod",
|
|
123
|
-
/**
|
|
124
|
-
* Credential's subject is missing.
|
|
125
|
-
*/
|
|
126
|
-
MissingSubject: "missingSubject",
|
|
127
|
-
/**
|
|
128
|
-
* Credential's evidences are missing.
|
|
129
|
-
*/
|
|
130
|
-
MissingEvidences: "missingEvidences",
|
|
131
|
-
/**
|
|
132
|
-
* General error happened while verifying and the credential cannot be deemed as verified.
|
|
133
|
-
*/
|
|
134
|
-
GeneralVerificationError: "generalVerificationError",
|
|
135
|
-
/**
|
|
136
|
-
* Credential's integrity check has failed
|
|
137
|
-
*/
|
|
138
|
-
IntegrityCheckFailed: "integrityCheckFailed",
|
|
139
|
-
/**
|
|
140
|
-
* Credential's Evidence cannot be retrieved.
|
|
141
|
-
*/
|
|
142
|
-
EvidenceCannotBeRetrieved: "evidenceCannotBeRetrieved"
|
|
143
|
-
};
|
|
144
|
-
|
|
145
71
|
var $schema$7 = "https://json-schema.org/draft/2020-12/schema";
|
|
146
72
|
var $id$7 = "https://schema.twindev.org/federated-catalogue/DataResourceEntry";
|
|
147
73
|
var description$7 = "Interface describing a Data Resource entry.";
|
|
@@ -231,18 +157,18 @@ var properties$7 = {
|
|
|
231
157
|
type: "string",
|
|
232
158
|
description: "Subject Id"
|
|
233
159
|
},
|
|
234
|
-
|
|
160
|
+
name: {
|
|
235
161
|
type: "string",
|
|
236
|
-
|
|
237
|
-
description: "Subject type"
|
|
162
|
+
description: "The Resource Name"
|
|
238
163
|
},
|
|
239
164
|
description: {
|
|
240
165
|
type: "string",
|
|
241
|
-
description: "Description"
|
|
166
|
+
description: "Description of the Gaia-X entity."
|
|
242
167
|
},
|
|
243
|
-
|
|
168
|
+
type: {
|
|
244
169
|
type: "string",
|
|
245
|
-
|
|
170
|
+
"const": "DataResource",
|
|
171
|
+
description: "Subject type"
|
|
246
172
|
},
|
|
247
173
|
exposedThrough: {
|
|
248
174
|
type: "string",
|
|
@@ -778,7 +704,15 @@ var properties$3 = {
|
|
|
778
704
|
},
|
|
779
705
|
id: {
|
|
780
706
|
type: "string",
|
|
781
|
-
description: "The
|
|
707
|
+
description: "The Id."
|
|
708
|
+
},
|
|
709
|
+
name: {
|
|
710
|
+
type: "string",
|
|
711
|
+
description: "Human readable Name."
|
|
712
|
+
},
|
|
713
|
+
description: {
|
|
714
|
+
type: "string",
|
|
715
|
+
description: "Description of the Gaia-X entity."
|
|
782
716
|
},
|
|
783
717
|
type: {
|
|
784
718
|
type: "string",
|
|
@@ -796,6 +730,240 @@ var properties$3 = {
|
|
|
796
730
|
legalAddress: {
|
|
797
731
|
$ref: "https://schema.twindev.org/federated-catalogue/Address",
|
|
798
732
|
description: "Legal Address"
|
|
733
|
+
},
|
|
734
|
+
headquartersAddress: {
|
|
735
|
+
$ref: "https://schema.twindev.org/federated-catalogue/Address",
|
|
736
|
+
description: "Headquarters address."
|
|
737
|
+
},
|
|
738
|
+
parentOrganizationOf: {
|
|
739
|
+
type: "array",
|
|
740
|
+
items: false,
|
|
741
|
+
description: "Parent organization.",
|
|
742
|
+
prefixItems: [
|
|
743
|
+
{
|
|
744
|
+
type: "object",
|
|
745
|
+
additionalProperties: {
|
|
746
|
+
anyOf: [
|
|
747
|
+
{
|
|
748
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIndexMap"
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIdMap"
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdTypeMap"
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
type: "array"
|
|
767
|
+
}
|
|
768
|
+
]
|
|
769
|
+
},
|
|
770
|
+
properties: {
|
|
771
|
+
id: {
|
|
772
|
+
type: "string"
|
|
773
|
+
},
|
|
774
|
+
type: {
|
|
775
|
+
type: "string",
|
|
776
|
+
"const": "LegalPerson"
|
|
777
|
+
},
|
|
778
|
+
"@context": {
|
|
779
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
|
|
780
|
+
},
|
|
781
|
+
"@id": {
|
|
782
|
+
anyOf: [
|
|
783
|
+
{
|
|
784
|
+
type: "string"
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
type: "array",
|
|
788
|
+
items: {
|
|
789
|
+
type: "string"
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
]
|
|
793
|
+
},
|
|
794
|
+
"@included": {
|
|
795
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
796
|
+
},
|
|
797
|
+
"@graph": {
|
|
798
|
+
anyOf: [
|
|
799
|
+
{
|
|
800
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
type: "array",
|
|
804
|
+
items: {
|
|
805
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
]
|
|
809
|
+
},
|
|
810
|
+
"@nest": {
|
|
811
|
+
anyOf: [
|
|
812
|
+
{
|
|
813
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
type: "array",
|
|
817
|
+
items: {
|
|
818
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
]
|
|
822
|
+
},
|
|
823
|
+
"@type": {
|
|
824
|
+
anyOf: [
|
|
825
|
+
{
|
|
826
|
+
type: "string"
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
type: "array",
|
|
830
|
+
items: {
|
|
831
|
+
type: "string"
|
|
832
|
+
}
|
|
833
|
+
}
|
|
834
|
+
]
|
|
835
|
+
},
|
|
836
|
+
"@reverse": {
|
|
837
|
+
type: "object",
|
|
838
|
+
additionalProperties: {
|
|
839
|
+
type: "string"
|
|
840
|
+
}
|
|
841
|
+
},
|
|
842
|
+
"@index": {
|
|
843
|
+
type: "string"
|
|
844
|
+
}
|
|
845
|
+
},
|
|
846
|
+
required: [
|
|
847
|
+
"id",
|
|
848
|
+
"type"
|
|
849
|
+
]
|
|
850
|
+
}
|
|
851
|
+
]
|
|
852
|
+
},
|
|
853
|
+
subOrganizationOf: {
|
|
854
|
+
type: "array",
|
|
855
|
+
items: false,
|
|
856
|
+
description: "Sub organization of.",
|
|
857
|
+
prefixItems: [
|
|
858
|
+
{
|
|
859
|
+
type: "object",
|
|
860
|
+
additionalProperties: {
|
|
861
|
+
anyOf: [
|
|
862
|
+
{
|
|
863
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIndexMap"
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIdMap"
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdTypeMap"
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
type: "array"
|
|
882
|
+
}
|
|
883
|
+
]
|
|
884
|
+
},
|
|
885
|
+
properties: {
|
|
886
|
+
id: {
|
|
887
|
+
type: "string"
|
|
888
|
+
},
|
|
889
|
+
type: {
|
|
890
|
+
type: "string",
|
|
891
|
+
"const": "LegalPerson"
|
|
892
|
+
},
|
|
893
|
+
"@context": {
|
|
894
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
|
|
895
|
+
},
|
|
896
|
+
"@id": {
|
|
897
|
+
anyOf: [
|
|
898
|
+
{
|
|
899
|
+
type: "string"
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
type: "array",
|
|
903
|
+
items: {
|
|
904
|
+
type: "string"
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
]
|
|
908
|
+
},
|
|
909
|
+
"@included": {
|
|
910
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
911
|
+
},
|
|
912
|
+
"@graph": {
|
|
913
|
+
anyOf: [
|
|
914
|
+
{
|
|
915
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
type: "array",
|
|
919
|
+
items: {
|
|
920
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
]
|
|
924
|
+
},
|
|
925
|
+
"@nest": {
|
|
926
|
+
anyOf: [
|
|
927
|
+
{
|
|
928
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
type: "array",
|
|
932
|
+
items: {
|
|
933
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
]
|
|
937
|
+
},
|
|
938
|
+
"@type": {
|
|
939
|
+
anyOf: [
|
|
940
|
+
{
|
|
941
|
+
type: "string"
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
type: "array",
|
|
945
|
+
items: {
|
|
946
|
+
type: "string"
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
]
|
|
950
|
+
},
|
|
951
|
+
"@reverse": {
|
|
952
|
+
type: "object",
|
|
953
|
+
additionalProperties: {
|
|
954
|
+
type: "string"
|
|
955
|
+
}
|
|
956
|
+
},
|
|
957
|
+
"@index": {
|
|
958
|
+
type: "string"
|
|
959
|
+
}
|
|
960
|
+
},
|
|
961
|
+
required: [
|
|
962
|
+
"id",
|
|
963
|
+
"type"
|
|
964
|
+
]
|
|
965
|
+
}
|
|
966
|
+
]
|
|
799
967
|
}
|
|
800
968
|
};
|
|
801
969
|
var required$3 = [
|
|
@@ -978,20 +1146,20 @@ var properties$1 = {
|
|
|
978
1146
|
},
|
|
979
1147
|
id: {
|
|
980
1148
|
type: "string",
|
|
981
|
-
description: "Id"
|
|
1149
|
+
description: "The Id."
|
|
982
1150
|
},
|
|
983
|
-
|
|
1151
|
+
name: {
|
|
984
1152
|
type: "string",
|
|
985
|
-
|
|
986
|
-
description: "Type"
|
|
1153
|
+
description: "Name of the Service Offering."
|
|
987
1154
|
},
|
|
988
1155
|
description: {
|
|
989
1156
|
type: "string",
|
|
990
|
-
description: "Description"
|
|
1157
|
+
description: "Description of the Gaia-X entity."
|
|
991
1158
|
},
|
|
992
|
-
|
|
1159
|
+
type: {
|
|
993
1160
|
type: "string",
|
|
994
|
-
|
|
1161
|
+
"const": "ServiceOffering",
|
|
1162
|
+
description: "Type"
|
|
995
1163
|
},
|
|
996
1164
|
providedBy: {
|
|
997
1165
|
type: "string",
|
|
@@ -1203,4 +1371,78 @@ class FederatedCatalogueDataTypes {
|
|
|
1203
1371
|
}
|
|
1204
1372
|
}
|
|
1205
1373
|
|
|
1374
|
+
// Copyright 2024 IOTA Stiftung.
|
|
1375
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
1376
|
+
/**
|
|
1377
|
+
* The LD context instances concerning the Federated Catalogue.
|
|
1378
|
+
*/
|
|
1379
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
1380
|
+
class FederatedCatalogueContextInstances {
|
|
1381
|
+
/**
|
|
1382
|
+
* The LD Context of a list of Catalogue entries.
|
|
1383
|
+
*/
|
|
1384
|
+
static DEFAULT_LD_CONTEXT_ENTRY_LIST = [
|
|
1385
|
+
SchemaOrgContexts.ContextRoot,
|
|
1386
|
+
GaiaXContexts.ContextRoot,
|
|
1387
|
+
FederatedCatalogueContexts.ContextRoot
|
|
1388
|
+
];
|
|
1389
|
+
/**
|
|
1390
|
+
* The LD Context of a Catalogue entry.
|
|
1391
|
+
*/
|
|
1392
|
+
static DEFAULT_LD_CONTEXT_ENTRY = this.DEFAULT_LD_CONTEXT_ENTRY_LIST;
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
// Copyright 2024 IOTA Stiftung.
|
|
1396
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
1397
|
+
/**
|
|
1398
|
+
* The verification failure reasons.
|
|
1399
|
+
*/
|
|
1400
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
1401
|
+
const VerificationFailureReasons = {
|
|
1402
|
+
/**
|
|
1403
|
+
* Credential type is invalid.
|
|
1404
|
+
*/
|
|
1405
|
+
InvalidCredentialType: "invalidCredentialType",
|
|
1406
|
+
/**
|
|
1407
|
+
* The issuer is invalid.
|
|
1408
|
+
*/
|
|
1409
|
+
InvalidIssuer: "invalidIssuer",
|
|
1410
|
+
/**
|
|
1411
|
+
* Credential is not valid yet.
|
|
1412
|
+
*/
|
|
1413
|
+
NotValidYet: "notValidYet",
|
|
1414
|
+
/**
|
|
1415
|
+
* Credential ahs expired.
|
|
1416
|
+
*/
|
|
1417
|
+
Expired: "expired",
|
|
1418
|
+
/**
|
|
1419
|
+
* Credential's evidence cannot be verified.
|
|
1420
|
+
*/
|
|
1421
|
+
EvidenceCannotBeVerified: "evidenceCannotBeVerified",
|
|
1422
|
+
/**
|
|
1423
|
+
* Credential has no expiration.
|
|
1424
|
+
*/
|
|
1425
|
+
NoValidityEndPeriod: "noValidityEndPeriod",
|
|
1426
|
+
/**
|
|
1427
|
+
* Credential's subject is missing.
|
|
1428
|
+
*/
|
|
1429
|
+
MissingSubject: "missingSubject",
|
|
1430
|
+
/**
|
|
1431
|
+
* Credential's evidences are missing.
|
|
1432
|
+
*/
|
|
1433
|
+
MissingEvidences: "missingEvidences",
|
|
1434
|
+
/**
|
|
1435
|
+
* General error happened while verifying and the credential cannot be deemed as verified.
|
|
1436
|
+
*/
|
|
1437
|
+
GeneralVerificationError: "generalVerificationError",
|
|
1438
|
+
/**
|
|
1439
|
+
* Credential's integrity check has failed
|
|
1440
|
+
*/
|
|
1441
|
+
IntegrityCheckFailed: "integrityCheckFailed",
|
|
1442
|
+
/**
|
|
1443
|
+
* Credential's Evidence cannot be retrieved.
|
|
1444
|
+
*/
|
|
1445
|
+
EvidenceCannotBeRetrieved: "evidenceCannotBeRetrieved"
|
|
1446
|
+
};
|
|
1447
|
+
|
|
1206
1448
|
export { FederatedCatalogueContextInstances, FederatedCatalogueContexts, FederatedCatalogueDataTypes, FederatedCatalogueTypes, VerificationFailureReasons };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
export * from "./
|
|
1
|
+
export * from "./dataTypes/federatedCatalogueDataTypes";
|
|
2
|
+
export * from "./models/api/ICatalogueEntryGetRequest";
|
|
2
3
|
export * from "./models/api/ICompliancePresentationRequest";
|
|
3
|
-
export * from "./models/api/
|
|
4
|
-
export * from "./models/api/IServiceOfferingListRequest";
|
|
4
|
+
export * from "./models/api/IDataResourceGetResponse";
|
|
5
5
|
export * from "./models/api/IDataResourceListRequest";
|
|
6
|
-
export * from "./models/api/IParticipantListResponse";
|
|
7
|
-
export * from "./models/api/IServiceOfferingListResponse";
|
|
8
6
|
export * from "./models/api/IDataResourceListResponse";
|
|
9
|
-
export * from "./models/api/ICatalogueEntryGetRequest";
|
|
10
|
-
export * from "./models/api/IParticipantGetResponse";
|
|
11
|
-
export * from "./models/api/IServiceOfferingGetResponse";
|
|
12
|
-
export * from "./models/api/IDataResourceGetResponse";
|
|
13
7
|
export * from "./models/api/IDataSpaceConnectorGetResponse";
|
|
14
8
|
export * from "./models/api/IDataSpaceConnectorListRequest";
|
|
15
9
|
export * from "./models/api/IDataSpaceConnectorListResponse";
|
|
16
|
-
export * from "./models/
|
|
17
|
-
export * from "./models/
|
|
18
|
-
export * from "./models/
|
|
10
|
+
export * from "./models/api/IFederatedCatalogueGetRequest";
|
|
11
|
+
export * from "./models/api/IParticipantGetResponse";
|
|
12
|
+
export * from "./models/api/IParticipantListRequest";
|
|
13
|
+
export * from "./models/api/IParticipantListResponse";
|
|
14
|
+
export * from "./models/api/IServiceOfferingGetResponse";
|
|
15
|
+
export * from "./models/api/IServiceOfferingListRequest";
|
|
16
|
+
export * from "./models/api/IServiceOfferingListResponse";
|
|
17
|
+
export * from "./models/data-resource/IDataResourceCredential";
|
|
19
18
|
export * from "./models/data-resource/IDataResourceEntry";
|
|
20
19
|
export * from "./models/data-resource/IDataResourceList";
|
|
21
|
-
export * from "./models/data-resource/IDataResourceCredential";
|
|
22
|
-
export * from "./models/service-offering/IServiceOfferingEntry";
|
|
23
|
-
export * from "./models/service-offering/IServiceOfferingList";
|
|
24
|
-
export * from "./models/service-offering/IServiceOfferingCredential";
|
|
25
20
|
export * from "./models/data-space-connector/IDataSpaceConnector";
|
|
21
|
+
export * from "./models/data-space-connector/IDataSpaceConnectorCredential";
|
|
26
22
|
export * from "./models/data-space-connector/IDataSpaceConnectorEntry";
|
|
27
23
|
export * from "./models/data-space-connector/IDataSpaceConnectorList";
|
|
28
|
-
export * from "./models/
|
|
29
|
-
export * from "./models/
|
|
24
|
+
export * from "./models/federatedCatalogueContextInstances";
|
|
25
|
+
export * from "./models/federatedCatalogueContexts";
|
|
26
|
+
export * from "./models/federatedCatalogueContextType";
|
|
27
|
+
export * from "./models/federatedCatalogueEntryType";
|
|
28
|
+
export * from "./models/federatedCatalogueTypes";
|
|
29
|
+
export * from "./models/ICatalogueEntry";
|
|
30
30
|
export * from "./models/IComplianceCredential";
|
|
31
31
|
export * from "./models/IComplianceEvidence";
|
|
32
|
-
export * from "./models/IVerificationResult";
|
|
33
32
|
export * from "./models/IComplianceVerificationResult";
|
|
34
|
-
export * from "./models/federatedCatalogueTypes";
|
|
35
|
-
export * from "./models/federatedCatalogueContexts";
|
|
36
|
-
export * from "./models/federatedCatalogueContextInstances";
|
|
37
33
|
export * from "./models/ICredential";
|
|
34
|
+
export * from "./models/IFederatedCatalogueComponent";
|
|
35
|
+
export * from "./models/IVerificationResult";
|
|
36
|
+
export * from "./models/participant/IParticipantCredential";
|
|
37
|
+
export * from "./models/participant/IParticipantEntry";
|
|
38
|
+
export * from "./models/participant/IParticipantList";
|
|
39
|
+
export * from "./models/service-offering/IServiceOfferingCredential";
|
|
40
|
+
export * from "./models/service-offering/IServiceOfferingEntry";
|
|
41
|
+
export * from "./models/service-offering/IServiceOfferingList";
|
|
38
42
|
export * from "./models/verificationFailureReasons";
|
|
39
|
-
export * from "./models/federatedCatalogueContextType";
|
|
40
|
-
export * from "./models/federatedCatalogueEntryType";
|
|
41
|
-
export * from "./dataTypes/federatedCatalogueDataTypes";
|
|
42
|
-
export * from "./models/ICatalogueEntry";
|
|
@@ -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,31 @@
|
|
|
1
1
|
# @twin.org/federated-catalogue-models - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.2-next.2](https://github.com/twinfoundation/federated-catalogue/compare/federated-catalogue-models-v0.0.2-next.1...federated-catalogue-models-v0.0.2-next.2) (2025-08-21)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* update framework core ([68293b6](https://github.com/twinfoundation/federated-catalogue/commit/68293b68aaf594d51431b942fa91e7cf7020a8d7))
|
|
9
|
+
|
|
10
|
+
## [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)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* add data types with fully qualified names ([993eb09](https://github.com/twinfoundation/federated-catalogue/commit/993eb09e25f6caad5d82a3908a2ba648900f5ca7))
|
|
16
|
+
* consistent component naming with other repos ([83fc03d](https://github.com/twinfoundation/federated-catalogue/commit/83fc03dee3846600ae6a45d710248a0ae60af570))
|
|
17
|
+
* synchronise with gaia-x types ([3e0d7f2](https://github.com/twinfoundation/federated-catalogue/commit/3e0d7f2f277ec0adef79d71165b6db778e15e315))
|
|
18
|
+
* update dependencies ([24ff3d7](https://github.com/twinfoundation/federated-catalogue/commit/24ff3d772cf7bd7f60547c5b314355e75ba55424))
|
|
19
|
+
* update schemas ([58d8581](https://github.com/twinfoundation/federated-catalogue/commit/58d85813231f6576490937d4394e7be0f6d8c58d))
|
|
20
|
+
* update ts-to-schema generation ([41bdde7](https://github.com/twinfoundation/federated-catalogue/commit/41bdde7ff9f0cfa1ea4376b7a952bbaed9988d0a))
|
|
21
|
+
* version 0 federated catalogue ([#2](https://github.com/twinfoundation/federated-catalogue/issues/2)) ([93fb8bd](https://github.com/twinfoundation/federated-catalogue/commit/93fb8bdbb03aa781ef9e8dc4053beea1b397cc36))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* broken docs ([4588d86](https://github.com/twinfoundation/federated-catalogue/commit/4588d861575522da5374291167d57bacd1b21867))
|
|
27
|
+
* query params force coercion ([a532329](https://github.com/twinfoundation/federated-catalogue/commit/a532329089b2b95c7f18cd8bd56ee47482755dc0))
|
|
28
|
+
|
|
3
29
|
## 0.0.1 (2025-07-10)
|
|
4
30
|
|
|
5
31
|
|
|
@@ -8,7 +8,7 @@ Compliance Evidence.
|
|
|
8
8
|
|
|
9
9
|
## Indexable
|
|
10
10
|
|
|
11
|
-
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string
|
|
11
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
|
|
12
12
|
|
|
13
13
|
## Properties
|
|
14
14
|
|
|
@@ -8,11 +8,11 @@ A credential with subject.
|
|
|
8
8
|
|
|
9
9
|
## Extended by
|
|
10
10
|
|
|
11
|
-
- [`IParticipantCredential`](IParticipantCredential.md)
|
|
12
11
|
- [`IDataResourceCredential`](IDataResourceCredential.md)
|
|
13
|
-
- [`IServiceOfferingCredential`](IServiceOfferingCredential.md)
|
|
14
12
|
- [`IDataSpaceConnectorCredential`](IDataSpaceConnectorCredential.md)
|
|
15
13
|
- [`IComplianceCredential`](IComplianceCredential.md)
|
|
14
|
+
- [`IParticipantCredential`](IParticipantCredential.md)
|
|
15
|
+
- [`IServiceOfferingCredential`](IServiceOfferingCredential.md)
|
|
16
16
|
|
|
17
17
|
## Properties
|
|
18
18
|
|
|
@@ -8,7 +8,7 @@ Interface describing a Data Resource entry.
|
|
|
8
8
|
|
|
9
9
|
## Indexable
|
|
10
10
|
|
|
11
|
-
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string
|
|
11
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
|
|
12
12
|
|
|
13
13
|
## Properties
|
|
14
14
|
|
|
@@ -12,7 +12,7 @@ TWIN Data Space Connector.
|
|
|
12
12
|
|
|
13
13
|
## Indexable
|
|
14
14
|
|
|
15
|
-
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string
|
|
15
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
|
|
16
16
|
|
|
17
17
|
## Properties
|
|
18
18
|
|
|
@@ -121,7 +121,7 @@ default endpoint URL as a base URL.
|
|
|
121
121
|
|
|
122
122
|
### offeredResource
|
|
123
123
|
|
|
124
|
-
> **offeredResource**: `string`[] \| \{[`resourceId`: `string
|
|
124
|
+
> **offeredResource**: `string`[] \| \{\[`resourceId`: `string`\]: `IDataResource` \| `IJsonLdNodeObject` & `object`; \}
|
|
125
125
|
|
|
126
126
|
The resources offered by this Connector.
|
|
127
127
|
A resource index is usually a relative reference to the default endpoint base URL.
|
|
@@ -8,7 +8,7 @@ Interface describing a participant.
|
|
|
8
8
|
|
|
9
9
|
## Indexable
|
|
10
10
|
|
|
11
|
-
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string
|
|
11
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
|
|
12
12
|
|
|
13
13
|
## Properties
|
|
14
14
|
|
|
@@ -4,11 +4,11 @@ Base interface for Federated Catalogue Get Requests
|
|
|
4
4
|
|
|
5
5
|
## Extended by
|
|
6
6
|
|
|
7
|
-
- [`IParticipantListRequest`](IParticipantListRequest.md)
|
|
8
|
-
- [`IServiceOfferingListRequest`](IServiceOfferingListRequest.md)
|
|
9
|
-
- [`IDataResourceListRequest`](IDataResourceListRequest.md)
|
|
10
7
|
- [`ICatalogueEntryGetRequest`](ICatalogueEntryGetRequest.md)
|
|
8
|
+
- [`IDataResourceListRequest`](IDataResourceListRequest.md)
|
|
11
9
|
- [`IDataSpaceConnectorListRequest`](IDataSpaceConnectorListRequest.md)
|
|
10
|
+
- [`IParticipantListRequest`](IParticipantListRequest.md)
|
|
11
|
+
- [`IServiceOfferingListRequest`](IServiceOfferingListRequest.md)
|
|
12
12
|
|
|
13
13
|
## Properties
|
|
14
14
|
|
|
@@ -4,11 +4,11 @@ Interface describing a participant.
|
|
|
4
4
|
|
|
5
5
|
## Extends
|
|
6
6
|
|
|
7
|
-
- `
|
|
7
|
+
- `ILegalPerson`.`ICatalogueBase`
|
|
8
8
|
|
|
9
9
|
## Indexable
|
|
10
10
|
|
|
11
|
-
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string
|
|
11
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
|
|
12
12
|
|
|
13
13
|
## Properties
|
|
14
14
|
|
|
@@ -80,4 +80,4 @@ The LD Context
|
|
|
80
80
|
|
|
81
81
|
#### Overrides
|
|
82
82
|
|
|
83
|
-
`
|
|
83
|
+
`ILegalPerson.@context`
|
|
@@ -8,7 +8,7 @@ Interface describing a Service Offering.
|
|
|
8
8
|
|
|
9
9
|
## Indexable
|
|
10
10
|
|
|
11
|
-
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{[`key`: `string
|
|
11
|
+
\[`key`: `string`\]: `undefined` \| `null` \| `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinition` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \}
|
|
12
12
|
|
|
13
13
|
## Properties
|
|
14
14
|
|
|
@@ -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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/federated-catalogue-models",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2-next.2",
|
|
4
4
|
"description": "Models which define the structure of the Federated Catalogue Service",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@twin.org/core": "
|
|
18
|
-
"@twin.org/data-core": "
|
|
19
|
-
"@twin.org/data-json-ld": "
|
|
20
|
-
"@twin.org/entity": "
|
|
21
|
-
"@twin.org/nameof": "
|
|
22
|
-
"@twin.org/standards-gaia-x": "
|
|
23
|
-
"@twin.org/standards-schema-org": "
|
|
24
|
-
"@twin.org/standards-w3c-did": "
|
|
25
|
-
"@twin.org/standards-w3c-odrl": "
|
|
17
|
+
"@twin.org/core": "next",
|
|
18
|
+
"@twin.org/data-core": "next",
|
|
19
|
+
"@twin.org/data-json-ld": "next",
|
|
20
|
+
"@twin.org/entity": "next",
|
|
21
|
+
"@twin.org/nameof": "next",
|
|
22
|
+
"@twin.org/standards-gaia-x": "next",
|
|
23
|
+
"@twin.org/standards-schema-org": "next",
|
|
24
|
+
"@twin.org/standards-w3c-did": "next",
|
|
25
|
+
"@twin.org/standards-w3c-odrl": "next"
|
|
26
26
|
},
|
|
27
27
|
"main": "./dist/cjs/index.cjs",
|
|
28
28
|
"module": "./dist/esm/index.mjs",
|