Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 24 additions & 24 deletions oas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1215,12 +1215,6 @@ components:
items:
type: object
properties:
credentialTemplateId:
type: string
description: The ID of the item in workflow.credentialTemplates that captures the schema of a credential that is issued in a step.
credentialTemplateIndex:
type: number
description: The index of the item in workflow.credentialTemplates that captures the schema of a credential that is issued in a step.
# Optionally specify different variables from exchange.variables
# (either a string that is the name of a variable in exchange.variables
# to use, or a whole object with alternative variables)
Expand All @@ -1232,10 +1226,20 @@ components:
type: string
description: If present, identifies where the result of the issue request is to be stored. The value MUST be either the name of a top-level variable in the exchange's variables object or a JSON pointer to any variable within the exchange's variables object.
oneOf:
- required:
- type: object
required:
- credentialTemplateId
- required:
properties:
credentialTemplateId:
type: string
description: The ID of the item in workflow.credentialTemplates that captures the schema of a credential that is issued in a step.
- type: object
required:
- credentialTemplateIndex
properties:
credentialTemplateIndex:
type: string
description: The index of the item in workflow.credentialTemplates that captures the schema of a credential that is issued in a step.
additionalProperties: false
presentationSchema:
oneOf:
Expand Down Expand Up @@ -1437,12 +1441,6 @@ components:
additionalProperties: false
description: Client profile configuration for exchanges using OID4VCI/OID4VP.
properties:
createAuthorizationRequest:
type: string
description: If present, identifies where the auto-generated OID4VP authorization request will be stored for subsequent use in the exchange. The value MUST be either the name of a top-level variable in the exchange's <code>variables</code> object (see <a href="#create-exchange">Create Exchange</a>) or a JSON pointer to any variable within the exchange's <code>variables</code> object. Either this or <code>authorizationRequest</code> MUST be present, but not both. The value of the named variable can be lazily generated when the authorization request is required, i.e., after the client of the exchange chooses to use the OID4VP protocol. This feature allows the authorization request to be generated by reusing values, e.g., a Verifiable Presentation Request, that only need to be specified once across multiple protocol offerings.
authorizationRequest:
type: object
description: If present, an OID4VP authorization request for subsequent use in the exchange. Either this or <code>createAuthorizationRequest</code> MUST be present, but not both.
# The following are optional properties that can be used as overrides in any authorization request:
# ====================================================================================================
client_id:
Expand Down Expand Up @@ -1509,18 +1507,20 @@ components:
required:
- signAuthorizationRequest
oneOf:
# An authorization request or a directive to create one can be used,
# but not both
- required:
- type: object
required:
- createAuthorizationRequest
not:
required:
- authorizationRequest
- required:
properties:
createAuthorizationRequest:
type: string
description: If present, identifies where the auto-generated OID4VP authorization request will be stored for subsequent use in the exchange. The value MUST be either the name of a top-level variable in the exchange's <code>variables</code> object (see <a href="#create-exchange">Create Exchange</a>) or a JSON pointer to any variable within the exchange's <code>variables</code> object. Either this or <code>authorizationRequest</code> MUST be present, but not both. The value of the named variable can be lazily generated when the authorization request is required, i.e., after the client of the exchange chooses to use the OID4VP protocol. This feature allows the authorization request to be generated by reusing values, e.g., a Verifiable Presentation Request, that only need to be specified once across multiple protocol offerings.
- type: object
required:
- authorizationRequest
not:
required:
- createAuthorizationRequest
properties:
authorizationRequest:
type: object
description: If present, an OID4VP authorization request for subsequent use in the exchange. Either this or <code>createAuthorizationRequest</code> MUST be present, but not both.
OpenIdExchangeConfig:
type: object
additionalProperties: false
Expand Down
Loading