dcql 0.2.20-alpha-20250130103020 → 0.2.20-alpha-20250213132109
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/README.md +10 -4
- package/dist/index.d.mts +647 -298
- package/dist/index.d.ts +647 -298
- package/dist/index.js +136 -97
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +136 -97
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -244,59 +244,84 @@ declare namespace DcqlQueryResult {
|
|
244
244
|
const vModel: v.ObjectSchema<{
|
245
245
|
readonly credentials: v.SchemaWithPipe<[v.ArraySchema<v.VariantSchema<"format", [v.ObjectSchema<{
|
246
246
|
readonly format: v.SchemaWithPipe<[v.LiteralSchema<"mso_mdoc", undefined>, v.DescriptionAction<"mso_mdoc", "REQUIRED. A string that specifies the format of the requested Verifiable Credential.">]>;
|
247
|
-
readonly claims: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ObjectSchema<{
|
248
|
-
readonly id: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<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.">]>;
|
247
|
+
readonly claims: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
249
248
|
readonly namespace: v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the namespace of the data element within the mdoc, e.g., org.iso.18013.5.1.">]>;
|
250
249
|
readonly claim_name: v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the data element identifier of the data element within the provided namespace in the mdoc, e.g., first_name.">]>;
|
250
|
+
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.">]>;
|
251
251
|
readonly values: v.SchemaWithPipe<[v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<(string | number | boolean)[] | undefined, "An array of strings, integers or boolean values that specifies the expected values of the claim. If the values property is present, the Wallet SHOULD return the claim only if the type and value of the claim both match for at least one of the elements in the array.">]>;
|
252
|
-
}, undefined>,
|
252
|
+
}, undefined>, v.ObjectSchema<{
|
253
|
+
readonly intent_to_retain: v.SchemaWithPipe<[v.OptionalSchema<v.BooleanSchema<undefined>, undefined>, v.DescriptionAction<boolean | undefined, "A boolean that is equivalent to `IntentToRetain` variable defined in Section 8.3.2.1.2.1 of [@ISO.18013-5].">]>;
|
254
|
+
readonly path: v.SchemaWithPipe<[v.TupleSchema<[v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the namespace of the data element within the mdoc, e.g., org.iso.18013.5.1.">]>, v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the data element identifier of the data element within the provided namespace in the mdoc, e.g., first_name.">]>], undefined>, v.DescriptionAction<[string, string], "An array defining a claims path pointer into an mdoc. It must contain two elements of type string. The first element refers to a namespace and the second element refers to a data element identifier.">]>;
|
255
|
+
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.">]>;
|
256
|
+
readonly values: v.SchemaWithPipe<[v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<(string | number | boolean)[] | undefined, "An array of strings, integers or boolean values that specifies the expected values of the claim. If the values property is present, the Wallet SHOULD return the claim only if the type and value of the claim both match for at least one of the elements in the array.">]>;
|
257
|
+
}, undefined>], undefined>, undefined>, v.CustomSchema<[{
|
253
258
|
namespace: string;
|
254
259
|
claim_name: string;
|
255
260
|
values?: (string | number | boolean)[] | undefined;
|
256
261
|
id?: string | undefined;
|
257
|
-
}
|
262
|
+
} | {
|
263
|
+
path: [string, string];
|
264
|
+
values?: (string | number | boolean)[] | undefined;
|
265
|
+
id?: string | undefined;
|
266
|
+
intent_to_retain?: boolean | undefined;
|
267
|
+
}, ...({
|
258
268
|
namespace: string;
|
259
269
|
claim_name: string;
|
260
270
|
values?: (string | number | boolean)[] | undefined;
|
261
271
|
id?: string | undefined;
|
262
|
-
}
|
272
|
+
} | {
|
273
|
+
path: [string, string];
|
274
|
+
values?: (string | number | boolean)[] | undefined;
|
275
|
+
id?: string | undefined;
|
276
|
+
intent_to_retain?: boolean | undefined;
|
277
|
+
})[]], undefined>]>, undefined>, v.DescriptionAction<[{
|
263
278
|
namespace: string;
|
264
279
|
claim_name: string;
|
265
280
|
values?: (string | number | boolean)[] | undefined;
|
266
281
|
id?: string | undefined;
|
267
|
-
}
|
282
|
+
} | {
|
283
|
+
path: [string, string];
|
284
|
+
values?: (string | number | boolean)[] | undefined;
|
285
|
+
id?: string | undefined;
|
286
|
+
intent_to_retain?: boolean | undefined;
|
287
|
+
}, ...({
|
268
288
|
namespace: string;
|
269
289
|
claim_name: string;
|
270
290
|
values?: (string | number | boolean)[] | undefined;
|
271
291
|
id?: string | undefined;
|
272
|
-
}
|
292
|
+
} | {
|
293
|
+
path: [string, string];
|
294
|
+
values?: (string | number | boolean)[] | undefined;
|
295
|
+
id?: string | undefined;
|
296
|
+
intent_to_retain?: boolean | undefined;
|
297
|
+
})[]] | undefined, "OPTIONAL. A non-empty array of objects as that specifies claims in the requested Credential.">]>;
|
273
298
|
readonly meta: v.SchemaWithPipe<[v.OptionalSchema<v.ObjectSchema<{
|
274
299
|
readonly doctype_value: v.SchemaWithPipe<[v.OptionalSchema<v.StringSchema<undefined>, undefined>, v.DescriptionAction<string | undefined, "OPTIONAL. String that specifies an allowed value for the doctype of the requested Verifiable Credential.">]>;
|
275
300
|
}, undefined>, undefined>, v.DescriptionAction<{
|
276
301
|
doctype_value?: string | undefined;
|
277
302
|
} | undefined, "OPTIONAL. An object defining additional properties requested by the Verifier that apply to the metadata and validity data of the Credential.">]>;
|
278
303
|
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'.">]>;
|
279
|
-
readonly claim_sets: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, undefined>, v.CustomSchema<[string[], ...string[][]], undefined>]>, undefined>, v.DescriptionAction<[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.">]>;
|
304
|
+
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.">]>;
|
280
305
|
}, undefined>, v.ObjectSchema<{
|
281
306
|
readonly format: v.SchemaWithPipe<[v.PicklistSchema<["vc+sd-jwt", "dc+sd-jwt"], undefined>, v.DescriptionAction<"vc+sd-jwt" | "dc+sd-jwt", "REQUIRED. A string that specifies the format of the requested Verifiable Credential.">]>;
|
282
307
|
readonly claims: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ObjectSchema<{
|
283
|
-
readonly id: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<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.">]>;
|
284
|
-
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.DescriptionAction<(string | number | null)[], "A non-empty array representing a claims path pointer that specifies the path to a claim within the Verifiable Credential.">]>;
|
308
|
+
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.">]>;
|
309
|
+
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.">]>;
|
285
310
|
readonly values: v.SchemaWithPipe<[v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<(string | number | boolean)[] | undefined, "An array of strings, integers or boolean values that specifies the expected values of the claim. If the values property is present, the Wallet SHOULD return the claim only if the type and value of the claim both match for at least one of the elements in the array.">]>;
|
286
311
|
}, undefined>, undefined>, v.CustomSchema<[{
|
287
|
-
path: (string | number | null)[];
|
312
|
+
path: [string | number | null, ...(string | number | null)[]];
|
288
313
|
values?: (string | number | boolean)[] | undefined;
|
289
314
|
id?: string | undefined;
|
290
315
|
}, ...{
|
291
|
-
path: (string | number | null)[];
|
316
|
+
path: [string | number | null, ...(string | number | null)[]];
|
292
317
|
values?: (string | number | boolean)[] | undefined;
|
293
318
|
id?: string | undefined;
|
294
319
|
}[]], undefined>]>, undefined>, v.DescriptionAction<[{
|
295
|
-
path: (string | number | null)[];
|
320
|
+
path: [string | number | null, ...(string | number | null)[]];
|
296
321
|
values?: (string | number | boolean)[] | undefined;
|
297
322
|
id?: string | undefined;
|
298
323
|
}, ...{
|
299
|
-
path: (string | number | null)[];
|
324
|
+
path: [string | number | null, ...(string | number | null)[]];
|
300
325
|
values?: (string | number | boolean)[] | undefined;
|
301
326
|
id?: string | undefined;
|
302
327
|
}[]] | undefined, "OPTIONAL. A non-empty array of objects as that specifies claims in the requested Credential.">]>;
|
@@ -308,24 +333,24 @@ declare namespace DcqlQueryResult {
|
|
308
333
|
vct_values?: string[] | undefined;
|
309
334
|
} | undefined, "OPTIONAL. An object defining additional properties requested by the Verifier that apply to the metadata and validity data of the Credential.">]>;
|
310
335
|
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'.">]>;
|
311
|
-
readonly claim_sets: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, undefined>, v.CustomSchema<[string[], ...string[][]], undefined>]>, undefined>, v.DescriptionAction<[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.">]>;
|
336
|
+
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.">]>;
|
312
337
|
}, undefined>, v.ObjectSchema<{
|
313
338
|
readonly format: v.PicklistSchema<["jwt_vc_json", "jwt_vc_json-ld"], undefined>;
|
314
339
|
readonly claims: v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ObjectSchema<{
|
315
|
-
readonly id: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<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.">]>;
|
316
|
-
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.DescriptionAction<(string | number | null)[], "A non-empty array representing a claims path pointer that specifies the path to a claim within the Verifiable Credential.">]>;
|
340
|
+
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
|
+
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.">]>;
|
317
342
|
readonly values: v.SchemaWithPipe<[v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<(string | number | boolean)[] | undefined, "An array of strings, integers or boolean values that specifies the expected values of the claim. If the values property is present, the Wallet SHOULD return the claim only if the type and value of the claim both match for at least one of the elements in the array.">]>;
|
318
343
|
}, undefined>, undefined>, v.CustomSchema<[{
|
319
|
-
path: (string | number | null)[];
|
344
|
+
path: [string | number | null, ...(string | number | null)[]];
|
320
345
|
values?: (string | number | boolean)[] | undefined;
|
321
346
|
id?: string | undefined;
|
322
347
|
}, ...{
|
323
|
-
path: (string | number | null)[];
|
348
|
+
path: [string | number | null, ...(string | number | null)[]];
|
324
349
|
values?: (string | number | boolean)[] | undefined;
|
325
350
|
id?: string | undefined;
|
326
351
|
}[]], undefined>]>, undefined>;
|
327
352
|
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'.">]>;
|
328
|
-
readonly claim_sets: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, undefined>, v.CustomSchema<[string[], ...string[][]], undefined>]>, undefined>, v.DescriptionAction<[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.">]>;
|
353
|
+
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.">]>;
|
329
354
|
}, undefined>], undefined>, undefined>, v.CustomSchema<[{
|
330
355
|
id: string;
|
331
356
|
format: "mso_mdoc";
|
@@ -334,13 +359,23 @@ declare namespace DcqlQueryResult {
|
|
334
359
|
claim_name: string;
|
335
360
|
values?: (string | number | boolean)[] | undefined;
|
336
361
|
id?: string | undefined;
|
337
|
-
}
|
362
|
+
} | {
|
363
|
+
path: [string, string];
|
364
|
+
values?: (string | number | boolean)[] | undefined;
|
365
|
+
id?: string | undefined;
|
366
|
+
intent_to_retain?: boolean | undefined;
|
367
|
+
}, ...({
|
338
368
|
namespace: string;
|
339
369
|
claim_name: string;
|
340
370
|
values?: (string | number | boolean)[] | undefined;
|
341
371
|
id?: string | undefined;
|
342
|
-
}
|
343
|
-
|
372
|
+
} | {
|
373
|
+
path: [string, string];
|
374
|
+
values?: (string | number | boolean)[] | undefined;
|
375
|
+
id?: string | undefined;
|
376
|
+
intent_to_retain?: boolean | undefined;
|
377
|
+
})[]] | undefined;
|
378
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
344
379
|
meta?: {
|
345
380
|
doctype_value?: string | undefined;
|
346
381
|
} | undefined;
|
@@ -348,15 +383,15 @@ declare namespace DcqlQueryResult {
|
|
348
383
|
id: string;
|
349
384
|
format: "vc+sd-jwt" | "dc+sd-jwt";
|
350
385
|
claims?: [{
|
351
|
-
path: (string | number | null)[];
|
386
|
+
path: [string | number | null, ...(string | number | null)[]];
|
352
387
|
values?: (string | number | boolean)[] | undefined;
|
353
388
|
id?: string | undefined;
|
354
389
|
}, ...{
|
355
|
-
path: (string | number | null)[];
|
390
|
+
path: [string | number | null, ...(string | number | null)[]];
|
356
391
|
values?: (string | number | boolean)[] | undefined;
|
357
392
|
id?: string | undefined;
|
358
393
|
}[]] | undefined;
|
359
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
394
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
360
395
|
meta?: {
|
361
396
|
vct_values?: string[] | undefined;
|
362
397
|
} | undefined;
|
@@ -364,15 +399,15 @@ declare namespace DcqlQueryResult {
|
|
364
399
|
id: string;
|
365
400
|
format: "jwt_vc_json-ld" | "jwt_vc_json";
|
366
401
|
claims?: [{
|
367
|
-
path: (string | number | null)[];
|
402
|
+
path: [string | number | null, ...(string | number | null)[]];
|
368
403
|
values?: (string | number | boolean)[] | undefined;
|
369
404
|
id?: string | undefined;
|
370
405
|
}, ...{
|
371
|
-
path: (string | number | null)[];
|
406
|
+
path: [string | number | null, ...(string | number | null)[]];
|
372
407
|
values?: (string | number | boolean)[] | undefined;
|
373
408
|
id?: string | undefined;
|
374
409
|
}[]] | undefined;
|
375
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
410
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
376
411
|
}, ...({
|
377
412
|
id: string;
|
378
413
|
format: "mso_mdoc";
|
@@ -381,13 +416,23 @@ declare namespace DcqlQueryResult {
|
|
381
416
|
claim_name: string;
|
382
417
|
values?: (string | number | boolean)[] | undefined;
|
383
418
|
id?: string | undefined;
|
384
|
-
}
|
419
|
+
} | {
|
420
|
+
path: [string, string];
|
421
|
+
values?: (string | number | boolean)[] | undefined;
|
422
|
+
id?: string | undefined;
|
423
|
+
intent_to_retain?: boolean | undefined;
|
424
|
+
}, ...({
|
385
425
|
namespace: string;
|
386
426
|
claim_name: string;
|
387
427
|
values?: (string | number | boolean)[] | undefined;
|
388
428
|
id?: string | undefined;
|
389
|
-
}
|
390
|
-
|
429
|
+
} | {
|
430
|
+
path: [string, string];
|
431
|
+
values?: (string | number | boolean)[] | undefined;
|
432
|
+
id?: string | undefined;
|
433
|
+
intent_to_retain?: boolean | undefined;
|
434
|
+
})[]] | undefined;
|
435
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
391
436
|
meta?: {
|
392
437
|
doctype_value?: string | undefined;
|
393
438
|
} | undefined;
|
@@ -395,15 +440,15 @@ declare namespace DcqlQueryResult {
|
|
395
440
|
id: string;
|
396
441
|
format: "vc+sd-jwt" | "dc+sd-jwt";
|
397
442
|
claims?: [{
|
398
|
-
path: (string | number | null)[];
|
443
|
+
path: [string | number | null, ...(string | number | null)[]];
|
399
444
|
values?: (string | number | boolean)[] | undefined;
|
400
445
|
id?: string | undefined;
|
401
446
|
}, ...{
|
402
|
-
path: (string | number | null)[];
|
447
|
+
path: [string | number | null, ...(string | number | null)[]];
|
403
448
|
values?: (string | number | boolean)[] | undefined;
|
404
449
|
id?: string | undefined;
|
405
450
|
}[]] | undefined;
|
406
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
451
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
407
452
|
meta?: {
|
408
453
|
vct_values?: string[] | undefined;
|
409
454
|
} | undefined;
|
@@ -411,15 +456,15 @@ declare namespace DcqlQueryResult {
|
|
411
456
|
id: string;
|
412
457
|
format: "jwt_vc_json-ld" | "jwt_vc_json";
|
413
458
|
claims?: [{
|
414
|
-
path: (string | number | null)[];
|
459
|
+
path: [string | number | null, ...(string | number | null)[]];
|
415
460
|
values?: (string | number | boolean)[] | undefined;
|
416
461
|
id?: string | undefined;
|
417
462
|
}, ...{
|
418
|
-
path: (string | number | null)[];
|
463
|
+
path: [string | number | null, ...(string | number | null)[]];
|
419
464
|
values?: (string | number | boolean)[] | undefined;
|
420
465
|
id?: string | undefined;
|
421
466
|
}[]] | undefined;
|
422
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
467
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
423
468
|
})[]], undefined>, v.DescriptionAction<[{
|
424
469
|
id: string;
|
425
470
|
format: "mso_mdoc";
|
@@ -428,13 +473,23 @@ declare namespace DcqlQueryResult {
|
|
428
473
|
claim_name: string;
|
429
474
|
values?: (string | number | boolean)[] | undefined;
|
430
475
|
id?: string | undefined;
|
431
|
-
}
|
476
|
+
} | {
|
477
|
+
path: [string, string];
|
478
|
+
values?: (string | number | boolean)[] | undefined;
|
479
|
+
id?: string | undefined;
|
480
|
+
intent_to_retain?: boolean | undefined;
|
481
|
+
}, ...({
|
432
482
|
namespace: string;
|
433
483
|
claim_name: string;
|
434
484
|
values?: (string | number | boolean)[] | undefined;
|
435
485
|
id?: string | undefined;
|
436
|
-
}
|
437
|
-
|
486
|
+
} | {
|
487
|
+
path: [string, string];
|
488
|
+
values?: (string | number | boolean)[] | undefined;
|
489
|
+
id?: string | undefined;
|
490
|
+
intent_to_retain?: boolean | undefined;
|
491
|
+
})[]] | undefined;
|
492
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
438
493
|
meta?: {
|
439
494
|
doctype_value?: string | undefined;
|
440
495
|
} | undefined;
|
@@ -442,15 +497,15 @@ declare namespace DcqlQueryResult {
|
|
442
497
|
id: string;
|
443
498
|
format: "vc+sd-jwt" | "dc+sd-jwt";
|
444
499
|
claims?: [{
|
445
|
-
path: (string | number | null)[];
|
500
|
+
path: [string | number | null, ...(string | number | null)[]];
|
446
501
|
values?: (string | number | boolean)[] | undefined;
|
447
502
|
id?: string | undefined;
|
448
503
|
}, ...{
|
449
|
-
path: (string | number | null)[];
|
504
|
+
path: [string | number | null, ...(string | number | null)[]];
|
450
505
|
values?: (string | number | boolean)[] | undefined;
|
451
506
|
id?: string | undefined;
|
452
507
|
}[]] | undefined;
|
453
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
508
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
454
509
|
meta?: {
|
455
510
|
vct_values?: string[] | undefined;
|
456
511
|
} | undefined;
|
@@ -458,15 +513,15 @@ declare namespace DcqlQueryResult {
|
|
458
513
|
id: string;
|
459
514
|
format: "jwt_vc_json-ld" | "jwt_vc_json";
|
460
515
|
claims?: [{
|
461
|
-
path: (string | number | null)[];
|
516
|
+
path: [string | number | null, ...(string | number | null)[]];
|
462
517
|
values?: (string | number | boolean)[] | undefined;
|
463
518
|
id?: string | undefined;
|
464
519
|
}, ...{
|
465
|
-
path: (string | number | null)[];
|
520
|
+
path: [string | number | null, ...(string | number | null)[]];
|
466
521
|
values?: (string | number | boolean)[] | undefined;
|
467
522
|
id?: string | undefined;
|
468
523
|
}[]] | undefined;
|
469
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
524
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
470
525
|
}, ...({
|
471
526
|
id: string;
|
472
527
|
format: "mso_mdoc";
|
@@ -475,13 +530,23 @@ declare namespace DcqlQueryResult {
|
|
475
530
|
claim_name: string;
|
476
531
|
values?: (string | number | boolean)[] | undefined;
|
477
532
|
id?: string | undefined;
|
478
|
-
}
|
533
|
+
} | {
|
534
|
+
path: [string, string];
|
535
|
+
values?: (string | number | boolean)[] | undefined;
|
536
|
+
id?: string | undefined;
|
537
|
+
intent_to_retain?: boolean | undefined;
|
538
|
+
}, ...({
|
479
539
|
namespace: string;
|
480
540
|
claim_name: string;
|
481
541
|
values?: (string | number | boolean)[] | undefined;
|
482
542
|
id?: string | undefined;
|
483
|
-
}
|
484
|
-
|
543
|
+
} | {
|
544
|
+
path: [string, string];
|
545
|
+
values?: (string | number | boolean)[] | undefined;
|
546
|
+
id?: string | undefined;
|
547
|
+
intent_to_retain?: boolean | undefined;
|
548
|
+
})[]] | undefined;
|
549
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
485
550
|
meta?: {
|
486
551
|
doctype_value?: string | undefined;
|
487
552
|
} | undefined;
|
@@ -489,15 +554,15 @@ declare namespace DcqlQueryResult {
|
|
489
554
|
id: string;
|
490
555
|
format: "vc+sd-jwt" | "dc+sd-jwt";
|
491
556
|
claims?: [{
|
492
|
-
path: (string | number | null)[];
|
557
|
+
path: [string | number | null, ...(string | number | null)[]];
|
493
558
|
values?: (string | number | boolean)[] | undefined;
|
494
559
|
id?: string | undefined;
|
495
560
|
}, ...{
|
496
|
-
path: (string | number | null)[];
|
561
|
+
path: [string | number | null, ...(string | number | null)[]];
|
497
562
|
values?: (string | number | boolean)[] | undefined;
|
498
563
|
id?: string | undefined;
|
499
564
|
}[]] | undefined;
|
500
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
565
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
501
566
|
meta?: {
|
502
567
|
vct_values?: string[] | undefined;
|
503
568
|
} | undefined;
|
@@ -505,17 +570,17 @@ declare namespace DcqlQueryResult {
|
|
505
570
|
id: string;
|
506
571
|
format: "jwt_vc_json-ld" | "jwt_vc_json";
|
507
572
|
claims?: [{
|
508
|
-
path: (string | number | null)[];
|
573
|
+
path: [string | number | null, ...(string | number | null)[]];
|
509
574
|
values?: (string | number | boolean)[] | undefined;
|
510
575
|
id?: string | undefined;
|
511
576
|
}, ...{
|
512
|
-
path: (string | number | null)[];
|
577
|
+
path: [string | number | null, ...(string | number | null)[]];
|
513
578
|
values?: (string | number | boolean)[] | undefined;
|
514
579
|
id?: string | undefined;
|
515
580
|
}[]] | undefined;
|
516
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
581
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
517
582
|
})[]], "REQUIRED. A non-empty array of Credential Queries that specify the requested Verifiable Credentials.">]>;
|
518
|
-
readonly credential_matches: v.RecordSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, v.UnionSchema<[v.ObjectSchema<{
|
583
|
+
readonly credential_matches: v.RecordSchema<v.SchemaWithPipe<[v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.NonEmptyAction<string, undefined>]>]>, v.UnionSchema<[v.ObjectSchema<{
|
519
584
|
readonly all: v.SchemaWithPipe<[v.ArraySchema<v.SchemaWithPipe<[v.ArraySchema<v.UnionSchema<[v.UndefinedSchema<undefined>, v.ObjectSchema<{
|
520
585
|
readonly success: v.LiteralSchema<true, undefined>;
|
521
586
|
readonly typed: v.LiteralSchema<true, undefined>;
|
@@ -986,7 +1051,7 @@ declare namespace DcqlQueryResult {
|
|
986
1051
|
}, undefined>], undefined>, undefined>;
|
987
1052
|
readonly credential_sets: v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ObjectSchema<{
|
988
1053
|
readonly matching_options: v.UnionSchema<[v.UndefinedSchema<undefined>, v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, v.CustomSchema<[string[], ...string[][]], undefined>]>], undefined>;
|
989
|
-
readonly options: v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, undefined>, v.CustomSchema<[string[], ...string[][]], undefined>, v.DescriptionAction<[string[], ...string[][]], "REQUIRED. A non-empty array, where each value in the array is a list of Credential Query identifiers representing one set of Credentials that satisfies the use case.">]>;
|
1054
|
+
readonly options: v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.NonEmptyAction<string, undefined>]>, undefined>, undefined>, v.CustomSchema<[string[], ...string[][]], undefined>, v.DescriptionAction<[string[], ...string[][]], "REQUIRED. A non-empty array, where each value in the array is a list of Credential Query identifiers representing one set of Credentials that satisfies the use case.">]>;
|
990
1055
|
readonly required: v.SchemaWithPipe<[v.OptionalSchema<v.BooleanSchema<undefined>, true>, v.DescriptionAction<boolean, "OPTIONAL. Boolean which indicates whether this set of Credentials is required to satisfy the particular use case at the Verifier. If omitted, the default value is 'true'.">]>;
|
991
1056
|
readonly purpose: v.SchemaWithPipe<[v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>], undefined>, undefined>, v.DescriptionAction<string | number | {
|
992
1057
|
[x: string]: unknown;
|
@@ -1143,59 +1208,84 @@ declare namespace DcqlQuery {
|
|
1143
1208
|
const vModel: v.ObjectSchema<{
|
1144
1209
|
readonly credentials: v.SchemaWithPipe<[v.ArraySchema<v.VariantSchema<"format", [v.ObjectSchema<{
|
1145
1210
|
readonly format: v.SchemaWithPipe<[v.LiteralSchema<"mso_mdoc", undefined>, v.DescriptionAction<"mso_mdoc", "REQUIRED. A string that specifies the format of the requested Verifiable Credential.">]>;
|
1146
|
-
readonly claims: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ObjectSchema<{
|
1147
|
-
readonly id: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<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.">]>;
|
1211
|
+
readonly claims: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
1148
1212
|
readonly namespace: v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the namespace of the data element within the mdoc, e.g., org.iso.18013.5.1.">]>;
|
1149
1213
|
readonly claim_name: v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the data element identifier of the data element within the provided namespace in the mdoc, e.g., first_name.">]>;
|
1214
|
+
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.">]>;
|
1150
1215
|
readonly values: v.SchemaWithPipe<[v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<(string | number | boolean)[] | undefined, "An array of strings, integers or boolean values that specifies the expected values of the claim. If the values property is present, the Wallet SHOULD return the claim only if the type and value of the claim both match for at least one of the elements in the array.">]>;
|
1151
|
-
}, undefined>,
|
1216
|
+
}, undefined>, v.ObjectSchema<{
|
1217
|
+
readonly intent_to_retain: v.SchemaWithPipe<[v.OptionalSchema<v.BooleanSchema<undefined>, undefined>, v.DescriptionAction<boolean | undefined, "A boolean that is equivalent to `IntentToRetain` variable defined in Section 8.3.2.1.2.1 of [@ISO.18013-5].">]>;
|
1218
|
+
readonly path: v.SchemaWithPipe<[v.TupleSchema<[v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the namespace of the data element within the mdoc, e.g., org.iso.18013.5.1.">]>, v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the data element identifier of the data element within the provided namespace in the mdoc, e.g., first_name.">]>], undefined>, v.DescriptionAction<[string, string], "An array defining a claims path pointer into an mdoc. It must contain two elements of type string. The first element refers to a namespace and the second element refers to a data element identifier.">]>;
|
1219
|
+
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.">]>;
|
1220
|
+
readonly values: v.SchemaWithPipe<[v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<(string | number | boolean)[] | undefined, "An array of strings, integers or boolean values that specifies the expected values of the claim. If the values property is present, the Wallet SHOULD return the claim only if the type and value of the claim both match for at least one of the elements in the array.">]>;
|
1221
|
+
}, undefined>], undefined>, undefined>, v.CustomSchema<[{
|
1152
1222
|
namespace: string;
|
1153
1223
|
claim_name: string;
|
1154
1224
|
values?: (string | number | boolean)[] | undefined;
|
1155
1225
|
id?: string | undefined;
|
1156
|
-
}
|
1226
|
+
} | {
|
1227
|
+
path: [string, string];
|
1228
|
+
values?: (string | number | boolean)[] | undefined;
|
1229
|
+
id?: string | undefined;
|
1230
|
+
intent_to_retain?: boolean | undefined;
|
1231
|
+
}, ...({
|
1157
1232
|
namespace: string;
|
1158
1233
|
claim_name: string;
|
1159
1234
|
values?: (string | number | boolean)[] | undefined;
|
1160
1235
|
id?: string | undefined;
|
1161
|
-
}
|
1236
|
+
} | {
|
1237
|
+
path: [string, string];
|
1238
|
+
values?: (string | number | boolean)[] | undefined;
|
1239
|
+
id?: string | undefined;
|
1240
|
+
intent_to_retain?: boolean | undefined;
|
1241
|
+
})[]], undefined>]>, undefined>, v.DescriptionAction<[{
|
1162
1242
|
namespace: string;
|
1163
1243
|
claim_name: string;
|
1164
1244
|
values?: (string | number | boolean)[] | undefined;
|
1165
1245
|
id?: string | undefined;
|
1166
|
-
}
|
1246
|
+
} | {
|
1247
|
+
path: [string, string];
|
1248
|
+
values?: (string | number | boolean)[] | undefined;
|
1249
|
+
id?: string | undefined;
|
1250
|
+
intent_to_retain?: boolean | undefined;
|
1251
|
+
}, ...({
|
1167
1252
|
namespace: string;
|
1168
1253
|
claim_name: string;
|
1169
1254
|
values?: (string | number | boolean)[] | undefined;
|
1170
1255
|
id?: string | undefined;
|
1171
|
-
}
|
1256
|
+
} | {
|
1257
|
+
path: [string, string];
|
1258
|
+
values?: (string | number | boolean)[] | undefined;
|
1259
|
+
id?: string | undefined;
|
1260
|
+
intent_to_retain?: boolean | undefined;
|
1261
|
+
})[]] | undefined, "OPTIONAL. A non-empty array of objects as that specifies claims in the requested Credential.">]>;
|
1172
1262
|
readonly meta: v.SchemaWithPipe<[v.OptionalSchema<v.ObjectSchema<{
|
1173
1263
|
readonly doctype_value: v.SchemaWithPipe<[v.OptionalSchema<v.StringSchema<undefined>, undefined>, v.DescriptionAction<string | undefined, "OPTIONAL. String that specifies an allowed value for the doctype of the requested Verifiable Credential.">]>;
|
1174
1264
|
}, undefined>, undefined>, v.DescriptionAction<{
|
1175
1265
|
doctype_value?: string | undefined;
|
1176
1266
|
} | undefined, "OPTIONAL. An object defining additional properties requested by the Verifier that apply to the metadata and validity data of the Credential.">]>;
|
1177
1267
|
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'.">]>;
|
1178
|
-
readonly claim_sets: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, undefined>, v.CustomSchema<[string[], ...string[][]], undefined>]>, undefined>, v.DescriptionAction<[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.">]>;
|
1268
|
+
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.">]>;
|
1179
1269
|
}, undefined>, v.ObjectSchema<{
|
1180
1270
|
readonly format: v.SchemaWithPipe<[v.PicklistSchema<["vc+sd-jwt", "dc+sd-jwt"], undefined>, v.DescriptionAction<"vc+sd-jwt" | "dc+sd-jwt", "REQUIRED. A string that specifies the format of the requested Verifiable Credential.">]>;
|
1181
1271
|
readonly claims: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ObjectSchema<{
|
1182
|
-
readonly id: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<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.">]>;
|
1183
|
-
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.DescriptionAction<(string | number | null)[], "A non-empty array representing a claims path pointer that specifies the path to a claim within the Verifiable Credential.">]>;
|
1272
|
+
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.">]>;
|
1273
|
+
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.">]>;
|
1184
1274
|
readonly values: v.SchemaWithPipe<[v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<(string | number | boolean)[] | undefined, "An array of strings, integers or boolean values that specifies the expected values of the claim. If the values property is present, the Wallet SHOULD return the claim only if the type and value of the claim both match for at least one of the elements in the array.">]>;
|
1185
1275
|
}, undefined>, undefined>, v.CustomSchema<[{
|
1186
|
-
path: (string | number | null)[];
|
1276
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1187
1277
|
values?: (string | number | boolean)[] | undefined;
|
1188
1278
|
id?: string | undefined;
|
1189
1279
|
}, ...{
|
1190
|
-
path: (string | number | null)[];
|
1280
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1191
1281
|
values?: (string | number | boolean)[] | undefined;
|
1192
1282
|
id?: string | undefined;
|
1193
1283
|
}[]], undefined>]>, undefined>, v.DescriptionAction<[{
|
1194
|
-
path: (string | number | null)[];
|
1284
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1195
1285
|
values?: (string | number | boolean)[] | undefined;
|
1196
1286
|
id?: string | undefined;
|
1197
1287
|
}, ...{
|
1198
|
-
path: (string | number | null)[];
|
1288
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1199
1289
|
values?: (string | number | boolean)[] | undefined;
|
1200
1290
|
id?: string | undefined;
|
1201
1291
|
}[]] | undefined, "OPTIONAL. A non-empty array of objects as that specifies claims in the requested Credential.">]>;
|
@@ -1207,24 +1297,24 @@ declare namespace DcqlQuery {
|
|
1207
1297
|
vct_values?: string[] | undefined;
|
1208
1298
|
} | undefined, "OPTIONAL. An object defining additional properties requested by the Verifier that apply to the metadata and validity data of the Credential.">]>;
|
1209
1299
|
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'.">]>;
|
1210
|
-
readonly claim_sets: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, undefined>, v.CustomSchema<[string[], ...string[][]], undefined>]>, undefined>, v.DescriptionAction<[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.">]>;
|
1300
|
+
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.">]>;
|
1211
1301
|
}, undefined>, v.ObjectSchema<{
|
1212
1302
|
readonly format: v.PicklistSchema<["jwt_vc_json", "jwt_vc_json-ld"], undefined>;
|
1213
1303
|
readonly claims: v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ObjectSchema<{
|
1214
|
-
readonly id: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<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.">]>;
|
1215
|
-
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.DescriptionAction<(string | number | null)[], "A non-empty array representing a claims path pointer that specifies the path to a claim within the Verifiable Credential.">]>;
|
1304
|
+
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
|
+
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.">]>;
|
1216
1306
|
readonly values: v.SchemaWithPipe<[v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<(string | number | boolean)[] | undefined, "An array of strings, integers or boolean values that specifies the expected values of the claim. If the values property is present, the Wallet SHOULD return the claim only if the type and value of the claim both match for at least one of the elements in the array.">]>;
|
1217
1307
|
}, undefined>, undefined>, v.CustomSchema<[{
|
1218
|
-
path: (string | number | null)[];
|
1308
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1219
1309
|
values?: (string | number | boolean)[] | undefined;
|
1220
1310
|
id?: string | undefined;
|
1221
1311
|
}, ...{
|
1222
|
-
path: (string | number | null)[];
|
1312
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1223
1313
|
values?: (string | number | boolean)[] | undefined;
|
1224
1314
|
id?: string | undefined;
|
1225
1315
|
}[]], undefined>]>, undefined>;
|
1226
1316
|
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'.">]>;
|
1227
|
-
readonly claim_sets: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, undefined>, v.CustomSchema<[string[], ...string[][]], undefined>]>, undefined>, v.DescriptionAction<[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.">]>;
|
1317
|
+
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.">]>;
|
1228
1318
|
}, undefined>], undefined>, undefined>, v.CustomSchema<[{
|
1229
1319
|
id: string;
|
1230
1320
|
format: "mso_mdoc";
|
@@ -1233,13 +1323,23 @@ declare namespace DcqlQuery {
|
|
1233
1323
|
claim_name: string;
|
1234
1324
|
values?: (string | number | boolean)[] | undefined;
|
1235
1325
|
id?: string | undefined;
|
1236
|
-
}
|
1326
|
+
} | {
|
1327
|
+
path: [string, string];
|
1328
|
+
values?: (string | number | boolean)[] | undefined;
|
1329
|
+
id?: string | undefined;
|
1330
|
+
intent_to_retain?: boolean | undefined;
|
1331
|
+
}, ...({
|
1237
1332
|
namespace: string;
|
1238
1333
|
claim_name: string;
|
1239
1334
|
values?: (string | number | boolean)[] | undefined;
|
1240
1335
|
id?: string | undefined;
|
1241
|
-
}
|
1242
|
-
|
1336
|
+
} | {
|
1337
|
+
path: [string, string];
|
1338
|
+
values?: (string | number | boolean)[] | undefined;
|
1339
|
+
id?: string | undefined;
|
1340
|
+
intent_to_retain?: boolean | undefined;
|
1341
|
+
})[]] | undefined;
|
1342
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
1243
1343
|
meta?: {
|
1244
1344
|
doctype_value?: string | undefined;
|
1245
1345
|
} | undefined;
|
@@ -1247,15 +1347,15 @@ declare namespace DcqlQuery {
|
|
1247
1347
|
id: string;
|
1248
1348
|
format: "vc+sd-jwt" | "dc+sd-jwt";
|
1249
1349
|
claims?: [{
|
1250
|
-
path: (string | number | null)[];
|
1350
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1251
1351
|
values?: (string | number | boolean)[] | undefined;
|
1252
1352
|
id?: string | undefined;
|
1253
1353
|
}, ...{
|
1254
|
-
path: (string | number | null)[];
|
1354
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1255
1355
|
values?: (string | number | boolean)[] | undefined;
|
1256
1356
|
id?: string | undefined;
|
1257
1357
|
}[]] | undefined;
|
1258
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
1358
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
1259
1359
|
meta?: {
|
1260
1360
|
vct_values?: string[] | undefined;
|
1261
1361
|
} | undefined;
|
@@ -1263,15 +1363,15 @@ declare namespace DcqlQuery {
|
|
1263
1363
|
id: string;
|
1264
1364
|
format: "jwt_vc_json-ld" | "jwt_vc_json";
|
1265
1365
|
claims?: [{
|
1266
|
-
path: (string | number | null)[];
|
1366
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1267
1367
|
values?: (string | number | boolean)[] | undefined;
|
1268
1368
|
id?: string | undefined;
|
1269
1369
|
}, ...{
|
1270
|
-
path: (string | number | null)[];
|
1370
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1271
1371
|
values?: (string | number | boolean)[] | undefined;
|
1272
1372
|
id?: string | undefined;
|
1273
1373
|
}[]] | undefined;
|
1274
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
1374
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
1275
1375
|
}, ...({
|
1276
1376
|
id: string;
|
1277
1377
|
format: "mso_mdoc";
|
@@ -1280,13 +1380,23 @@ declare namespace DcqlQuery {
|
|
1280
1380
|
claim_name: string;
|
1281
1381
|
values?: (string | number | boolean)[] | undefined;
|
1282
1382
|
id?: string | undefined;
|
1283
|
-
}
|
1383
|
+
} | {
|
1384
|
+
path: [string, string];
|
1385
|
+
values?: (string | number | boolean)[] | undefined;
|
1386
|
+
id?: string | undefined;
|
1387
|
+
intent_to_retain?: boolean | undefined;
|
1388
|
+
}, ...({
|
1284
1389
|
namespace: string;
|
1285
1390
|
claim_name: string;
|
1286
1391
|
values?: (string | number | boolean)[] | undefined;
|
1287
1392
|
id?: string | undefined;
|
1288
|
-
}
|
1289
|
-
|
1393
|
+
} | {
|
1394
|
+
path: [string, string];
|
1395
|
+
values?: (string | number | boolean)[] | undefined;
|
1396
|
+
id?: string | undefined;
|
1397
|
+
intent_to_retain?: boolean | undefined;
|
1398
|
+
})[]] | undefined;
|
1399
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
1290
1400
|
meta?: {
|
1291
1401
|
doctype_value?: string | undefined;
|
1292
1402
|
} | undefined;
|
@@ -1294,15 +1404,15 @@ declare namespace DcqlQuery {
|
|
1294
1404
|
id: string;
|
1295
1405
|
format: "vc+sd-jwt" | "dc+sd-jwt";
|
1296
1406
|
claims?: [{
|
1297
|
-
path: (string | number | null)[];
|
1407
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1298
1408
|
values?: (string | number | boolean)[] | undefined;
|
1299
1409
|
id?: string | undefined;
|
1300
1410
|
}, ...{
|
1301
|
-
path: (string | number | null)[];
|
1411
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1302
1412
|
values?: (string | number | boolean)[] | undefined;
|
1303
1413
|
id?: string | undefined;
|
1304
1414
|
}[]] | undefined;
|
1305
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
1415
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
1306
1416
|
meta?: {
|
1307
1417
|
vct_values?: string[] | undefined;
|
1308
1418
|
} | undefined;
|
@@ -1310,15 +1420,15 @@ declare namespace DcqlQuery {
|
|
1310
1420
|
id: string;
|
1311
1421
|
format: "jwt_vc_json-ld" | "jwt_vc_json";
|
1312
1422
|
claims?: [{
|
1313
|
-
path: (string | number | null)[];
|
1423
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1314
1424
|
values?: (string | number | boolean)[] | undefined;
|
1315
1425
|
id?: string | undefined;
|
1316
1426
|
}, ...{
|
1317
|
-
path: (string | number | null)[];
|
1427
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1318
1428
|
values?: (string | number | boolean)[] | undefined;
|
1319
1429
|
id?: string | undefined;
|
1320
1430
|
}[]] | undefined;
|
1321
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
1431
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
1322
1432
|
})[]], undefined>, v.DescriptionAction<[{
|
1323
1433
|
id: string;
|
1324
1434
|
format: "mso_mdoc";
|
@@ -1327,13 +1437,23 @@ declare namespace DcqlQuery {
|
|
1327
1437
|
claim_name: string;
|
1328
1438
|
values?: (string | number | boolean)[] | undefined;
|
1329
1439
|
id?: string | undefined;
|
1330
|
-
}
|
1440
|
+
} | {
|
1441
|
+
path: [string, string];
|
1442
|
+
values?: (string | number | boolean)[] | undefined;
|
1443
|
+
id?: string | undefined;
|
1444
|
+
intent_to_retain?: boolean | undefined;
|
1445
|
+
}, ...({
|
1331
1446
|
namespace: string;
|
1332
1447
|
claim_name: string;
|
1333
1448
|
values?: (string | number | boolean)[] | undefined;
|
1334
1449
|
id?: string | undefined;
|
1335
|
-
}
|
1336
|
-
|
1450
|
+
} | {
|
1451
|
+
path: [string, string];
|
1452
|
+
values?: (string | number | boolean)[] | undefined;
|
1453
|
+
id?: string | undefined;
|
1454
|
+
intent_to_retain?: boolean | undefined;
|
1455
|
+
})[]] | undefined;
|
1456
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
1337
1457
|
meta?: {
|
1338
1458
|
doctype_value?: string | undefined;
|
1339
1459
|
} | undefined;
|
@@ -1341,15 +1461,15 @@ declare namespace DcqlQuery {
|
|
1341
1461
|
id: string;
|
1342
1462
|
format: "vc+sd-jwt" | "dc+sd-jwt";
|
1343
1463
|
claims?: [{
|
1344
|
-
path: (string | number | null)[];
|
1464
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1345
1465
|
values?: (string | number | boolean)[] | undefined;
|
1346
1466
|
id?: string | undefined;
|
1347
1467
|
}, ...{
|
1348
|
-
path: (string | number | null)[];
|
1468
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1349
1469
|
values?: (string | number | boolean)[] | undefined;
|
1350
1470
|
id?: string | undefined;
|
1351
1471
|
}[]] | undefined;
|
1352
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
1472
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
1353
1473
|
meta?: {
|
1354
1474
|
vct_values?: string[] | undefined;
|
1355
1475
|
} | undefined;
|
@@ -1357,15 +1477,15 @@ declare namespace DcqlQuery {
|
|
1357
1477
|
id: string;
|
1358
1478
|
format: "jwt_vc_json-ld" | "jwt_vc_json";
|
1359
1479
|
claims?: [{
|
1360
|
-
path: (string | number | null)[];
|
1480
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1361
1481
|
values?: (string | number | boolean)[] | undefined;
|
1362
1482
|
id?: string | undefined;
|
1363
1483
|
}, ...{
|
1364
|
-
path: (string | number | null)[];
|
1484
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1365
1485
|
values?: (string | number | boolean)[] | undefined;
|
1366
1486
|
id?: string | undefined;
|
1367
1487
|
}[]] | undefined;
|
1368
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
1488
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
1369
1489
|
}, ...({
|
1370
1490
|
id: string;
|
1371
1491
|
format: "mso_mdoc";
|
@@ -1374,13 +1494,23 @@ declare namespace DcqlQuery {
|
|
1374
1494
|
claim_name: string;
|
1375
1495
|
values?: (string | number | boolean)[] | undefined;
|
1376
1496
|
id?: string | undefined;
|
1377
|
-
}
|
1497
|
+
} | {
|
1498
|
+
path: [string, string];
|
1499
|
+
values?: (string | number | boolean)[] | undefined;
|
1500
|
+
id?: string | undefined;
|
1501
|
+
intent_to_retain?: boolean | undefined;
|
1502
|
+
}, ...({
|
1378
1503
|
namespace: string;
|
1379
1504
|
claim_name: string;
|
1380
1505
|
values?: (string | number | boolean)[] | undefined;
|
1381
1506
|
id?: string | undefined;
|
1382
|
-
}
|
1383
|
-
|
1507
|
+
} | {
|
1508
|
+
path: [string, string];
|
1509
|
+
values?: (string | number | boolean)[] | undefined;
|
1510
|
+
id?: string | undefined;
|
1511
|
+
intent_to_retain?: boolean | undefined;
|
1512
|
+
})[]] | undefined;
|
1513
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
1384
1514
|
meta?: {
|
1385
1515
|
doctype_value?: string | undefined;
|
1386
1516
|
} | undefined;
|
@@ -1388,15 +1518,15 @@ declare namespace DcqlQuery {
|
|
1388
1518
|
id: string;
|
1389
1519
|
format: "vc+sd-jwt" | "dc+sd-jwt";
|
1390
1520
|
claims?: [{
|
1391
|
-
path: (string | number | null)[];
|
1521
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1392
1522
|
values?: (string | number | boolean)[] | undefined;
|
1393
1523
|
id?: string | undefined;
|
1394
1524
|
}, ...{
|
1395
|
-
path: (string | number | null)[];
|
1525
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1396
1526
|
values?: (string | number | boolean)[] | undefined;
|
1397
1527
|
id?: string | undefined;
|
1398
1528
|
}[]] | undefined;
|
1399
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
1529
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
1400
1530
|
meta?: {
|
1401
1531
|
vct_values?: string[] | undefined;
|
1402
1532
|
} | undefined;
|
@@ -1404,18 +1534,18 @@ declare namespace DcqlQuery {
|
|
1404
1534
|
id: string;
|
1405
1535
|
format: "jwt_vc_json-ld" | "jwt_vc_json";
|
1406
1536
|
claims?: [{
|
1407
|
-
path: (string | number | null)[];
|
1537
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1408
1538
|
values?: (string | number | boolean)[] | undefined;
|
1409
1539
|
id?: string | undefined;
|
1410
1540
|
}, ...{
|
1411
|
-
path: (string | number | null)[];
|
1541
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1412
1542
|
values?: (string | number | boolean)[] | undefined;
|
1413
1543
|
id?: string | undefined;
|
1414
1544
|
}[]] | undefined;
|
1415
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
1545
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
1416
1546
|
})[]], "REQUIRED. A non-empty array of Credential Queries that specify the requested Verifiable Credentials.">]>;
|
1417
1547
|
readonly credential_sets: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ObjectSchema<{
|
1418
|
-
readonly options: v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, undefined>, v.CustomSchema<[string[], ...string[][]], undefined>, v.DescriptionAction<[string[], ...string[][]], "REQUIRED. A non-empty array, where each value in the array is a list of Credential Query identifiers representing one set of Credentials that satisfies the use case.">]>;
|
1548
|
+
readonly options: v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.NonEmptyAction<string, undefined>]>, undefined>, undefined>, v.CustomSchema<[string[], ...string[][]], undefined>, v.DescriptionAction<[string[], ...string[][]], "REQUIRED. A non-empty array, where each value in the array is a list of Credential Query identifiers representing one set of Credentials that satisfies the use case.">]>;
|
1419
1549
|
readonly required: v.SchemaWithPipe<[v.OptionalSchema<v.BooleanSchema<undefined>, true>, v.DescriptionAction<boolean, "OPTIONAL. Boolean which indicates whether this set of Credentials is required to satisfy the particular use case at the Verifier. If omitted, the default value is 'true'.">]>;
|
1420
1550
|
readonly purpose: v.SchemaWithPipe<[v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>], undefined>, undefined>, v.DescriptionAction<string | number | {
|
1421
1551
|
[x: string]: unknown;
|
@@ -1458,13 +1588,23 @@ declare namespace DcqlQuery {
|
|
1458
1588
|
claim_name: string;
|
1459
1589
|
values?: (string | number | boolean)[] | undefined;
|
1460
1590
|
id?: string | undefined;
|
1461
|
-
}
|
1591
|
+
} | {
|
1592
|
+
path: [string, string];
|
1593
|
+
values?: (string | number | boolean)[] | undefined;
|
1594
|
+
id?: string | undefined;
|
1595
|
+
intent_to_retain?: boolean | undefined;
|
1596
|
+
}, ...({
|
1462
1597
|
namespace: string;
|
1463
1598
|
claim_name: string;
|
1464
1599
|
values?: (string | number | boolean)[] | undefined;
|
1465
1600
|
id?: string | undefined;
|
1466
|
-
}
|
1467
|
-
|
1601
|
+
} | {
|
1602
|
+
path: [string, string];
|
1603
|
+
values?: (string | number | boolean)[] | undefined;
|
1604
|
+
id?: string | undefined;
|
1605
|
+
intent_to_retain?: boolean | undefined;
|
1606
|
+
})[]] | undefined;
|
1607
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
1468
1608
|
meta?: {
|
1469
1609
|
doctype_value?: string | undefined;
|
1470
1610
|
} | undefined;
|
@@ -1472,15 +1612,15 @@ declare namespace DcqlQuery {
|
|
1472
1612
|
id: string;
|
1473
1613
|
format: "vc+sd-jwt" | "dc+sd-jwt";
|
1474
1614
|
claims?: [{
|
1475
|
-
path: (string | number | null)[];
|
1615
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1476
1616
|
values?: (string | number | boolean)[] | undefined;
|
1477
1617
|
id?: string | undefined;
|
1478
1618
|
}, ...{
|
1479
|
-
path: (string | number | null)[];
|
1619
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1480
1620
|
values?: (string | number | boolean)[] | undefined;
|
1481
1621
|
id?: string | undefined;
|
1482
1622
|
}[]] | undefined;
|
1483
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
1623
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
1484
1624
|
meta?: {
|
1485
1625
|
vct_values?: string[] | undefined;
|
1486
1626
|
} | undefined;
|
@@ -1488,15 +1628,15 @@ declare namespace DcqlQuery {
|
|
1488
1628
|
id: string;
|
1489
1629
|
format: "jwt_vc_json-ld" | "jwt_vc_json";
|
1490
1630
|
claims?: [{
|
1491
|
-
path: (string | number | null)[];
|
1631
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1492
1632
|
values?: (string | number | boolean)[] | undefined;
|
1493
1633
|
id?: string | undefined;
|
1494
1634
|
}, ...{
|
1495
|
-
path: (string | number | null)[];
|
1635
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1496
1636
|
values?: (string | number | boolean)[] | undefined;
|
1497
1637
|
id?: string | undefined;
|
1498
1638
|
}[]] | undefined;
|
1499
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
1639
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
1500
1640
|
}, ...({
|
1501
1641
|
id: string;
|
1502
1642
|
format: "mso_mdoc";
|
@@ -1505,13 +1645,23 @@ declare namespace DcqlQuery {
|
|
1505
1645
|
claim_name: string;
|
1506
1646
|
values?: (string | number | boolean)[] | undefined;
|
1507
1647
|
id?: string | undefined;
|
1508
|
-
}
|
1648
|
+
} | {
|
1649
|
+
path: [string, string];
|
1650
|
+
values?: (string | number | boolean)[] | undefined;
|
1651
|
+
id?: string | undefined;
|
1652
|
+
intent_to_retain?: boolean | undefined;
|
1653
|
+
}, ...({
|
1509
1654
|
namespace: string;
|
1510
1655
|
claim_name: string;
|
1511
1656
|
values?: (string | number | boolean)[] | undefined;
|
1512
1657
|
id?: string | undefined;
|
1513
|
-
}
|
1514
|
-
|
1658
|
+
} | {
|
1659
|
+
path: [string, string];
|
1660
|
+
values?: (string | number | boolean)[] | undefined;
|
1661
|
+
id?: string | undefined;
|
1662
|
+
intent_to_retain?: boolean | undefined;
|
1663
|
+
})[]] | undefined;
|
1664
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
1515
1665
|
meta?: {
|
1516
1666
|
doctype_value?: string | undefined;
|
1517
1667
|
} | undefined;
|
@@ -1519,15 +1669,15 @@ declare namespace DcqlQuery {
|
|
1519
1669
|
id: string;
|
1520
1670
|
format: "vc+sd-jwt" | "dc+sd-jwt";
|
1521
1671
|
claims?: [{
|
1522
|
-
path: (string | number | null)[];
|
1672
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1523
1673
|
values?: (string | number | boolean)[] | undefined;
|
1524
1674
|
id?: string | undefined;
|
1525
1675
|
}, ...{
|
1526
|
-
path: (string | number | null)[];
|
1676
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1527
1677
|
values?: (string | number | boolean)[] | undefined;
|
1528
1678
|
id?: string | undefined;
|
1529
1679
|
}[]] | undefined;
|
1530
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
1680
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
1531
1681
|
meta?: {
|
1532
1682
|
vct_values?: string[] | undefined;
|
1533
1683
|
} | undefined;
|
@@ -1535,15 +1685,15 @@ declare namespace DcqlQuery {
|
|
1535
1685
|
id: string;
|
1536
1686
|
format: "jwt_vc_json-ld" | "jwt_vc_json";
|
1537
1687
|
claims?: [{
|
1538
|
-
path: (string | number | null)[];
|
1688
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1539
1689
|
values?: (string | number | boolean)[] | undefined;
|
1540
1690
|
id?: string | undefined;
|
1541
1691
|
}, ...{
|
1542
|
-
path: (string | number | null)[];
|
1692
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1543
1693
|
values?: (string | number | boolean)[] | undefined;
|
1544
1694
|
id?: string | undefined;
|
1545
1695
|
}[]] | undefined;
|
1546
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
1696
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
1547
1697
|
})[]];
|
1548
1698
|
credential_matches: {
|
1549
1699
|
[x: string]: {
|
@@ -1868,13 +2018,23 @@ declare namespace DcqlQuery {
|
|
1868
2018
|
claim_name: string;
|
1869
2019
|
values?: (string | number | boolean)[] | undefined;
|
1870
2020
|
id?: string | undefined;
|
1871
|
-
}
|
2021
|
+
} | {
|
2022
|
+
path: [string, string];
|
2023
|
+
values?: (string | number | boolean)[] | undefined;
|
2024
|
+
id?: string | undefined;
|
2025
|
+
intent_to_retain?: boolean | undefined;
|
2026
|
+
}, ...({
|
1872
2027
|
namespace: string;
|
1873
2028
|
claim_name: string;
|
1874
2029
|
values?: (string | number | boolean)[] | undefined;
|
1875
2030
|
id?: string | undefined;
|
1876
|
-
}
|
1877
|
-
|
2031
|
+
} | {
|
2032
|
+
path: [string, string];
|
2033
|
+
values?: (string | number | boolean)[] | undefined;
|
2034
|
+
id?: string | undefined;
|
2035
|
+
intent_to_retain?: boolean | undefined;
|
2036
|
+
})[]] | undefined;
|
2037
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
1878
2038
|
meta?: {
|
1879
2039
|
doctype_value?: string | undefined;
|
1880
2040
|
} | undefined;
|
@@ -1882,15 +2042,15 @@ declare namespace DcqlQuery {
|
|
1882
2042
|
id: string;
|
1883
2043
|
format: "vc+sd-jwt" | "dc+sd-jwt";
|
1884
2044
|
claims?: [{
|
1885
|
-
path: (string | number | null)[];
|
2045
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1886
2046
|
values?: (string | number | boolean)[] | undefined;
|
1887
2047
|
id?: string | undefined;
|
1888
2048
|
}, ...{
|
1889
|
-
path: (string | number | null)[];
|
2049
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1890
2050
|
values?: (string | number | boolean)[] | undefined;
|
1891
2051
|
id?: string | undefined;
|
1892
2052
|
}[]] | undefined;
|
1893
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
2053
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
1894
2054
|
meta?: {
|
1895
2055
|
vct_values?: string[] | undefined;
|
1896
2056
|
} | undefined;
|
@@ -1898,15 +2058,15 @@ declare namespace DcqlQuery {
|
|
1898
2058
|
id: string;
|
1899
2059
|
format: "jwt_vc_json-ld" | "jwt_vc_json";
|
1900
2060
|
claims?: [{
|
1901
|
-
path: (string | number | null)[];
|
2061
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1902
2062
|
values?: (string | number | boolean)[] | undefined;
|
1903
2063
|
id?: string | undefined;
|
1904
2064
|
}, ...{
|
1905
|
-
path: (string | number | null)[];
|
2065
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1906
2066
|
values?: (string | number | boolean)[] | undefined;
|
1907
2067
|
id?: string | undefined;
|
1908
2068
|
}[]] | undefined;
|
1909
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
2069
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
1910
2070
|
}, ...({
|
1911
2071
|
id: string;
|
1912
2072
|
format: "mso_mdoc";
|
@@ -1915,13 +2075,23 @@ declare namespace DcqlQuery {
|
|
1915
2075
|
claim_name: string;
|
1916
2076
|
values?: (string | number | boolean)[] | undefined;
|
1917
2077
|
id?: string | undefined;
|
1918
|
-
}
|
2078
|
+
} | {
|
2079
|
+
path: [string, string];
|
2080
|
+
values?: (string | number | boolean)[] | undefined;
|
2081
|
+
id?: string | undefined;
|
2082
|
+
intent_to_retain?: boolean | undefined;
|
2083
|
+
}, ...({
|
1919
2084
|
namespace: string;
|
1920
2085
|
claim_name: string;
|
1921
2086
|
values?: (string | number | boolean)[] | undefined;
|
1922
2087
|
id?: string | undefined;
|
1923
|
-
}
|
1924
|
-
|
2088
|
+
} | {
|
2089
|
+
path: [string, string];
|
2090
|
+
values?: (string | number | boolean)[] | undefined;
|
2091
|
+
id?: string | undefined;
|
2092
|
+
intent_to_retain?: boolean | undefined;
|
2093
|
+
})[]] | undefined;
|
2094
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
1925
2095
|
meta?: {
|
1926
2096
|
doctype_value?: string | undefined;
|
1927
2097
|
} | undefined;
|
@@ -1929,15 +2099,15 @@ declare namespace DcqlQuery {
|
|
1929
2099
|
id: string;
|
1930
2100
|
format: "vc+sd-jwt" | "dc+sd-jwt";
|
1931
2101
|
claims?: [{
|
1932
|
-
path: (string | number | null)[];
|
2102
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1933
2103
|
values?: (string | number | boolean)[] | undefined;
|
1934
2104
|
id?: string | undefined;
|
1935
2105
|
}, ...{
|
1936
|
-
path: (string | number | null)[];
|
2106
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1937
2107
|
values?: (string | number | boolean)[] | undefined;
|
1938
2108
|
id?: string | undefined;
|
1939
2109
|
}[]] | undefined;
|
1940
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
2110
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
1941
2111
|
meta?: {
|
1942
2112
|
vct_values?: string[] | undefined;
|
1943
2113
|
} | undefined;
|
@@ -1945,15 +2115,15 @@ declare namespace DcqlQuery {
|
|
1945
2115
|
id: string;
|
1946
2116
|
format: "jwt_vc_json-ld" | "jwt_vc_json";
|
1947
2117
|
claims?: [{
|
1948
|
-
path: (string | number | null)[];
|
2118
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1949
2119
|
values?: (string | number | boolean)[] | undefined;
|
1950
2120
|
id?: string | undefined;
|
1951
2121
|
}, ...{
|
1952
|
-
path: (string | number | null)[];
|
2122
|
+
path: [string | number | null, ...(string | number | null)[]];
|
1953
2123
|
values?: (string | number | boolean)[] | undefined;
|
1954
2124
|
id?: string | undefined;
|
1955
2125
|
}[]] | undefined;
|
1956
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
2126
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
1957
2127
|
})[]];
|
1958
2128
|
credential_sets?: [{
|
1959
2129
|
options: [string[], ...string[][]];
|
@@ -1974,16 +2144,16 @@ type DcqlQuery = DcqlQuery.Output;
|
|
1974
2144
|
|
1975
2145
|
declare namespace DcqlPresentationResult {
|
1976
2146
|
const vModel: v.ObjectSchema<{
|
1977
|
-
readonly invalid_matches: v.UnionSchema<[v.RecordSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, v.ObjectSchema<{
|
1978
|
-
readonly presentation_id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
2147
|
+
readonly invalid_matches: v.UnionSchema<[v.RecordSchema<v.SchemaWithPipe<[v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.NonEmptyAction<string, undefined>]>]>, v.ObjectSchema<{
|
2148
|
+
readonly presentation_id: v.SchemaWithPipe<[v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.NonEmptyAction<string, undefined>]>]>;
|
1979
2149
|
readonly output: v.UnknownSchema;
|
1980
2150
|
readonly issues: v.SchemaWithPipe<[v.ArraySchema<v.UnknownSchema, undefined>, v.CustomSchema<[unknown, ...unknown[]], undefined>]>;
|
1981
2151
|
readonly success: v.LiteralSchema<false, undefined>;
|
1982
2152
|
readonly typed: v.BooleanSchema<undefined>;
|
1983
2153
|
readonly claim_set_index: v.UnionSchema<[v.NumberSchema<undefined>, v.UndefinedSchema<undefined>], undefined>;
|
1984
2154
|
}, undefined>, undefined>, v.UndefinedSchema<undefined>], undefined>;
|
1985
|
-
readonly valid_matches: v.RecordSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, v.ObjectSchema<{
|
1986
|
-
readonly presentation_id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
2155
|
+
readonly valid_matches: v.RecordSchema<v.SchemaWithPipe<[v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.NonEmptyAction<string, undefined>]>]>, v.ObjectSchema<{
|
2156
|
+
readonly presentation_id: v.SchemaWithPipe<[v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.NonEmptyAction<string, undefined>]>]>;
|
1987
2157
|
readonly output: v.VariantSchema<"credential_format", [v.ObjectSchema<{
|
1988
2158
|
readonly credential_format: v.LiteralSchema<"mso_mdoc", undefined>;
|
1989
2159
|
readonly doctype: v.StringSchema<undefined>;
|
@@ -2002,59 +2172,84 @@ declare namespace DcqlPresentationResult {
|
|
2002
2172
|
}, undefined>, undefined>;
|
2003
2173
|
readonly credentials: v.SchemaWithPipe<[v.ArraySchema<v.VariantSchema<"format", [v.ObjectSchema<{
|
2004
2174
|
readonly format: v.SchemaWithPipe<[v.LiteralSchema<"mso_mdoc", undefined>, v.DescriptionAction<"mso_mdoc", "REQUIRED. A string that specifies the format of the requested Verifiable Credential.">]>;
|
2005
|
-
readonly claims: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ObjectSchema<{
|
2006
|
-
readonly id: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<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.">]>;
|
2175
|
+
readonly claims: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
2007
2176
|
readonly namespace: v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the namespace of the data element within the mdoc, e.g., org.iso.18013.5.1.">]>;
|
2008
2177
|
readonly claim_name: v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the data element identifier of the data element within the provided namespace in the mdoc, e.g., first_name.">]>;
|
2178
|
+
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.">]>;
|
2009
2179
|
readonly values: v.SchemaWithPipe<[v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<(string | number | boolean)[] | undefined, "An array of strings, integers or boolean values that specifies the expected values of the claim. If the values property is present, the Wallet SHOULD return the claim only if the type and value of the claim both match for at least one of the elements in the array.">]>;
|
2010
|
-
}, undefined>,
|
2180
|
+
}, undefined>, v.ObjectSchema<{
|
2181
|
+
readonly intent_to_retain: v.SchemaWithPipe<[v.OptionalSchema<v.BooleanSchema<undefined>, undefined>, v.DescriptionAction<boolean | undefined, "A boolean that is equivalent to `IntentToRetain` variable defined in Section 8.3.2.1.2.1 of [@ISO.18013-5].">]>;
|
2182
|
+
readonly path: v.SchemaWithPipe<[v.TupleSchema<[v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the namespace of the data element within the mdoc, e.g., org.iso.18013.5.1.">]>, v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the data element identifier of the data element within the provided namespace in the mdoc, e.g., first_name.">]>], undefined>, v.DescriptionAction<[string, string], "An array defining a claims path pointer into an mdoc. It must contain two elements of type string. The first element refers to a namespace and the second element refers to a data element identifier.">]>;
|
2183
|
+
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.">]>;
|
2184
|
+
readonly values: v.SchemaWithPipe<[v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<(string | number | boolean)[] | undefined, "An array of strings, integers or boolean values that specifies the expected values of the claim. If the values property is present, the Wallet SHOULD return the claim only if the type and value of the claim both match for at least one of the elements in the array.">]>;
|
2185
|
+
}, undefined>], undefined>, undefined>, v.CustomSchema<[{
|
2011
2186
|
namespace: string;
|
2012
2187
|
claim_name: string;
|
2013
2188
|
values?: (string | number | boolean)[] | undefined;
|
2014
2189
|
id?: string | undefined;
|
2015
|
-
}
|
2190
|
+
} | {
|
2191
|
+
path: [string, string];
|
2192
|
+
values?: (string | number | boolean)[] | undefined;
|
2193
|
+
id?: string | undefined;
|
2194
|
+
intent_to_retain?: boolean | undefined;
|
2195
|
+
}, ...({
|
2016
2196
|
namespace: string;
|
2017
2197
|
claim_name: string;
|
2018
2198
|
values?: (string | number | boolean)[] | undefined;
|
2019
2199
|
id?: string | undefined;
|
2020
|
-
}
|
2200
|
+
} | {
|
2201
|
+
path: [string, string];
|
2202
|
+
values?: (string | number | boolean)[] | undefined;
|
2203
|
+
id?: string | undefined;
|
2204
|
+
intent_to_retain?: boolean | undefined;
|
2205
|
+
})[]], undefined>]>, undefined>, v.DescriptionAction<[{
|
2021
2206
|
namespace: string;
|
2022
2207
|
claim_name: string;
|
2023
2208
|
values?: (string | number | boolean)[] | undefined;
|
2024
2209
|
id?: string | undefined;
|
2025
|
-
}
|
2210
|
+
} | {
|
2211
|
+
path: [string, string];
|
2212
|
+
values?: (string | number | boolean)[] | undefined;
|
2213
|
+
id?: string | undefined;
|
2214
|
+
intent_to_retain?: boolean | undefined;
|
2215
|
+
}, ...({
|
2026
2216
|
namespace: string;
|
2027
2217
|
claim_name: string;
|
2028
2218
|
values?: (string | number | boolean)[] | undefined;
|
2029
2219
|
id?: string | undefined;
|
2030
|
-
}
|
2220
|
+
} | {
|
2221
|
+
path: [string, string];
|
2222
|
+
values?: (string | number | boolean)[] | undefined;
|
2223
|
+
id?: string | undefined;
|
2224
|
+
intent_to_retain?: boolean | undefined;
|
2225
|
+
})[]] | undefined, "OPTIONAL. A non-empty array of objects as that specifies claims in the requested Credential.">]>;
|
2031
2226
|
readonly meta: v.SchemaWithPipe<[v.OptionalSchema<v.ObjectSchema<{
|
2032
2227
|
readonly doctype_value: v.SchemaWithPipe<[v.OptionalSchema<v.StringSchema<undefined>, undefined>, v.DescriptionAction<string | undefined, "OPTIONAL. String that specifies an allowed value for the doctype of the requested Verifiable Credential.">]>;
|
2033
2228
|
}, undefined>, undefined>, v.DescriptionAction<{
|
2034
2229
|
doctype_value?: string | undefined;
|
2035
2230
|
} | undefined, "OPTIONAL. An object defining additional properties requested by the Verifier that apply to the metadata and validity data of the Credential.">]>;
|
2036
2231
|
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'.">]>;
|
2037
|
-
readonly claim_sets: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, undefined>, v.CustomSchema<[string[], ...string[][]], undefined>]>, undefined>, v.DescriptionAction<[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.">]>;
|
2232
|
+
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.">]>;
|
2038
2233
|
}, undefined>, v.ObjectSchema<{
|
2039
2234
|
readonly format: v.SchemaWithPipe<[v.PicklistSchema<["vc+sd-jwt", "dc+sd-jwt"], undefined>, v.DescriptionAction<"vc+sd-jwt" | "dc+sd-jwt", "REQUIRED. A string that specifies the format of the requested Verifiable Credential.">]>;
|
2040
2235
|
readonly claims: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ObjectSchema<{
|
2041
|
-
readonly id: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<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.">]>;
|
2042
|
-
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.DescriptionAction<(string | number | null)[], "A non-empty array representing a claims path pointer that specifies the path to a claim within the Verifiable Credential.">]>;
|
2236
|
+
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.">]>;
|
2237
|
+
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.">]>;
|
2043
2238
|
readonly values: v.SchemaWithPipe<[v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<(string | number | boolean)[] | undefined, "An array of strings, integers or boolean values that specifies the expected values of the claim. If the values property is present, the Wallet SHOULD return the claim only if the type and value of the claim both match for at least one of the elements in the array.">]>;
|
2044
2239
|
}, undefined>, undefined>, v.CustomSchema<[{
|
2045
|
-
path: (string | number | null)[];
|
2240
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2046
2241
|
values?: (string | number | boolean)[] | undefined;
|
2047
2242
|
id?: string | undefined;
|
2048
2243
|
}, ...{
|
2049
|
-
path: (string | number | null)[];
|
2244
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2050
2245
|
values?: (string | number | boolean)[] | undefined;
|
2051
2246
|
id?: string | undefined;
|
2052
2247
|
}[]], undefined>]>, undefined>, v.DescriptionAction<[{
|
2053
|
-
path: (string | number | null)[];
|
2248
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2054
2249
|
values?: (string | number | boolean)[] | undefined;
|
2055
2250
|
id?: string | undefined;
|
2056
2251
|
}, ...{
|
2057
|
-
path: (string | number | null)[];
|
2252
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2058
2253
|
values?: (string | number | boolean)[] | undefined;
|
2059
2254
|
id?: string | undefined;
|
2060
2255
|
}[]] | undefined, "OPTIONAL. A non-empty array of objects as that specifies claims in the requested Credential.">]>;
|
@@ -2066,24 +2261,24 @@ declare namespace DcqlPresentationResult {
|
|
2066
2261
|
vct_values?: string[] | undefined;
|
2067
2262
|
} | undefined, "OPTIONAL. An object defining additional properties requested by the Verifier that apply to the metadata and validity data of the Credential.">]>;
|
2068
2263
|
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'.">]>;
|
2069
|
-
readonly claim_sets: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, undefined>, v.CustomSchema<[string[], ...string[][]], undefined>]>, undefined>, v.DescriptionAction<[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.">]>;
|
2264
|
+
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.">]>;
|
2070
2265
|
}, undefined>, v.ObjectSchema<{
|
2071
2266
|
readonly format: v.PicklistSchema<["jwt_vc_json", "jwt_vc_json-ld"], undefined>;
|
2072
2267
|
readonly claims: v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ObjectSchema<{
|
2073
|
-
readonly id: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<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.">]>;
|
2074
|
-
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.DescriptionAction<(string | number | null)[], "A non-empty array representing a claims path pointer that specifies the path to a claim within the Verifiable Credential.">]>;
|
2268
|
+
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
|
+
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.">]>;
|
2075
2270
|
readonly values: v.SchemaWithPipe<[v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<(string | number | boolean)[] | undefined, "An array of strings, integers or boolean values that specifies the expected values of the claim. If the values property is present, the Wallet SHOULD return the claim only if the type and value of the claim both match for at least one of the elements in the array.">]>;
|
2076
2271
|
}, undefined>, undefined>, v.CustomSchema<[{
|
2077
|
-
path: (string | number | null)[];
|
2272
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2078
2273
|
values?: (string | number | boolean)[] | undefined;
|
2079
2274
|
id?: string | undefined;
|
2080
2275
|
}, ...{
|
2081
|
-
path: (string | number | null)[];
|
2276
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2082
2277
|
values?: (string | number | boolean)[] | undefined;
|
2083
2278
|
id?: string | undefined;
|
2084
2279
|
}[]], undefined>]>, undefined>;
|
2085
2280
|
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'.">]>;
|
2086
|
-
readonly claim_sets: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, undefined>, v.CustomSchema<[string[], ...string[][]], undefined>]>, undefined>, v.DescriptionAction<[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.">]>;
|
2281
|
+
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.">]>;
|
2087
2282
|
}, undefined>], undefined>, undefined>, v.CustomSchema<[{
|
2088
2283
|
id: string;
|
2089
2284
|
format: "mso_mdoc";
|
@@ -2092,13 +2287,23 @@ declare namespace DcqlPresentationResult {
|
|
2092
2287
|
claim_name: string;
|
2093
2288
|
values?: (string | number | boolean)[] | undefined;
|
2094
2289
|
id?: string | undefined;
|
2095
|
-
}
|
2290
|
+
} | {
|
2291
|
+
path: [string, string];
|
2292
|
+
values?: (string | number | boolean)[] | undefined;
|
2293
|
+
id?: string | undefined;
|
2294
|
+
intent_to_retain?: boolean | undefined;
|
2295
|
+
}, ...({
|
2096
2296
|
namespace: string;
|
2097
2297
|
claim_name: string;
|
2098
2298
|
values?: (string | number | boolean)[] | undefined;
|
2099
2299
|
id?: string | undefined;
|
2100
|
-
}
|
2101
|
-
|
2300
|
+
} | {
|
2301
|
+
path: [string, string];
|
2302
|
+
values?: (string | number | boolean)[] | undefined;
|
2303
|
+
id?: string | undefined;
|
2304
|
+
intent_to_retain?: boolean | undefined;
|
2305
|
+
})[]] | undefined;
|
2306
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
2102
2307
|
meta?: {
|
2103
2308
|
doctype_value?: string | undefined;
|
2104
2309
|
} | undefined;
|
@@ -2106,15 +2311,15 @@ declare namespace DcqlPresentationResult {
|
|
2106
2311
|
id: string;
|
2107
2312
|
format: "vc+sd-jwt" | "dc+sd-jwt";
|
2108
2313
|
claims?: [{
|
2109
|
-
path: (string | number | null)[];
|
2314
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2110
2315
|
values?: (string | number | boolean)[] | undefined;
|
2111
2316
|
id?: string | undefined;
|
2112
2317
|
}, ...{
|
2113
|
-
path: (string | number | null)[];
|
2318
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2114
2319
|
values?: (string | number | boolean)[] | undefined;
|
2115
2320
|
id?: string | undefined;
|
2116
2321
|
}[]] | undefined;
|
2117
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
2322
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
2118
2323
|
meta?: {
|
2119
2324
|
vct_values?: string[] | undefined;
|
2120
2325
|
} | undefined;
|
@@ -2122,15 +2327,15 @@ declare namespace DcqlPresentationResult {
|
|
2122
2327
|
id: string;
|
2123
2328
|
format: "jwt_vc_json-ld" | "jwt_vc_json";
|
2124
2329
|
claims?: [{
|
2125
|
-
path: (string | number | null)[];
|
2330
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2126
2331
|
values?: (string | number | boolean)[] | undefined;
|
2127
2332
|
id?: string | undefined;
|
2128
2333
|
}, ...{
|
2129
|
-
path: (string | number | null)[];
|
2334
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2130
2335
|
values?: (string | number | boolean)[] | undefined;
|
2131
2336
|
id?: string | undefined;
|
2132
2337
|
}[]] | undefined;
|
2133
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
2338
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
2134
2339
|
}, ...({
|
2135
2340
|
id: string;
|
2136
2341
|
format: "mso_mdoc";
|
@@ -2139,13 +2344,23 @@ declare namespace DcqlPresentationResult {
|
|
2139
2344
|
claim_name: string;
|
2140
2345
|
values?: (string | number | boolean)[] | undefined;
|
2141
2346
|
id?: string | undefined;
|
2142
|
-
}
|
2347
|
+
} | {
|
2348
|
+
path: [string, string];
|
2349
|
+
values?: (string | number | boolean)[] | undefined;
|
2350
|
+
id?: string | undefined;
|
2351
|
+
intent_to_retain?: boolean | undefined;
|
2352
|
+
}, ...({
|
2143
2353
|
namespace: string;
|
2144
2354
|
claim_name: string;
|
2145
2355
|
values?: (string | number | boolean)[] | undefined;
|
2146
2356
|
id?: string | undefined;
|
2147
|
-
}
|
2148
|
-
|
2357
|
+
} | {
|
2358
|
+
path: [string, string];
|
2359
|
+
values?: (string | number | boolean)[] | undefined;
|
2360
|
+
id?: string | undefined;
|
2361
|
+
intent_to_retain?: boolean | undefined;
|
2362
|
+
})[]] | undefined;
|
2363
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
2149
2364
|
meta?: {
|
2150
2365
|
doctype_value?: string | undefined;
|
2151
2366
|
} | undefined;
|
@@ -2153,15 +2368,15 @@ declare namespace DcqlPresentationResult {
|
|
2153
2368
|
id: string;
|
2154
2369
|
format: "vc+sd-jwt" | "dc+sd-jwt";
|
2155
2370
|
claims?: [{
|
2156
|
-
path: (string | number | null)[];
|
2371
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2157
2372
|
values?: (string | number | boolean)[] | undefined;
|
2158
2373
|
id?: string | undefined;
|
2159
2374
|
}, ...{
|
2160
|
-
path: (string | number | null)[];
|
2375
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2161
2376
|
values?: (string | number | boolean)[] | undefined;
|
2162
2377
|
id?: string | undefined;
|
2163
2378
|
}[]] | undefined;
|
2164
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
2379
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
2165
2380
|
meta?: {
|
2166
2381
|
vct_values?: string[] | undefined;
|
2167
2382
|
} | undefined;
|
@@ -2169,15 +2384,15 @@ declare namespace DcqlPresentationResult {
|
|
2169
2384
|
id: string;
|
2170
2385
|
format: "jwt_vc_json-ld" | "jwt_vc_json";
|
2171
2386
|
claims?: [{
|
2172
|
-
path: (string | number | null)[];
|
2387
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2173
2388
|
values?: (string | number | boolean)[] | undefined;
|
2174
2389
|
id?: string | undefined;
|
2175
2390
|
}, ...{
|
2176
|
-
path: (string | number | null)[];
|
2391
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2177
2392
|
values?: (string | number | boolean)[] | undefined;
|
2178
2393
|
id?: string | undefined;
|
2179
2394
|
}[]] | undefined;
|
2180
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
2395
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
2181
2396
|
})[]], undefined>, v.DescriptionAction<[{
|
2182
2397
|
id: string;
|
2183
2398
|
format: "mso_mdoc";
|
@@ -2186,13 +2401,23 @@ declare namespace DcqlPresentationResult {
|
|
2186
2401
|
claim_name: string;
|
2187
2402
|
values?: (string | number | boolean)[] | undefined;
|
2188
2403
|
id?: string | undefined;
|
2189
|
-
}
|
2404
|
+
} | {
|
2405
|
+
path: [string, string];
|
2406
|
+
values?: (string | number | boolean)[] | undefined;
|
2407
|
+
id?: string | undefined;
|
2408
|
+
intent_to_retain?: boolean | undefined;
|
2409
|
+
}, ...({
|
2190
2410
|
namespace: string;
|
2191
2411
|
claim_name: string;
|
2192
2412
|
values?: (string | number | boolean)[] | undefined;
|
2193
2413
|
id?: string | undefined;
|
2194
|
-
}
|
2195
|
-
|
2414
|
+
} | {
|
2415
|
+
path: [string, string];
|
2416
|
+
values?: (string | number | boolean)[] | undefined;
|
2417
|
+
id?: string | undefined;
|
2418
|
+
intent_to_retain?: boolean | undefined;
|
2419
|
+
})[]] | undefined;
|
2420
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
2196
2421
|
meta?: {
|
2197
2422
|
doctype_value?: string | undefined;
|
2198
2423
|
} | undefined;
|
@@ -2200,15 +2425,15 @@ declare namespace DcqlPresentationResult {
|
|
2200
2425
|
id: string;
|
2201
2426
|
format: "vc+sd-jwt" | "dc+sd-jwt";
|
2202
2427
|
claims?: [{
|
2203
|
-
path: (string | number | null)[];
|
2428
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2204
2429
|
values?: (string | number | boolean)[] | undefined;
|
2205
2430
|
id?: string | undefined;
|
2206
2431
|
}, ...{
|
2207
|
-
path: (string | number | null)[];
|
2432
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2208
2433
|
values?: (string | number | boolean)[] | undefined;
|
2209
2434
|
id?: string | undefined;
|
2210
2435
|
}[]] | undefined;
|
2211
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
2436
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
2212
2437
|
meta?: {
|
2213
2438
|
vct_values?: string[] | undefined;
|
2214
2439
|
} | undefined;
|
@@ -2216,15 +2441,15 @@ declare namespace DcqlPresentationResult {
|
|
2216
2441
|
id: string;
|
2217
2442
|
format: "jwt_vc_json-ld" | "jwt_vc_json";
|
2218
2443
|
claims?: [{
|
2219
|
-
path: (string | number | null)[];
|
2444
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2220
2445
|
values?: (string | number | boolean)[] | undefined;
|
2221
2446
|
id?: string | undefined;
|
2222
2447
|
}, ...{
|
2223
|
-
path: (string | number | null)[];
|
2448
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2224
2449
|
values?: (string | number | boolean)[] | undefined;
|
2225
2450
|
id?: string | undefined;
|
2226
2451
|
}[]] | undefined;
|
2227
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
2452
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
2228
2453
|
}, ...({
|
2229
2454
|
id: string;
|
2230
2455
|
format: "mso_mdoc";
|
@@ -2233,13 +2458,23 @@ declare namespace DcqlPresentationResult {
|
|
2233
2458
|
claim_name: string;
|
2234
2459
|
values?: (string | number | boolean)[] | undefined;
|
2235
2460
|
id?: string | undefined;
|
2236
|
-
}
|
2461
|
+
} | {
|
2462
|
+
path: [string, string];
|
2463
|
+
values?: (string | number | boolean)[] | undefined;
|
2464
|
+
id?: string | undefined;
|
2465
|
+
intent_to_retain?: boolean | undefined;
|
2466
|
+
}, ...({
|
2237
2467
|
namespace: string;
|
2238
2468
|
claim_name: string;
|
2239
2469
|
values?: (string | number | boolean)[] | undefined;
|
2240
2470
|
id?: string | undefined;
|
2241
|
-
}
|
2242
|
-
|
2471
|
+
} | {
|
2472
|
+
path: [string, string];
|
2473
|
+
values?: (string | number | boolean)[] | undefined;
|
2474
|
+
id?: string | undefined;
|
2475
|
+
intent_to_retain?: boolean | undefined;
|
2476
|
+
})[]] | undefined;
|
2477
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
2243
2478
|
meta?: {
|
2244
2479
|
doctype_value?: string | undefined;
|
2245
2480
|
} | undefined;
|
@@ -2247,15 +2482,15 @@ declare namespace DcqlPresentationResult {
|
|
2247
2482
|
id: string;
|
2248
2483
|
format: "vc+sd-jwt" | "dc+sd-jwt";
|
2249
2484
|
claims?: [{
|
2250
|
-
path: (string | number | null)[];
|
2485
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2251
2486
|
values?: (string | number | boolean)[] | undefined;
|
2252
2487
|
id?: string | undefined;
|
2253
2488
|
}, ...{
|
2254
|
-
path: (string | number | null)[];
|
2489
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2255
2490
|
values?: (string | number | boolean)[] | undefined;
|
2256
2491
|
id?: string | undefined;
|
2257
2492
|
}[]] | undefined;
|
2258
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
2493
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
2259
2494
|
meta?: {
|
2260
2495
|
vct_values?: string[] | undefined;
|
2261
2496
|
} | undefined;
|
@@ -2263,19 +2498,19 @@ declare namespace DcqlPresentationResult {
|
|
2263
2498
|
id: string;
|
2264
2499
|
format: "jwt_vc_json-ld" | "jwt_vc_json";
|
2265
2500
|
claims?: [{
|
2266
|
-
path: (string | number | null)[];
|
2501
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2267
2502
|
values?: (string | number | boolean)[] | undefined;
|
2268
2503
|
id?: string | undefined;
|
2269
2504
|
}, ...{
|
2270
|
-
path: (string | number | null)[];
|
2505
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2271
2506
|
values?: (string | number | boolean)[] | undefined;
|
2272
2507
|
id?: string | undefined;
|
2273
2508
|
}[]] | undefined;
|
2274
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
2509
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
2275
2510
|
})[]], "REQUIRED. A non-empty array of Credential Queries that specify the requested Verifiable Credentials.">]>;
|
2276
2511
|
readonly credential_sets: v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ObjectSchema<{
|
2277
2512
|
readonly matching_options: v.UnionSchema<[v.UndefinedSchema<undefined>, v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, v.CustomSchema<[string[], ...string[][]], undefined>]>], undefined>;
|
2278
|
-
readonly options: v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, undefined>, v.CustomSchema<[string[], ...string[][]], undefined>, v.DescriptionAction<[string[], ...string[][]], "REQUIRED. A non-empty array, where each value in the array is a list of Credential Query identifiers representing one set of Credentials that satisfies the use case.">]>;
|
2513
|
+
readonly options: v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.NonEmptyAction<string, undefined>]>, undefined>, undefined>, v.CustomSchema<[string[], ...string[][]], undefined>, v.DescriptionAction<[string[], ...string[][]], "REQUIRED. A non-empty array, where each value in the array is a list of Credential Query identifiers representing one set of Credentials that satisfies the use case.">]>;
|
2279
2514
|
readonly required: v.SchemaWithPipe<[v.OptionalSchema<v.BooleanSchema<undefined>, true>, v.DescriptionAction<boolean, "OPTIONAL. Boolean which indicates whether this set of Credentials is required to satisfy the particular use case at the Verifier. If omitted, the default value is 'true'.">]>;
|
2280
2515
|
readonly purpose: v.SchemaWithPipe<[v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>], undefined>, undefined>, v.DescriptionAction<string | number | {
|
2281
2516
|
[x: string]: unknown;
|
@@ -2322,13 +2557,23 @@ declare namespace DcqlPresentationResult {
|
|
2322
2557
|
claim_name: string;
|
2323
2558
|
values?: (string | number | boolean)[] | undefined;
|
2324
2559
|
id?: string | undefined;
|
2325
|
-
}
|
2560
|
+
} | {
|
2561
|
+
path: [string, string];
|
2562
|
+
values?: (string | number | boolean)[] | undefined;
|
2563
|
+
id?: string | undefined;
|
2564
|
+
intent_to_retain?: boolean | undefined;
|
2565
|
+
}, ...({
|
2326
2566
|
namespace: string;
|
2327
2567
|
claim_name: string;
|
2328
2568
|
values?: (string | number | boolean)[] | undefined;
|
2329
2569
|
id?: string | undefined;
|
2330
|
-
}
|
2331
|
-
|
2570
|
+
} | {
|
2571
|
+
path: [string, string];
|
2572
|
+
values?: (string | number | boolean)[] | undefined;
|
2573
|
+
id?: string | undefined;
|
2574
|
+
intent_to_retain?: boolean | undefined;
|
2575
|
+
})[]] | undefined;
|
2576
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
2332
2577
|
meta?: {
|
2333
2578
|
doctype_value?: string | undefined;
|
2334
2579
|
} | undefined;
|
@@ -2336,15 +2581,15 @@ declare namespace DcqlPresentationResult {
|
|
2336
2581
|
id: string;
|
2337
2582
|
format: "vc+sd-jwt" | "dc+sd-jwt";
|
2338
2583
|
claims?: [{
|
2339
|
-
path: (string | number | null)[];
|
2584
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2340
2585
|
values?: (string | number | boolean)[] | undefined;
|
2341
2586
|
id?: string | undefined;
|
2342
2587
|
}, ...{
|
2343
|
-
path: (string | number | null)[];
|
2588
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2344
2589
|
values?: (string | number | boolean)[] | undefined;
|
2345
2590
|
id?: string | undefined;
|
2346
2591
|
}[]] | undefined;
|
2347
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
2592
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
2348
2593
|
meta?: {
|
2349
2594
|
vct_values?: string[] | undefined;
|
2350
2595
|
} | undefined;
|
@@ -2352,15 +2597,15 @@ declare namespace DcqlPresentationResult {
|
|
2352
2597
|
id: string;
|
2353
2598
|
format: "jwt_vc_json-ld" | "jwt_vc_json";
|
2354
2599
|
claims?: [{
|
2355
|
-
path: (string | number | null)[];
|
2600
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2356
2601
|
values?: (string | number | boolean)[] | undefined;
|
2357
2602
|
id?: string | undefined;
|
2358
2603
|
}, ...{
|
2359
|
-
path: (string | number | null)[];
|
2604
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2360
2605
|
values?: (string | number | boolean)[] | undefined;
|
2361
2606
|
id?: string | undefined;
|
2362
2607
|
}[]] | undefined;
|
2363
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
2608
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
2364
2609
|
}, ...({
|
2365
2610
|
id: string;
|
2366
2611
|
format: "mso_mdoc";
|
@@ -2369,13 +2614,23 @@ declare namespace DcqlPresentationResult {
|
|
2369
2614
|
claim_name: string;
|
2370
2615
|
values?: (string | number | boolean)[] | undefined;
|
2371
2616
|
id?: string | undefined;
|
2372
|
-
}
|
2617
|
+
} | {
|
2618
|
+
path: [string, string];
|
2619
|
+
values?: (string | number | boolean)[] | undefined;
|
2620
|
+
id?: string | undefined;
|
2621
|
+
intent_to_retain?: boolean | undefined;
|
2622
|
+
}, ...({
|
2373
2623
|
namespace: string;
|
2374
2624
|
claim_name: string;
|
2375
2625
|
values?: (string | number | boolean)[] | undefined;
|
2376
2626
|
id?: string | undefined;
|
2377
|
-
}
|
2378
|
-
|
2627
|
+
} | {
|
2628
|
+
path: [string, string];
|
2629
|
+
values?: (string | number | boolean)[] | undefined;
|
2630
|
+
id?: string | undefined;
|
2631
|
+
intent_to_retain?: boolean | undefined;
|
2632
|
+
})[]] | undefined;
|
2633
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
2379
2634
|
meta?: {
|
2380
2635
|
doctype_value?: string | undefined;
|
2381
2636
|
} | undefined;
|
@@ -2383,15 +2638,15 @@ declare namespace DcqlPresentationResult {
|
|
2383
2638
|
id: string;
|
2384
2639
|
format: "vc+sd-jwt" | "dc+sd-jwt";
|
2385
2640
|
claims?: [{
|
2386
|
-
path: (string | number | null)[];
|
2641
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2387
2642
|
values?: (string | number | boolean)[] | undefined;
|
2388
2643
|
id?: string | undefined;
|
2389
2644
|
}, ...{
|
2390
|
-
path: (string | number | null)[];
|
2645
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2391
2646
|
values?: (string | number | boolean)[] | undefined;
|
2392
2647
|
id?: string | undefined;
|
2393
2648
|
}[]] | undefined;
|
2394
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
2649
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
2395
2650
|
meta?: {
|
2396
2651
|
vct_values?: string[] | undefined;
|
2397
2652
|
} | undefined;
|
@@ -2399,15 +2654,15 @@ declare namespace DcqlPresentationResult {
|
|
2399
2654
|
id: string;
|
2400
2655
|
format: "jwt_vc_json-ld" | "jwt_vc_json";
|
2401
2656
|
claims?: [{
|
2402
|
-
path: (string | number | null)[];
|
2657
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2403
2658
|
values?: (string | number | boolean)[] | undefined;
|
2404
2659
|
id?: string | undefined;
|
2405
2660
|
}, ...{
|
2406
|
-
path: (string | number | null)[];
|
2661
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2407
2662
|
values?: (string | number | boolean)[] | undefined;
|
2408
2663
|
id?: string | undefined;
|
2409
2664
|
}[]] | undefined;
|
2410
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
2665
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
2411
2666
|
})[]];
|
2412
2667
|
canBeSatisfied: boolean;
|
2413
2668
|
invalid_matches: {
|
@@ -2483,13 +2738,23 @@ declare namespace DcqlPresentationResult {
|
|
2483
2738
|
claim_name: string;
|
2484
2739
|
values?: (string | number | boolean)[] | undefined;
|
2485
2740
|
id?: string | undefined;
|
2486
|
-
}
|
2741
|
+
} | {
|
2742
|
+
path: [string, string];
|
2743
|
+
values?: (string | number | boolean)[] | undefined;
|
2744
|
+
id?: string | undefined;
|
2745
|
+
intent_to_retain?: boolean | undefined;
|
2746
|
+
}, ...({
|
2487
2747
|
namespace: string;
|
2488
2748
|
claim_name: string;
|
2489
2749
|
values?: (string | number | boolean)[] | undefined;
|
2490
2750
|
id?: string | undefined;
|
2491
|
-
}
|
2492
|
-
|
2751
|
+
} | {
|
2752
|
+
path: [string, string];
|
2753
|
+
values?: (string | number | boolean)[] | undefined;
|
2754
|
+
id?: string | undefined;
|
2755
|
+
intent_to_retain?: boolean | undefined;
|
2756
|
+
})[]] | undefined;
|
2757
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
2493
2758
|
meta?: {
|
2494
2759
|
doctype_value?: string | undefined;
|
2495
2760
|
} | undefined;
|
@@ -2497,15 +2762,15 @@ declare namespace DcqlPresentationResult {
|
|
2497
2762
|
id: string;
|
2498
2763
|
format: "vc+sd-jwt" | "dc+sd-jwt";
|
2499
2764
|
claims?: [{
|
2500
|
-
path: (string | number | null)[];
|
2765
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2501
2766
|
values?: (string | number | boolean)[] | undefined;
|
2502
2767
|
id?: string | undefined;
|
2503
2768
|
}, ...{
|
2504
|
-
path: (string | number | null)[];
|
2769
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2505
2770
|
values?: (string | number | boolean)[] | undefined;
|
2506
2771
|
id?: string | undefined;
|
2507
2772
|
}[]] | undefined;
|
2508
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
2773
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
2509
2774
|
meta?: {
|
2510
2775
|
vct_values?: string[] | undefined;
|
2511
2776
|
} | undefined;
|
@@ -2513,15 +2778,15 @@ declare namespace DcqlPresentationResult {
|
|
2513
2778
|
id: string;
|
2514
2779
|
format: "jwt_vc_json-ld" | "jwt_vc_json";
|
2515
2780
|
claims?: [{
|
2516
|
-
path: (string | number | null)[];
|
2781
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2517
2782
|
values?: (string | number | boolean)[] | undefined;
|
2518
2783
|
id?: string | undefined;
|
2519
2784
|
}, ...{
|
2520
|
-
path: (string | number | null)[];
|
2785
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2521
2786
|
values?: (string | number | boolean)[] | undefined;
|
2522
2787
|
id?: string | undefined;
|
2523
2788
|
}[]] | undefined;
|
2524
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
2789
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
2525
2790
|
}, ...({
|
2526
2791
|
id: string;
|
2527
2792
|
format: "mso_mdoc";
|
@@ -2530,13 +2795,23 @@ declare namespace DcqlPresentationResult {
|
|
2530
2795
|
claim_name: string;
|
2531
2796
|
values?: (string | number | boolean)[] | undefined;
|
2532
2797
|
id?: string | undefined;
|
2533
|
-
}
|
2798
|
+
} | {
|
2799
|
+
path: [string, string];
|
2800
|
+
values?: (string | number | boolean)[] | undefined;
|
2801
|
+
id?: string | undefined;
|
2802
|
+
intent_to_retain?: boolean | undefined;
|
2803
|
+
}, ...({
|
2534
2804
|
namespace: string;
|
2535
2805
|
claim_name: string;
|
2536
2806
|
values?: (string | number | boolean)[] | undefined;
|
2537
2807
|
id?: string | undefined;
|
2538
|
-
}
|
2539
|
-
|
2808
|
+
} | {
|
2809
|
+
path: [string, string];
|
2810
|
+
values?: (string | number | boolean)[] | undefined;
|
2811
|
+
id?: string | undefined;
|
2812
|
+
intent_to_retain?: boolean | undefined;
|
2813
|
+
})[]] | undefined;
|
2814
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
2540
2815
|
meta?: {
|
2541
2816
|
doctype_value?: string | undefined;
|
2542
2817
|
} | undefined;
|
@@ -2544,15 +2819,15 @@ declare namespace DcqlPresentationResult {
|
|
2544
2819
|
id: string;
|
2545
2820
|
format: "vc+sd-jwt" | "dc+sd-jwt";
|
2546
2821
|
claims?: [{
|
2547
|
-
path: (string | number | null)[];
|
2822
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2548
2823
|
values?: (string | number | boolean)[] | undefined;
|
2549
2824
|
id?: string | undefined;
|
2550
2825
|
}, ...{
|
2551
|
-
path: (string | number | null)[];
|
2826
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2552
2827
|
values?: (string | number | boolean)[] | undefined;
|
2553
2828
|
id?: string | undefined;
|
2554
2829
|
}[]] | undefined;
|
2555
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
2830
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
2556
2831
|
meta?: {
|
2557
2832
|
vct_values?: string[] | undefined;
|
2558
2833
|
} | undefined;
|
@@ -2560,15 +2835,15 @@ declare namespace DcqlPresentationResult {
|
|
2560
2835
|
id: string;
|
2561
2836
|
format: "jwt_vc_json-ld" | "jwt_vc_json";
|
2562
2837
|
claims?: [{
|
2563
|
-
path: (string | number | null)[];
|
2838
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2564
2839
|
values?: (string | number | boolean)[] | undefined;
|
2565
2840
|
id?: string | undefined;
|
2566
2841
|
}, ...{
|
2567
|
-
path: (string | number | null)[];
|
2842
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2568
2843
|
values?: (string | number | boolean)[] | undefined;
|
2569
2844
|
id?: string | undefined;
|
2570
2845
|
}[]] | undefined;
|
2571
|
-
claim_sets?: [string[], ...string[][]] | undefined;
|
2846
|
+
claim_sets?: [[string, ...string[]], ...[string, ...string[]][]] | undefined;
|
2572
2847
|
})[]];
|
2573
2848
|
canBeSatisfied: boolean;
|
2574
2849
|
invalid_matches: {
|
@@ -2629,7 +2904,7 @@ declare namespace DcqlPresentationResult {
|
|
2629
2904
|
type DcqlPresentationResult = DcqlPresentationResult.Output;
|
2630
2905
|
|
2631
2906
|
declare namespace DcqlPresentation {
|
2632
|
-
const vModel: v.RecordSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, v.UnionSchema<[v.StringSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<Json, Json, v.BaseIssue<unknown>>, undefined>], undefined>, undefined>;
|
2907
|
+
const vModel: v.RecordSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.NonEmptyAction<string, undefined>]>, v.UnionSchema<[v.StringSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.GenericSchema<Json, Json, v.BaseIssue<unknown>>, undefined>], undefined>, undefined>;
|
2633
2908
|
type Input = v.InferInput<typeof vModel>;
|
2634
2909
|
type Output = v.InferOutput<typeof vModel>;
|
2635
2910
|
const parse: (input: Input | string) => {
|
@@ -2653,26 +2928,50 @@ declare namespace DcqlClaimsQuery {
|
|
2653
2928
|
const vValue: v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>;
|
2654
2929
|
const vPath: v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.NullSchema<undefined>], undefined>;
|
2655
2930
|
const vW3cSdJwtVc: v.ObjectSchema<{
|
2656
|
-
readonly id: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<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.">]>;
|
2657
|
-
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.DescriptionAction<(string | number | null)[], "A non-empty array representing a claims path pointer that specifies the path to a claim within the Verifiable Credential.">]>;
|
2931
|
+
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.">]>;
|
2932
|
+
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.">]>;
|
2658
2933
|
readonly values: v.SchemaWithPipe<[v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<(string | number | boolean)[] | undefined, "An array of strings, integers or boolean values that specifies the expected values of the claim. If the values property is present, the Wallet SHOULD return the claim only if the type and value of the claim both match for at least one of the elements in the array.">]>;
|
2659
2934
|
}, undefined>;
|
2660
2935
|
type W3cAndSdJwtVc = v.InferOutput<typeof vW3cSdJwtVc>;
|
2661
|
-
const
|
2662
|
-
readonly id: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<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.">]>;
|
2936
|
+
const vMdocNamespace: v.ObjectSchema<{
|
2663
2937
|
readonly namespace: v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the namespace of the data element within the mdoc, e.g., org.iso.18013.5.1.">]>;
|
2664
2938
|
readonly claim_name: v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the data element identifier of the data element within the provided namespace in the mdoc, e.g., first_name.">]>;
|
2939
|
+
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.">]>;
|
2665
2940
|
readonly values: v.SchemaWithPipe<[v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<(string | number | boolean)[] | undefined, "An array of strings, integers or boolean values that specifies the expected values of the claim. If the values property is present, the Wallet SHOULD return the claim only if the type and value of the claim both match for at least one of the elements in the array.">]>;
|
2666
2941
|
}, undefined>;
|
2942
|
+
const vMdocPath: v.ObjectSchema<{
|
2943
|
+
readonly intent_to_retain: v.SchemaWithPipe<[v.OptionalSchema<v.BooleanSchema<undefined>, undefined>, v.DescriptionAction<boolean | undefined, "A boolean that is equivalent to `IntentToRetain` variable defined in Section 8.3.2.1.2.1 of [@ISO.18013-5].">]>;
|
2944
|
+
readonly path: v.SchemaWithPipe<[v.TupleSchema<[v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the namespace of the data element within the mdoc, e.g., org.iso.18013.5.1.">]>, v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the data element identifier of the data element within the provided namespace in the mdoc, e.g., first_name.">]>], undefined>, v.DescriptionAction<[string, string], "An array defining a claims path pointer into an mdoc. It must contain two elements of type string. The first element refers to a namespace and the second element refers to a data element identifier.">]>;
|
2945
|
+
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.">]>;
|
2946
|
+
readonly values: v.SchemaWithPipe<[v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<(string | number | boolean)[] | undefined, "An array of strings, integers or boolean values that specifies the expected values of the claim. If the values property is present, the Wallet SHOULD return the claim only if the type and value of the claim both match for at least one of the elements in the array.">]>;
|
2947
|
+
}, undefined>;
|
2948
|
+
const vMdoc: v.UnionSchema<[v.ObjectSchema<{
|
2949
|
+
readonly namespace: v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the namespace of the data element within the mdoc, e.g., org.iso.18013.5.1.">]>;
|
2950
|
+
readonly claim_name: v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the data element identifier of the data element within the provided namespace in the mdoc, e.g., first_name.">]>;
|
2951
|
+
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.">]>;
|
2952
|
+
readonly values: v.SchemaWithPipe<[v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<(string | number | boolean)[] | undefined, "An array of strings, integers or boolean values that specifies the expected values of the claim. If the values property is present, the Wallet SHOULD return the claim only if the type and value of the claim both match for at least one of the elements in the array.">]>;
|
2953
|
+
}, undefined>, v.ObjectSchema<{
|
2954
|
+
readonly intent_to_retain: v.SchemaWithPipe<[v.OptionalSchema<v.BooleanSchema<undefined>, undefined>, v.DescriptionAction<boolean | undefined, "A boolean that is equivalent to `IntentToRetain` variable defined in Section 8.3.2.1.2.1 of [@ISO.18013-5].">]>;
|
2955
|
+
readonly path: v.SchemaWithPipe<[v.TupleSchema<[v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the namespace of the data element within the mdoc, e.g., org.iso.18013.5.1.">]>, v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the data element identifier of the data element within the provided namespace in the mdoc, e.g., first_name.">]>], undefined>, v.DescriptionAction<[string, string], "An array defining a claims path pointer into an mdoc. It must contain two elements of type string. The first element refers to a namespace and the second element refers to a data element identifier.">]>;
|
2956
|
+
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.">]>;
|
2957
|
+
readonly values: v.SchemaWithPipe<[v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<(string | number | boolean)[] | undefined, "An array of strings, integers or boolean values that specifies the expected values of the claim. If the values property is present, the Wallet SHOULD return the claim only if the type and value of the claim both match for at least one of the elements in the array.">]>;
|
2958
|
+
}, undefined>], undefined>;
|
2959
|
+
type MdocNamespace = v.InferOutput<typeof vMdocNamespace>;
|
2960
|
+
type MdocPath = v.InferOutput<typeof vMdocPath>;
|
2667
2961
|
type Mdoc = v.InferOutput<typeof vMdoc>;
|
2668
|
-
const vModel: v.UnionSchema<[v.ObjectSchema<{
|
2669
|
-
readonly id: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<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.">]>;
|
2962
|
+
const vModel: v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
|
2670
2963
|
readonly namespace: v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the namespace of the data element within the mdoc, e.g., org.iso.18013.5.1.">]>;
|
2671
2964
|
readonly claim_name: v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the data element identifier of the data element within the provided namespace in the mdoc, e.g., first_name.">]>;
|
2965
|
+
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.">]>;
|
2672
2966
|
readonly values: v.SchemaWithPipe<[v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<(string | number | boolean)[] | undefined, "An array of strings, integers or boolean values that specifies the expected values of the claim. If the values property is present, the Wallet SHOULD return the claim only if the type and value of the claim both match for at least one of the elements in the array.">]>;
|
2673
2967
|
}, undefined>, v.ObjectSchema<{
|
2674
|
-
readonly
|
2675
|
-
readonly path: v.SchemaWithPipe<[v.
|
2968
|
+
readonly intent_to_retain: v.SchemaWithPipe<[v.OptionalSchema<v.BooleanSchema<undefined>, undefined>, v.DescriptionAction<boolean | undefined, "A boolean that is equivalent to `IntentToRetain` variable defined in Section 8.3.2.1.2.1 of [@ISO.18013-5].">]>;
|
2969
|
+
readonly path: v.SchemaWithPipe<[v.TupleSchema<[v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the namespace of the data element within the mdoc, e.g., org.iso.18013.5.1.">]>, v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the data element identifier of the data element within the provided namespace in the mdoc, e.g., first_name.">]>], undefined>, v.DescriptionAction<[string, string], "An array defining a claims path pointer into an mdoc. It must contain two elements of type string. The first element refers to a namespace and the second element refers to a data element identifier.">]>;
|
2970
|
+
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.">]>;
|
2971
|
+
readonly values: v.SchemaWithPipe<[v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<(string | number | boolean)[] | undefined, "An array of strings, integers or boolean values that specifies the expected values of the claim. If the values property is present, the Wallet SHOULD return the claim only if the type and value of the claim both match for at least one of the elements in the array.">]>;
|
2972
|
+
}, undefined>], undefined>, v.ObjectSchema<{
|
2973
|
+
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.">]>;
|
2974
|
+
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.">]>;
|
2676
2975
|
readonly values: v.SchemaWithPipe<[v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<(string | number | boolean)[] | undefined, "An array of strings, integers or boolean values that specifies the expected values of the claim. If the values property is present, the Wallet SHOULD return the claim only if the type and value of the claim both match for at least one of the elements in the array.">]>;
|
2677
2976
|
}, undefined>], undefined>;
|
2678
2977
|
type Input = v.InferInput<typeof vModel>;
|
@@ -2686,61 +2985,86 @@ type DcqlClaimsQuery = DcqlClaimsQuery.Out;
|
|
2686
2985
|
declare namespace DcqlCredentialQuery {
|
2687
2986
|
const vMdoc: v.ObjectSchema<{
|
2688
2987
|
readonly format: v.SchemaWithPipe<[v.LiteralSchema<"mso_mdoc", undefined>, v.DescriptionAction<"mso_mdoc", "REQUIRED. A string that specifies the format of the requested Verifiable Credential.">]>;
|
2689
|
-
readonly claims: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ObjectSchema<{
|
2690
|
-
readonly id: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<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.">]>;
|
2988
|
+
readonly claims: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
2691
2989
|
readonly namespace: v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the namespace of the data element within the mdoc, e.g., org.iso.18013.5.1.">]>;
|
2692
2990
|
readonly claim_name: v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the data element identifier of the data element within the provided namespace in the mdoc, e.g., first_name.">]>;
|
2991
|
+
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.">]>;
|
2693
2992
|
readonly values: v.SchemaWithPipe<[v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<(string | number | boolean)[] | undefined, "An array of strings, integers or boolean values that specifies the expected values of the claim. If the values property is present, the Wallet SHOULD return the claim only if the type and value of the claim both match for at least one of the elements in the array.">]>;
|
2694
|
-
}, undefined>,
|
2993
|
+
}, undefined>, v.ObjectSchema<{
|
2994
|
+
readonly intent_to_retain: v.SchemaWithPipe<[v.OptionalSchema<v.BooleanSchema<undefined>, undefined>, v.DescriptionAction<boolean | undefined, "A boolean that is equivalent to `IntentToRetain` variable defined in Section 8.3.2.1.2.1 of [@ISO.18013-5].">]>;
|
2995
|
+
readonly path: v.SchemaWithPipe<[v.TupleSchema<[v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the namespace of the data element within the mdoc, e.g., org.iso.18013.5.1.">]>, v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the data element identifier of the data element within the provided namespace in the mdoc, e.g., first_name.">]>], undefined>, v.DescriptionAction<[string, string], "An array defining a claims path pointer into an mdoc. It must contain two elements of type string. The first element refers to a namespace and the second element refers to a data element identifier.">]>;
|
2996
|
+
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.">]>;
|
2997
|
+
readonly values: v.SchemaWithPipe<[v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<(string | number | boolean)[] | undefined, "An array of strings, integers or boolean values that specifies the expected values of the claim. If the values property is present, the Wallet SHOULD return the claim only if the type and value of the claim both match for at least one of the elements in the array.">]>;
|
2998
|
+
}, undefined>], undefined>, undefined>, v.CustomSchema<[{
|
2695
2999
|
namespace: string;
|
2696
3000
|
claim_name: string;
|
2697
3001
|
values?: (string | number | boolean)[] | undefined;
|
2698
3002
|
id?: string | undefined;
|
2699
|
-
}
|
3003
|
+
} | {
|
3004
|
+
path: [string, string];
|
3005
|
+
values?: (string | number | boolean)[] | undefined;
|
3006
|
+
id?: string | undefined;
|
3007
|
+
intent_to_retain?: boolean | undefined;
|
3008
|
+
}, ...({
|
2700
3009
|
namespace: string;
|
2701
3010
|
claim_name: string;
|
2702
3011
|
values?: (string | number | boolean)[] | undefined;
|
2703
3012
|
id?: string | undefined;
|
2704
|
-
}
|
3013
|
+
} | {
|
3014
|
+
path: [string, string];
|
3015
|
+
values?: (string | number | boolean)[] | undefined;
|
3016
|
+
id?: string | undefined;
|
3017
|
+
intent_to_retain?: boolean | undefined;
|
3018
|
+
})[]], undefined>]>, undefined>, v.DescriptionAction<[{
|
2705
3019
|
namespace: string;
|
2706
3020
|
claim_name: string;
|
2707
3021
|
values?: (string | number | boolean)[] | undefined;
|
2708
3022
|
id?: string | undefined;
|
2709
|
-
}
|
3023
|
+
} | {
|
3024
|
+
path: [string, string];
|
3025
|
+
values?: (string | number | boolean)[] | undefined;
|
3026
|
+
id?: string | undefined;
|
3027
|
+
intent_to_retain?: boolean | undefined;
|
3028
|
+
}, ...({
|
2710
3029
|
namespace: string;
|
2711
3030
|
claim_name: string;
|
2712
3031
|
values?: (string | number | boolean)[] | undefined;
|
2713
3032
|
id?: string | undefined;
|
2714
|
-
}
|
3033
|
+
} | {
|
3034
|
+
path: [string, string];
|
3035
|
+
values?: (string | number | boolean)[] | undefined;
|
3036
|
+
id?: string | undefined;
|
3037
|
+
intent_to_retain?: boolean | undefined;
|
3038
|
+
})[]] | undefined, "OPTIONAL. A non-empty array of objects as that specifies claims in the requested Credential.">]>;
|
2715
3039
|
readonly meta: v.SchemaWithPipe<[v.OptionalSchema<v.ObjectSchema<{
|
2716
3040
|
readonly doctype_value: v.SchemaWithPipe<[v.OptionalSchema<v.StringSchema<undefined>, undefined>, v.DescriptionAction<string | undefined, "OPTIONAL. String that specifies an allowed value for the doctype of the requested Verifiable Credential.">]>;
|
2717
3041
|
}, undefined>, undefined>, v.DescriptionAction<{
|
2718
3042
|
doctype_value?: string | undefined;
|
2719
3043
|
} | undefined, "OPTIONAL. An object defining additional properties requested by the Verifier that apply to the metadata and validity data of the Credential.">]>;
|
2720
3044
|
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'.">]>;
|
2721
|
-
readonly claim_sets: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, undefined>, v.CustomSchema<[string[], ...string[][]], undefined>]>, undefined>, v.DescriptionAction<[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.">]>;
|
3045
|
+
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.">]>;
|
2722
3046
|
}, undefined>;
|
2723
3047
|
type Mdoc = v.InferOutput<typeof vMdoc>;
|
2724
3048
|
const vSdJwtVc: v.ObjectSchema<{
|
2725
3049
|
readonly format: v.SchemaWithPipe<[v.PicklistSchema<["vc+sd-jwt", "dc+sd-jwt"], undefined>, v.DescriptionAction<"vc+sd-jwt" | "dc+sd-jwt", "REQUIRED. A string that specifies the format of the requested Verifiable Credential.">]>;
|
2726
3050
|
readonly claims: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ObjectSchema<{
|
2727
|
-
readonly id: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<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.">]>;
|
2728
|
-
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.DescriptionAction<(string | number | null)[], "A non-empty array representing a claims path pointer that specifies the path to a claim within the Verifiable Credential.">]>;
|
3051
|
+
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.">]>;
|
3052
|
+
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.">]>;
|
2729
3053
|
readonly values: v.SchemaWithPipe<[v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<(string | number | boolean)[] | undefined, "An array of strings, integers or boolean values that specifies the expected values of the claim. If the values property is present, the Wallet SHOULD return the claim only if the type and value of the claim both match for at least one of the elements in the array.">]>;
|
2730
3054
|
}, undefined>, undefined>, v.CustomSchema<[{
|
2731
|
-
path: (string | number | null)[];
|
3055
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2732
3056
|
values?: (string | number | boolean)[] | undefined;
|
2733
3057
|
id?: string | undefined;
|
2734
3058
|
}, ...{
|
2735
|
-
path: (string | number | null)[];
|
3059
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2736
3060
|
values?: (string | number | boolean)[] | undefined;
|
2737
3061
|
id?: string | undefined;
|
2738
3062
|
}[]], undefined>]>, undefined>, v.DescriptionAction<[{
|
2739
|
-
path: (string | number | null)[];
|
3063
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2740
3064
|
values?: (string | number | boolean)[] | undefined;
|
2741
3065
|
id?: string | undefined;
|
2742
3066
|
}, ...{
|
2743
|
-
path: (string | number | null)[];
|
3067
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2744
3068
|
values?: (string | number | boolean)[] | undefined;
|
2745
3069
|
id?: string | undefined;
|
2746
3070
|
}[]] | undefined, "OPTIONAL. A non-empty array of objects as that specifies claims in the requested Credential.">]>;
|
@@ -2752,83 +3076,108 @@ declare namespace DcqlCredentialQuery {
|
|
2752
3076
|
vct_values?: string[] | undefined;
|
2753
3077
|
} | undefined, "OPTIONAL. An object defining additional properties requested by the Verifier that apply to the metadata and validity data of the Credential.">]>;
|
2754
3078
|
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'.">]>;
|
2755
|
-
readonly claim_sets: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, undefined>, v.CustomSchema<[string[], ...string[][]], undefined>]>, undefined>, v.DescriptionAction<[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.">]>;
|
3079
|
+
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.">]>;
|
2756
3080
|
}, undefined>;
|
2757
3081
|
type SdJwtVc = v.InferOutput<typeof vSdJwtVc>;
|
2758
3082
|
const vW3cVc: v.ObjectSchema<{
|
2759
3083
|
readonly format: v.PicklistSchema<["jwt_vc_json", "jwt_vc_json-ld"], undefined>;
|
2760
3084
|
readonly claims: v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ObjectSchema<{
|
2761
|
-
readonly id: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<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.">]>;
|
2762
|
-
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.DescriptionAction<(string | number | null)[], "A non-empty array representing a claims path pointer that specifies the path to a claim within the Verifiable Credential.">]>;
|
3085
|
+
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
|
+
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.">]>;
|
2763
3087
|
readonly values: v.SchemaWithPipe<[v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<(string | number | boolean)[] | undefined, "An array of strings, integers or boolean values that specifies the expected values of the claim. If the values property is present, the Wallet SHOULD return the claim only if the type and value of the claim both match for at least one of the elements in the array.">]>;
|
2764
3088
|
}, undefined>, undefined>, v.CustomSchema<[{
|
2765
|
-
path: (string | number | null)[];
|
3089
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2766
3090
|
values?: (string | number | boolean)[] | undefined;
|
2767
3091
|
id?: string | undefined;
|
2768
3092
|
}, ...{
|
2769
|
-
path: (string | number | null)[];
|
3093
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2770
3094
|
values?: (string | number | boolean)[] | undefined;
|
2771
3095
|
id?: string | undefined;
|
2772
3096
|
}[]], undefined>]>, undefined>;
|
2773
3097
|
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'.">]>;
|
2774
|
-
readonly claim_sets: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, undefined>, v.CustomSchema<[string[], ...string[][]], undefined>]>, undefined>, v.DescriptionAction<[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.">]>;
|
3098
|
+
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.">]>;
|
2775
3099
|
}, undefined>;
|
2776
3100
|
type W3cVc = v.InferOutput<typeof vW3cVc>;
|
2777
3101
|
const vModel: v.VariantSchema<"format", [v.ObjectSchema<{
|
2778
3102
|
readonly format: v.SchemaWithPipe<[v.LiteralSchema<"mso_mdoc", undefined>, v.DescriptionAction<"mso_mdoc", "REQUIRED. A string that specifies the format of the requested Verifiable Credential.">]>;
|
2779
|
-
readonly claims: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ObjectSchema<{
|
2780
|
-
readonly id: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<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.">]>;
|
3103
|
+
readonly claims: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
2781
3104
|
readonly namespace: v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the namespace of the data element within the mdoc, e.g., org.iso.18013.5.1.">]>;
|
2782
3105
|
readonly claim_name: v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the data element identifier of the data element within the provided namespace in the mdoc, e.g., first_name.">]>;
|
3106
|
+
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.">]>;
|
2783
3107
|
readonly values: v.SchemaWithPipe<[v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<(string | number | boolean)[] | undefined, "An array of strings, integers or boolean values that specifies the expected values of the claim. If the values property is present, the Wallet SHOULD return the claim only if the type and value of the claim both match for at least one of the elements in the array.">]>;
|
2784
|
-
}, undefined>,
|
3108
|
+
}, undefined>, v.ObjectSchema<{
|
3109
|
+
readonly intent_to_retain: v.SchemaWithPipe<[v.OptionalSchema<v.BooleanSchema<undefined>, undefined>, v.DescriptionAction<boolean | undefined, "A boolean that is equivalent to `IntentToRetain` variable defined in Section 8.3.2.1.2.1 of [@ISO.18013-5].">]>;
|
3110
|
+
readonly path: v.SchemaWithPipe<[v.TupleSchema<[v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the namespace of the data element within the mdoc, e.g., org.iso.18013.5.1.">]>, v.SchemaWithPipe<[v.StringSchema<undefined>, v.DescriptionAction<string, "A string that specifies the data element identifier of the data element within the provided namespace in the mdoc, e.g., first_name.">]>], undefined>, v.DescriptionAction<[string, string], "An array defining a claims path pointer into an mdoc. It must contain two elements of type string. The first element refers to a namespace and the second element refers to a data element identifier.">]>;
|
3111
|
+
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.">]>;
|
3112
|
+
readonly values: v.SchemaWithPipe<[v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<(string | number | boolean)[] | undefined, "An array of strings, integers or boolean values that specifies the expected values of the claim. If the values property is present, the Wallet SHOULD return the claim only if the type and value of the claim both match for at least one of the elements in the array.">]>;
|
3113
|
+
}, undefined>], undefined>, undefined>, v.CustomSchema<[{
|
2785
3114
|
namespace: string;
|
2786
3115
|
claim_name: string;
|
2787
3116
|
values?: (string | number | boolean)[] | undefined;
|
2788
3117
|
id?: string | undefined;
|
2789
|
-
}
|
3118
|
+
} | {
|
3119
|
+
path: [string, string];
|
3120
|
+
values?: (string | number | boolean)[] | undefined;
|
3121
|
+
id?: string | undefined;
|
3122
|
+
intent_to_retain?: boolean | undefined;
|
3123
|
+
}, ...({
|
2790
3124
|
namespace: string;
|
2791
3125
|
claim_name: string;
|
2792
3126
|
values?: (string | number | boolean)[] | undefined;
|
2793
3127
|
id?: string | undefined;
|
2794
|
-
}
|
3128
|
+
} | {
|
3129
|
+
path: [string, string];
|
3130
|
+
values?: (string | number | boolean)[] | undefined;
|
3131
|
+
id?: string | undefined;
|
3132
|
+
intent_to_retain?: boolean | undefined;
|
3133
|
+
})[]], undefined>]>, undefined>, v.DescriptionAction<[{
|
2795
3134
|
namespace: string;
|
2796
3135
|
claim_name: string;
|
2797
3136
|
values?: (string | number | boolean)[] | undefined;
|
2798
3137
|
id?: string | undefined;
|
2799
|
-
}
|
3138
|
+
} | {
|
3139
|
+
path: [string, string];
|
3140
|
+
values?: (string | number | boolean)[] | undefined;
|
3141
|
+
id?: string | undefined;
|
3142
|
+
intent_to_retain?: boolean | undefined;
|
3143
|
+
}, ...({
|
2800
3144
|
namespace: string;
|
2801
3145
|
claim_name: string;
|
2802
3146
|
values?: (string | number | boolean)[] | undefined;
|
2803
3147
|
id?: string | undefined;
|
2804
|
-
}
|
3148
|
+
} | {
|
3149
|
+
path: [string, string];
|
3150
|
+
values?: (string | number | boolean)[] | undefined;
|
3151
|
+
id?: string | undefined;
|
3152
|
+
intent_to_retain?: boolean | undefined;
|
3153
|
+
})[]] | undefined, "OPTIONAL. A non-empty array of objects as that specifies claims in the requested Credential.">]>;
|
2805
3154
|
readonly meta: v.SchemaWithPipe<[v.OptionalSchema<v.ObjectSchema<{
|
2806
3155
|
readonly doctype_value: v.SchemaWithPipe<[v.OptionalSchema<v.StringSchema<undefined>, undefined>, v.DescriptionAction<string | undefined, "OPTIONAL. String that specifies an allowed value for the doctype of the requested Verifiable Credential.">]>;
|
2807
3156
|
}, undefined>, undefined>, v.DescriptionAction<{
|
2808
3157
|
doctype_value?: string | undefined;
|
2809
3158
|
} | undefined, "OPTIONAL. An object defining additional properties requested by the Verifier that apply to the metadata and validity data of the Credential.">]>;
|
2810
3159
|
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'.">]>;
|
2811
|
-
readonly claim_sets: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, undefined>, v.CustomSchema<[string[], ...string[][]], undefined>]>, undefined>, v.DescriptionAction<[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.">]>;
|
3160
|
+
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.">]>;
|
2812
3161
|
}, undefined>, v.ObjectSchema<{
|
2813
3162
|
readonly format: v.SchemaWithPipe<[v.PicklistSchema<["vc+sd-jwt", "dc+sd-jwt"], undefined>, v.DescriptionAction<"vc+sd-jwt" | "dc+sd-jwt", "REQUIRED. A string that specifies the format of the requested Verifiable Credential.">]>;
|
2814
3163
|
readonly claims: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ObjectSchema<{
|
2815
|
-
readonly id: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<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.">]>;
|
2816
|
-
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.DescriptionAction<(string | number | null)[], "A non-empty array representing a claims path pointer that specifies the path to a claim within the Verifiable Credential.">]>;
|
3164
|
+
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.">]>;
|
3165
|
+
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.">]>;
|
2817
3166
|
readonly values: v.SchemaWithPipe<[v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<(string | number | boolean)[] | undefined, "An array of strings, integers or boolean values that specifies the expected values of the claim. If the values property is present, the Wallet SHOULD return the claim only if the type and value of the claim both match for at least one of the elements in the array.">]>;
|
2818
3167
|
}, undefined>, undefined>, v.CustomSchema<[{
|
2819
|
-
path: (string | number | null)[];
|
3168
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2820
3169
|
values?: (string | number | boolean)[] | undefined;
|
2821
3170
|
id?: string | undefined;
|
2822
3171
|
}, ...{
|
2823
|
-
path: (string | number | null)[];
|
3172
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2824
3173
|
values?: (string | number | boolean)[] | undefined;
|
2825
3174
|
id?: string | undefined;
|
2826
3175
|
}[]], undefined>]>, undefined>, v.DescriptionAction<[{
|
2827
|
-
path: (string | number | null)[];
|
3176
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2828
3177
|
values?: (string | number | boolean)[] | undefined;
|
2829
3178
|
id?: string | undefined;
|
2830
3179
|
}, ...{
|
2831
|
-
path: (string | number | null)[];
|
3180
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2832
3181
|
values?: (string | number | boolean)[] | undefined;
|
2833
3182
|
id?: string | undefined;
|
2834
3183
|
}[]] | undefined, "OPTIONAL. A non-empty array of objects as that specifies claims in the requested Credential.">]>;
|
@@ -2840,24 +3189,24 @@ declare namespace DcqlCredentialQuery {
|
|
2840
3189
|
vct_values?: string[] | undefined;
|
2841
3190
|
} | undefined, "OPTIONAL. An object defining additional properties requested by the Verifier that apply to the metadata and validity data of the Credential.">]>;
|
2842
3191
|
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'.">]>;
|
2843
|
-
readonly claim_sets: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, undefined>, v.CustomSchema<[string[], ...string[][]], undefined>]>, undefined>, v.DescriptionAction<[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.">]>;
|
3192
|
+
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.">]>;
|
2844
3193
|
}, undefined>, v.ObjectSchema<{
|
2845
3194
|
readonly format: v.PicklistSchema<["jwt_vc_json", "jwt_vc_json-ld"], undefined>;
|
2846
3195
|
readonly claims: v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ObjectSchema<{
|
2847
|
-
readonly id: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<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.">]>;
|
2848
|
-
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.DescriptionAction<(string | number | null)[], "A non-empty array representing a claims path pointer that specifies the path to a claim within the Verifiable Credential.">]>;
|
3196
|
+
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
|
+
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.">]>;
|
2849
3198
|
readonly values: v.SchemaWithPipe<[v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.BooleanSchema<undefined>], undefined>, undefined>, undefined>, v.DescriptionAction<(string | number | boolean)[] | undefined, "An array of strings, integers or boolean values that specifies the expected values of the claim. If the values property is present, the Wallet SHOULD return the claim only if the type and value of the claim both match for at least one of the elements in the array.">]>;
|
2850
3199
|
}, undefined>, undefined>, v.CustomSchema<[{
|
2851
|
-
path: (string | number | null)[];
|
3200
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2852
3201
|
values?: (string | number | boolean)[] | undefined;
|
2853
3202
|
id?: string | undefined;
|
2854
3203
|
}, ...{
|
2855
|
-
path: (string | number | null)[];
|
3204
|
+
path: [string | number | null, ...(string | number | null)[]];
|
2856
3205
|
values?: (string | number | boolean)[] | undefined;
|
2857
3206
|
id?: string | undefined;
|
2858
3207
|
}[]], undefined>]>, undefined>;
|
2859
3208
|
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'.">]>;
|
2860
|
-
readonly claim_sets: v.SchemaWithPipe<[v.OptionalSchema<v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, undefined>, v.CustomSchema<[string[], ...string[][]], undefined>]>, undefined>, v.DescriptionAction<[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.">]>;
|
3209
|
+
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.">]>;
|
2861
3210
|
}, undefined>], undefined>;
|
2862
3211
|
type Input = v.InferInput<typeof vModel>;
|
2863
3212
|
type Output = v.InferOutput<typeof vModel>;
|
@@ -2871,7 +3220,7 @@ type DcqlCredentialQuery = DcqlCredentialQuery.Output;
|
|
2871
3220
|
*/
|
2872
3221
|
declare namespace CredentialSetQuery {
|
2873
3222
|
const vModel: v.ObjectSchema<{
|
2874
|
-
readonly options: v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>, undefined>, v.CustomSchema<[string[], ...string[][]], undefined>, v.DescriptionAction<[string[], ...string[][]], "REQUIRED. A non-empty array, where each value in the array is a list of Credential Query identifiers representing one set of Credentials that satisfies the use case.">]>;
|
3223
|
+
readonly options: v.SchemaWithPipe<[v.ArraySchema<v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.NonEmptyAction<string, undefined>]>, undefined>, undefined>, v.CustomSchema<[string[], ...string[][]], undefined>, v.DescriptionAction<[string[], ...string[][]], "REQUIRED. A non-empty array, where each value in the array is a list of Credential Query identifiers representing one set of Credentials that satisfies the use case.">]>;
|
2875
3224
|
readonly required: v.SchemaWithPipe<[v.OptionalSchema<v.BooleanSchema<undefined>, true>, v.DescriptionAction<boolean, "OPTIONAL. Boolean which indicates whether this set of Credentials is required to satisfy the particular use case at the Verifier. If omitted, the default value is 'true'.">]>;
|
2876
3225
|
readonly purpose: v.SchemaWithPipe<[v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>], undefined>, undefined>, v.DescriptionAction<string | number | {
|
2877
3226
|
[x: string]: unknown;
|