@eudiplo/cli 9.1.0-main.aba3274 → 9.1.0-main.af02928
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/commands/config/portability/migrations.spec.js +4 -2
- package/dist/commands/config/portability/migrations.spec.js.map +1 -1
- package/dist/commands/config/portability/upgrade.d.ts.map +1 -1
- package/dist/commands/config/portability/upgrade.js +2 -7
- package/dist/commands/config/portability/upgrade.js.map +1 -1
- package/dist/commands/config/tenant/action.d.ts.map +1 -1
- package/dist/commands/config/tenant/action.js +3 -2
- package/dist/commands/config/tenant/action.js.map +1 -1
- package/dist/commands/config/validate/registry.json +21 -0
- package/dist/commands/config/validate/validator.d.ts.map +1 -1
- package/dist/commands/config/validate/validator.js +26 -3
- package/dist/commands/config/validate/validator.js.map +1 -1
- package/dist/index.js +21484 -7178
- package/dist/services/compose-project.d.ts +6 -0
- package/dist/services/compose-project.d.ts.map +1 -1
- package/dist/services/compose-project.js +13 -2
- package/dist/services/compose-project.js.map +1 -1
- package/package.json +6 -5
- package/templates/demo-config/info.json +1 -1
- package/templates/demo-config/issuance/credentials/citizen.json +1 -1
- package/templates/demo-config/issuance/credentials/pid-key.json +1 -1
- package/templates/demo-config/issuance/credentials/pid-mdoc.json +1 -1
- package/templates/demo-config/issuance/credentials/pid.json +1 -1
- package/templates/demo-config/issuance/issuance.json +1 -1
- package/templates/demo-config/key-chains/access.json +1 -1
- package/templates/demo-config/key-chains/attestation.json +1 -1
- package/templates/demo-config/key-chains/status-list.json +4 -4
- package/templates/demo-config/key-chains/trust-list.json +1 -1
- package/templates/demo-config/presentation/age-over-18.json +1 -1
- package/templates/demo-config/presentation/pid.json +1 -1
- package/templates/demo-config/trust-lists/trustlist-580831bc-ef11-43f4-a3be-a2b6bf1b29a3-config.json +4 -2
- package/templates/docker-compose.yml +2 -2
- package/templates/schemas/CreateFederationTrustAnchorDto.schema.json +82 -0
- package/templates/schemas/CreateRegistrarConfigDto.schema.json +29 -0
- package/templates/schemas/CreateTenantDto.schema.json +3 -3
- package/templates/schemas/CredentialConfigCreate.schema.json +251 -15
- package/templates/schemas/CredentialConfigFile.schema.json +1823 -1
- package/templates/schemas/FederationTrustAnchorConfigFile.schema.json +60 -0
- package/templates/schemas/IssuanceConfig.schema.json +90 -11
- package/templates/schemas/IssuanceConfigFile.schema.json +1552 -1
- package/templates/schemas/KeyChainConfigFile.schema.json +740 -1
- package/templates/schemas/KeyChainCreateDto.schema.json +2 -0
- package/templates/schemas/KeyChainDefaultsConfigFile.schema.json +123 -0
- package/templates/schemas/KeyChainImportDto.schema.json +2 -0
- package/templates/schemas/PresentationConfigCreateDto.schema.json +16 -0
- package/templates/schemas/PresentationConfigFile.schema.json +746 -1
- package/templates/schemas/RegistrarConfigFile.schema.json +101 -1
- package/templates/schemas/TenantConfigFile.schema.json +395 -0
- package/templates/schemas/TrustListConfigFile.schema.json +263 -1
- package/templates/schemas/TrustListCreateDto.schema.json +556 -22
- package/templates/schemas/UpdateFederationTrustAnchorDto.schema.json +70 -0
- package/templates/schemas.manifest.json +4 -0
|
@@ -33,24 +33,26 @@
|
|
|
33
33
|
"locale": {
|
|
34
34
|
"type": "string",
|
|
35
35
|
"minLength": 1,
|
|
36
|
-
"description": "
|
|
36
|
+
"description": "Language tag of this entry, for example en-US. Each locale may appear once."
|
|
37
37
|
},
|
|
38
38
|
"name": {
|
|
39
39
|
"type": "string",
|
|
40
40
|
"minLength": 1,
|
|
41
|
-
"description": "
|
|
41
|
+
"description": "Credential name shown by wallets."
|
|
42
42
|
},
|
|
43
43
|
"description": {
|
|
44
|
-
"description": "Optional
|
|
44
|
+
"description": "Optional description of the credential for this locale.",
|
|
45
45
|
"type": "string"
|
|
46
46
|
},
|
|
47
47
|
"background_color": {
|
|
48
|
-
"description": "Optional background color for card-style rendering.",
|
|
49
|
-
"type": "string"
|
|
48
|
+
"description": "Optional background color for card-style rendering, as a CSS Color Level 3 numerical value: #rgb, #rrggbb, transparent, or lowercase rgb(), rgba(), hsl() or hsla() with comma-separated values. Without it, wallets use their own.",
|
|
49
|
+
"type": "string",
|
|
50
|
+
"pattern": "^(?:#(?:[0-9a-fA-F]{3}){1,2}|rgb\\( *[+-]?\\d+ *, *[+-]?\\d+ *, *[+-]?\\d+ *\\)|rgb\\( *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *\\)|rgba\\( *[+-]?\\d+ *, *[+-]?\\d+ *, *[+-]?\\d+ *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+) *\\)|rgba\\( *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+) *\\)|hsl\\( *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+) *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *\\)|hsla\\( *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+) *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+) *\\)|transparent)$"
|
|
50
51
|
},
|
|
51
52
|
"text_color": {
|
|
52
|
-
"description": "Optional text color for card-style rendering.",
|
|
53
|
-
"type": "string"
|
|
53
|
+
"description": "Optional text color for card-style rendering, as a CSS Color Level 3 numerical value: #rgb, #rrggbb, transparent, or lowercase rgb(), rgba(), hsl() or hsla() with comma-separated values. Without it, wallets use their own.",
|
|
54
|
+
"type": "string",
|
|
55
|
+
"pattern": "^(?:#(?:[0-9a-fA-F]{3}){1,2}|rgb\\( *[+-]?\\d+ *, *[+-]?\\d+ *, *[+-]?\\d+ *\\)|rgb\\( *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *\\)|rgba\\( *[+-]?\\d+ *, *[+-]?\\d+ *, *[+-]?\\d+ *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+) *\\)|rgba\\( *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+) *\\)|hsl\\( *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+) *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *\\)|hsla\\( *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+) *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+)% *, *[+-]?(?:\\d+(?:\\.\\d+)?|\\.\\d+) *\\)|transparent)$"
|
|
54
56
|
},
|
|
55
57
|
"background_image": {
|
|
56
58
|
"description": "Optional background image.",
|
|
@@ -89,7 +91,7 @@
|
|
|
89
91
|
],
|
|
90
92
|
"additionalProperties": false
|
|
91
93
|
},
|
|
92
|
-
"description": "Display metadata shown by wallets."
|
|
94
|
+
"description": "Display metadata shown by wallets, one entry per locale."
|
|
93
95
|
},
|
|
94
96
|
"scope": {
|
|
95
97
|
"description": "Optional OAuth scope associated with this credential type.",
|
|
@@ -209,7 +211,7 @@
|
|
|
209
211
|
]
|
|
210
212
|
},
|
|
211
213
|
"webhookEndpointId": {
|
|
212
|
-
"description": "Not used for notifications: they go to the webhook endpoint of the offer.",
|
|
214
|
+
"description": "Receives the wallet unit revocation webhook (revokeWithWalletUnit). Not used for notifications: they go to the webhook endpoint of the offer.",
|
|
213
215
|
"type": [
|
|
214
216
|
"string",
|
|
215
217
|
"null"
|
|
@@ -302,6 +304,10 @@
|
|
|
302
304
|
}
|
|
303
305
|
]
|
|
304
306
|
},
|
|
307
|
+
"revokeWithWalletUnit": {
|
|
308
|
+
"description": "Revoke issued credentials when the wallet unit attestation (the key attestation of the proof) they were bound to is revoked. Requires statusManagement and config.keyAttestationsRequired.",
|
|
309
|
+
"type": "boolean"
|
|
310
|
+
},
|
|
305
311
|
"iaeActions": {
|
|
306
312
|
"description": "Interactive authorization steps (a presentation or a web flow) that the wallet completes, in order, before the credential is issued.",
|
|
307
313
|
"anyOf": [
|
|
@@ -714,12 +720,8 @@
|
|
|
714
720
|
}
|
|
715
721
|
},
|
|
716
722
|
"constraints": {
|
|
717
|
-
"description": "Optional validation
|
|
718
|
-
"
|
|
719
|
-
"propertyNames": {
|
|
720
|
-
"type": "string"
|
|
721
|
-
},
|
|
722
|
-
"additionalProperties": {}
|
|
723
|
+
"description": "Optional JSON Schema 2020-12 validation keywords for the claim value. Only the JSON Schema keywords listed under Constraints in the claims documentation are accepted (validation keywords such as pattern, minLength or enum, subschemas such as items or properties, and annotations); other keys, such as format or $ref, are refused.",
|
|
724
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
723
725
|
},
|
|
724
726
|
"children": {
|
|
725
727
|
"description": "Nested child claim definitions for object or array fields.",
|
|
@@ -734,6 +736,240 @@
|
|
|
734
736
|
"type"
|
|
735
737
|
],
|
|
736
738
|
"additionalProperties": false
|
|
739
|
+
},
|
|
740
|
+
"ClaimConstraints": {
|
|
741
|
+
"type": "object",
|
|
742
|
+
"properties": {
|
|
743
|
+
"type": {},
|
|
744
|
+
"enum": {},
|
|
745
|
+
"const": {},
|
|
746
|
+
"multipleOf": {},
|
|
747
|
+
"maximum": {},
|
|
748
|
+
"exclusiveMaximum": {},
|
|
749
|
+
"minimum": {},
|
|
750
|
+
"exclusiveMinimum": {},
|
|
751
|
+
"maxLength": {},
|
|
752
|
+
"minLength": {},
|
|
753
|
+
"pattern": {},
|
|
754
|
+
"maxItems": {},
|
|
755
|
+
"minItems": {},
|
|
756
|
+
"uniqueItems": {},
|
|
757
|
+
"maxContains": {},
|
|
758
|
+
"minContains": {},
|
|
759
|
+
"maxProperties": {},
|
|
760
|
+
"minProperties": {},
|
|
761
|
+
"required": {},
|
|
762
|
+
"dependentRequired": {},
|
|
763
|
+
"title": {},
|
|
764
|
+
"description": {},
|
|
765
|
+
"default": {},
|
|
766
|
+
"examples": {},
|
|
767
|
+
"deprecated": {},
|
|
768
|
+
"readOnly": {},
|
|
769
|
+
"writeOnly": {},
|
|
770
|
+
"$comment": {},
|
|
771
|
+
"items": {
|
|
772
|
+
"anyOf": [
|
|
773
|
+
{
|
|
774
|
+
"type": "boolean"
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
778
|
+
}
|
|
779
|
+
]
|
|
780
|
+
},
|
|
781
|
+
"contains": {
|
|
782
|
+
"anyOf": [
|
|
783
|
+
{
|
|
784
|
+
"type": "boolean"
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
788
|
+
}
|
|
789
|
+
]
|
|
790
|
+
},
|
|
791
|
+
"additionalProperties": {
|
|
792
|
+
"anyOf": [
|
|
793
|
+
{
|
|
794
|
+
"type": "boolean"
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
798
|
+
}
|
|
799
|
+
]
|
|
800
|
+
},
|
|
801
|
+
"propertyNames": {
|
|
802
|
+
"anyOf": [
|
|
803
|
+
{
|
|
804
|
+
"type": "boolean"
|
|
805
|
+
},
|
|
806
|
+
{
|
|
807
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
808
|
+
}
|
|
809
|
+
]
|
|
810
|
+
},
|
|
811
|
+
"not": {
|
|
812
|
+
"anyOf": [
|
|
813
|
+
{
|
|
814
|
+
"type": "boolean"
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
818
|
+
}
|
|
819
|
+
]
|
|
820
|
+
},
|
|
821
|
+
"if": {
|
|
822
|
+
"anyOf": [
|
|
823
|
+
{
|
|
824
|
+
"type": "boolean"
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
828
|
+
}
|
|
829
|
+
]
|
|
830
|
+
},
|
|
831
|
+
"then": {
|
|
832
|
+
"anyOf": [
|
|
833
|
+
{
|
|
834
|
+
"type": "boolean"
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
838
|
+
}
|
|
839
|
+
]
|
|
840
|
+
},
|
|
841
|
+
"else": {
|
|
842
|
+
"anyOf": [
|
|
843
|
+
{
|
|
844
|
+
"type": "boolean"
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
848
|
+
}
|
|
849
|
+
]
|
|
850
|
+
},
|
|
851
|
+
"unevaluatedItems": {
|
|
852
|
+
"anyOf": [
|
|
853
|
+
{
|
|
854
|
+
"type": "boolean"
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
858
|
+
}
|
|
859
|
+
]
|
|
860
|
+
},
|
|
861
|
+
"unevaluatedProperties": {
|
|
862
|
+
"anyOf": [
|
|
863
|
+
{
|
|
864
|
+
"type": "boolean"
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
868
|
+
}
|
|
869
|
+
]
|
|
870
|
+
},
|
|
871
|
+
"prefixItems": {
|
|
872
|
+
"type": "array",
|
|
873
|
+
"items": {
|
|
874
|
+
"anyOf": [
|
|
875
|
+
{
|
|
876
|
+
"type": "boolean"
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
880
|
+
}
|
|
881
|
+
]
|
|
882
|
+
}
|
|
883
|
+
},
|
|
884
|
+
"allOf": {
|
|
885
|
+
"type": "array",
|
|
886
|
+
"items": {
|
|
887
|
+
"anyOf": [
|
|
888
|
+
{
|
|
889
|
+
"type": "boolean"
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
893
|
+
}
|
|
894
|
+
]
|
|
895
|
+
}
|
|
896
|
+
},
|
|
897
|
+
"anyOf": {
|
|
898
|
+
"type": "array",
|
|
899
|
+
"items": {
|
|
900
|
+
"anyOf": [
|
|
901
|
+
{
|
|
902
|
+
"type": "boolean"
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
906
|
+
}
|
|
907
|
+
]
|
|
908
|
+
}
|
|
909
|
+
},
|
|
910
|
+
"oneOf": {
|
|
911
|
+
"type": "array",
|
|
912
|
+
"items": {
|
|
913
|
+
"anyOf": [
|
|
914
|
+
{
|
|
915
|
+
"type": "boolean"
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
919
|
+
}
|
|
920
|
+
]
|
|
921
|
+
}
|
|
922
|
+
},
|
|
923
|
+
"properties": {
|
|
924
|
+
"type": "object",
|
|
925
|
+
"propertyNames": {
|
|
926
|
+
"type": "string"
|
|
927
|
+
},
|
|
928
|
+
"additionalProperties": {
|
|
929
|
+
"anyOf": [
|
|
930
|
+
{
|
|
931
|
+
"type": "boolean"
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
935
|
+
}
|
|
936
|
+
]
|
|
937
|
+
}
|
|
938
|
+
},
|
|
939
|
+
"patternProperties": {
|
|
940
|
+
"type": "object",
|
|
941
|
+
"propertyNames": {
|
|
942
|
+
"type": "string"
|
|
943
|
+
},
|
|
944
|
+
"additionalProperties": {
|
|
945
|
+
"anyOf": [
|
|
946
|
+
{
|
|
947
|
+
"type": "boolean"
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
951
|
+
}
|
|
952
|
+
]
|
|
953
|
+
}
|
|
954
|
+
},
|
|
955
|
+
"dependentSchemas": {
|
|
956
|
+
"type": "object",
|
|
957
|
+
"propertyNames": {
|
|
958
|
+
"type": "string"
|
|
959
|
+
},
|
|
960
|
+
"additionalProperties": {
|
|
961
|
+
"anyOf": [
|
|
962
|
+
{
|
|
963
|
+
"type": "boolean"
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
"$ref": "#/$defs/ClaimConstraints"
|
|
967
|
+
}
|
|
968
|
+
]
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
},
|
|
972
|
+
"additionalProperties": false
|
|
737
973
|
}
|
|
738
974
|
},
|
|
739
975
|
"$id": "./CredentialConfigCreate.schema.json",
|