dcql 0.2.22 → 0.3.0-alpha-20250501093131
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/index.d.mts +186 -63
- package/dist/index.d.ts +186 -63
- package/dist/index.js +43 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +43 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -120,12 +120,14 @@ declare namespace DcqlSdJwtVcPresentation {
|
|
120
120
|
type DcqlSdJwtVcPresentation = DcqlSdJwtVcPresentation.Model['Output'];
|
121
121
|
declare namespace DcqlW3cVcPresentation {
|
122
122
|
const vModel: v.ObjectSchema<{
|
123
|
-
readonly credential_format: v.PicklistSchema<["
|
123
|
+
readonly credential_format: v.PicklistSchema<["ldp_vc", "jwt_vc_json"], undefined>;
|
124
124
|
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<Json, Json, v.BaseIssue<unknown>>, undefined>;
|
125
|
+
readonly type: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
125
126
|
}, undefined>;
|
126
127
|
const model: Model<v.ObjectSchema<{
|
127
|
-
readonly credential_format: v.PicklistSchema<["
|
128
|
+
readonly credential_format: v.PicklistSchema<["ldp_vc", "jwt_vc_json"], undefined>;
|
128
129
|
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<Json, Json, v.BaseIssue<unknown>>, undefined>;
|
130
|
+
readonly type: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
129
131
|
}, undefined>>;
|
130
132
|
type Model = InferModelTypes<typeof model>;
|
131
133
|
}
|
@@ -140,8 +142,9 @@ declare namespace DcqlCredentialPresentation {
|
|
140
142
|
readonly vct: v.StringSchema<undefined>;
|
141
143
|
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<Json, Json, v.BaseIssue<unknown>>, undefined>;
|
142
144
|
}, undefined>, v.ObjectSchema<{
|
143
|
-
readonly credential_format: v.PicklistSchema<["
|
145
|
+
readonly credential_format: v.PicklistSchema<["ldp_vc", "jwt_vc_json"], undefined>;
|
144
146
|
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<Json, Json, v.BaseIssue<unknown>>, undefined>;
|
147
|
+
readonly type: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
145
148
|
}, undefined>], undefined>>;
|
146
149
|
type Model = InferModelTypes<typeof model>;
|
147
150
|
}
|
@@ -163,8 +166,9 @@ declare namespace DcqlQueryResult {
|
|
163
166
|
readonly vct: v.StringSchema<undefined>;
|
164
167
|
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<Json, Json, v.BaseIssue<unknown>>, undefined>;
|
165
168
|
}, undefined>, v.ObjectSchema<{
|
166
|
-
readonly credential_format: v.PicklistSchema<["
|
169
|
+
readonly credential_format: v.PicklistSchema<["ldp_vc", "jwt_vc_json"], undefined>;
|
167
170
|
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<Json, Json, v.BaseIssue<unknown>>, undefined>;
|
171
|
+
readonly type: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
168
172
|
}, undefined>], undefined>;
|
169
173
|
}, undefined>, v.ObjectSchema<{
|
170
174
|
readonly success: v.LiteralSchema<false, undefined>;
|
@@ -189,7 +193,8 @@ declare namespace DcqlQueryResult {
|
|
189
193
|
[x: string]: Json;
|
190
194
|
};
|
191
195
|
} | {
|
192
|
-
|
196
|
+
type: string[];
|
197
|
+
credential_format: "ldp_vc" | "jwt_vc_json";
|
193
198
|
claims: {
|
194
199
|
[x: string]: Json;
|
195
200
|
};
|
@@ -222,7 +227,8 @@ declare namespace DcqlQueryResult {
|
|
222
227
|
[x: string]: Json;
|
223
228
|
};
|
224
229
|
} | {
|
225
|
-
|
230
|
+
type: string[];
|
231
|
+
credential_format: "ldp_vc" | "jwt_vc_json";
|
226
232
|
claims: {
|
227
233
|
[x: string]: Json;
|
228
234
|
};
|
@@ -335,7 +341,7 @@ declare namespace DcqlQueryResult {
|
|
335
341
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.DescriptionAction<string, "REQUIRED. A string identifying the Credential in the response and, if provided, the constraints in 'credential_sets'.">]>;
|
336
342
|
readonly claim_sets: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.NonEmptyAction<string, undefined>]>, undefined>, v.CustomSchema<[string, ...string[]], undefined>]>, undefined>, v.CustomSchema<[[string, ...string[]], ...[string, ...string[]][]], undefined>]>, undefined>, v.DescriptionAction<[[string, ...string[]], ...[string, ...string[]][]] | undefined, "OPTIONAL. A non-empty array containing arrays of identifiers for elements in 'claims' that specifies which combinations of 'claims' for the Credential are requested.">]>;
|
337
343
|
}, undefined>, v.ObjectSchema<{
|
338
|
-
readonly format: v.PicklistSchema<["jwt_vc_json", "
|
344
|
+
readonly format: v.PicklistSchema<["jwt_vc_json", "ldp_vc"], undefined>;
|
339
345
|
readonly claims: v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ObjectSchema<{
|
340
346
|
readonly id: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.NonEmptyAction<string, undefined>]>, undefined>, v.DescriptionAction<string | undefined, "A string identifying the particular claim. The value MUST be a non-empty string consisting of alphanumeric, underscore (_) or hyphen (-) characters. Within the particular claims array, the same id MUST NOT be present more than once.">]>;
|
341
347
|
readonly path: v.SchemaWithPipe<[v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.NullSchema<undefined>], undefined>, undefined>, v.CustomSchema<[string | number | null, ...(string | number | null)[]], undefined>, v.DescriptionAction<[string | number | null, ...(string | number | null)[]], "A non-empty array representing a claims path pointer that specifies the path to a claim within the Verifiable Credential.">]>;
|
@@ -349,6 +355,11 @@ declare namespace DcqlQueryResult {
|
|
349
355
|
values?: (string | number | boolean)[] | undefined;
|
350
356
|
id?: string | undefined;
|
351
357
|
}[]], undefined>]>, undefined>;
|
358
|
+
readonly meta: v.SchemaWithPipe<[v.SchemaWithPipe<[v.ObjectSchema<{
|
359
|
+
readonly type_values: v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.ArraySchema<v.StringSchema<undefined>, undefined>, v.CustomSchema<[string, ...string[]], undefined>]>, undefined>, v.CustomSchema<[[string, ...string[]], ...[string, ...string[]][]], undefined>, v.DescriptionAction<[[string, ...string[]], ...[string, ...string[]][]], "REQUIRED. An array of string arrays that specifies the fully expanded types (IRIs) after the @context was applied that the Verifier accepts to be presented in the Presentation. Each of the top-level arrays specifies one alternative to match the type values of the Verifiable Credential against. Each inner array specifies a set of fully expanded types that MUST be present in the type property of the Verifiable Credential, regardless of order or the presence of additional types.">]>;
|
360
|
+
}, undefined>]>, v.DescriptionAction<{
|
361
|
+
type_values: [[string, ...string[]], ...[string, ...string[]][]];
|
362
|
+
}, "REQUIRED. An object defining additional properties requested by the Verifier that apply to the metadata and validity data of the Credential.">]>;
|
352
363
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.DescriptionAction<string, "REQUIRED. A string identifying the Credential in the response and, if provided, the constraints in 'credential_sets'.">]>;
|
353
364
|
readonly claim_sets: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.NonEmptyAction<string, undefined>]>, undefined>, v.CustomSchema<[string, ...string[]], undefined>]>, undefined>, v.CustomSchema<[[string, ...string[]], ...[string, ...string[]][]], undefined>]>, undefined>, v.DescriptionAction<[[string, ...string[]], ...[string, ...string[]][]] | undefined, "OPTIONAL. A non-empty array containing arrays of identifiers for elements in 'claims' that specifies which combinations of 'claims' for the Credential are requested.">]>;
|
354
365
|
}, undefined>], undefined>, undefined>, v.CustomSchema<[{
|
@@ -397,7 +408,10 @@ declare namespace DcqlQueryResult {
|
|
397
408
|
} | undefined;
|
398
409
|
} | {
|
399
410
|
id: string;
|
400
|
-
format: "
|
411
|
+
format: "ldp_vc" | "jwt_vc_json";
|
412
|
+
meta: {
|
413
|
+
type_values: [[string, ...string[]], ...[string, ...string[]][]];
|
414
|
+
};
|
401
415
|
claims?: [{
|
402
416
|
path: [string | number | null, ...(string | number | null)[]];
|
403
417
|
values?: (string | number | boolean)[] | undefined;
|
@@ -454,7 +468,10 @@ declare namespace DcqlQueryResult {
|
|
454
468
|
} | undefined;
|
455
469
|
} | {
|
456
470
|
id: string;
|
457
|
-
format: "
|
471
|
+
format: "ldp_vc" | "jwt_vc_json";
|
472
|
+
meta: {
|
473
|
+
type_values: [[string, ...string[]], ...[string, ...string[]][]];
|
474
|
+
};
|
458
475
|
claims?: [{
|
459
476
|
path: [string | number | null, ...(string | number | null)[]];
|
460
477
|
values?: (string | number | boolean)[] | undefined;
|
@@ -511,7 +528,10 @@ declare namespace DcqlQueryResult {
|
|
511
528
|
} | undefined;
|
512
529
|
} | {
|
513
530
|
id: string;
|
514
|
-
format: "
|
531
|
+
format: "ldp_vc" | "jwt_vc_json";
|
532
|
+
meta: {
|
533
|
+
type_values: [[string, ...string[]], ...[string, ...string[]][]];
|
534
|
+
};
|
515
535
|
claims?: [{
|
516
536
|
path: [string | number | null, ...(string | number | null)[]];
|
517
537
|
values?: (string | number | boolean)[] | undefined;
|
@@ -568,7 +588,10 @@ declare namespace DcqlQueryResult {
|
|
568
588
|
} | undefined;
|
569
589
|
} | {
|
570
590
|
id: string;
|
571
|
-
format: "
|
591
|
+
format: "ldp_vc" | "jwt_vc_json";
|
592
|
+
meta: {
|
593
|
+
type_values: [[string, ...string[]], ...[string, ...string[]][]];
|
594
|
+
};
|
572
595
|
claims?: [{
|
573
596
|
path: [string | number | null, ...(string | number | null)[]];
|
574
597
|
values?: (string | number | boolean)[] | undefined;
|
@@ -596,8 +619,9 @@ declare namespace DcqlQueryResult {
|
|
596
619
|
readonly vct: v.StringSchema<undefined>;
|
597
620
|
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<Json, Json, v.BaseIssue<unknown>>, undefined>;
|
598
621
|
}, undefined>, v.ObjectSchema<{
|
599
|
-
readonly credential_format: v.PicklistSchema<["
|
622
|
+
readonly credential_format: v.PicklistSchema<["ldp_vc", "jwt_vc_json"], undefined>;
|
600
623
|
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<Json, Json, v.BaseIssue<unknown>>, undefined>;
|
624
|
+
readonly type: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
601
625
|
}, undefined>], undefined>;
|
602
626
|
}, undefined>, v.ObjectSchema<{
|
603
627
|
readonly success: v.LiteralSchema<false, undefined>;
|
@@ -622,7 +646,8 @@ declare namespace DcqlQueryResult {
|
|
622
646
|
[x: string]: Json;
|
623
647
|
};
|
624
648
|
} | {
|
625
|
-
|
649
|
+
type: string[];
|
650
|
+
credential_format: "ldp_vc" | "jwt_vc_json";
|
626
651
|
claims: {
|
627
652
|
[x: string]: Json;
|
628
653
|
};
|
@@ -655,7 +680,8 @@ declare namespace DcqlQueryResult {
|
|
655
680
|
[x: string]: Json;
|
656
681
|
};
|
657
682
|
} | {
|
658
|
-
|
683
|
+
type: string[];
|
684
|
+
credential_format: "ldp_vc" | "jwt_vc_json";
|
659
685
|
claims: {
|
660
686
|
[x: string]: Json;
|
661
687
|
};
|
@@ -688,7 +714,8 @@ declare namespace DcqlQueryResult {
|
|
688
714
|
[x: string]: Json;
|
689
715
|
};
|
690
716
|
} | {
|
691
|
-
|
717
|
+
type: string[];
|
718
|
+
credential_format: "ldp_vc" | "jwt_vc_json";
|
692
719
|
claims: {
|
693
720
|
[x: string]: Json;
|
694
721
|
};
|
@@ -721,7 +748,8 @@ declare namespace DcqlQueryResult {
|
|
721
748
|
[x: string]: Json;
|
722
749
|
};
|
723
750
|
} | {
|
724
|
-
|
751
|
+
type: string[];
|
752
|
+
credential_format: "ldp_vc" | "jwt_vc_json";
|
725
753
|
claims: {
|
726
754
|
[x: string]: Json;
|
727
755
|
};
|
@@ -754,7 +782,8 @@ declare namespace DcqlQueryResult {
|
|
754
782
|
[x: string]: Json;
|
755
783
|
};
|
756
784
|
} | {
|
757
|
-
|
785
|
+
type: string[];
|
786
|
+
credential_format: "ldp_vc" | "jwt_vc_json";
|
758
787
|
claims: {
|
759
788
|
[x: string]: Json;
|
760
789
|
};
|
@@ -787,7 +816,8 @@ declare namespace DcqlQueryResult {
|
|
787
816
|
[x: string]: Json;
|
788
817
|
};
|
789
818
|
} | {
|
790
|
-
|
819
|
+
type: string[];
|
820
|
+
credential_format: "ldp_vc" | "jwt_vc_json";
|
791
821
|
claims: {
|
792
822
|
[x: string]: Json;
|
793
823
|
};
|
@@ -819,8 +849,9 @@ declare namespace DcqlQueryResult {
|
|
819
849
|
readonly vct: v.StringSchema<undefined>;
|
820
850
|
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<Json, Json, v.BaseIssue<unknown>>, undefined>;
|
821
851
|
}, undefined>, v.ObjectSchema<{
|
822
|
-
readonly credential_format: v.PicklistSchema<["
|
852
|
+
readonly credential_format: v.PicklistSchema<["ldp_vc", "jwt_vc_json"], undefined>;
|
823
853
|
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<Json, Json, v.BaseIssue<unknown>>, undefined>;
|
854
|
+
readonly type: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
824
855
|
}, undefined>], undefined>;
|
825
856
|
}, undefined>, v.ObjectSchema<{
|
826
857
|
readonly success: v.LiteralSchema<false, undefined>;
|
@@ -839,8 +870,9 @@ declare namespace DcqlQueryResult {
|
|
839
870
|
readonly vct: v.StringSchema<undefined>;
|
840
871
|
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<Json, Json, v.BaseIssue<unknown>>, undefined>;
|
841
872
|
}, undefined>, v.ObjectSchema<{
|
842
|
-
readonly credential_format: v.PicklistSchema<["
|
873
|
+
readonly credential_format: v.PicklistSchema<["ldp_vc", "jwt_vc_json"], undefined>;
|
843
874
|
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<Json, Json, v.BaseIssue<unknown>>, undefined>;
|
875
|
+
readonly type: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
844
876
|
}, undefined>], undefined>;
|
845
877
|
}, undefined>, v.ObjectSchema<{
|
846
878
|
readonly success: v.LiteralSchema<false, undefined>;
|
@@ -865,7 +897,8 @@ declare namespace DcqlQueryResult {
|
|
865
897
|
[x: string]: Json;
|
866
898
|
};
|
867
899
|
} | {
|
868
|
-
|
900
|
+
type: string[];
|
901
|
+
credential_format: "ldp_vc" | "jwt_vc_json";
|
869
902
|
claims: {
|
870
903
|
[x: string]: Json;
|
871
904
|
};
|
@@ -898,7 +931,8 @@ declare namespace DcqlQueryResult {
|
|
898
931
|
[x: string]: Json;
|
899
932
|
};
|
900
933
|
} | {
|
901
|
-
|
934
|
+
type: string[];
|
935
|
+
credential_format: "ldp_vc" | "jwt_vc_json";
|
902
936
|
claims: {
|
903
937
|
[x: string]: Json;
|
904
938
|
};
|
@@ -931,7 +965,8 @@ declare namespace DcqlQueryResult {
|
|
931
965
|
[x: string]: Json;
|
932
966
|
};
|
933
967
|
} | {
|
934
|
-
|
968
|
+
type: string[];
|
969
|
+
credential_format: "ldp_vc" | "jwt_vc_json";
|
935
970
|
claims: {
|
936
971
|
[x: string]: Json;
|
937
972
|
};
|
@@ -964,7 +999,8 @@ declare namespace DcqlQueryResult {
|
|
964
999
|
[x: string]: Json;
|
965
1000
|
};
|
966
1001
|
} | {
|
967
|
-
|
1002
|
+
type: string[];
|
1003
|
+
credential_format: "ldp_vc" | "jwt_vc_json";
|
968
1004
|
claims: {
|
969
1005
|
[x: string]: Json;
|
970
1006
|
};
|
@@ -997,7 +1033,8 @@ declare namespace DcqlQueryResult {
|
|
997
1033
|
[x: string]: Json;
|
998
1034
|
};
|
999
1035
|
} | {
|
1000
|
-
|
1036
|
+
type: string[];
|
1037
|
+
credential_format: "ldp_vc" | "jwt_vc_json";
|
1001
1038
|
claims: {
|
1002
1039
|
[x: string]: Json;
|
1003
1040
|
};
|
@@ -1030,7 +1067,8 @@ declare namespace DcqlQueryResult {
|
|
1030
1067
|
[x: string]: Json;
|
1031
1068
|
};
|
1032
1069
|
} | {
|
1033
|
-
|
1070
|
+
type: string[];
|
1071
|
+
credential_format: "ldp_vc" | "jwt_vc_json";
|
1034
1072
|
claims: {
|
1035
1073
|
[x: string]: Json;
|
1036
1074
|
};
|
@@ -1129,12 +1167,14 @@ type DcqlSdJwtVcCredential = DcqlSdJwtVcCredential.Model['Output'];
|
|
1129
1167
|
declare namespace DcqlW3cVcCredential {
|
1130
1168
|
const vClaims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<Json, Json, v.BaseIssue<unknown>>, undefined>;
|
1131
1169
|
const vModel: v.ObjectSchema<{
|
1132
|
-
readonly credential_format: v.PicklistSchema<["
|
1170
|
+
readonly credential_format: v.PicklistSchema<["ldp_vc", "jwt_vc_json"], undefined>;
|
1133
1171
|
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<Json, Json, v.BaseIssue<unknown>>, undefined>;
|
1172
|
+
readonly type: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
1134
1173
|
}, undefined>;
|
1135
1174
|
const model: Model<v.ObjectSchema<{
|
1136
|
-
readonly credential_format: v.PicklistSchema<["
|
1175
|
+
readonly credential_format: v.PicklistSchema<["ldp_vc", "jwt_vc_json"], undefined>;
|
1137
1176
|
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<Json, Json, v.BaseIssue<unknown>>, undefined>;
|
1177
|
+
readonly type: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
1138
1178
|
}, undefined>>;
|
1139
1179
|
type Model = InferModelTypes<typeof model>;
|
1140
1180
|
type Claims = Model['Output']['claims'];
|
@@ -1150,8 +1190,9 @@ declare namespace DcqlCredential {
|
|
1150
1190
|
readonly vct: v.StringSchema<undefined>;
|
1151
1191
|
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<Json, Json, v.BaseIssue<unknown>>, undefined>;
|
1152
1192
|
}, undefined>, v.ObjectSchema<{
|
1153
|
-
readonly credential_format: v.PicklistSchema<["
|
1193
|
+
readonly credential_format: v.PicklistSchema<["ldp_vc", "jwt_vc_json"], undefined>;
|
1154
1194
|
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<Json, Json, v.BaseIssue<unknown>>, undefined>;
|
1195
|
+
readonly type: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
1155
1196
|
}, undefined>], undefined>;
|
1156
1197
|
const vParseSuccess: v.ObjectSchema<{
|
1157
1198
|
readonly success: v.LiteralSchema<true, undefined>;
|
@@ -1168,8 +1209,9 @@ declare namespace DcqlCredential {
|
|
1168
1209
|
readonly vct: v.StringSchema<undefined>;
|
1169
1210
|
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<Json, Json, v.BaseIssue<unknown>>, undefined>;
|
1170
1211
|
}, undefined>, v.ObjectSchema<{
|
1171
|
-
readonly credential_format: v.PicklistSchema<["
|
1212
|
+
readonly credential_format: v.PicklistSchema<["ldp_vc", "jwt_vc_json"], undefined>;
|
1172
1213
|
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<Json, Json, v.BaseIssue<unknown>>, undefined>;
|
1214
|
+
readonly type: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
1173
1215
|
}, undefined>], undefined>;
|
1174
1216
|
}, undefined>;
|
1175
1217
|
const vParseFailure: v.ObjectSchema<{
|
@@ -1189,8 +1231,9 @@ declare namespace DcqlCredential {
|
|
1189
1231
|
readonly vct: v.StringSchema<undefined>;
|
1190
1232
|
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<Json, Json, v.BaseIssue<unknown>>, undefined>;
|
1191
1233
|
}, undefined>, v.ObjectSchema<{
|
1192
|
-
readonly credential_format: v.PicklistSchema<["
|
1234
|
+
readonly credential_format: v.PicklistSchema<["ldp_vc", "jwt_vc_json"], undefined>;
|
1193
1235
|
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<Json, Json, v.BaseIssue<unknown>>, undefined>;
|
1236
|
+
readonly type: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
1194
1237
|
}, undefined>], undefined>>;
|
1195
1238
|
type Model = InferModelTypes<typeof model>;
|
1196
1239
|
}
|
@@ -1299,7 +1342,7 @@ declare namespace DcqlQuery {
|
|
1299
1342
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.DescriptionAction<string, "REQUIRED. A string identifying the Credential in the response and, if provided, the constraints in 'credential_sets'.">]>;
|
1300
1343
|
readonly claim_sets: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.NonEmptyAction<string, undefined>]>, undefined>, v.CustomSchema<[string, ...string[]], undefined>]>, undefined>, v.CustomSchema<[[string, ...string[]], ...[string, ...string[]][]], undefined>]>, undefined>, v.DescriptionAction<[[string, ...string[]], ...[string, ...string[]][]] | undefined, "OPTIONAL. A non-empty array containing arrays of identifiers for elements in 'claims' that specifies which combinations of 'claims' for the Credential are requested.">]>;
|
1301
1344
|
}, undefined>, v.ObjectSchema<{
|
1302
|
-
readonly format: v.PicklistSchema<["jwt_vc_json", "
|
1345
|
+
readonly format: v.PicklistSchema<["jwt_vc_json", "ldp_vc"], undefined>;
|
1303
1346
|
readonly claims: v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ObjectSchema<{
|
1304
1347
|
readonly id: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.NonEmptyAction<string, undefined>]>, undefined>, v.DescriptionAction<string | undefined, "A string identifying the particular claim. The value MUST be a non-empty string consisting of alphanumeric, underscore (_) or hyphen (-) characters. Within the particular claims array, the same id MUST NOT be present more than once.">]>;
|
1305
1348
|
readonly path: v.SchemaWithPipe<[v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.NullSchema<undefined>], undefined>, undefined>, v.CustomSchema<[string | number | null, ...(string | number | null)[]], undefined>, v.DescriptionAction<[string | number | null, ...(string | number | null)[]], "A non-empty array representing a claims path pointer that specifies the path to a claim within the Verifiable Credential.">]>;
|
@@ -1313,6 +1356,11 @@ declare namespace DcqlQuery {
|
|
1313
1356
|
values?: (string | number | boolean)[] | undefined;
|
1314
1357
|
id?: string | undefined;
|
1315
1358
|
}[]], undefined>]>, undefined>;
|
1359
|
+
readonly meta: v.SchemaWithPipe<[v.SchemaWithPipe<[v.ObjectSchema<{
|
1360
|
+
readonly type_values: v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.ArraySchema<v.StringSchema<undefined>, undefined>, v.CustomSchema<[string, ...string[]], undefined>]>, undefined>, v.CustomSchema<[[string, ...string[]], ...[string, ...string[]][]], undefined>, v.DescriptionAction<[[string, ...string[]], ...[string, ...string[]][]], "REQUIRED. An array of string arrays that specifies the fully expanded types (IRIs) after the @context was applied that the Verifier accepts to be presented in the Presentation. Each of the top-level arrays specifies one alternative to match the type values of the Verifiable Credential against. Each inner array specifies a set of fully expanded types that MUST be present in the type property of the Verifiable Credential, regardless of order or the presence of additional types.">]>;
|
1361
|
+
}, undefined>]>, v.DescriptionAction<{
|
1362
|
+
type_values: [[string, ...string[]], ...[string, ...string[]][]];
|
1363
|
+
}, "REQUIRED. An object defining additional properties requested by the Verifier that apply to the metadata and validity data of the Credential.">]>;
|
1316
1364
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.DescriptionAction<string, "REQUIRED. A string identifying the Credential in the response and, if provided, the constraints in 'credential_sets'.">]>;
|
1317
1365
|
readonly claim_sets: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.NonEmptyAction<string, undefined>]>, undefined>, v.CustomSchema<[string, ...string[]], undefined>]>, undefined>, v.CustomSchema<[[string, ...string[]], ...[string, ...string[]][]], undefined>]>, undefined>, v.DescriptionAction<[[string, ...string[]], ...[string, ...string[]][]] | undefined, "OPTIONAL. A non-empty array containing arrays of identifiers for elements in 'claims' that specifies which combinations of 'claims' for the Credential are requested.">]>;
|
1318
1366
|
}, undefined>], undefined>, undefined>, v.CustomSchema<[{
|
@@ -1361,7 +1409,10 @@ declare namespace DcqlQuery {
|
|
1361
1409
|
} | undefined;
|
1362
1410
|
} | {
|
1363
1411
|
id: string;
|
1364
|
-
format: "
|
1412
|
+
format: "ldp_vc" | "jwt_vc_json";
|
1413
|
+
meta: {
|
1414
|
+
type_values: [[string, ...string[]], ...[string, ...string[]][]];
|
1415
|
+
};
|
1365
1416
|
claims?: [{
|
1366
1417
|
path: [string | number | null, ...(string | number | null)[]];
|
1367
1418
|
values?: (string | number | boolean)[] | undefined;
|
@@ -1418,7 +1469,10 @@ declare namespace DcqlQuery {
|
|
1418
1469
|
} | undefined;
|
1419
1470
|
} | {
|
1420
1471
|
id: string;
|
1421
|
-
format: "
|
1472
|
+
format: "ldp_vc" | "jwt_vc_json";
|
1473
|
+
meta: {
|
1474
|
+
type_values: [[string, ...string[]], ...[string, ...string[]][]];
|
1475
|
+
};
|
1422
1476
|
claims?: [{
|
1423
1477
|
path: [string | number | null, ...(string | number | null)[]];
|
1424
1478
|
values?: (string | number | boolean)[] | undefined;
|
@@ -1475,7 +1529,10 @@ declare namespace DcqlQuery {
|
|
1475
1529
|
} | undefined;
|
1476
1530
|
} | {
|
1477
1531
|
id: string;
|
1478
|
-
format: "
|
1532
|
+
format: "ldp_vc" | "jwt_vc_json";
|
1533
|
+
meta: {
|
1534
|
+
type_values: [[string, ...string[]], ...[string, ...string[]][]];
|
1535
|
+
};
|
1479
1536
|
claims?: [{
|
1480
1537
|
path: [string | number | null, ...(string | number | null)[]];
|
1481
1538
|
values?: (string | number | boolean)[] | undefined;
|
@@ -1532,7 +1589,10 @@ declare namespace DcqlQuery {
|
|
1532
1589
|
} | undefined;
|
1533
1590
|
} | {
|
1534
1591
|
id: string;
|
1535
|
-
format: "
|
1592
|
+
format: "ldp_vc" | "jwt_vc_json";
|
1593
|
+
meta: {
|
1594
|
+
type_values: [[string, ...string[]], ...[string, ...string[]][]];
|
1595
|
+
};
|
1536
1596
|
claims?: [{
|
1537
1597
|
path: [string | number | null, ...(string | number | null)[]];
|
1538
1598
|
values?: (string | number | boolean)[] | undefined;
|
@@ -1626,7 +1686,10 @@ declare namespace DcqlQuery {
|
|
1626
1686
|
} | undefined;
|
1627
1687
|
} | {
|
1628
1688
|
id: string;
|
1629
|
-
format: "
|
1689
|
+
format: "ldp_vc" | "jwt_vc_json";
|
1690
|
+
meta: {
|
1691
|
+
type_values: [[string, ...string[]], ...[string, ...string[]][]];
|
1692
|
+
};
|
1630
1693
|
claims?: [{
|
1631
1694
|
path: [string | number | null, ...(string | number | null)[]];
|
1632
1695
|
values?: (string | number | boolean)[] | undefined;
|
@@ -1683,7 +1746,10 @@ declare namespace DcqlQuery {
|
|
1683
1746
|
} | undefined;
|
1684
1747
|
} | {
|
1685
1748
|
id: string;
|
1686
|
-
format: "
|
1749
|
+
format: "ldp_vc" | "jwt_vc_json";
|
1750
|
+
meta: {
|
1751
|
+
type_values: [[string, ...string[]], ...[string, ...string[]][]];
|
1752
|
+
};
|
1687
1753
|
claims?: [{
|
1688
1754
|
path: [string | number | null, ...(string | number | null)[]];
|
1689
1755
|
values?: (string | number | boolean)[] | undefined;
|
@@ -1712,7 +1778,8 @@ declare namespace DcqlQuery {
|
|
1712
1778
|
[x: string]: Json;
|
1713
1779
|
};
|
1714
1780
|
} | {
|
1715
|
-
|
1781
|
+
type: string[];
|
1782
|
+
credential_format: "ldp_vc" | "jwt_vc_json";
|
1716
1783
|
claims: {
|
1717
1784
|
[x: string]: Json;
|
1718
1785
|
};
|
@@ -1737,7 +1804,8 @@ declare namespace DcqlQuery {
|
|
1737
1804
|
[x: string]: Json;
|
1738
1805
|
};
|
1739
1806
|
} | {
|
1740
|
-
|
1807
|
+
type: string[];
|
1808
|
+
credential_format: "ldp_vc" | "jwt_vc_json";
|
1741
1809
|
claims: {
|
1742
1810
|
[x: string]: Json;
|
1743
1811
|
};
|
@@ -1770,7 +1838,8 @@ declare namespace DcqlQuery {
|
|
1770
1838
|
[x: string]: Json;
|
1771
1839
|
};
|
1772
1840
|
} | {
|
1773
|
-
|
1841
|
+
type: string[];
|
1842
|
+
credential_format: "ldp_vc" | "jwt_vc_json";
|
1774
1843
|
claims: {
|
1775
1844
|
[x: string]: Json;
|
1776
1845
|
};
|
@@ -1803,7 +1872,8 @@ declare namespace DcqlQuery {
|
|
1803
1872
|
[x: string]: Json;
|
1804
1873
|
};
|
1805
1874
|
} | {
|
1806
|
-
|
1875
|
+
type: string[];
|
1876
|
+
credential_format: "ldp_vc" | "jwt_vc_json";
|
1807
1877
|
claims: {
|
1808
1878
|
[x: string]: Json;
|
1809
1879
|
};
|
@@ -1836,7 +1906,8 @@ declare namespace DcqlQuery {
|
|
1836
1906
|
[x: string]: Json;
|
1837
1907
|
};
|
1838
1908
|
} | {
|
1839
|
-
|
1909
|
+
type: string[];
|
1910
|
+
credential_format: "ldp_vc" | "jwt_vc_json";
|
1840
1911
|
claims: {
|
1841
1912
|
[x: string]: Json;
|
1842
1913
|
};
|
@@ -1873,7 +1944,8 @@ declare namespace DcqlQuery {
|
|
1873
1944
|
[x: string]: Json;
|
1874
1945
|
};
|
1875
1946
|
} | {
|
1876
|
-
|
1947
|
+
type: string[];
|
1948
|
+
credential_format: "ldp_vc" | "jwt_vc_json";
|
1877
1949
|
claims: {
|
1878
1950
|
[x: string]: Json;
|
1879
1951
|
};
|
@@ -1906,7 +1978,8 @@ declare namespace DcqlQuery {
|
|
1906
1978
|
[x: string]: Json;
|
1907
1979
|
};
|
1908
1980
|
} | {
|
1909
|
-
|
1981
|
+
type: string[];
|
1982
|
+
credential_format: "ldp_vc" | "jwt_vc_json";
|
1910
1983
|
claims: {
|
1911
1984
|
[x: string]: Json;
|
1912
1985
|
};
|
@@ -1939,7 +2012,8 @@ declare namespace DcqlQuery {
|
|
1939
2012
|
[x: string]: Json;
|
1940
2013
|
};
|
1941
2014
|
} | {
|
1942
|
-
|
2015
|
+
type: string[];
|
2016
|
+
credential_format: "ldp_vc" | "jwt_vc_json";
|
1943
2017
|
claims: {
|
1944
2018
|
[x: string]: Json;
|
1945
2019
|
};
|
@@ -1972,7 +2046,8 @@ declare namespace DcqlQuery {
|
|
1972
2046
|
[x: string]: Json;
|
1973
2047
|
};
|
1974
2048
|
} | {
|
1975
|
-
|
2049
|
+
type: string[];
|
2050
|
+
credential_format: "ldp_vc" | "jwt_vc_json";
|
1976
2051
|
claims: {
|
1977
2052
|
[x: string]: Json;
|
1978
2053
|
};
|
@@ -2056,7 +2131,10 @@ declare namespace DcqlQuery {
|
|
2056
2131
|
} | undefined;
|
2057
2132
|
} | {
|
2058
2133
|
id: string;
|
2059
|
-
format: "
|
2134
|
+
format: "ldp_vc" | "jwt_vc_json";
|
2135
|
+
meta: {
|
2136
|
+
type_values: [[string, ...string[]], ...[string, ...string[]][]];
|
2137
|
+
};
|
2060
2138
|
claims?: [{
|
2061
2139
|
path: [string | number | null, ...(string | number | null)[]];
|
2062
2140
|
values?: (string | number | boolean)[] | undefined;
|
@@ -2113,7 +2191,10 @@ declare namespace DcqlQuery {
|
|
2113
2191
|
} | undefined;
|
2114
2192
|
} | {
|
2115
2193
|
id: string;
|
2116
|
-
format: "
|
2194
|
+
format: "ldp_vc" | "jwt_vc_json";
|
2195
|
+
meta: {
|
2196
|
+
type_values: [[string, ...string[]], ...[string, ...string[]][]];
|
2197
|
+
};
|
2117
2198
|
claims?: [{
|
2118
2199
|
path: [string | number | null, ...(string | number | null)[]];
|
2119
2200
|
values?: (string | number | boolean)[] | undefined;
|
@@ -2163,8 +2244,9 @@ declare namespace DcqlPresentationResult {
|
|
2163
2244
|
readonly vct: v.StringSchema<undefined>;
|
2164
2245
|
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<Json, Json, v.BaseIssue<unknown>>, undefined>;
|
2165
2246
|
}, undefined>, v.ObjectSchema<{
|
2166
|
-
readonly credential_format: v.PicklistSchema<["
|
2247
|
+
readonly credential_format: v.PicklistSchema<["ldp_vc", "jwt_vc_json"], undefined>;
|
2167
2248
|
readonly claims: v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<Json, Json, v.BaseIssue<unknown>>, undefined>;
|
2249
|
+
readonly type: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
2168
2250
|
}, undefined>], undefined>;
|
2169
2251
|
readonly success: v.LiteralSchema<true, undefined>;
|
2170
2252
|
readonly typed: v.LiteralSchema<true, undefined>;
|
@@ -2263,7 +2345,7 @@ declare namespace DcqlPresentationResult {
|
|
2263
2345
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.DescriptionAction<string, "REQUIRED. A string identifying the Credential in the response and, if provided, the constraints in 'credential_sets'.">]>;
|
2264
2346
|
readonly claim_sets: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.NonEmptyAction<string, undefined>]>, undefined>, v.CustomSchema<[string, ...string[]], undefined>]>, undefined>, v.CustomSchema<[[string, ...string[]], ...[string, ...string[]][]], undefined>]>, undefined>, v.DescriptionAction<[[string, ...string[]], ...[string, ...string[]][]] | undefined, "OPTIONAL. A non-empty array containing arrays of identifiers for elements in 'claims' that specifies which combinations of 'claims' for the Credential are requested.">]>;
|
2265
2347
|
}, undefined>, v.ObjectSchema<{
|
2266
|
-
readonly format: v.PicklistSchema<["jwt_vc_json", "
|
2348
|
+
readonly format: v.PicklistSchema<["jwt_vc_json", "ldp_vc"], undefined>;
|
2267
2349
|
readonly claims: v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ObjectSchema<{
|
2268
2350
|
readonly id: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.NonEmptyAction<string, undefined>]>, undefined>, v.DescriptionAction<string | undefined, "A string identifying the particular claim. The value MUST be a non-empty string consisting of alphanumeric, underscore (_) or hyphen (-) characters. Within the particular claims array, the same id MUST NOT be present more than once.">]>;
|
2269
2351
|
readonly path: v.SchemaWithPipe<[v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.NullSchema<undefined>], undefined>, undefined>, v.CustomSchema<[string | number | null, ...(string | number | null)[]], undefined>, v.DescriptionAction<[string | number | null, ...(string | number | null)[]], "A non-empty array representing a claims path pointer that specifies the path to a claim within the Verifiable Credential.">]>;
|
@@ -2277,6 +2359,11 @@ declare namespace DcqlPresentationResult {
|
|
2277
2359
|
values?: (string | number | boolean)[] | undefined;
|
2278
2360
|
id?: string | undefined;
|
2279
2361
|
}[]], undefined>]>, undefined>;
|
2362
|
+
readonly meta: v.SchemaWithPipe<[v.SchemaWithPipe<[v.ObjectSchema<{
|
2363
|
+
readonly type_values: v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.ArraySchema<v.StringSchema<undefined>, undefined>, v.CustomSchema<[string, ...string[]], undefined>]>, undefined>, v.CustomSchema<[[string, ...string[]], ...[string, ...string[]][]], undefined>, v.DescriptionAction<[[string, ...string[]], ...[string, ...string[]][]], "REQUIRED. An array of string arrays that specifies the fully expanded types (IRIs) after the @context was applied that the Verifier accepts to be presented in the Presentation. Each of the top-level arrays specifies one alternative to match the type values of the Verifiable Credential against. Each inner array specifies a set of fully expanded types that MUST be present in the type property of the Verifiable Credential, regardless of order or the presence of additional types.">]>;
|
2364
|
+
}, undefined>]>, v.DescriptionAction<{
|
2365
|
+
type_values: [[string, ...string[]], ...[string, ...string[]][]];
|
2366
|
+
}, "REQUIRED. An object defining additional properties requested by the Verifier that apply to the metadata and validity data of the Credential.">]>;
|
2280
2367
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.DescriptionAction<string, "REQUIRED. A string identifying the Credential in the response and, if provided, the constraints in 'credential_sets'.">]>;
|
2281
2368
|
readonly claim_sets: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.NonEmptyAction<string, undefined>]>, undefined>, v.CustomSchema<[string, ...string[]], undefined>]>, undefined>, v.CustomSchema<[[string, ...string[]], ...[string, ...string[]][]], undefined>]>, undefined>, v.DescriptionAction<[[string, ...string[]], ...[string, ...string[]][]] | undefined, "OPTIONAL. A non-empty array containing arrays of identifiers for elements in 'claims' that specifies which combinations of 'claims' for the Credential are requested.">]>;
|
2282
2369
|
}, undefined>], undefined>, undefined>, v.CustomSchema<[{
|
@@ -2325,7 +2412,10 @@ declare namespace DcqlPresentationResult {
|
|
2325
2412
|
} | undefined;
|
2326
2413
|
} | {
|
2327
2414
|
id: string;
|
2328
|
-
format: "
|
2415
|
+
format: "ldp_vc" | "jwt_vc_json";
|
2416
|
+
meta: {
|
2417
|
+
type_values: [[string, ...string[]], ...[string, ...string[]][]];
|
2418
|
+
};
|
2329
2419
|
claims?: [{
|
2330
2420
|
path: [string | number | null, ...(string | number | null)[]];
|
2331
2421
|
values?: (string | number | boolean)[] | undefined;
|
@@ -2382,7 +2472,10 @@ declare namespace DcqlPresentationResult {
|
|
2382
2472
|
} | undefined;
|
2383
2473
|
} | {
|
2384
2474
|
id: string;
|
2385
|
-
format: "
|
2475
|
+
format: "ldp_vc" | "jwt_vc_json";
|
2476
|
+
meta: {
|
2477
|
+
type_values: [[string, ...string[]], ...[string, ...string[]][]];
|
2478
|
+
};
|
2386
2479
|
claims?: [{
|
2387
2480
|
path: [string | number | null, ...(string | number | null)[]];
|
2388
2481
|
values?: (string | number | boolean)[] | undefined;
|
@@ -2439,7 +2532,10 @@ declare namespace DcqlPresentationResult {
|
|
2439
2532
|
} | undefined;
|
2440
2533
|
} | {
|
2441
2534
|
id: string;
|
2442
|
-
format: "
|
2535
|
+
format: "ldp_vc" | "jwt_vc_json";
|
2536
|
+
meta: {
|
2537
|
+
type_values: [[string, ...string[]], ...[string, ...string[]][]];
|
2538
|
+
};
|
2443
2539
|
claims?: [{
|
2444
2540
|
path: [string | number | null, ...(string | number | null)[]];
|
2445
2541
|
values?: (string | number | boolean)[] | undefined;
|
@@ -2496,7 +2592,10 @@ declare namespace DcqlPresentationResult {
|
|
2496
2592
|
} | undefined;
|
2497
2593
|
} | {
|
2498
2594
|
id: string;
|
2499
|
-
format: "
|
2595
|
+
format: "ldp_vc" | "jwt_vc_json";
|
2596
|
+
meta: {
|
2597
|
+
type_values: [[string, ...string[]], ...[string, ...string[]][]];
|
2598
|
+
};
|
2500
2599
|
claims?: [{
|
2501
2600
|
path: [string | number | null, ...(string | number | null)[]];
|
2502
2601
|
values?: (string | number | boolean)[] | undefined;
|
@@ -2595,7 +2694,10 @@ declare namespace DcqlPresentationResult {
|
|
2595
2694
|
} | undefined;
|
2596
2695
|
} | {
|
2597
2696
|
id: string;
|
2598
|
-
format: "
|
2697
|
+
format: "ldp_vc" | "jwt_vc_json";
|
2698
|
+
meta: {
|
2699
|
+
type_values: [[string, ...string[]], ...[string, ...string[]][]];
|
2700
|
+
};
|
2599
2701
|
claims?: [{
|
2600
2702
|
path: [string | number | null, ...(string | number | null)[]];
|
2601
2703
|
values?: (string | number | boolean)[] | undefined;
|
@@ -2652,7 +2754,10 @@ declare namespace DcqlPresentationResult {
|
|
2652
2754
|
} | undefined;
|
2653
2755
|
} | {
|
2654
2756
|
id: string;
|
2655
|
-
format: "
|
2757
|
+
format: "ldp_vc" | "jwt_vc_json";
|
2758
|
+
meta: {
|
2759
|
+
type_values: [[string, ...string[]], ...[string, ...string[]][]];
|
2760
|
+
};
|
2656
2761
|
claims?: [{
|
2657
2762
|
path: [string | number | null, ...(string | number | null)[]];
|
2658
2763
|
values?: (string | number | boolean)[] | undefined;
|
@@ -2692,7 +2797,8 @@ declare namespace DcqlPresentationResult {
|
|
2692
2797
|
[x: string]: Json;
|
2693
2798
|
};
|
2694
2799
|
} | {
|
2695
|
-
|
2800
|
+
type: string[];
|
2801
|
+
credential_format: "ldp_vc" | "jwt_vc_json";
|
2696
2802
|
claims: {
|
2697
2803
|
[x: string]: Json;
|
2698
2804
|
};
|
@@ -2776,7 +2882,10 @@ declare namespace DcqlPresentationResult {
|
|
2776
2882
|
} | undefined;
|
2777
2883
|
} | {
|
2778
2884
|
id: string;
|
2779
|
-
format: "
|
2885
|
+
format: "ldp_vc" | "jwt_vc_json";
|
2886
|
+
meta: {
|
2887
|
+
type_values: [[string, ...string[]], ...[string, ...string[]][]];
|
2888
|
+
};
|
2780
2889
|
claims?: [{
|
2781
2890
|
path: [string | number | null, ...(string | number | null)[]];
|
2782
2891
|
values?: (string | number | boolean)[] | undefined;
|
@@ -2833,7 +2942,10 @@ declare namespace DcqlPresentationResult {
|
|
2833
2942
|
} | undefined;
|
2834
2943
|
} | {
|
2835
2944
|
id: string;
|
2836
|
-
format: "
|
2945
|
+
format: "ldp_vc" | "jwt_vc_json";
|
2946
|
+
meta: {
|
2947
|
+
type_values: [[string, ...string[]], ...[string, ...string[]][]];
|
2948
|
+
};
|
2837
2949
|
claims?: [{
|
2838
2950
|
path: [string | number | null, ...(string | number | null)[]];
|
2839
2951
|
values?: (string | number | boolean)[] | undefined;
|
@@ -2873,7 +2985,8 @@ declare namespace DcqlPresentationResult {
|
|
2873
2985
|
[x: string]: Json;
|
2874
2986
|
};
|
2875
2987
|
} | {
|
2876
|
-
|
2988
|
+
type: string[];
|
2989
|
+
credential_format: "ldp_vc" | "jwt_vc_json";
|
2877
2990
|
claims: {
|
2878
2991
|
[x: string]: Json;
|
2879
2992
|
};
|
@@ -3080,7 +3193,7 @@ declare namespace DcqlCredentialQuery {
|
|
3080
3193
|
}, undefined>;
|
3081
3194
|
type SdJwtVc = v.InferOutput<typeof vSdJwtVc>;
|
3082
3195
|
const vW3cVc: v.ObjectSchema<{
|
3083
|
-
readonly format: v.PicklistSchema<["jwt_vc_json", "
|
3196
|
+
readonly format: v.PicklistSchema<["jwt_vc_json", "ldp_vc"], undefined>;
|
3084
3197
|
readonly claims: v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ObjectSchema<{
|
3085
3198
|
readonly id: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.NonEmptyAction<string, undefined>]>, undefined>, v.DescriptionAction<string | undefined, "A string identifying the particular claim. The value MUST be a non-empty string consisting of alphanumeric, underscore (_) or hyphen (-) characters. Within the particular claims array, the same id MUST NOT be present more than once.">]>;
|
3086
3199
|
readonly path: v.SchemaWithPipe<[v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.NullSchema<undefined>], undefined>, undefined>, v.CustomSchema<[string | number | null, ...(string | number | null)[]], undefined>, v.DescriptionAction<[string | number | null, ...(string | number | null)[]], "A non-empty array representing a claims path pointer that specifies the path to a claim within the Verifiable Credential.">]>;
|
@@ -3094,6 +3207,11 @@ declare namespace DcqlCredentialQuery {
|
|
3094
3207
|
values?: (string | number | boolean)[] | undefined;
|
3095
3208
|
id?: string | undefined;
|
3096
3209
|
}[]], undefined>]>, undefined>;
|
3210
|
+
readonly meta: v.SchemaWithPipe<[v.SchemaWithPipe<[v.ObjectSchema<{
|
3211
|
+
readonly type_values: v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.ArraySchema<v.StringSchema<undefined>, undefined>, v.CustomSchema<[string, ...string[]], undefined>]>, undefined>, v.CustomSchema<[[string, ...string[]], ...[string, ...string[]][]], undefined>, v.DescriptionAction<[[string, ...string[]], ...[string, ...string[]][]], "REQUIRED. An array of string arrays that specifies the fully expanded types (IRIs) after the @context was applied that the Verifier accepts to be presented in the Presentation. Each of the top-level arrays specifies one alternative to match the type values of the Verifiable Credential against. Each inner array specifies a set of fully expanded types that MUST be present in the type property of the Verifiable Credential, regardless of order or the presence of additional types.">]>;
|
3212
|
+
}, undefined>]>, v.DescriptionAction<{
|
3213
|
+
type_values: [[string, ...string[]], ...[string, ...string[]][]];
|
3214
|
+
}, "REQUIRED. An object defining additional properties requested by the Verifier that apply to the metadata and validity data of the Credential.">]>;
|
3097
3215
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.DescriptionAction<string, "REQUIRED. A string identifying the Credential in the response and, if provided, the constraints in 'credential_sets'.">]>;
|
3098
3216
|
readonly claim_sets: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.NonEmptyAction<string, undefined>]>, undefined>, v.CustomSchema<[string, ...string[]], undefined>]>, undefined>, v.CustomSchema<[[string, ...string[]], ...[string, ...string[]][]], undefined>]>, undefined>, v.DescriptionAction<[[string, ...string[]], ...[string, ...string[]][]] | undefined, "OPTIONAL. A non-empty array containing arrays of identifiers for elements in 'claims' that specifies which combinations of 'claims' for the Credential are requested.">]>;
|
3099
3217
|
}, undefined>;
|
@@ -3191,7 +3309,7 @@ declare namespace DcqlCredentialQuery {
|
|
3191
3309
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.DescriptionAction<string, "REQUIRED. A string identifying the Credential in the response and, if provided, the constraints in 'credential_sets'.">]>;
|
3192
3310
|
readonly claim_sets: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.NonEmptyAction<string, undefined>]>, undefined>, v.CustomSchema<[string, ...string[]], undefined>]>, undefined>, v.CustomSchema<[[string, ...string[]], ...[string, ...string[]][]], undefined>]>, undefined>, v.DescriptionAction<[[string, ...string[]], ...[string, ...string[]][]] | undefined, "OPTIONAL. A non-empty array containing arrays of identifiers for elements in 'claims' that specifies which combinations of 'claims' for the Credential are requested.">]>;
|
3193
3311
|
}, undefined>, v.ObjectSchema<{
|
3194
|
-
readonly format: v.PicklistSchema<["jwt_vc_json", "
|
3312
|
+
readonly format: v.PicklistSchema<["jwt_vc_json", "ldp_vc"], undefined>;
|
3195
3313
|
readonly claims: v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ObjectSchema<{
|
3196
3314
|
readonly id: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.NonEmptyAction<string, undefined>]>, undefined>, v.DescriptionAction<string | undefined, "A string identifying the particular claim. The value MUST be a non-empty string consisting of alphanumeric, underscore (_) or hyphen (-) characters. Within the particular claims array, the same id MUST NOT be present more than once.">]>;
|
3197
3315
|
readonly path: v.SchemaWithPipe<[v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.NullSchema<undefined>], undefined>, undefined>, v.CustomSchema<[string | number | null, ...(string | number | null)[]], undefined>, v.DescriptionAction<[string | number | null, ...(string | number | null)[]], "A non-empty array representing a claims path pointer that specifies the path to a claim within the Verifiable Credential.">]>;
|
@@ -3205,6 +3323,11 @@ declare namespace DcqlCredentialQuery {
|
|
3205
3323
|
values?: (string | number | boolean)[] | undefined;
|
3206
3324
|
id?: string | undefined;
|
3207
3325
|
}[]], undefined>]>, undefined>;
|
3326
|
+
readonly meta: v.SchemaWithPipe<[v.SchemaWithPipe<[v.ObjectSchema<{
|
3327
|
+
readonly type_values: v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.ArraySchema<v.StringSchema<undefined>, undefined>, v.CustomSchema<[string, ...string[]], undefined>]>, undefined>, v.CustomSchema<[[string, ...string[]], ...[string, ...string[]][]], undefined>, v.DescriptionAction<[[string, ...string[]], ...[string, ...string[]][]], "REQUIRED. An array of string arrays that specifies the fully expanded types (IRIs) after the @context was applied that the Verifier accepts to be presented in the Presentation. Each of the top-level arrays specifies one alternative to match the type values of the Verifiable Credential against. Each inner array specifies a set of fully expanded types that MUST be present in the type property of the Verifiable Credential, regardless of order or the presence of additional types.">]>;
|
3328
|
+
}, undefined>]>, v.DescriptionAction<{
|
3329
|
+
type_values: [[string, ...string[]], ...[string, ...string[]][]];
|
3330
|
+
}, "REQUIRED. An object defining additional properties requested by the Verifier that apply to the metadata and validity data of the Credential.">]>;
|
3208
3331
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.DescriptionAction<string, "REQUIRED. A string identifying the Credential in the response and, if provided, the constraints in 'credential_sets'.">]>;
|
3209
3332
|
readonly claim_sets: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.NonEmptyAction<string, undefined>]>, undefined>, v.CustomSchema<[string, ...string[]], undefined>]>, undefined>, v.CustomSchema<[[string, ...string[]], ...[string, ...string[]][]], undefined>]>, undefined>, v.DescriptionAction<[[string, ...string[]], ...[string, ...string[]][]] | undefined, "OPTIONAL. A non-empty array containing arrays of identifiers for elements in 'claims' that specifies which combinations of 'claims' for the Credential are requested.">]>;
|
3210
3333
|
}, undefined>], undefined>;
|