@@ -5920,6 +5920,37 @@ components:
5920
5920
type : string
5921
5921
description : Schema version
5922
5922
example : ' 1.0'
5923
+ AnoncredsPresSpec :
5924
+ required :
5925
+ - requested_attributes
5926
+ - requested_predicates
5927
+ - self_attested_attributes
5928
+ type : object
5929
+ properties :
5930
+ requested_attributes :
5931
+ type : object
5932
+ additionalProperties :
5933
+ $ref : ' #/components/schemas/AnoncredsRequestedCredsRequestedAttr'
5934
+ description : Nested object mapping proof request attribute referents to
5935
+ requested-attribute specifiers
5936
+ requested_predicates :
5937
+ type : object
5938
+ additionalProperties :
5939
+ $ref : ' #/components/schemas/AnoncredsRequestedCredsRequestedPred'
5940
+ description : Nested object mapping proof request predicate referents to
5941
+ requested-predicate specifiers
5942
+ self_attested_attributes :
5943
+ type : object
5944
+ additionalProperties :
5945
+ type : string
5946
+ description : Self-attested attribute values to use in requested-credentials
5947
+ structure for proof construction
5948
+ example : self_attested_value
5949
+ description : Self-attested attributes to build into proof
5950
+ trace :
5951
+ type : boolean
5952
+ description : Whether to trace event (default false)
5953
+ example : false
5923
5954
AnoncredsPresentationReqAttrSpec :
5924
5955
type : object
5925
5956
properties :
@@ -6059,6 +6090,35 @@ components:
6059
6090
type : integer
6060
6091
description : Latest time of interest in non-revocation interval
6061
6092
example : 1640995199
6093
+ AnoncredsRequestedCredsRequestedAttr :
6094
+ required :
6095
+ - cred_id
6096
+ type : object
6097
+ properties :
6098
+ cred_id :
6099
+ type : string
6100
+ description : Wallet credential identifier (typically but not necessarily
6101
+ a UUID)
6102
+ example : 3fa85f64-5717-4562-b3fc-2c963f66afa6
6103
+ revealed :
6104
+ type : boolean
6105
+ description : Whether to reveal attribute in proof (default true)
6106
+ AnoncredsRequestedCredsRequestedPred :
6107
+ required :
6108
+ - cred_id
6109
+ type : object
6110
+ properties :
6111
+ cred_id :
6112
+ type : string
6113
+ description : Wallet credential identifier (typically but not necessarily
6114
+ a UUID)
6115
+ example : 3fa85f64-5717-4562-b3fc-2c963f66afa6
6116
+ timestamp :
6117
+ maximum : 18446744073709551615
6118
+ minimum : 0
6119
+ type : integer
6120
+ description : Epoch timestamp of interest for non-revocation proof
6121
+ example : 1640995199
6062
6122
AnoncredsRevocationModuleResponse :
6063
6123
type : object
6064
6124
AttachDecorator :
@@ -13146,7 +13206,7 @@ components:
13146
13206
type : object
13147
13207
description : Presentation specification for anoncreds
13148
13208
allOf :
13149
- - $ref : ' #/components/schemas/IndyPresSpec '
13209
+ - $ref : ' #/components/schemas/AnoncredsPresSpec '
13150
13210
auto_remove :
13151
13211
type : boolean
13152
13212
description : Whether to remove the presentation exchange record on completion
0 commit comments