@eudiplo/cli 7.2.0 → 7.3.0
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 +88 -24
- package/dist/commands/commands/index.d.ts +4 -0
- package/dist/commands/commands/index.d.ts.map +1 -0
- package/dist/commands/commands/index.js +13 -0
- package/dist/commands/commands/index.js.map +1 -0
- package/dist/commands/commands/render.d.ts +4 -0
- package/dist/commands/commands/render.d.ts.map +1 -0
- package/dist/commands/commands/render.js +52 -0
- package/dist/commands/commands/render.js.map +1 -0
- package/dist/commands/completion/action.d.ts +6 -0
- package/dist/commands/completion/action.d.ts.map +1 -0
- package/dist/commands/completion/action.js +133 -0
- package/dist/commands/completion/action.js.map +1 -0
- package/dist/commands/completion/index.d.ts +6 -0
- package/dist/commands/completion/index.d.ts.map +1 -0
- package/dist/commands/completion/index.js +23 -0
- package/dist/commands/completion/index.js.map +1 -0
- package/dist/commands/config/action.d.ts +4 -0
- package/dist/commands/config/action.d.ts.map +1 -0
- package/dist/commands/config/action.js +33 -0
- package/dist/commands/config/action.js.map +1 -0
- package/dist/commands/config/editor/action.d.ts +3 -0
- package/dist/commands/config/editor/action.d.ts.map +1 -0
- package/dist/commands/config/editor/action.js +112 -0
- package/dist/commands/config/editor/action.js.map +1 -0
- package/dist/commands/config/editor/index.d.ts +5 -0
- package/dist/commands/config/editor/index.d.ts.map +1 -0
- package/dist/commands/config/editor/index.js +20 -0
- package/dist/commands/config/editor/index.js.map +1 -0
- package/dist/commands/config/index.d.ts +1 -1
- package/dist/commands/config/index.d.ts.map +1 -1
- package/dist/commands/config/index.js +22 -0
- package/dist/commands/config/index.js.map +1 -1
- package/dist/commands/config/portability/action.d.ts +5 -0
- package/dist/commands/config/portability/action.d.ts.map +1 -0
- package/dist/commands/config/portability/action.js +164 -0
- package/dist/commands/config/portability/action.js.map +1 -0
- package/dist/commands/config/portability/index.d.ts +5 -0
- package/dist/commands/config/portability/index.d.ts.map +1 -0
- package/dist/commands/config/portability/index.js +44 -0
- package/dist/commands/config/portability/index.js.map +1 -0
- package/dist/commands/config/portability/migrations.d.ts +24 -0
- package/dist/commands/config/portability/migrations.d.ts.map +1 -0
- package/dist/commands/config/portability/migrations.js +95 -0
- package/dist/commands/config/portability/migrations.js.map +1 -0
- package/dist/commands/config/portability/migrations.spec.d.ts +2 -0
- package/dist/commands/config/portability/migrations.spec.d.ts.map +1 -0
- package/dist/commands/config/portability/migrations.spec.js +32 -0
- package/dist/commands/config/portability/migrations.spec.js.map +1 -0
- package/dist/commands/config/tenant/action.d.ts.map +1 -1
- package/dist/commands/config/tenant/action.js +16 -6
- package/dist/commands/config/tenant/action.js.map +1 -1
- package/dist/commands/config/tenant/index.d.ts.map +1 -1
- package/dist/commands/config/tenant/index.js.map +1 -1
- package/dist/commands/config/validate/action.d.ts.map +1 -1
- package/dist/commands/config/validate/action.js +3 -1
- package/dist/commands/config/validate/action.js.map +1 -1
- package/dist/commands/config/validate/registry.d.ts +1 -0
- package/dist/commands/config/validate/registry.d.ts.map +1 -1
- package/dist/commands/config/validate/registry.js +1 -1
- package/dist/commands/config/validate/registry.js.map +1 -1
- package/dist/commands/config/validate/registry.json +12 -23
- package/dist/commands/config/validate/report.d.ts.map +1 -1
- package/dist/commands/config/validate/report.js +6 -1
- package/dist/commands/config/validate/report.js.map +1 -1
- package/dist/commands/config/validate/schemas.d.ts +1 -0
- package/dist/commands/config/validate/schemas.d.ts.map +1 -1
- package/dist/commands/config/validate/schemas.js +16 -5
- package/dist/commands/config/validate/schemas.js.map +1 -1
- package/dist/commands/config/validate/types.d.ts.map +1 -1
- package/dist/commands/config/validate/validator.d.ts.map +1 -1
- package/dist/commands/config/validate/validator.js +13 -5
- package/dist/commands/config/validate/validator.js.map +1 -1
- package/dist/commands/demo/action.d.ts.map +1 -1
- package/dist/commands/demo/action.js +3 -2
- package/dist/commands/demo/action.js.map +1 -1
- package/dist/commands/demo/index.d.ts.map +1 -1
- package/dist/commands/demo/index.js.map +1 -1
- package/dist/commands/deployment/action.d.ts.map +1 -1
- package/dist/commands/deployment/action.js +10 -3
- package/dist/commands/deployment/action.js.map +1 -1
- package/dist/commands/deployment/index.d.ts.map +1 -1
- package/dist/commands/deployment/index.js +1 -1
- package/dist/commands/deployment/index.js.map +1 -1
- package/dist/commands/doctor/action.d.ts.map +1 -1
- package/dist/commands/doctor/action.js +1 -1
- package/dist/commands/doctor/action.js.map +1 -1
- package/dist/commands/init/action.d.ts.map +1 -1
- package/dist/commands/init/action.js +20 -7
- package/dist/commands/init/action.js.map +1 -1
- package/dist/commands/init/index.d.ts.map +1 -1
- package/dist/commands/init/index.js.map +1 -1
- package/dist/commands/instance/action.d.ts +4 -0
- package/dist/commands/instance/action.d.ts.map +1 -1
- package/dist/commands/instance/action.js +66 -1
- package/dist/commands/instance/action.js.map +1 -1
- package/dist/commands/instance/index.d.ts.map +1 -1
- package/dist/commands/instance/index.js +31 -1
- package/dist/commands/instance/index.js.map +1 -1
- package/dist/commands/shared.d.ts.map +1 -1
- package/dist/commands/shared.js +4 -1
- package/dist/commands/shared.js.map +1 -1
- package/dist/commands/status/action.d.ts.map +1 -1
- package/dist/commands/status/action.js.map +1 -1
- package/dist/commands/version/action.d.ts.map +1 -1
- package/dist/commands/version/action.js +3 -1
- package/dist/commands/version/action.js.map +1 -1
- package/dist/runtime.d.ts +2 -0
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +8 -1
- package/dist/runtime.js.map +1 -1
- package/dist/sea-assets.d.ts +4 -2
- package/dist/sea-assets.d.ts.map +1 -1
- package/dist/sea-assets.js +6 -3
- package/dist/sea-assets.js.map +1 -1
- package/dist/services/cli-config.d.ts +2 -0
- package/dist/services/cli-config.d.ts.map +1 -1
- package/dist/services/cli-config.js +22 -1
- package/dist/services/cli-config.js.map +1 -1
- package/dist/services/compose-project.d.ts.map +1 -1
- package/dist/services/compose-project.js +14 -6
- package/dist/services/compose-project.js.map +1 -1
- package/dist/services/deployment-drivers.d.ts +7 -0
- package/dist/services/deployment-drivers.d.ts.map +1 -1
- package/dist/services/deployment-drivers.js +79 -16
- package/dist/services/deployment-drivers.js.map +1 -1
- package/dist/services/diagnostics.d.ts.map +1 -1
- package/dist/services/diagnostics.js +3 -1
- package/dist/services/diagnostics.js.map +1 -1
- package/dist/services/instance-selection.d.ts.map +1 -1
- package/dist/services/instance-selection.js.map +1 -1
- package/dist/services/project-directory.d.ts.map +1 -1
- package/dist/services/project-directory.js.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +10 -8
- package/templates/demo-config/issuance/issuance.json +20 -12
- package/templates/demo-config/key-chains/access.json +13 -2
- package/templates/demo-config/key-chains/attestation.json +14 -3
- package/templates/demo-config/key-chains/status-list.json +15 -4
- package/templates/demo-config/key-chains/trust-list.json +13 -2
- package/templates/demo-config/presentation/age-over-18.json +46 -53
- package/templates/demo-config/presentation/pid.json +44 -0
- package/templates/demo-config.manifest.json +1 -0
- package/templates/schemas/AttributeProviderAuth.schema.json +60 -0
- package/templates/schemas/AttributeProviderConfigFile.schema.json +37 -0
- package/templates/schemas/CertImportDto.schema.json +35 -0
- package/templates/schemas/ClientConfigFile.schema.json +37 -0
- package/templates/schemas/ConfigDocumentMetadata.schema.json +25 -0
- package/templates/schemas/CreateClientDto.schema.json +1 -0
- package/templates/schemas/CreateStatusListDto.schema.json +46 -0
- package/templates/schemas/CreateTenantDto.schema.json +117 -0
- package/templates/schemas/CredentialConfigFile.schema.json +37 -0
- package/templates/schemas/DCQL.schema.json +401 -0
- package/templates/schemas/EmbeddedDisclosurePolicy.schema.json +106 -0
- package/templates/schemas/ImportTenantDto.schema.json +69 -0
- package/templates/schemas/IssuanceConfigFile.schema.json +32 -0
- package/templates/schemas/KeyChainConfigFile.schema.json +476 -0
- package/templates/schemas/KeyChainCreateDto.schema.json +66 -0
- package/templates/schemas/KeyChainUpdateDto.schema.json +40 -0
- package/templates/schemas/KmsConfigFile.schema.json +37 -0
- package/templates/schemas/PresentationConfigFile.schema.json +32 -0
- package/templates/schemas/RegistrarConfigFile.schema.json +37 -0
- package/templates/schemas/RotationPolicyCreateDto.schema.json +28 -0
- package/templates/schemas/RotationPolicyUpdateDto.schema.json +25 -0
- package/templates/schemas/SessionStorageConfig.schema.json +24 -0
- package/templates/schemas/StatusListConfig.schema.json +51 -0
- package/templates/schemas/StatusListConfigFile.schema.json +37 -0
- package/templates/schemas/TenantConfigFile.schema.json +230 -0
- package/templates/schemas/TransactionData.schema.json +24 -0
- package/templates/schemas/TrustListConfigFile.schema.json +37 -0
- package/templates/schemas/UpdateAttributeProviderDto.schema.json +93 -0
- package/templates/schemas/UpdateClientDto.schema.json +63 -0
- package/templates/schemas/UpdateStatusListConfigDto.schema.json +85 -0
- package/templates/schemas/UpdateStatusListDto.schema.json +33 -0
- package/templates/schemas/UpdateTenantDto.schema.json +96 -0
- package/templates/schemas/UpdateWebhookEndpointDto.schema.json +93 -0
- package/templates/schemas/VCT.schema.json +37 -0
- package/templates/schemas/WebhookConfig.schema.json +80 -0
- package/templates/schemas/WebhookEndpointConfigFile.schema.json +37 -0
- package/templates/schemas.manifest.json +35 -1
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"capacity": {
|
|
6
|
+
"description": "Capacity override. Set null to reset to defaults.",
|
|
7
|
+
"anyOf": [
|
|
8
|
+
{
|
|
9
|
+
"type": "integer",
|
|
10
|
+
"minimum": 100,
|
|
11
|
+
"maximum": 9007199254740991
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"type": "null"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"bits": {
|
|
19
|
+
"description": "Bits-per-status override. Set null to reset to defaults.",
|
|
20
|
+
"anyOf": [
|
|
21
|
+
{
|
|
22
|
+
"anyOf": [
|
|
23
|
+
{
|
|
24
|
+
"type": "number",
|
|
25
|
+
"const": 1
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"type": "number",
|
|
29
|
+
"const": 2
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"type": "number",
|
|
33
|
+
"const": 4
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"type": "number",
|
|
37
|
+
"const": 8
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"type": "null"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"ttl": {
|
|
47
|
+
"description": "JWT TTL override in seconds. Set null to reset.",
|
|
48
|
+
"anyOf": [
|
|
49
|
+
{
|
|
50
|
+
"type": "integer",
|
|
51
|
+
"minimum": 60,
|
|
52
|
+
"maximum": 9007199254740991
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"type": "null"
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
"immediateUpdate": {
|
|
60
|
+
"description": "Immediate regeneration toggle. Set null to reset.",
|
|
61
|
+
"anyOf": [
|
|
62
|
+
{
|
|
63
|
+
"type": "boolean"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"type": "null"
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
"enableAggregation": {
|
|
71
|
+
"description": "Aggregation URI toggle. Set null to reset.",
|
|
72
|
+
"anyOf": [
|
|
73
|
+
{
|
|
74
|
+
"type": "boolean"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"type": "null"
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"additionalProperties": false,
|
|
83
|
+
"$id": "./UpdateStatusListConfigDto.schema.json",
|
|
84
|
+
"title": "UpdateStatusListConfigDto"
|
|
85
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"credentialConfigurationId": {
|
|
6
|
+
"description": "Updated credential configuration binding. Null means shared list.",
|
|
7
|
+
"anyOf": [
|
|
8
|
+
{
|
|
9
|
+
"type": "string",
|
|
10
|
+
"minLength": 1
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"type": "null"
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"keyChainId": {
|
|
18
|
+
"description": "Updated key chain id. Null means use tenant default.",
|
|
19
|
+
"anyOf": [
|
|
20
|
+
{
|
|
21
|
+
"type": "string",
|
|
22
|
+
"minLength": 1
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"type": "null"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"additionalProperties": false,
|
|
31
|
+
"$id": "./UpdateStatusListDto.schema.json",
|
|
32
|
+
"title": "UpdateStatusListDto"
|
|
33
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"name": {
|
|
6
|
+
"description": "Display name of the tenant.",
|
|
7
|
+
"type": "string",
|
|
8
|
+
"minLength": 1
|
|
9
|
+
},
|
|
10
|
+
"description": {
|
|
11
|
+
"description": "Tenant description. Omit to keep the current value or set to null to remove it.",
|
|
12
|
+
"anyOf": [
|
|
13
|
+
{
|
|
14
|
+
"type": "string",
|
|
15
|
+
"minLength": 1
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"type": "null"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"sessionConfig": {
|
|
23
|
+
"description": "Optional tenant-specific session storage configuration.",
|
|
24
|
+
"type": "object",
|
|
25
|
+
"properties": {
|
|
26
|
+
"ttlSeconds": {
|
|
27
|
+
"description": "Session time-to-live in seconds.",
|
|
28
|
+
"type": "integer",
|
|
29
|
+
"minimum": 60,
|
|
30
|
+
"maximum": 9007199254740991
|
|
31
|
+
},
|
|
32
|
+
"cleanupMode": {
|
|
33
|
+
"description": "Whether to fully delete or anonymize expired sessions.",
|
|
34
|
+
"type": "string",
|
|
35
|
+
"enum": [
|
|
36
|
+
"full",
|
|
37
|
+
"anonymize"
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
},
|
|
43
|
+
"statusListConfig": {
|
|
44
|
+
"description": "Optional tenant-specific status list defaults.",
|
|
45
|
+
"type": "object",
|
|
46
|
+
"properties": {
|
|
47
|
+
"capacity": {
|
|
48
|
+
"description": "Default status list capacity.",
|
|
49
|
+
"type": "integer",
|
|
50
|
+
"minimum": 100,
|
|
51
|
+
"maximum": 9007199254740991
|
|
52
|
+
},
|
|
53
|
+
"bits": {
|
|
54
|
+
"description": "Bits-per-status setting (1, 2, 4, or 8).",
|
|
55
|
+
"anyOf": [
|
|
56
|
+
{
|
|
57
|
+
"type": "number",
|
|
58
|
+
"const": 1
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"type": "number",
|
|
62
|
+
"const": 2
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"type": "number",
|
|
66
|
+
"const": 4
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"type": "number",
|
|
70
|
+
"const": 8
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
"ttl": {
|
|
75
|
+
"description": "JWT TTL for status list tokens in seconds.",
|
|
76
|
+
"type": "integer",
|
|
77
|
+
"minimum": 60,
|
|
78
|
+
"maximum": 9007199254740991
|
|
79
|
+
},
|
|
80
|
+
"immediateUpdate": {
|
|
81
|
+
"description": "Regenerate status list JWTs immediately after status updates.",
|
|
82
|
+
"type": "boolean"
|
|
83
|
+
},
|
|
84
|
+
"enableAggregation": {
|
|
85
|
+
"description": "Include aggregation_uri in generated status list JWTs.",
|
|
86
|
+
"type": "boolean"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"additionalProperties": false
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"additionalProperties": false,
|
|
93
|
+
"description": "Payload for partially updating tenant metadata.",
|
|
94
|
+
"$id": "./UpdateTenantDto.schema.json",
|
|
95
|
+
"title": "UpdateTenantDto"
|
|
96
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"id": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"minLength": 1,
|
|
8
|
+
"description": "Unique webhook endpoint identifier."
|
|
9
|
+
},
|
|
10
|
+
"name": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"minLength": 1,
|
|
13
|
+
"description": "Display name of the webhook endpoint."
|
|
14
|
+
},
|
|
15
|
+
"description": {
|
|
16
|
+
"anyOf": [
|
|
17
|
+
{
|
|
18
|
+
"type": "string",
|
|
19
|
+
"minLength": 1
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"type": "null"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"description": "Optional webhook endpoint description."
|
|
26
|
+
},
|
|
27
|
+
"url": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"format": "uri",
|
|
30
|
+
"description": "Destination URL for webhook delivery."
|
|
31
|
+
},
|
|
32
|
+
"auth": {
|
|
33
|
+
"oneOf": [
|
|
34
|
+
{
|
|
35
|
+
"type": "object",
|
|
36
|
+
"properties": {
|
|
37
|
+
"type": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"const": "none",
|
|
40
|
+
"description": "Disable webhook authentication."
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"required": [
|
|
44
|
+
"type"
|
|
45
|
+
],
|
|
46
|
+
"additionalProperties": false,
|
|
47
|
+
"description": "No webhook authentication variant."
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"type": "object",
|
|
51
|
+
"properties": {
|
|
52
|
+
"type": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"const": "apiKey",
|
|
55
|
+
"description": "Use API key authentication for webhook requests."
|
|
56
|
+
},
|
|
57
|
+
"config": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"headerName": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"minLength": 1,
|
|
63
|
+
"description": "HTTP header name for the API key."
|
|
64
|
+
},
|
|
65
|
+
"value": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"minLength": 1,
|
|
68
|
+
"description": "API key value sent with webhook requests."
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"required": [
|
|
72
|
+
"headerName",
|
|
73
|
+
"value"
|
|
74
|
+
],
|
|
75
|
+
"additionalProperties": false,
|
|
76
|
+
"description": "API key webhook authentication settings."
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"required": [
|
|
80
|
+
"type",
|
|
81
|
+
"config"
|
|
82
|
+
],
|
|
83
|
+
"additionalProperties": false,
|
|
84
|
+
"description": "API key webhook authentication variant."
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"description": "Authentication configuration applied to outgoing webhook requests."
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"additionalProperties": false,
|
|
91
|
+
"$id": "./UpdateWebhookEndpointDto.schema.json",
|
|
92
|
+
"title": "UpdateWebhookEndpointDto"
|
|
93
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"vct": {
|
|
6
|
+
"description": "VCT identifier.",
|
|
7
|
+
"type": "string"
|
|
8
|
+
},
|
|
9
|
+
"name": {
|
|
10
|
+
"description": "Human-readable VCT name.",
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"description": {
|
|
14
|
+
"description": "Optional VCT description.",
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"extends": {
|
|
18
|
+
"description": "Optional base VCT reference.",
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
21
|
+
"extends#integrity": {
|
|
22
|
+
"description": "Integrity hash for the extends reference.",
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
"schema_uri": {
|
|
26
|
+
"description": "Optional schema URI for the VCT.",
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"schema_uri#integrity": {
|
|
30
|
+
"description": "Integrity hash for schema_uri.",
|
|
31
|
+
"type": "string"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"additionalProperties": false,
|
|
35
|
+
"$id": "./VCT.schema.json",
|
|
36
|
+
"title": "VCT"
|
|
37
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"url": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"minLength": 1,
|
|
8
|
+
"description": "The URL to which the webhook will send notifications."
|
|
9
|
+
},
|
|
10
|
+
"auth": {
|
|
11
|
+
"oneOf": [
|
|
12
|
+
{
|
|
13
|
+
"type": "object",
|
|
14
|
+
"properties": {
|
|
15
|
+
"type": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"const": "none",
|
|
18
|
+
"description": "Disable authentication."
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"required": [
|
|
22
|
+
"type"
|
|
23
|
+
],
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"type": "object",
|
|
28
|
+
"properties": {
|
|
29
|
+
"type": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"const": "apiKey",
|
|
32
|
+
"description": "Use API key authentication."
|
|
33
|
+
},
|
|
34
|
+
"config": {
|
|
35
|
+
"type": "object",
|
|
36
|
+
"properties": {
|
|
37
|
+
"headerName": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"minLength": 1,
|
|
40
|
+
"description": "The header name used to send the API key."
|
|
41
|
+
},
|
|
42
|
+
"value": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"minLength": 1,
|
|
45
|
+
"description": "The API key value."
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"required": [
|
|
49
|
+
"headerName",
|
|
50
|
+
"value"
|
|
51
|
+
],
|
|
52
|
+
"additionalProperties": false,
|
|
53
|
+
"description": "API key authentication settings."
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"required": [
|
|
57
|
+
"type",
|
|
58
|
+
"config"
|
|
59
|
+
],
|
|
60
|
+
"additionalProperties": false
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"description": "Webhook authentication strategy."
|
|
64
|
+
},
|
|
65
|
+
"includeRawTokensFor": {
|
|
66
|
+
"description": "List of credential IDs to include raw tokens for (for example ['sca_credential']).",
|
|
67
|
+
"type": "array",
|
|
68
|
+
"items": {
|
|
69
|
+
"type": "string"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"required": [
|
|
74
|
+
"url",
|
|
75
|
+
"auth"
|
|
76
|
+
],
|
|
77
|
+
"additionalProperties": false,
|
|
78
|
+
"$id": "./WebhookConfig.schema.json",
|
|
79
|
+
"title": "WebhookConfig"
|
|
80
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "./WebhookEndpointConfigFile.schema.json",
|
|
4
|
+
"title": "WebhookEndpointConfigFile",
|
|
5
|
+
"description": "A webhook-endpoint configuration file in legacy payload or versioned-envelope form.",
|
|
6
|
+
"oneOf": [
|
|
7
|
+
{
|
|
8
|
+
"$ref": "./CreateWebhookEndpointDto.schema.json"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"apiVersion": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"const": "eudiplo.io/webhook-endpoint/v1"
|
|
16
|
+
},
|
|
17
|
+
"kind": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"const": "WebhookEndpoint"
|
|
20
|
+
},
|
|
21
|
+
"metadata": {
|
|
22
|
+
"$ref": "./ConfigDocumentMetadata.schema.json"
|
|
23
|
+
},
|
|
24
|
+
"spec": {
|
|
25
|
+
"$ref": "./CreateWebhookEndpointDto.schema.json"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"required": [
|
|
29
|
+
"apiVersion",
|
|
30
|
+
"kind",
|
|
31
|
+
"metadata",
|
|
32
|
+
"spec"
|
|
33
|
+
],
|
|
34
|
+
"additionalProperties": false
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
|
@@ -1,14 +1,48 @@
|
|
|
1
1
|
[
|
|
2
|
+
"AttributeProviderAuth.schema.json",
|
|
3
|
+
"AttributeProviderConfigFile.schema.json",
|
|
4
|
+
"CertImportDto.schema.json",
|
|
5
|
+
"ClientConfigFile.schema.json",
|
|
6
|
+
"ConfigDocumentMetadata.schema.json",
|
|
2
7
|
"CreateAttributeProviderDto.schema.json",
|
|
3
8
|
"CreateClientDto.schema.json",
|
|
4
9
|
"CreateRegistrarConfigDto.schema.json",
|
|
10
|
+
"CreateStatusListDto.schema.json",
|
|
11
|
+
"CreateTenantDto.schema.json",
|
|
5
12
|
"CreateWebhookEndpointDto.schema.json",
|
|
6
13
|
"CredentialConfigCreate.schema.json",
|
|
14
|
+
"CredentialConfigFile.schema.json",
|
|
15
|
+
"DCQL.schema.json",
|
|
16
|
+
"EmbeddedDisclosurePolicy.schema.json",
|
|
7
17
|
"ImportTenantDto.schema.json",
|
|
8
18
|
"IssuanceConfig.schema.json",
|
|
19
|
+
"IssuanceConfigFile.schema.json",
|
|
20
|
+
"KeyChainConfigFile.schema.json",
|
|
21
|
+
"KeyChainCreateDto.schema.json",
|
|
9
22
|
"KeyChainImportDto.schema.json",
|
|
23
|
+
"KeyChainUpdateDto.schema.json",
|
|
10
24
|
"KmsConfigDto.schema.json",
|
|
25
|
+
"KmsConfigFile.schema.json",
|
|
11
26
|
"PresentationConfigCreateDto.schema.json",
|
|
27
|
+
"PresentationConfigFile.schema.json",
|
|
28
|
+
"RegistrarConfigFile.schema.json",
|
|
29
|
+
"RotationPolicyCreateDto.schema.json",
|
|
30
|
+
"RotationPolicyUpdateDto.schema.json",
|
|
31
|
+
"SessionStorageConfig.schema.json",
|
|
32
|
+
"StatusListConfig.schema.json",
|
|
33
|
+
"StatusListConfigFile.schema.json",
|
|
12
34
|
"StatusListImportDto.schema.json",
|
|
13
|
-
"
|
|
35
|
+
"TenantConfigFile.schema.json",
|
|
36
|
+
"TransactionData.schema.json",
|
|
37
|
+
"TrustListConfigFile.schema.json",
|
|
38
|
+
"TrustListCreateDto.schema.json",
|
|
39
|
+
"UpdateAttributeProviderDto.schema.json",
|
|
40
|
+
"UpdateClientDto.schema.json",
|
|
41
|
+
"UpdateStatusListConfigDto.schema.json",
|
|
42
|
+
"UpdateStatusListDto.schema.json",
|
|
43
|
+
"UpdateTenantDto.schema.json",
|
|
44
|
+
"UpdateWebhookEndpointDto.schema.json",
|
|
45
|
+
"VCT.schema.json",
|
|
46
|
+
"WebhookConfig.schema.json",
|
|
47
|
+
"WebhookEndpointConfigFile.schema.json"
|
|
14
48
|
]
|