Skip to content

Commit ce5e7be

Browse files
committed
📝 Updated specs
1 parent 9534a30 commit ce5e7be

File tree

2 files changed

+62
-17113
lines changed

2 files changed

+62
-17113
lines changed

generator/data/openapi.yml

+61-1
Original file line numberDiff line numberDiff line change
@@ -5920,6 +5920,37 @@ components:
59205920
type: string
59215921
description: Schema version
59225922
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
59235954
AnoncredsPresentationReqAttrSpec:
59245955
type: object
59255956
properties:
@@ -6059,6 +6090,35 @@ components:
60596090
type: integer
60606091
description: Latest time of interest in non-revocation interval
60616092
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
60626122
AnoncredsRevocationModuleResponse:
60636123
type: object
60646124
AttachDecorator:
@@ -13146,7 +13206,7 @@ components:
1314613206
type: object
1314713207
description: Presentation specification for anoncreds
1314813208
allOf:
13149-
- $ref: '#/components/schemas/IndyPresSpec'
13209+
- $ref: '#/components/schemas/AnoncredsPresSpec'
1315013210
auto_remove:
1315113211
type: boolean
1315213212
description: Whether to remove the presentation exchange record on completion

0 commit comments

Comments
 (0)