@eudiplo/cli 9.1.0-main.db0db97 → 9.1.0-main.e4e29b5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +808 -2
- package/package.json +1 -1
- package/templates/demo-config/clients/test.json +2 -1
- package/templates/schemas/CreateTenantDto.schema.json +1 -1
- package/templates/schemas/CredentialConfigCreate.schema.json +6 -5
- package/templates/schemas/CredentialConfigFile.schema.json +796 -1
package/dist/index.js
CHANGED
|
@@ -14914,7 +14914,7 @@ var CONFIG_FORMATS = {
|
|
|
14914
14914
|
CredentialConfig: {
|
|
14915
14915
|
slug: "credential-config",
|
|
14916
14916
|
file: "CredentialConfigFile",
|
|
14917
|
-
version:
|
|
14917
|
+
version: 2
|
|
14918
14918
|
},
|
|
14919
14919
|
PresentationConfig: {
|
|
14920
14920
|
slug: "presentation-config",
|
|
@@ -15001,6 +15001,16 @@ var CONFIG_MIGRATIONS = [
|
|
|
15001
15001
|
// list references: a v2 spec is a valid v3 spec.
|
|
15002
15002
|
migrate: (spec) => ({ spec })
|
|
15003
15003
|
},
|
|
15004
|
+
{
|
|
15005
|
+
id: "credential-config-v2-x509-trusted-authority",
|
|
15006
|
+
kind: "CredentialConfig",
|
|
15007
|
+
from: 1,
|
|
15008
|
+
to: 2,
|
|
15009
|
+
// v2 only adds the frameworkType `x509` to schemaMeta trusted
|
|
15010
|
+
// authorities, which schema metadata publishing already writes: a v1
|
|
15011
|
+
// spec is a valid v2 spec.
|
|
15012
|
+
migrate: (spec) => ({ spec })
|
|
15013
|
+
},
|
|
15004
15014
|
presentationConfigV1ToV2,
|
|
15005
15015
|
{
|
|
15006
15016
|
id: "presentation-config-v3-typed-claim-values",
|
|
@@ -20079,6 +20089,802 @@ var CONFIG_SCHEMAS = [
|
|
|
20079
20089
|
}
|
|
20080
20090
|
}
|
|
20081
20091
|
},
|
|
20092
|
+
{
|
|
20093
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
20094
|
+
"$id": "https://eudiplo.dev/schemas/v2/CredentialConfigFile.schema.json",
|
|
20095
|
+
"title": "CredentialConfigFile",
|
|
20096
|
+
"type": "object",
|
|
20097
|
+
"properties": {
|
|
20098
|
+
"$schema": {
|
|
20099
|
+
"type": "string",
|
|
20100
|
+
"const": "https://eudiplo.dev/schemas/v2/CredentialConfigFile.schema.json"
|
|
20101
|
+
},
|
|
20102
|
+
"metadata": {
|
|
20103
|
+
"type": "object",
|
|
20104
|
+
"properties": {
|
|
20105
|
+
"generation": {
|
|
20106
|
+
"type": "integer",
|
|
20107
|
+
"minimum": 1,
|
|
20108
|
+
"description": "Monotonically increasing configuration generation."
|
|
20109
|
+
},
|
|
20110
|
+
"ownership": {
|
|
20111
|
+
"type": "string",
|
|
20112
|
+
"enum": [
|
|
20113
|
+
"unmanaged",
|
|
20114
|
+
"file-managed"
|
|
20115
|
+
],
|
|
20116
|
+
"description": "Requested ownership recorded when the document is applied."
|
|
20117
|
+
}
|
|
20118
|
+
},
|
|
20119
|
+
"additionalProperties": false
|
|
20120
|
+
},
|
|
20121
|
+
"spec": {
|
|
20122
|
+
"allOf": [
|
|
20123
|
+
{
|
|
20124
|
+
"$ref": "#/$defs/CredentialConfigCreate"
|
|
20125
|
+
},
|
|
20126
|
+
{
|
|
20127
|
+
"type": "object",
|
|
20128
|
+
"required": [
|
|
20129
|
+
"id"
|
|
20130
|
+
],
|
|
20131
|
+
"properties": {
|
|
20132
|
+
"id": {
|
|
20133
|
+
"type": "string",
|
|
20134
|
+
"minLength": 1
|
|
20135
|
+
}
|
|
20136
|
+
}
|
|
20137
|
+
}
|
|
20138
|
+
]
|
|
20139
|
+
}
|
|
20140
|
+
},
|
|
20141
|
+
"required": [
|
|
20142
|
+
"$schema",
|
|
20143
|
+
"spec"
|
|
20144
|
+
],
|
|
20145
|
+
"additionalProperties": false,
|
|
20146
|
+
"$defs": {
|
|
20147
|
+
"CredentialConfigCreate": {
|
|
20148
|
+
"type": "object",
|
|
20149
|
+
"properties": {
|
|
20150
|
+
"id": {
|
|
20151
|
+
"type": "string",
|
|
20152
|
+
"minLength": 1,
|
|
20153
|
+
"description": "Credential configuration identifier."
|
|
20154
|
+
},
|
|
20155
|
+
"description": {
|
|
20156
|
+
"description": "Optional description for operators and tooling.",
|
|
20157
|
+
"type": [
|
|
20158
|
+
"string",
|
|
20159
|
+
"null"
|
|
20160
|
+
]
|
|
20161
|
+
},
|
|
20162
|
+
"config": {
|
|
20163
|
+
"type": "object",
|
|
20164
|
+
"properties": {
|
|
20165
|
+
"format": {
|
|
20166
|
+
"type": "string",
|
|
20167
|
+
"enum": [
|
|
20168
|
+
"mso_mdoc",
|
|
20169
|
+
"dc+sd-jwt"
|
|
20170
|
+
],
|
|
20171
|
+
"description": "Credential format emitted by this configuration."
|
|
20172
|
+
},
|
|
20173
|
+
"display": {
|
|
20174
|
+
"type": "array",
|
|
20175
|
+
"items": {
|
|
20176
|
+
"type": "object",
|
|
20177
|
+
"properties": {
|
|
20178
|
+
"locale": {
|
|
20179
|
+
"type": "string",
|
|
20180
|
+
"minLength": 1,
|
|
20181
|
+
"description": "Locale tag for the display entry."
|
|
20182
|
+
},
|
|
20183
|
+
"name": {
|
|
20184
|
+
"type": "string",
|
|
20185
|
+
"minLength": 1,
|
|
20186
|
+
"description": "Human-readable field name."
|
|
20187
|
+
},
|
|
20188
|
+
"description": {
|
|
20189
|
+
"description": "Optional field description for this locale.",
|
|
20190
|
+
"type": "string"
|
|
20191
|
+
},
|
|
20192
|
+
"background_color": {
|
|
20193
|
+
"description": "Optional background color for card-style rendering.",
|
|
20194
|
+
"type": "string"
|
|
20195
|
+
},
|
|
20196
|
+
"text_color": {
|
|
20197
|
+
"description": "Optional text color for card-style rendering.",
|
|
20198
|
+
"type": "string"
|
|
20199
|
+
},
|
|
20200
|
+
"background_image": {
|
|
20201
|
+
"description": "Optional background image.",
|
|
20202
|
+
"type": "object",
|
|
20203
|
+
"properties": {
|
|
20204
|
+
"uri": {
|
|
20205
|
+
"type": "string",
|
|
20206
|
+
"minLength": 1,
|
|
20207
|
+
"description": "Image URI."
|
|
20208
|
+
}
|
|
20209
|
+
},
|
|
20210
|
+
"required": [
|
|
20211
|
+
"uri"
|
|
20212
|
+
],
|
|
20213
|
+
"additionalProperties": false
|
|
20214
|
+
},
|
|
20215
|
+
"logo": {
|
|
20216
|
+
"description": "Optional logo image.",
|
|
20217
|
+
"type": "object",
|
|
20218
|
+
"properties": {
|
|
20219
|
+
"uri": {
|
|
20220
|
+
"type": "string",
|
|
20221
|
+
"minLength": 1,
|
|
20222
|
+
"description": "Image URI."
|
|
20223
|
+
}
|
|
20224
|
+
},
|
|
20225
|
+
"required": [
|
|
20226
|
+
"uri"
|
|
20227
|
+
],
|
|
20228
|
+
"additionalProperties": false
|
|
20229
|
+
}
|
|
20230
|
+
},
|
|
20231
|
+
"required": [
|
|
20232
|
+
"locale",
|
|
20233
|
+
"name"
|
|
20234
|
+
],
|
|
20235
|
+
"additionalProperties": false
|
|
20236
|
+
},
|
|
20237
|
+
"description": "Display metadata shown by wallets."
|
|
20238
|
+
},
|
|
20239
|
+
"scope": {
|
|
20240
|
+
"description": "Optional OAuth scope associated with this credential type.",
|
|
20241
|
+
"type": "string"
|
|
20242
|
+
},
|
|
20243
|
+
"docType": {
|
|
20244
|
+
"description": "Optional mDoc document type.",
|
|
20245
|
+
"type": "string"
|
|
20246
|
+
},
|
|
20247
|
+
"keyAttestationsRequired": {
|
|
20248
|
+
"description": "Optional key attestation requirements.",
|
|
20249
|
+
"type": "object",
|
|
20250
|
+
"properties": {
|
|
20251
|
+
"key_storage": {
|
|
20252
|
+
"description": "Required key storage attestations.",
|
|
20253
|
+
"type": "array",
|
|
20254
|
+
"items": {
|
|
20255
|
+
"type": "string"
|
|
20256
|
+
}
|
|
20257
|
+
},
|
|
20258
|
+
"user_authentication": {
|
|
20259
|
+
"description": "Required user authentication attestations.",
|
|
20260
|
+
"type": "array",
|
|
20261
|
+
"items": {
|
|
20262
|
+
"type": "string"
|
|
20263
|
+
}
|
|
20264
|
+
}
|
|
20265
|
+
},
|
|
20266
|
+
"additionalProperties": false
|
|
20267
|
+
},
|
|
20268
|
+
"proofTypesSupported": {
|
|
20269
|
+
"description": "Supported proof types for issuance requests.",
|
|
20270
|
+
"type": "array",
|
|
20271
|
+
"items": {
|
|
20272
|
+
"type": "string",
|
|
20273
|
+
"enum": [
|
|
20274
|
+
"jwt",
|
|
20275
|
+
"attestation"
|
|
20276
|
+
]
|
|
20277
|
+
}
|
|
20278
|
+
},
|
|
20279
|
+
"credentialReusePolicy": {
|
|
20280
|
+
"description": "Optional PID/EAA reuse policy published in credential metadata.",
|
|
20281
|
+
"type": "object",
|
|
20282
|
+
"properties": {
|
|
20283
|
+
"id": {
|
|
20284
|
+
"type": "string",
|
|
20285
|
+
"minLength": 1
|
|
20286
|
+
},
|
|
20287
|
+
"options": {
|
|
20288
|
+
"type": "array",
|
|
20289
|
+
"items": {
|
|
20290
|
+
"type": "object",
|
|
20291
|
+
"properties": {
|
|
20292
|
+
"details": {
|
|
20293
|
+
"minItems": 1,
|
|
20294
|
+
"type": "array",
|
|
20295
|
+
"items": {
|
|
20296
|
+
"type": "string",
|
|
20297
|
+
"enum": [
|
|
20298
|
+
"once_only",
|
|
20299
|
+
"limited_time",
|
|
20300
|
+
"limited-time",
|
|
20301
|
+
"rotating-batch",
|
|
20302
|
+
"per-relying-party"
|
|
20303
|
+
]
|
|
20304
|
+
}
|
|
20305
|
+
},
|
|
20306
|
+
"batch_size": {
|
|
20307
|
+
"type": "integer",
|
|
20308
|
+
"minimum": 2,
|
|
20309
|
+
"maximum": 9007199254740991
|
|
20310
|
+
},
|
|
20311
|
+
"reissue_trigger_unused": {
|
|
20312
|
+
"type": "integer",
|
|
20313
|
+
"minimum": 0,
|
|
20314
|
+
"maximum": 9007199254740991
|
|
20315
|
+
},
|
|
20316
|
+
"reissue_trigger_lifetime_left": {
|
|
20317
|
+
"type": "integer",
|
|
20318
|
+
"minimum": 0,
|
|
20319
|
+
"maximum": 9007199254740991
|
|
20320
|
+
}
|
|
20321
|
+
},
|
|
20322
|
+
"required": [
|
|
20323
|
+
"details"
|
|
20324
|
+
],
|
|
20325
|
+
"additionalProperties": false
|
|
20326
|
+
}
|
|
20327
|
+
}
|
|
20328
|
+
},
|
|
20329
|
+
"required": [
|
|
20330
|
+
"id"
|
|
20331
|
+
],
|
|
20332
|
+
"additionalProperties": false
|
|
20333
|
+
}
|
|
20334
|
+
},
|
|
20335
|
+
"required": [
|
|
20336
|
+
"format",
|
|
20337
|
+
"display"
|
|
20338
|
+
],
|
|
20339
|
+
"additionalProperties": false,
|
|
20340
|
+
"description": "Issuer metadata-facing credential configuration."
|
|
20341
|
+
},
|
|
20342
|
+
"fields": {
|
|
20343
|
+
"type": "array",
|
|
20344
|
+
"items": {
|
|
20345
|
+
"$ref": "#/$defs/CredentialConfigCreate/$defs/__schema0"
|
|
20346
|
+
},
|
|
20347
|
+
"description": "Claim field definitions for credential issuance."
|
|
20348
|
+
},
|
|
20349
|
+
"attributeProviderId": {
|
|
20350
|
+
"description": "Optional attribute provider id used to resolve claim values.",
|
|
20351
|
+
"type": [
|
|
20352
|
+
"string",
|
|
20353
|
+
"null"
|
|
20354
|
+
]
|
|
20355
|
+
},
|
|
20356
|
+
"webhookEndpointId": {
|
|
20357
|
+
"description": "Not used for notifications: they go to the webhook endpoint of the offer.",
|
|
20358
|
+
"type": [
|
|
20359
|
+
"string",
|
|
20360
|
+
"null"
|
|
20361
|
+
]
|
|
20362
|
+
},
|
|
20363
|
+
"vct": {
|
|
20364
|
+
"description": "Optional VCT value or structured VCT metadata.",
|
|
20365
|
+
"anyOf": [
|
|
20366
|
+
{
|
|
20367
|
+
"type": "string"
|
|
20368
|
+
},
|
|
20369
|
+
{
|
|
20370
|
+
"type": "object",
|
|
20371
|
+
"properties": {
|
|
20372
|
+
"vct": {
|
|
20373
|
+
"description": "VCT identifier.",
|
|
20374
|
+
"type": "string"
|
|
20375
|
+
},
|
|
20376
|
+
"name": {
|
|
20377
|
+
"description": "Human-readable VCT name.",
|
|
20378
|
+
"type": "string"
|
|
20379
|
+
},
|
|
20380
|
+
"description": {
|
|
20381
|
+
"description": "Optional VCT description.",
|
|
20382
|
+
"type": "string"
|
|
20383
|
+
},
|
|
20384
|
+
"extends": {
|
|
20385
|
+
"description": "Optional base VCT reference.",
|
|
20386
|
+
"type": "string"
|
|
20387
|
+
},
|
|
20388
|
+
"extends#integrity": {
|
|
20389
|
+
"description": "Integrity hash for the extends reference.",
|
|
20390
|
+
"type": "string"
|
|
20391
|
+
},
|
|
20392
|
+
"schema_uri": {
|
|
20393
|
+
"description": "Optional schema URI for the VCT.",
|
|
20394
|
+
"type": "string"
|
|
20395
|
+
},
|
|
20396
|
+
"schema_uri#integrity": {
|
|
20397
|
+
"description": "Integrity hash for schema_uri.",
|
|
20398
|
+
"type": "string"
|
|
20399
|
+
}
|
|
20400
|
+
},
|
|
20401
|
+
"additionalProperties": false
|
|
20402
|
+
},
|
|
20403
|
+
{
|
|
20404
|
+
"type": "null"
|
|
20405
|
+
}
|
|
20406
|
+
]
|
|
20407
|
+
},
|
|
20408
|
+
"keyBinding": {
|
|
20409
|
+
"description": "Enable key binding requirements.",
|
|
20410
|
+
"type": "boolean"
|
|
20411
|
+
},
|
|
20412
|
+
"keyChainId": {
|
|
20413
|
+
"description": "Optional key chain id used for credential signing.",
|
|
20414
|
+
"type": "string",
|
|
20415
|
+
"minLength": 1
|
|
20416
|
+
},
|
|
20417
|
+
"statusManagement": {
|
|
20418
|
+
"description": "Enable status management for issued credentials.",
|
|
20419
|
+
"type": "boolean"
|
|
20420
|
+
},
|
|
20421
|
+
"activeCredentials": {
|
|
20422
|
+
"description": "Optional issuer-side policy limiting simultaneously active credentials per subject. Requires statusManagement.",
|
|
20423
|
+
"anyOf": [
|
|
20424
|
+
{
|
|
20425
|
+
"type": "object",
|
|
20426
|
+
"properties": {
|
|
20427
|
+
"enabled": {
|
|
20428
|
+
"type": "boolean",
|
|
20429
|
+
"description": "Ensure a subject has at most one active credential of this configuration."
|
|
20430
|
+
},
|
|
20431
|
+
"tracking": {
|
|
20432
|
+
"description": "How the subject's active credential set is tracked. Only 'internal' (pseudonymous, issuer-side) is currently supported.",
|
|
20433
|
+
"type": "string",
|
|
20434
|
+
"enum": [
|
|
20435
|
+
"internal"
|
|
20436
|
+
]
|
|
20437
|
+
}
|
|
20438
|
+
},
|
|
20439
|
+
"required": [
|
|
20440
|
+
"enabled"
|
|
20441
|
+
],
|
|
20442
|
+
"additionalProperties": false,
|
|
20443
|
+
"description": "Issuer-side policy limiting the number of simultaneously active credentials per subject."
|
|
20444
|
+
},
|
|
20445
|
+
{
|
|
20446
|
+
"type": "null"
|
|
20447
|
+
}
|
|
20448
|
+
]
|
|
20449
|
+
},
|
|
20450
|
+
"iaeActions": {
|
|
20451
|
+
"description": "Interactive authorization steps (a presentation or a web flow) that the wallet completes, in order, before the credential is issued.",
|
|
20452
|
+
"anyOf": [
|
|
20453
|
+
{
|
|
20454
|
+
"type": "array",
|
|
20455
|
+
"items": {
|
|
20456
|
+
"oneOf": [
|
|
20457
|
+
{
|
|
20458
|
+
"type": "object",
|
|
20459
|
+
"properties": {
|
|
20460
|
+
"type": {
|
|
20461
|
+
"type": "string",
|
|
20462
|
+
"const": "openid4vp_presentation",
|
|
20463
|
+
"description": "Trigger an OpenID4VP presentation action."
|
|
20464
|
+
},
|
|
20465
|
+
"label": {
|
|
20466
|
+
"description": "Optional UI label for the action.",
|
|
20467
|
+
"type": "string"
|
|
20468
|
+
},
|
|
20469
|
+
"presentationConfigId": {
|
|
20470
|
+
"type": "string",
|
|
20471
|
+
"minLength": 1,
|
|
20472
|
+
"description": "Presentation configuration id to execute."
|
|
20473
|
+
}
|
|
20474
|
+
},
|
|
20475
|
+
"required": [
|
|
20476
|
+
"type",
|
|
20477
|
+
"presentationConfigId"
|
|
20478
|
+
],
|
|
20479
|
+
"additionalProperties": false
|
|
20480
|
+
},
|
|
20481
|
+
{
|
|
20482
|
+
"type": "object",
|
|
20483
|
+
"properties": {
|
|
20484
|
+
"type": {
|
|
20485
|
+
"type": "string",
|
|
20486
|
+
"const": "redirect_to_web",
|
|
20487
|
+
"description": "Trigger a redirect-to-web action."
|
|
20488
|
+
},
|
|
20489
|
+
"label": {
|
|
20490
|
+
"description": "Optional UI label for the action.",
|
|
20491
|
+
"type": "string"
|
|
20492
|
+
},
|
|
20493
|
+
"url": {
|
|
20494
|
+
"type": "string",
|
|
20495
|
+
"format": "uri",
|
|
20496
|
+
"description": "Destination URL for the redirect action."
|
|
20497
|
+
},
|
|
20498
|
+
"callbackUrl": {
|
|
20499
|
+
"description": "Optional callback URL after redirect completion.",
|
|
20500
|
+
"type": "string",
|
|
20501
|
+
"format": "uri"
|
|
20502
|
+
},
|
|
20503
|
+
"description": {
|
|
20504
|
+
"description": "Optional action description.",
|
|
20505
|
+
"type": "string"
|
|
20506
|
+
}
|
|
20507
|
+
},
|
|
20508
|
+
"required": [
|
|
20509
|
+
"type",
|
|
20510
|
+
"url"
|
|
20511
|
+
],
|
|
20512
|
+
"additionalProperties": false
|
|
20513
|
+
}
|
|
20514
|
+
],
|
|
20515
|
+
"description": "In-app experience action definitions."
|
|
20516
|
+
}
|
|
20517
|
+
},
|
|
20518
|
+
{
|
|
20519
|
+
"type": "null"
|
|
20520
|
+
}
|
|
20521
|
+
]
|
|
20522
|
+
},
|
|
20523
|
+
"sdJwtTrustFormat": {
|
|
20524
|
+
"description": "Trust format used for SD-JWT verification metadata.",
|
|
20525
|
+
"anyOf": [
|
|
20526
|
+
{
|
|
20527
|
+
"type": "string",
|
|
20528
|
+
"enum": [
|
|
20529
|
+
"x5c",
|
|
20530
|
+
"federation"
|
|
20531
|
+
]
|
|
20532
|
+
},
|
|
20533
|
+
{
|
|
20534
|
+
"type": "null"
|
|
20535
|
+
}
|
|
20536
|
+
]
|
|
20537
|
+
},
|
|
20538
|
+
"lifeTime": {
|
|
20539
|
+
"description": "Credential lifetime in seconds.",
|
|
20540
|
+
"type": "integer",
|
|
20541
|
+
"minimum": 1,
|
|
20542
|
+
"maximum": 9007199254740991
|
|
20543
|
+
},
|
|
20544
|
+
"schemaMeta": {
|
|
20545
|
+
"description": "Optional schema metadata and trust bindings.",
|
|
20546
|
+
"anyOf": [
|
|
20547
|
+
{
|
|
20548
|
+
"type": "object",
|
|
20549
|
+
"properties": {
|
|
20550
|
+
"id": {
|
|
20551
|
+
"description": "Optional schema metadata identifier.",
|
|
20552
|
+
"type": "string"
|
|
20553
|
+
},
|
|
20554
|
+
"name": {
|
|
20555
|
+
"description": "Optional schema metadata name.",
|
|
20556
|
+
"type": "string"
|
|
20557
|
+
},
|
|
20558
|
+
"version": {
|
|
20559
|
+
"type": "string",
|
|
20560
|
+
"description": "Schema metadata version."
|
|
20561
|
+
},
|
|
20562
|
+
"rulebookURI": {
|
|
20563
|
+
"description": "Optional rulebook URI reference.",
|
|
20564
|
+
"type": "string"
|
|
20565
|
+
},
|
|
20566
|
+
"attestationLoS": {
|
|
20567
|
+
"type": "string",
|
|
20568
|
+
"enum": [
|
|
20569
|
+
"iso_18045_high",
|
|
20570
|
+
"iso_18045_moderate",
|
|
20571
|
+
"iso_18045_enhanced-basic",
|
|
20572
|
+
"iso_18045_basic"
|
|
20573
|
+
],
|
|
20574
|
+
"description": "Assurance level for attestation requirements."
|
|
20575
|
+
},
|
|
20576
|
+
"bindingType": {
|
|
20577
|
+
"type": "string",
|
|
20578
|
+
"enum": [
|
|
20579
|
+
"claim",
|
|
20580
|
+
"key",
|
|
20581
|
+
"biometric",
|
|
20582
|
+
"none"
|
|
20583
|
+
],
|
|
20584
|
+
"description": "Subject binding type."
|
|
20585
|
+
},
|
|
20586
|
+
"schemaURIs": {
|
|
20587
|
+
"description": "Optional schema URI entries.",
|
|
20588
|
+
"type": "array",
|
|
20589
|
+
"items": {
|
|
20590
|
+
"type": "object",
|
|
20591
|
+
"properties": {
|
|
20592
|
+
"credentialConfigId": {
|
|
20593
|
+
"description": "Optional credential configuration id this schema URI applies to.",
|
|
20594
|
+
"type": "string"
|
|
20595
|
+
},
|
|
20596
|
+
"format": {
|
|
20597
|
+
"description": "Optional credential format for this schema URI.",
|
|
20598
|
+
"type": "string"
|
|
20599
|
+
},
|
|
20600
|
+
"uri": {
|
|
20601
|
+
"description": "Schema URI reference.",
|
|
20602
|
+
"type": "string"
|
|
20603
|
+
},
|
|
20604
|
+
"meta": {
|
|
20605
|
+
"description": "Optional metadata attached to the schema URI.",
|
|
20606
|
+
"type": "object",
|
|
20607
|
+
"propertyNames": {
|
|
20608
|
+
"type": "string"
|
|
20609
|
+
},
|
|
20610
|
+
"additionalProperties": {}
|
|
20611
|
+
}
|
|
20612
|
+
},
|
|
20613
|
+
"additionalProperties": false
|
|
20614
|
+
}
|
|
20615
|
+
},
|
|
20616
|
+
"trustedAuthorities": {
|
|
20617
|
+
"description": "Optional trusted authority entries.",
|
|
20618
|
+
"type": "array",
|
|
20619
|
+
"items": {
|
|
20620
|
+
"type": "object",
|
|
20621
|
+
"properties": {
|
|
20622
|
+
"trustListId": {
|
|
20623
|
+
"description": "Optional trust list id.",
|
|
20624
|
+
"type": "string"
|
|
20625
|
+
},
|
|
20626
|
+
"frameworkType": {
|
|
20627
|
+
"description": "Trust framework type. `x509` takes a root certificate in `value` and no `verificationMethod`.",
|
|
20628
|
+
"type": "string",
|
|
20629
|
+
"enum": [
|
|
20630
|
+
"aki",
|
|
20631
|
+
"etsi_tl",
|
|
20632
|
+
"openid_federation",
|
|
20633
|
+
"x509"
|
|
20634
|
+
]
|
|
20635
|
+
},
|
|
20636
|
+
"value": {
|
|
20637
|
+
"description": "Framework-specific authority value, for example the trust list URL for `etsi_tl` or the root certificate (base64 DER or PEM) for `x509`.",
|
|
20638
|
+
"type": "string"
|
|
20639
|
+
},
|
|
20640
|
+
"verificationMethod": {
|
|
20641
|
+
"description": "Verification method descriptor.",
|
|
20642
|
+
"anyOf": [
|
|
20643
|
+
{
|
|
20644
|
+
"type": "object",
|
|
20645
|
+
"propertyNames": {
|
|
20646
|
+
"type": "string"
|
|
20647
|
+
},
|
|
20648
|
+
"additionalProperties": {}
|
|
20649
|
+
},
|
|
20650
|
+
{
|
|
20651
|
+
"type": "string"
|
|
20652
|
+
}
|
|
20653
|
+
]
|
|
20654
|
+
}
|
|
20655
|
+
},
|
|
20656
|
+
"additionalProperties": false
|
|
20657
|
+
}
|
|
20658
|
+
}
|
|
20659
|
+
},
|
|
20660
|
+
"required": [
|
|
20661
|
+
"version",
|
|
20662
|
+
"attestationLoS",
|
|
20663
|
+
"bindingType"
|
|
20664
|
+
],
|
|
20665
|
+
"additionalProperties": false
|
|
20666
|
+
},
|
|
20667
|
+
{
|
|
20668
|
+
"type": "null"
|
|
20669
|
+
}
|
|
20670
|
+
]
|
|
20671
|
+
},
|
|
20672
|
+
"embeddedDisclosurePolicy": {
|
|
20673
|
+
"description": "Optional embedded disclosure policy.",
|
|
20674
|
+
"anyOf": [
|
|
20675
|
+
{
|
|
20676
|
+
"oneOf": [
|
|
20677
|
+
{
|
|
20678
|
+
"type": "object",
|
|
20679
|
+
"properties": {
|
|
20680
|
+
"policy": {
|
|
20681
|
+
"type": "string",
|
|
20682
|
+
"const": "attestationBased",
|
|
20683
|
+
"description": "Attestation-based policy discriminator."
|
|
20684
|
+
},
|
|
20685
|
+
"values": {
|
|
20686
|
+
"type": "array",
|
|
20687
|
+
"items": {
|
|
20688
|
+
"type": "object",
|
|
20689
|
+
"properties": {
|
|
20690
|
+
"claims": {
|
|
20691
|
+
"description": "Claims constraints considered by policy evaluation.",
|
|
20692
|
+
"type": "array",
|
|
20693
|
+
"items": {}
|
|
20694
|
+
},
|
|
20695
|
+
"credentials": {
|
|
20696
|
+
"type": "array",
|
|
20697
|
+
"items": {},
|
|
20698
|
+
"description": "Credential constraints considered by policy evaluation."
|
|
20699
|
+
},
|
|
20700
|
+
"credential_sets": {
|
|
20701
|
+
"description": "Optional credential set constraints.",
|
|
20702
|
+
"type": "array",
|
|
20703
|
+
"items": {}
|
|
20704
|
+
}
|
|
20705
|
+
},
|
|
20706
|
+
"required": [
|
|
20707
|
+
"credentials"
|
|
20708
|
+
],
|
|
20709
|
+
"additionalProperties": false
|
|
20710
|
+
},
|
|
20711
|
+
"description": "Attestation requirements used for policy enforcement."
|
|
20712
|
+
}
|
|
20713
|
+
},
|
|
20714
|
+
"required": [
|
|
20715
|
+
"policy",
|
|
20716
|
+
"values"
|
|
20717
|
+
],
|
|
20718
|
+
"additionalProperties": false
|
|
20719
|
+
},
|
|
20720
|
+
{
|
|
20721
|
+
"type": "object",
|
|
20722
|
+
"properties": {
|
|
20723
|
+
"policy": {
|
|
20724
|
+
"type": "string",
|
|
20725
|
+
"const": "none",
|
|
20726
|
+
"description": "No disclosure policy enforcement."
|
|
20727
|
+
}
|
|
20728
|
+
},
|
|
20729
|
+
"required": [
|
|
20730
|
+
"policy"
|
|
20731
|
+
],
|
|
20732
|
+
"additionalProperties": false
|
|
20733
|
+
},
|
|
20734
|
+
{
|
|
20735
|
+
"type": "object",
|
|
20736
|
+
"properties": {
|
|
20737
|
+
"policy": {
|
|
20738
|
+
"type": "string",
|
|
20739
|
+
"const": "allowList",
|
|
20740
|
+
"description": "Allow-list based policy discriminator."
|
|
20741
|
+
},
|
|
20742
|
+
"values": {
|
|
20743
|
+
"type": "array",
|
|
20744
|
+
"items": {
|
|
20745
|
+
"type": "string"
|
|
20746
|
+
},
|
|
20747
|
+
"description": "Allowed values for policy checks."
|
|
20748
|
+
}
|
|
20749
|
+
},
|
|
20750
|
+
"required": [
|
|
20751
|
+
"policy",
|
|
20752
|
+
"values"
|
|
20753
|
+
],
|
|
20754
|
+
"additionalProperties": false
|
|
20755
|
+
},
|
|
20756
|
+
{
|
|
20757
|
+
"type": "object",
|
|
20758
|
+
"properties": {
|
|
20759
|
+
"policy": {
|
|
20760
|
+
"type": "string",
|
|
20761
|
+
"const": "rootOfTrust",
|
|
20762
|
+
"description": "Root-of-trust policy discriminator."
|
|
20763
|
+
},
|
|
20764
|
+
"values": {
|
|
20765
|
+
"type": "string",
|
|
20766
|
+
"description": "Root-of-trust identifier or reference."
|
|
20767
|
+
}
|
|
20768
|
+
},
|
|
20769
|
+
"required": [
|
|
20770
|
+
"policy",
|
|
20771
|
+
"values"
|
|
20772
|
+
],
|
|
20773
|
+
"additionalProperties": false
|
|
20774
|
+
}
|
|
20775
|
+
],
|
|
20776
|
+
"description": "Embedded disclosure policy configuration."
|
|
20777
|
+
},
|
|
20778
|
+
{
|
|
20779
|
+
"type": "null"
|
|
20780
|
+
}
|
|
20781
|
+
]
|
|
20782
|
+
}
|
|
20783
|
+
},
|
|
20784
|
+
"required": [
|
|
20785
|
+
"id",
|
|
20786
|
+
"config",
|
|
20787
|
+
"fields"
|
|
20788
|
+
],
|
|
20789
|
+
"additionalProperties": false,
|
|
20790
|
+
"description": "Payload for creating credential issuance configuration.",
|
|
20791
|
+
"$defs": {
|
|
20792
|
+
"__schema0": {
|
|
20793
|
+
"type": "object",
|
|
20794
|
+
"properties": {
|
|
20795
|
+
"path": {
|
|
20796
|
+
"type": "array",
|
|
20797
|
+
"items": {
|
|
20798
|
+
"type": [
|
|
20799
|
+
"string",
|
|
20800
|
+
"number",
|
|
20801
|
+
"null"
|
|
20802
|
+
]
|
|
20803
|
+
},
|
|
20804
|
+
"description": "Path to this claim inside the credential payload."
|
|
20805
|
+
},
|
|
20806
|
+
"type": {
|
|
20807
|
+
"type": "string",
|
|
20808
|
+
"enum": [
|
|
20809
|
+
"string",
|
|
20810
|
+
"number",
|
|
20811
|
+
"integer",
|
|
20812
|
+
"boolean",
|
|
20813
|
+
"object",
|
|
20814
|
+
"array"
|
|
20815
|
+
],
|
|
20816
|
+
"description": "Data type of the claim value."
|
|
20817
|
+
},
|
|
20818
|
+
"defaultValue": {
|
|
20819
|
+
"description": "Optional default value for this field."
|
|
20820
|
+
},
|
|
20821
|
+
"mandatory": {
|
|
20822
|
+
"description": "Whether the field is required at issuance time.",
|
|
20823
|
+
"type": "boolean"
|
|
20824
|
+
},
|
|
20825
|
+
"disclosable": {
|
|
20826
|
+
"description": "Whether the claim is selectively disclosable.",
|
|
20827
|
+
"type": "boolean"
|
|
20828
|
+
},
|
|
20829
|
+
"namespace": {
|
|
20830
|
+
"description": "Optional namespace for claim grouping.",
|
|
20831
|
+
"type": "string"
|
|
20832
|
+
},
|
|
20833
|
+
"display": {
|
|
20834
|
+
"description": "Localized display metadata for this field.",
|
|
20835
|
+
"type": "array",
|
|
20836
|
+
"items": {
|
|
20837
|
+
"type": "object",
|
|
20838
|
+
"properties": {
|
|
20839
|
+
"locale": {
|
|
20840
|
+
"type": "string",
|
|
20841
|
+
"minLength": 1,
|
|
20842
|
+
"description": "Locale tag for the display entry."
|
|
20843
|
+
},
|
|
20844
|
+
"name": {
|
|
20845
|
+
"type": "string",
|
|
20846
|
+
"minLength": 1,
|
|
20847
|
+
"description": "Human-readable field name."
|
|
20848
|
+
},
|
|
20849
|
+
"description": {
|
|
20850
|
+
"description": "Optional field description for this locale.",
|
|
20851
|
+
"type": "string"
|
|
20852
|
+
}
|
|
20853
|
+
},
|
|
20854
|
+
"required": [
|
|
20855
|
+
"locale",
|
|
20856
|
+
"name"
|
|
20857
|
+
],
|
|
20858
|
+
"additionalProperties": false
|
|
20859
|
+
}
|
|
20860
|
+
},
|
|
20861
|
+
"constraints": {
|
|
20862
|
+
"description": "Optional validation constraints for the claim value.",
|
|
20863
|
+
"type": "object",
|
|
20864
|
+
"propertyNames": {
|
|
20865
|
+
"type": "string"
|
|
20866
|
+
},
|
|
20867
|
+
"additionalProperties": {}
|
|
20868
|
+
},
|
|
20869
|
+
"children": {
|
|
20870
|
+
"description": "Nested child claim definitions for object or array fields.",
|
|
20871
|
+
"type": "array",
|
|
20872
|
+
"items": {
|
|
20873
|
+
"$ref": "#/$defs/CredentialConfigCreate/$defs/__schema0"
|
|
20874
|
+
}
|
|
20875
|
+
}
|
|
20876
|
+
},
|
|
20877
|
+
"required": [
|
|
20878
|
+
"path",
|
|
20879
|
+
"type"
|
|
20880
|
+
],
|
|
20881
|
+
"additionalProperties": false
|
|
20882
|
+
}
|
|
20883
|
+
},
|
|
20884
|
+
"title": "CredentialConfigCreate"
|
|
20885
|
+
}
|
|
20886
|
+
}
|
|
20887
|
+
},
|
|
20082
20888
|
{
|
|
20083
20889
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
20084
20890
|
"$id": "https://eudiplo.dev/schemas/v2/IssuanceConfigFile.schema.json",
|
|
@@ -25691,7 +26497,7 @@ function createDeploymentCommands(context, setExitCode) {
|
|
|
25691
26497
|
// package.json
|
|
25692
26498
|
var package_default = {
|
|
25693
26499
|
name: "@eudiplo/cli",
|
|
25694
|
-
version: "9.1.0-main.
|
|
26500
|
+
version: "9.1.0-main.e4e29b5",
|
|
25695
26501
|
description: "Deployment-aware command line tools for EUDIPLO",
|
|
25696
26502
|
private: false,
|
|
25697
26503
|
type: "module",
|